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

:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --cream-50:    #fefdf8;
    --cream-100:   #fefce8;
    --cream-200:   #fef9c3;
    --cream-300:   #fde68a;
    --cream-400:   #fcd34d;
    --warm-50:     #faf9f7;
    --warm-100:    #f5f3ef;
    --warm-200:    #e8e4dc;
    --warm-300:    #d4cfc4;
    --warm-400:    #a8a29e;
    --warm-500:    #78716c;
    --warm-600:    #57534e;
    --warm-700:    #3d3935;
    --warm-800:    #231f1b;
    --warm-900:    #13100e;
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   22px;
    --radius-xl:   32px;
    --shadow-sm:   0 1px 3px rgba(19,16,14,.06), 0 1px 2px rgba(19,16,14,.04);
    --shadow-md:   0 4px 14px rgba(19,16,14,.07), 0 2px 6px rgba(19,16,14,.05);
    --shadow-lg:   0 10px 30px rgba(19,16,14,.08), 0 4px 10px rgba(19,16,14,.05);
    --shadow-xl:   0 20px 50px rgba(19,16,14,.10), 0 8px 16px rgba(19,16,14,.06);
    --transition:  .3s cubic-bezier(.4,0,.2,1);
}

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

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: var(--cream-50);
    color: var(--warm-800);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--warm-900);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

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

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

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: .95rem;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-600);
    color: #fff;
    box-shadow: 0 4px 14px rgba(5,150,105,.3);
}
.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5,150,105,.35);
}

.btn-accent {
    background: var(--cream-300);
    color: var(--warm-900);
    box-shadow: 0 4px 14px rgba(253,230,138,.4);
}
.btn-accent:hover {
    background: var(--cream-400);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--emerald-700);
    border: 2px solid var(--emerald-300);
}
.btn-outline:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-500);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--emerald-100);
    border: 2px solid rgba(209,250,229,.4);
}
.btn-outline-light:hover {
    background: rgba(209,250,229,.1);
    border-color: var(--emerald-300);
    transform: translateY(-2px);
}

.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-nav {
    background: var(--emerald-600);
    color: #fff;
    padding: 10px 22px;
    border-radius: var(--radius-lg);
    font-size: .9rem;
}
.btn-nav:hover { background: var(--emerald-700); }

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254,253,248,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(19,16,14,.06);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--warm-900);
}
.logo-icon { color: var(--emerald-600); }
.logo-accent { color: var(--emerald-600); }
.logo-light { color: #fff; }
.logo-light .logo-accent { color: var(--emerald-300); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: .92rem;
    color: var(--warm-700);
    transition: var(--transition);
}
.nav-links a:hover { background: var(--emerald-50); color: var(--emerald-700); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--warm-700);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg); top: 0; }

/* ─── Mobile Menu ─── */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(254,253,248,.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid rgba(19,16,14,.08);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
}
.mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
}
.mobile-link {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 1.05rem;
    color: var(--warm-700);
    transition: var(--transition);
}
.mobile-link:hover { background: var(--emerald-50); color: var(--emerald-700); }
.mobile-cta {
    align-items: center;
    justify-content: center;
    margin-top: 8px;
}

/* ─── Hero ─── */
.hero {
    padding: 120px 0 80px;
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16,185,129,.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253,230,138,.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--emerald-100);
    color: var(--emerald-700);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    margin-bottom: 22px;
    color: var(--warm-900);
    letter-spacing: -.02em;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--warm-600);
    margin-bottom: 36px;
    max-width: 500px;
    line-height: 1.7;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--warm-600);
}
.trust-item svg { color: var(--emerald-500); flex-shrink: 0; }

.hero-image { position: relative; z-index: 1; }
.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.hero-img-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.hero-img-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--emerald-200);
    border-radius: var(--radius-xl);
    z-index: -1;
}
.hero-floating-card {
    position: absolute;
    bottom: 28px;
    left: -28px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}
.floating-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    flex-shrink: 0;
}
.hero-floating-card strong {
    display: block;
    font-size: .95rem;
    color: var(--warm-900);
}
.hero-floating-card span {
    font-size: .8rem;
    color: var(--warm-500);
}

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

/* ─── Section Shared ─── */
.section-tag {
    display: inline-block;
    background: var(--emerald-100);
    color: var(--emerald-700);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
}
.section-tag.light {
    background: rgba(110,231,183,.15);
    color: var(--emerald-300);
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
    letter-spacing: -.01em;
}
.section-desc {
    font-size: 1.1rem;
    color: var(--warm-600);
    max-width: 560px;
    line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 56px; }
.section-header.light { text-align: center; }
.section-header .section-desc.light { color: rgba(255,255,255,.7); }

/* ─── Services ─── */
.services {
    padding: 100px 0;
    background: var(--cream-50);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    border: 1px solid rgba(19,16,14,.06);
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-200);
}
.service-icon {
    width: 56px;
    height: 56px;
    background: var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: 20px;
    transition: var(--transition);
}
.service-card:hover .service-icon {
    background: var(--emerald-600);
    color: #fff;
}
.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--warm-900);
}
.service-card p {
    font-size: .95rem;
    color: var(--warm-600);
    line-height: 1.65;
}

/* ─── About ─── */
.about {
    padding: 100px 0;
    background: var(--warm-100);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    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: 450px; object-fit: cover; }
.about-img-secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 5px solid var(--warm-100);
}
.about-img-secondary img { width: 100%; height: 200px; object-fit: cover; }
.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--emerald-600);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.about-experience-badge .exp-number {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
}
.about-experience-badge .exp-label {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    opacity: .85;
}

.about-content { max-width: 480px; }
.about-text {
    font-size: 1.05rem;
    color: var(--warm-600);
    margin-bottom: 18px;
    line-height: 1.75;
}
.about-text em { color: var(--emerald-700); font-style: italic; }

.about-stats {
    display: flex;
    gap: 32px;
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid var(--warm-200);
    border-bottom: 1px solid var(--warm-200);
}
.stat strong {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    color: var(--emerald-600);
    line-height: 1;
    margin-bottom: 6px;
}
.stat span {
    font-size: .85rem;
    color: var(--warm-500);
    font-weight: 500;
}

/* ─── Why Us ─── */
.why-us {
    padding: 100px 0;
    background: var(--emerald-800);
    position: relative;
    overflow: hidden;
}
.why-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}
.why-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
}
.why-card:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-3px);
}
.why-number {
    font-family: 'Fraunces', serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(110,231,183,.2);
    line-height: 1;
    margin-bottom: 12px;
}
.why-card h3 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 10px;
}
.why-card p {
    font-size: .95rem;
    color: rgba(255,255,255,.65);
    line-height: 1.7;
}

/* ─── CTA ─── */
.cta { padding: 80px 0; background: var(--cream-100); }
.cta-card {
    background: var(--emerald-700);
    border-radius: var(--radius-xl);
    padding: 72px 60px;
    position: relative;
    overflow: hidden;
}
.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.cta-content { position: relative; z-index: 1; text-align: center; max-width: 640px; margin: 0 auto; }
.cta-headline {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: #fff;
    margin-bottom: 18px;
}
.cta-text {
    font-size: 1.1rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 36px;
    line-height: 1.7;
}
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ─── Contact ─── */
.contact {
    padding: 100px 0;
    background: var(--cream-50);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-desc {
    font-size: 1.05rem;
    color: var(--warm-600);
    margin-bottom: 36px;
    line-height: 1.7;
}
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
    display: flex;
    gap: 16px;
}
.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-600);
    flex-shrink: 0;
}
.contact-item strong {
    display: block;
    font-size: .95rem;
    color: var(--warm-900);
    margin-bottom: 4px;
}
.contact-item p {
    font-size: .92rem;
    color: var(--warm-600);
    line-height: 1.6;
}
.contact-item a {
    color: var(--emerald-600);
    transition: var(--transition);
}
.contact-item a:hover { color: var(--emerald-800); text-decoration: underline; }

.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(19,16,14,.06);
}
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.form-note {
    font-size: .9rem;
    color: var(--warm-500);
    margin-bottom: 28px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    color: var(--warm-700);
    margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--warm-200);
    border-radius: var(--radius-md);
    font-family: 'DM Sans', sans-serif;
    font-size: .95rem;
    color: var(--warm-800);
    background: var(--cream-50);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-400);
    box-shadow: 0 0 0 3px rgba(16,185,129,.12);
    background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--warm-400); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    background: var(--emerald-100);
    color: var(--emerald-800);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-top: 16px;
    font-weight: 500;
    font-size: .95rem;
}
.form-success.show { display: flex; }
.form-success svg { color: var(--emerald-600); flex-shrink: 0; }

/* ─── Footer ─── */
.footer {
    background: var(--warm-900);
    color: rgba(255,255,255,.7);
    padding: 72px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
    margin-top: 16px;
    font-size: .92rem;
    line-height: 1.7;
    max-width: 280px;
}
.footer-links h4,
.footer-contact h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.4);
    margin-bottom: 18px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: .92rem;
    color: rgba(255,255,255,.65);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--emerald-300); }
.footer-contact p {
    font-size: .92rem;
    line-height: 1.8;
}
.footer-contact a {
    color: rgba(255,255,255,.65);
    transition: var(--transition);
}
.footer-contact a:hover { color: var(--emerald-300); }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: .85rem;
    color: rgba(255,255,255,.35);
}

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .hero-grid { gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

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

    .hero { padding: 100px 0 60px; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-image { order: -1; }
    .hero-img-wrapper img { height: 320px; }
    .hero-floating-card { left: 16px; bottom: 16px; }
    .hero-floating-card { animation: none; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .services-grid { grid-template-columns: 1fr; }
    .services { padding: 72px 0; }

    .about { padding: 72px 0; }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-content { max-width: 100%; }
    .about-img-secondary { right: 16px; bottom: -24px; }
    .about-experience-badge { left: 16px; top: -16px; }

    .why-grid { grid-template-columns: 1fr; }
    .why-us { padding: 72px 0; }

    .cta-card { padding: 48px 28px; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; justify-content: center; }

    .contact { padding: 72px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrapper { padding: 28px; }

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

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero-headline { font-size: 1.9rem; }
    .section-title { font-size: 1.6rem; }
    .about-stats { flex-direction: column; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
}
