/* ========================================
   Industrial Rehabilitation Clinic
   Fresh & Airy | Midnight Blue + Mint
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --midnight-950: #0a1628;
    --midnight-900: #0F2A4A;
    --midnight-800: #153d6b;
    --midnight-700: #1a4f8a;
    --midnight-600: #1f5fa8;
    --midnight-500: #256fc4;
    
    --mint-50: #f0fdf9;
    --mint-100: #ccfbf1;
    --mint-200: #99f6e0;
    --mint-300: #5eead4;
    --mint-400: #2DD4BF;
    --mint-500: #14b8a6;
    --mint-600: #0d9488;
    
    --sand-50: #faf9f7;
    --sand-100: #f5f3ef;
    --sand-200: #e8e4dd;
    --sand-300: #d4cfc6;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 1px 3px rgba(15, 42, 74, 0.06), 0 1px 2px rgba(15, 42, 74, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 42, 74, 0.08), 0 2px 6px rgba(15, 42, 74, 0.04);
    --shadow-lg: 0 12px 40px rgba(15, 42, 74, 0.12), 0 4px 12px rgba(15, 42, 74, 0.06);
    --shadow-xl: 0 24px 60px rgba(15, 42, 74, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--slate-800);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    color: var(--midnight-900);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }

p {
    color: var(--slate-600);
}

em {
    font-style: italic;
    color: var(--mint-600);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--mint-400);
    color: var(--midnight-900);
    border-color: var(--mint-400);
}

.btn-primary:hover {
    background: var(--mint-500);
    border-color: var(--mint-500);
}

.btn-outline {
    background: transparent;
    color: var(--midnight-900);
    border-color: var(--midnight-900);
}

.btn-outline:hover {
    background: var(--midnight-900);
    color: var(--white);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-white {
    background: var(--white);
    color: var(--midnight-900);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--mint-100);
    border-color: var(--mint-100);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--midnight-900);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* --- Section Tags --- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint-600);
    margin-bottom: 12px;
    padding: 6px 16px;
    background: var(--mint-50);
    border-radius: 50px;
}

.section-tag.light {
    color: var(--mint-200);
    background: rgba(45, 212, 191, 0.15);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.section-desc {
    font-size: 1.1rem;
    line-height: 1.7;
}

.section-desc.light {
    color: var(--slate-300);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 42, 74, 0.06);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--midnight-900);
}

.logo-icon {
    display: flex;
    align-items: center;
}

.logo-text {
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a:not(.btn) {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-600);
    position: relative;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mint-400);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:not(.btn):hover {
    color: var(--midnight-900);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.nav-links .btn {
    padding: 10px 24px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--midnight-900);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 22, 40, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--white);
    padding: 100px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xl);
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-link {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--slate-700);
    padding: 12px 0;
    border-bottom: 1px solid var(--slate-100);
}

.mobile-menu-link:hover {
    color: var(--mint-600);
}

.mobile-menu-content .btn {
    margin-top: 16px;
    text-align: center;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--sand-50) 0%, var(--mint-50) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 600px 600px at 80% 20%, rgba(45, 212, 191, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 400px 400px at 10% 80%, rgba(15, 42, 74, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mint-600);
    background: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.hero-text h1 {
    margin-bottom: 24px;
    color: var(--midnight-900);
    line-height: 1.15;
}

.hero-text h1 em {
    color: var(--mint-600);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--slate-600);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--midnight-900);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--slate-500);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

.hero-image {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

.hero-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--midnight-900);
}

.hero-image-badge svg {
    color: var(--mint-500);
}

/* --- Services Section --- */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--sand-50);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    background: var(--white);
    border-color: var(--mint-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint-100);
    border-radius: var(--radius-md);
    color: var(--mint-600);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--mint-400);
    color: var(--midnight-900);
}

.service-card h3 {
    margin-bottom: 12px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--midnight-900);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--slate-600);
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--sand-50) 0%, var(--white) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--white);
}

.about-img-secondary img {
    width: 400px;
    height: 300px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--midnight-900);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-experience-badge .exp-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--mint-400);
    line-height: 1;
}

.about-experience-badge .exp-text {
    font-size: 0.8rem;
    color: var(--slate-300);
    margin-top: 4px;
}

.about-content .section-tag {
    margin-bottom: 12px;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--slate-700);
    margin-bottom: 16px;
}

.about-content > p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--slate-600);
    margin-bottom: 36px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon.mint {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint-100);
    border-radius: var(--radius-sm);
    color: var(--mint-600);
}

.about-feature strong {
    display: block;
    font-size: 1rem;
    color: var(--midnight-900);
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.5;
}

/* --- Why Choose Us --- */
.why-us {
    padding: 100px 0;
    background: var(--midnight-900);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 500px 500px at 20% 50%, rgba(45, 212, 191, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 300px 300px at 90% 20%, rgba(45, 212, 191, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.why-us .container {
    position: relative;
    z-index: 1;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(45, 212, 191, 0.3);
    transform: translateY(-4px);
}

.why-card-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(45, 212, 191, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--slate-400);
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--sand-50) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-100);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--mint-200);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--slate-700);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--midnight-900);
}

.author-detail {
    font-size: 0.8rem;
    color: var(--slate-500);
}

/* --- CTA Section --- */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--midnight-900) 0%, var(--midnight-800) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 600px 400px at 80% 50%, rgba(45, 212, 191, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 10% 30%, rgba(45, 212, 191, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mint-300);
    margin-bottom: 20px;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--slate-300);
    max-width: 520px;
    margin: 0 auto 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: var(--sand-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-tag {
    margin-bottom: 12px;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--slate-600);
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint-100);
    border-radius: var(--radius-md);
    color: var(--mint-600);
}

.detail-icon strong {
    display: block;
    font-size: 0.9rem;
    color: var(--midnight-900);
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    font-size: 0.95rem;
    color: var(--slate-600);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--mint-600);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-100);
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--midnight-900);
}

.form-desc {
    font-size: 0.95rem;
    color: var(--slate-500);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--sand-50);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--mint-400);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--mint-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mint-600);
}

.form-success h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--midnight-900);
}

.form-success p {
    font-size: 0.95rem;
    color: var(--slate-600);
}

/* --- Footer --- */
.footer {
    background: var(--midnight-950);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--slate-400);
    max-width: 280px;
}

.footer-links h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--slate-400);
}

.footer-links a:hover {
    color: var(--mint-400);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--slate-500);
}

.footer-bottom a {
    color: var(--slate-400);
}

.footer-bottom a:hover {
    color: var(--mint-400);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content {
        gap: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .about-img-secondary {
        right: -20px;
        bottom: -20px;
    }
    
    .about-img-secondary img {
        width: 280px;
        height: 210px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-wrapper img {
        height: 400px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-img-main img {
        height: 400px;
    }
    
    .about-img-secondary {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: 16px;
        border: 4px solid var(--white);
    }
    
    .about-img-secondary img {
        width: 100%;
        height: 240px;
    }
    
    .about-experience-badge {
        top: 16px;
        right: 16px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
