/* ============================================
   Fort Sam Houston Community Pharmacy
   Editorial / Bold Design System
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

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

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* --- Utility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    z-index: 9999;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 64px;
    }
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* --- Navigation --- */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav-fixed.scrolled {
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

@media (min-width: 768px) {
    .nav-inner {
        padding: 0 48px;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: 16px;
    color: #064e3b;
    letter-spacing: -0.01em;
}

.nav-logo-text {
    display: none;
}

@media (min-width: 480px) {
    .nav-logo-text {
        display: block;
    }
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #064e3b;
    letter-spacing: 0.01em;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #059669;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus::after {
    width: 100%;
}

.nav-link:hover,
.nav-link:focus {
    color: #047857;
}

.nav-link--cta {
    background: #064e3b;
    color: #fdfbf7 !important;
    padding: 10px 20px;
    border-radius: 100px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: #047857;
    transform: translateY(-1px);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #064e3b;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 1024px) {
    .nav-toggle {
        display: none;
    }
}

/* Mobile nav */
.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: #fdfbf7;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 48px;
    box-shadow: -10px 0 40px rgba(6, 78, 59, 0.12);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

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

.nav-links.open .nav-link {
    font-size: 18px;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(1, 26, 20, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.02em;
    padding: 14px 28px;
    border-radius: 100px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn--primary {
    background: #064e3b;
    color: #fdfbf7;
}

.btn--primary:hover,
.btn--primary:focus {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.25);
}

.btn--ghost {
    background: transparent;
    color: #064e3b;
    border: 1.5px solid rgba(6, 78, 59, 0.3);
}

.btn--ghost:hover,
.btn--ghost:focus {
    border-color: #064e3b;
    background: rgba(6, 78, 59, 0.04);
}

.btn--white {
    background: #fdfbf7;
    color: #064e3b;
}

.btn--white:hover,
.btn--white:focus {
    background: #f3ebda;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn--outline-white {
    background: transparent;
    color: #fdfbf7;
    border: 1.5px solid rgba(253, 251, 247, 0.6);
}

.btn--outline-white:hover,
.btn--outline-white:focus {
    background: rgba(253, 251, 247, 0.1);
    border-color: #fdfbf7;
}

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

.btn--lg {
    padding: 18px 36px;
    font-size: 15px;
}

/* --- Section Shared --- */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #059669;
    margin-bottom: 20px;
}

.section-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: #059669;
}

.section-heading {
    font-size: clamp(32px, 5vw, 56px);
    color: #022c22;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: #4a6b5a;
    max-width: 560px;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fdfbf7;
    padding: 120px 0 80px;
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .hero-grid {
        padding: 0 48px;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 64px;
    }
}

@media (min-width: 1200px) {
    .hero-grid {
        padding: 0 64px;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 80px;
    }
}

.hero-content {
    max-width: 600px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #059669;
    margin-bottom: 32px;
}

.hero-eyebrow-line {
    display: block;
    width: 32px;
    height: 1.5px;
    background: #059669;
    flex-shrink: 0;
}

.hero-heading {
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 500;
    line-height: 1.08;
    color: #022c22;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.hero-heading em {
    font-style: italic;
    color: #059669;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.75;
    color: #4a6b5a;
    margin-bottom: 40px;
    max-width: 520px;
}

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

.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(6, 78, 59, 0.1);
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-trust-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #064e3b;
    letter-spacing: -0.02em;
}

.hero-trust-label {
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b8f7e;
}

.hero-trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(6, 78, 59, 0.15);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 560px;
}

@media (min-width: 768px) {
    .hero-visual {
        height: 640px;
    }
}

.hero-img {
    position: absolute;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(2, 44, 34, 0.15);
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-img--main {
    width: 85%;
    height: 85%;
    top: 0;
    right: 0;
}

.hero-img--accent {
    width: 55%;
    height: 45%;
    bottom: 0;
    left: 0;
    border: 4px solid #fdfbf7;
}

.hero-badge {
    position: absolute;
    bottom: 42%;
    left: -10%;
    background: #064e3b;
    color: #fdfbf7;
    padding: 14px 20px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.3);
    z-index: 2;
}

/* Hero Quote */
.hero-quote {
    max-width: 1280px;
    margin: 80px auto 0;
    padding: 0 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-quote {
        padding: 0 48px;
        margin-top: 100px;
    }
}

.hero-quote blockquote {
    position: relative;
    padding: 0 24px;
}

.hero-quote-mark {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(5, 150, 105, 0.15);
}

.hero-quote p {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(18px, 3vw, 28px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    color: #064e3b;
    max-width: 720px;
    margin: 0 auto 16px;
}

.hero-quote cite {
    font-style: normal;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b8f7e;
}

/* --- Services --- */
.services {
    padding: 100px 0 120px;
    background: #fdfbf7;
}

@media (min-width: 768px) {
    .services {
        padding: 120px 0 140px;
    }
}

.services-header {
    max-width: 680px;
    margin-bottom: 64px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #ffffff;
    border: 1px solid rgba(6, 78, 59, 0.08);
    border-radius: 12px;
    padding: 36px 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #059669, #10b981);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(6, 78, 59, 0.1);
    border-color: rgba(5, 150, 105, 0.15);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(6, 78, 59, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #059669;
    margin-bottom: 24px;
    transition: background 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: rgba(6, 78, 59, 0.1);
}

.service-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #022c22;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #4a6b5a;
}

/* --- About --- */
.about {
    padding: 100px 0 120px;
    background: #f0f7f4;
}

@media (min-width: 768px) {
    .about {
        padding: 120px 0 140px;
    }
}

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

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 80px;
    }
}

.about-visual {
    position: relative;
}

.about-img-main {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(2, 44, 34, 0.12);
}

.about-img-main img {
    width: 100%;
    height: auto;
    display: block;
}

.about-stat-card {
    position: absolute;
    bottom: -24px;
    right: -16px;
    background: #064e3b;
    color: #fdfbf7;
    padding: 24px 32px;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(6, 78, 59, 0.3);
}

@media (max-width: 639px) {
    .about-stat-card {
        right: 0;
        bottom: -16px;
    }
}

.about-stat-num {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 6px;
}

.about-stat-label {
    font-size: 13px;
    letter-spacing: 0.04em;
    opacity: 0.85;
}

.about-content {
    max-width: 560px;
}

.about-divider {
    width: 48px;
    height: 2px;
    background: #059669;
    margin-bottom: 32px;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4a6b5a;
    margin-bottom: 20px;
}

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

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

.about-value-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(6, 78, 59, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #059669;
}

.about-value strong {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    color: #022c22;
    margin-bottom: 2px;
}

.about-value-desc {
    font-size: 14px;
    color: #6b8f7e;
    line-height: 1.5;
}

/* --- Care / Approach --- */
.care {
    padding: 100px 0 120px;
    background: #fdfbf7;
}

@media (min-width: 768px) {
    .care {
        padding: 120px 0 140px;
    }
}

.care-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 64px;
    align-items: center;
}

@media (min-width: 900px) {
    .care-layout {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 80px;
    }
}

.care-content {
    max-width: 560px;
}

.care-divider {
    width: 48px;
    height: 2px;
    background: #059669;
    margin-bottom: 32px;
}

.care-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4a6b5a;
    margin-bottom: 48px;
}

.care-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.care-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.care-step-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
    font-weight: 700;
    color: rgba(5, 150, 105, 0.2);
    line-height: 1;
    flex-shrink: 0;
    width: 48px;
}

.care-step-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: #022c22;
    margin-bottom: 6px;
}

.care-step-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #6b8f7e;
}

.care-visual {
    position: relative;
}

.care-img-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .care-img-grid {
        grid-template-columns: 0.8fr 1.2fr;
        grid-template-rows: 200px 280px;
    }
}

.care-img {
    overflow: hidden;
    border-radius: 10px;
}

.care-img--tall {
    grid-row: 1 / 3;
}

.care-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.care-img:hover img {
    transform: scale(1.03);
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 100px 0;
    background: #022c22;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

@media (min-width: 768px) {
    .cta-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.cta-eyebrow {
    color: #6ee7b7;
}

.cta-eyebrow::before {
    background: #6ee7b7;
}

.cta-heading {
    color: #fdfbf7;
    font-size: clamp(28px, 4vw, 48px);
}

.cta-desc {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(253, 251, 247, 0.7);
    max-width: 440px;
    margin-top: 16px;
}

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

/* --- Visit --- */
.visit {
    padding: 100px 0 120px;
    background: #fdfbf7;
}

@media (min-width: 768px) {
    .visit {
        padding: 120px 0 140px;
    }
}

.visit-header {
    max-width: 680px;
    margin-bottom: 64px;
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

@media (min-width: 900px) {
    .visit-grid {
        grid-template-columns: 1fr 1.3fr;
        gap: 64px;
        align-items: start;
    }
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.visit-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: #ffffff;
    border: 1px solid rgba(6, 78, 59, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.visit-card:hover {
    border-color: rgba(5, 150, 105, 0.2);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.06);
}

.visit-card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: rgba(6, 78, 59, 0.06);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #059669;
}

.visit-card-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b8f7e;
    margin-bottom: 6px;
}

.visit-card-value {
    font-size: 15px;
    line-height: 1.7;
    color: #064e3b;
}

.visit-card-value a {
    color: #059669;
    transition: color 0.2s ease;
}

.visit-card-value a:hover {
    color: #047857;
    text-decoration: underline;
}

.visit-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(2, 44, 34, 0.1);
    min-height: 360px;
}

/* --- Contact --- */
.contact {
    padding: 100px 0 120px;
    background: #f0f7f4;
}

@media (min-width: 768px) {
    .contact {
        padding: 120px 0 140px;
    }
}

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

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 0.9fr 1.1fr;
        gap: 80px;
    }
}

.contact-content {
    max-width: 480px;
}

.contact-divider {
    width: 48px;
    height: 2px;
    background: #059669;
    margin-bottom: 32px;
}

.contact-text {
    font-size: 16px;
    line-height: 1.8;
    color: #4a6b5a;
    margin-bottom: 40px;
}

.contact-direct-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #064e3b;
    transition: color 0.2s ease;
}

.contact-direct-link:hover {
    color: #059669;
}

/* Contact Form */
.contact-form-wrap {
    background: #ffffff;
    border: 1px solid rgba(6, 78, 59, 0.08);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(2, 44, 34, 0.06);
}

@media (max-width: 639px) {
    .contact-form-wrap {
        padding: 28px;
    }
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #064e3b;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15px;
    color: #022c22;
    background: #fdfbf7;
    border: 1.5px solid rgba(6, 78, 59, 0.12);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input::placeholder {
    color: #9bb5aa;
}

.form-input:focus {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

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

.form-success {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 24px;
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: 10px;
    color: #064e3b;
}

.form-success svg {
    color: #059669;
}

.form-success p {
    font-size: 14px;
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    background: #022c22;
    color: #fdfbf7;
    padding: 80px 0 0;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.3fr 0.8fr 1fr;
        gap: 48px;
    }
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    font-size: 17px;
    color: #fdfbf7;
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(253, 251, 247, 0.6);
    max-width: 280px;
}

.footer-heading {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(253, 251, 247, 0.4);
    margin-bottom: 20px;
}

.footer-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list a {
    font-size: 14px;
    color: rgba(253, 251, 247, 0.75);
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: #6ee7b7;
}

.footer-address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(253, 251, 247, 0.6);
}

.footer-phone a {
    color: #6ee7b7;
    transition: color 0.2s ease;
}

.footer-phone a:hover {
    color: #34d399;
}

.footer-bottom {
    margin-top: 64px;
    padding: 24px 0;
    border-top: 1px solid rgba(253, 251, 247, 0.08);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(253, 251, 247, 0.4);
    line-height: 1.6;
}

.footer-legal {
    margin-top: 4px;
}

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

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}
