/* ============================================
   GLORIA L. MURRAY — Medical & Health Website
   Terracotta + Sand | Vibrant Modern
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --terra-950: #3D1A0E;
    --terra-900: #5C2412;
    --terra-800: #7A2F17;
    --terra-700: #9A3B1C;
    --terra-600: #C0603A;
    --terra-500: #D4724A;
    --terra-400: #E8845A;
    --terra-300: #F0A078;
    --terra-200: #F7C4A8;
    --terra-100: #FDE4D4;
    --terra-50:  #FDF0EA;

    --sand-950:  #1A1510;
    --sand-900:  #2C231A;
    --sand-800:  #3E3226;
    --sand-700:  #544636;
    --sand-600:  #6E5C46;
    --sand-500:  #8A7458;
    --sand-400:  #A89070;
    --sand-300:  #C4AD8E;
    --sand-200:  #DFC8B0;
    --sand-100:  #EDE2CC;
    --sand-50:   #F9F4ED;

    --bg-primary:   #FDF6EE;
    --bg-secondary: #F5E6D6;
    --bg-white:     #FFFFFF;
    --text-primary: #2C1810;
    --text-secondary: #5C4033;
    --text-muted:   #8A7060;
    --text-light:   #FDF6EE;

    --accent: #C0603A;
    --accent-light: #E8845A;
    --accent-dark: #A84E2E;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Outfit', system-ui, sans-serif;

    --shadow-sm:  0 1px 3px rgba(44, 24, 16, 0.08);
    --shadow-md:  0 4px 16px rgba(44, 24, 16, 0.10);
    --shadow-lg:  0 8px 32px rgba(44, 24, 16, 0.12);
    --shadow-xl:  0 16px 48px rgba(44, 24, 16, 0.14);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* --- Geometric Decorations --- */
.geo-decor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: var(--terra-600);
    top: -200px;
    right: -150px;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: var(--terra-400);
    bottom: 20%;
    left: -100px;
}

.geo-circle--3 {
    width: 200px;
    height: 200px;
    background: var(--sand-400);
    top: 50%;
    right: 5%;
    opacity: 0.08;
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.05;
}

.geo-triangle--1 {
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid var(--terra-600);
    top: 35%;
    right: 2%;
    transform: rotate(15deg);
}

.geo-square {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--terra-500);
    opacity: 0.04;
    bottom: 15%;
    right: 10%;
    transform: rotate(45deg);
}

.geo-dots {
    position: absolute;
    top: 20%;
    left: 3%;
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, var(--terra-400) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.3;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 246, 238, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(192, 96, 58, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(253, 246, 238, 0.95);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.nav-logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--terra-600), var(--terra-400));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: -0.02em;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--terra-600);
}

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

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

.nav-cta {
    background: linear-gradient(135deg, var(--terra-600), var(--terra-500));
    color: white !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 12px rgba(192, 96, 58, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 96, 58, 0.4);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--terra-600), var(--terra-500));
    color: white;
    box-shadow: 0 4px 16px rgba(192, 96, 58, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(192, 96, 58, 0.45);
    background: linear-gradient(135deg, var(--terra-700), var(--terra-600));
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--terra-600);
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(192, 96, 58, 0.15);
}

.btn-secondary:hover {
    border-color: var(--terra-600);
    box-shadow: var(--shadow-lg);
}

.btn-white {
    background: white;
    color: var(--terra-600);
    box-shadow: var(--shadow-lg);
}

.btn-white:hover {
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: var(--bg-primary);
    overflow: hidden;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(192, 96, 58, 0.1);
    border: 1px solid rgba(192, 96, 58, 0.2);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--terra-600);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--terra-600);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--terra-600);
    position: relative;
}

.text-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(192, 96, 58, 0.2);
    border-radius: 3px;
    z-index: -1;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
}

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

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

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--terra-600);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* Hero Image */
.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image-wrapper {
    position: relative;
}

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

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

.hero-img-accent {
    position: absolute;
    bottom: -30px;
    left: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-primary);
}

.hero-img-accent img {
    width: 280px;
    height: 200px;
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    top: 40px;
    right: -30px;
    background: white;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
}

.float-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--terra-600), var(--terra-400));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.float-card-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.float-card-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* --- Section Shared --- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terra-600);
    background: rgba(192, 96, 58, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-tag.light {
    color: var(--terra-200);
    background: rgba(255, 255, 255, 0.15);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-title.light {
    color: white;
}

.text-light-accent {
    color: var(--terra-300);
}

.section-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.section-sub.light {
    color: rgba(253, 246, 238, 0.75);
}

/* --- Services Section --- */
.services {
    padding: 100px 0 80px;
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
}

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

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(192, 96, 58, 0.08);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--card-color, var(--terra-600)), var(--card-color, var(--terra-600))aa);
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--terra-600);
    transition: gap var(--transition);
}

.service-link:hover {
    gap: 10px;
}

/* --- About Section --- */
.about {
    padding: 100px 0;
    background: var(--bg-secondary);
    position: relative;
    z-index: 1;
}

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

.about-img-group {
    position: relative;
}

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

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

.about-img-secondary {
    position: absolute;
    bottom: -24px;
    right: -24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--bg-secondary);
}

.about-img-secondary img {
    width: 320px;
    height: 240px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: linear-gradient(135deg, var(--terra-600), var(--terra-400));
    color: white;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-experience-badge .exp-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.about-experience-badge .exp-text {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.9;
    line-height: 1.3;
}

.about-content-col {
    position: relative;
    z-index: 2;
}

.about-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-body em {
    color: var(--terra-600);
    font-style: italic;
    font-family: var(--font-heading);
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(192, 96, 58, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* --- Why Us Section --- */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--terra-900), var(--terra-700));
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
}

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

.why-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    backdrop-filter: blur(10px);
    transition: transform var(--transition), background var(--transition);
}

.why-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

.why-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.12);
    line-height: 1;
    margin-bottom: 12px;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(253, 246, 238, 0.7);
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
}

.cta-inner {
    background: linear-gradient(135deg, var(--terra-600), var(--terra-500), var(--terra-400));
    border-radius: var(--radius-xl);
    padding: 64px 56px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-decor-1 {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.cta-decor-2 {
    position: absolute;
    bottom: -40px;
    left: 20%;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: white;
    line-height: 1.25;
    margin-bottom: 12px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(253, 246, 238, 0.85);
    line-height: 1.7;
    max-width: 500px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

/* --- Contact Section --- */
.contact {
    padding: 100px 0;
    background: var(--bg-primary);
    position: relative;
    z-index: 1;
}

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

.contact-info {
    position: sticky;
    top: 100px;
}

.contact-intro {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

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

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

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: rgba(192, 96, 58, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

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

/* Contact Form */
.contact-form-col {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(192, 96, 58, 0.08);
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 28px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sand-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terra-600);
    box-shadow: 0 0 0 3px rgba(192, 96, 58, 0.1);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(192, 96, 58, 0.08);
    border: 1px solid rgba(192, 96, 58, 0.2);
    border-radius: var(--radius-sm);
    color: var(--terra-700);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 16px;
}

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

.form-success svg {
    flex-shrink: 0;
    color: var(--terra-600);
}

/* --- Footer --- */
.footer {
    background: var(--sand-900);
    color: var(--sand-200);
    padding: 64px 0 0;
    position: relative;
    z-index: 1;
}

.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.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--terra-600), var(--terra-400));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 0.85rem;
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--sand-300);
    margin-bottom: 16px;
}

.footer-location {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--sand-400);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

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

.footer-col a {
    font-size: 0.88rem;
    color: var(--sand-300);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--terra-300);
}

.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.82rem;
    color: var(--sand-500);
}

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

.footer-bottom a:hover {
    color: var(--terra-300);
}

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

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }

    .hero-img-main img {
        height: 520px;
    }

    .about-container {
        gap: 48px;
    }

    .about-img-main img {
        height: 460px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding-top: 88px;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-image {
        order: -1;
    }

    .hero-img-main img {
        height: 400px;
    }

    .hero-img-accent {
        left: -16px;
        bottom: -16px;
    }

    .hero-float-card {
        right: -10px;
        top: 20px;
    }

    .hero-stats {
        gap: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-img-secondary {
        right: -10px;
        bottom: -16px;
    }

    .about-img-secondary img {
        width: 240px;
        height: 180px;
    }

    .about-experience-badge {
        left: -10px;
        top: -14px;
        padding: 14px 18px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        padding: 40px 28px;
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        position: static;
    }

    .contact-form-col {
        padding: 28px;
    }

    .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: 12px;
    }

    .stat-divider {
        display: none;
    }

    .cta-actions {
        flex-direction: column;
    }

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

/* Mobile overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 24, 16, 0.4);
    z-index: 998;
}

.nav-overlay.show {
    display: block;
}
