/* ============================================
   Advance Care Rx Pharmacy — Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    line-height: 1.6;
    color: #043829;
    background-color: #fefdf8;
}

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

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* --- 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;
}

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

.nav-scrolled.scrolled {
    background: rgba(254, 253, 248, 0.97);
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.08);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #064E3B;
    z-index: 1001;
}

.nav-brand-icon {
    color: #064E3B;
    background: #d9edda;
    border-radius: 8px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-brand-text {
    letter-spacing: -0.02em;
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #064E3B;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background: rgba(6, 78, 59, 0.06);
    color: #043829;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    margin-left: 8px;
    background: #064E3B;
    color: #fefdf8;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: 50px;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    background: #043829;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(6, 78, 59, 0.3);
}

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

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    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(7.5px) 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(-7.5px) rotate(-45deg);
}

/* ===================== HERO ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #064E3B 0%, #1a6b3f 40%, #2e8b57 70%, #043829 100%);
    overflow: hidden;
    padding: 100px 24px 60px;
}

.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.1;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #d9edda;
    top: -150px;
    right: -100px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #b7dcb3;
    bottom: -80px;
    left: -60px;
}

.geo-circle-3 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #f0f7f0;
    top: 30%;
    right: 10%;
    opacity: 0.07;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: #d9edda;
    top: 20%;
    left: 5%;
    transform: rotate(35deg);
    border-radius: 16px;
    opacity: 0.08;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: #b7dcb3;
    bottom: 25%;
    right: 5%;
    transform: rotate(20deg);
    border-radius: 12px;
    opacity: 0.06;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid #d9edda;
    top: 15%;
    right: 25%;
    opacity: 0.06;
    transform: rotate(-15deg);
}

.geo-dots {
    width: 120px;
    height: 120px;
    bottom: 15%;
    left: 15%;
    opacity: 0.12;
    background-image: radial-gradient(circle, #d9edda 2px, transparent 2px);
    background-size: 16px 16px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    color: #fefdf8;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(254, 253, 248, 0.12);
    border: 1px solid rgba(254, 253, 248, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #d9edda;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #85c485;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero-headline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #fefdf8;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(254, 253, 248, 0.8);
    margin-bottom: 36px;
    max-width: 520px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: #fefdf8;
    color: #064E3B;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: #f0f7f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: #fefdf8;
    border: 2px solid rgba(254, 253, 248, 0.4);
}

.btn-outline:hover {
    background: rgba(254, 253, 248, 0.1);
    border-color: rgba(254, 253, 248, 0.7);
    transform: translateY(-2px);
}

.btn-white {
    background: #fefdf8;
    color: #064E3B;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

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

.btn-outline-white {
    background: transparent;
    color: #fefdf8;
    border: 2px solid rgba(254, 253, 248, 0.5);
}

.btn-outline-white:hover {
    background: rgba(254, 253, 248, 0.1);
    border-color: #fefdf8;
    transform: translateY(-2px);
}

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

/* Hero stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hero-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fefdf8;
}

.hero-stat-label {
    font-size: 0.78rem;
    color: rgba(254, 253, 248, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(254, 253, 248, 0.2);
}

/* Hero image */
.hero-image-wrap {
    position: relative;
}

.hero-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

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

.hero-card {
    position: absolute;
    bottom: -20px;
    left: -30px;
    background: #fefdf8;
    border-radius: 16px;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    animation: float-card 4s ease-in-out infinite;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-card-icon {
    width: 40px;
    height: 40px;
    background: #d9edda;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #064E3B;
    flex-shrink: 0;
}

.hero-card-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: #064E3B;
}

/* ===================== SECTIONS COMMON ===================== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #2e8b57;
    margin-bottom: 14px;
}

.section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: #2e8b57;
    border-radius: 2px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #064E3B;
    margin-bottom: 16px;
}

.section-title--light {
    color: #fefdf8;
}

.section-subtitle {
    font-size: 1.08rem;
    line-height: 1.7;
    color: #1a6b3f;
    max-width: 600px;
    margin-bottom: 48px;
}

.section-subtitle--light {
    color: rgba(254, 253, 248, 0.75);
}

/* ===================== SERVICES ===================== */
.services {
    position: relative;
    padding: 100px 24px;
    background: #fefdf8;
    overflow: hidden;
}

.geo-diamond-1 {
    position: absolute;
    width: 200px;
    height: 200px;
    background: #d9edda;
    top: 60px;
    right: -40px;
    transform: rotate(45deg);
    border-radius: 16px;
    opacity: 0.4;
    pointer-events: none;
}

.geo-circle-4 {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: #f0f7f0;
    bottom: 40px;
    left: -40px;
    opacity: 0.5;
    pointer-events: none;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.service-card {
    position: relative;
    background: #fefdf8;
    border: 1px solid rgba(6, 78, 59, 0.08);
    border-radius: 20px;
    padding: 36px 28px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(6, 78, 59, 0.12);
    border-color: rgba(6, 78, 59, 0.15);
}

.service-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #064E3B, #2e8b57, #85c485);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-card-icon {
    width: 56px;
    height: 56px;
    background: #f0f7f0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #064E3B;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.service-card:hover .service-card-icon {
    background: #d9edda;
}

.service-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #064E3B;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: #1a6b3f;
}

/* ===================== ABOUT ===================== */
.about {
    padding: 100px 24px;
    background: linear-gradient(135deg, #064E3B 0%, #1a6b3f 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(254, 253, 248, 0.03);
    pointer-events: none;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-visual {
    position: relative;
}

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

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

.about-img-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(254, 253, 248, 0.2);
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: #fefdf8;
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.about-exp-num {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2e8b57;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-exp-label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #064E3B;
    line-height: 1.2;
    margin-top: 2px;
}

.about-content {
    color: #fefdf8;
}

.about-content .section-label {
    color: #85c485;
}

.about-content .section-label::before {
    background: #85c485;
}

.about-text {
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(254, 253, 248, 0.82);
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(254, 253, 248, 0.9);
}

.about-feature-icon {
    width: 28px;
    height: 28px;
    background: rgba(254, 253, 248, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #85c485;
    flex-shrink: 0;
}

/* ===================== WHY CHOOSE US ===================== */
.why-us {
    position: relative;
    padding: 100px 24px;
    background: linear-gradient(160deg, #043829 0%, #064E3B 50%, #1a6b3f 100%);
    overflow: hidden;
}

.geo-circle-5 {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(254, 253, 248, 0.03);
    top: -100px;
    left: -100px;
    pointer-events: none;
}

.geo-hex-1 {
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(254, 253, 248, 0.04);
    bottom: 60px;
    right: 40px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    pointer-events: none;
}

.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.why-card {
    position: relative;
    background: rgba(254, 253, 248, 0.06);
    border: 1px solid rgba(254, 253, 248, 0.1);
    border-radius: 20px;
    padding: 36px 32px;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, transform 0.3s ease;
}

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

.why-card-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(254, 253, 248, 0.08);
    line-height: 1;
    margin-bottom: 12px;
}

.why-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fefdf8;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.why-card-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(254, 253, 248, 0.7);
}

/* ===================== CTA BANNER ===================== */
.cta-banner {
    position: relative;
    padding: 80px 24px;
    background: linear-gradient(135deg, #2e8b57 0%, #064E3B 100%);
    overflow: hidden;
}

.cta-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(254, 253, 248, 0.05);
    top: -80px;
    left: -80px;
}

.cta-shape-2 {
    width: 200px;
    height: 200px;
    background: rgba(254, 253, 248, 0.04);
    bottom: -60px;
    right: 10%;
}

.cta-shape-3 {
    width: 100px;
    height: 100px;
    background: rgba(254, 253, 248, 0.06);
    top: 20%;
    right: 30%;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #fefdf8;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 18px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(254, 253, 248, 0.8);
    margin-bottom: 36px;
    line-height: 1.7;
}

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

/* ===================== CONTACT ===================== */
.contact {
    padding: 100px 24px;
    background: #fefdf8;
    position: relative;
}

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

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

.contact-info {
    color: #064E3B;
}

.contact-desc {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #1a6b3f;
    margin-bottom: 32px;
}

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

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

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: #f0f7f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #064E3B;
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #2e8b57;
    margin-bottom: 2px;
}

.contact-detail-value {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #064E3B;
}

.contact-link {
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #2e8b57;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(6, 78, 59, 0.08);
}

/* Contact form */
.contact-form-wrap {
    position: relative;
}

.contact-form-card {
    background: #fefdf8;
    border: 1px solid rgba(6, 78, 59, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(6, 78, 59, 0.08);
}

.contact-form-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #064E3B;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #064E3B;
    margin-bottom: 7px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #043829;
    background: #f0f7f0;
    border: 2px solid transparent;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #85c485;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #2e8b57;
    background: #fefdf8;
}

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

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

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

.form-success-icon {
    width: 72px;
    height: 72px;
    background: #d9edda;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #064E3B;
}

.form-success-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #064E3B;
    margin-bottom: 8px;
}

.form-success-text {
    font-size: 0.95rem;
    color: #1a6b3f;
    line-height: 1.6;
}

/* ===================== FOOTER ===================== */
.footer {
    background: #02251a;
    color: rgba(254, 253, 248, 0.7);
    padding: 64px 24px 0;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(254, 253, 248, 0.08);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fefdf8;
    margin-bottom: 14px;
}

.footer-logo-icon {
    color: #fefdf8;
    background: rgba(254, 253, 248, 0.1);
    border-radius: 8px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(254, 253, 248, 0.55);
    max-width: 280px;
}

.footer-col-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(254, 253, 248, 0.4);
    margin-bottom: 18px;
}

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

.footer-links a,
.footer-links li {
    font-size: 0.9rem;
    color: rgba(254, 253, 248, 0.6);
    transition: color 0.2s ease;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-links a:hover,
.footer-links li:hover {
    color: #85c485;
}

.footer-links svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 0;
    font-size: 0.82rem;
    color: rgba(254, 253, 248, 0.35);
}

/* ===================== SCROLL REVEAL ===================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .hero-image-wrap {
        max-width: 480px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-visual {
        max-width: 480px;
        margin: 0 auto;
    }

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

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

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fefdf8;
        flex-direction: column;
        align-items: stretch;
        padding: 90px 24px 32px;
        gap: 4px;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

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

    .nav-link {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 12px;
        justify-content: center;
        padding: 14px 20px;
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-headline {
        font-size: clamp(1.8rem, 7vw, 2.6rem);
    }

    .hero-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 16px;
        display: inline-flex;
        animation: none;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-img-accent {
        right: -10px;
        bottom: -15px;
    }

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

    .contact-form-card {
        padding: 28px 20px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 12px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

/* 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;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}
