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

:root {
    --color-teal:       #0d9488;
    --color-teal-light: #99f6e4;
    --color-teal-dark:  #0f766e;
    --color-slate:      #334155;
    --color-slate-light:#64748b;
    --color-slate-pale: #f1f5f9;
    --color-bg:         #f8fffe;
    --color-white:      #ffffff;
    --color-accent:     #5eead4;
    --color-cta-bg:     linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
    --font-body:        'DM Sans', system-ui, sans-serif;
    --font-display:     'Playfair Display', Georgia, serif;
    --radius-sm:        8px;
    --radius-md:        14px;
    --radius-lg:        20px;
    --shadow-sm:        0 1px 3px rgba(13,148,136,.08), 0 1px 2px rgba(13,148,136,.06);
    --shadow-md:        0 4px 20px rgba(13,148,136,.1), 0 2px 8px rgba(13,148,136,.06);
    --shadow-lg:        0 12px 40px rgba(13,148,136,.12), 0 4px 16px rgba(13,148,136,.08);
    --transition:       .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--color-slate);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-teal-dark); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--color-slate); line-height: 1.2; }
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-teal);
    background: rgba(13,148,136,.08);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.75rem); margin-bottom: 16px; }
.section-desc { font-size: 1.1rem; color: var(--color-slate-light); max-width: 560px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-desc { margin: 0 auto; }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .95rem;
    padding: 12px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-primary {
    background: var(--color-teal);
    color: var(--color-white);
    border-color: var(--color-teal);
}
.btn-primary:hover { background: var(--color-teal-dark); border-color: var(--color-teal-dark); color: var(--color-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline {
    background: transparent;
    color: var(--color-teal);
    border-color: var(--color-teal);
}
.btn-outline:hover { background: var(--color-teal); color: var(--color-white); transform: translateY(-2px); }
.btn-white {
    background: var(--color-white);
    color: var(--color-teal-dark);
    border-color: var(--color-white);
}
.btn-white:hover { background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
    background: rgba(255,255,255,.15);
    color: var(--color-white);
    border-color: rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.25); transform: translateY(-2px); }

/* ── HEADER ─────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248,255,254,.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(13,148,136,.08);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-slate);
}
.logo:hover { color: var(--color-teal); }
.logo-icon { color: var(--color-teal); }
.logo-light { color: var(--color-white); }
.logo-light .logo-icon { color: var(--color-accent); }

.main-nav ul { display: flex; gap: 8px; }
.main-nav a:not(.btn) {
    padding: 8px 16px;
    color: var(--color-slate-light);
    font-weight: 500;
    font-size: .9rem;
    border-radius: 50px;
    transition: all var(--transition);
}
.main-nav a:not(.btn):hover { color: var(--color-teal); background: rgba(13,148,136,.06); }
.main-nav .btn-primary { margin-left: 8px; }

/* hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
}
.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-slate);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger { position: relative; margin: 0 auto; }
.hamburger::before { content: ''; position: absolute; top: -7px; left: 0; }
.hamburger::after { content: ''; position: absolute; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(160deg, #ccfbf1 0%, #99f6e4 25%, #5eead4 50%, #2dd4bf 70%, #0d9488 100%);
    padding: 120px 24px 80px;
}
.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 30%, rgba(94,234,212,.4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 70%, rgba(13,148,136,.3) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(255,255,255,.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.25);
    backdrop-filter: blur(8px);
    color: var(--color-white);
    font-size: .85rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    border: 1px solid rgba(255,255,255,.3);
}
.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.25rem);
    color: var(--color-white);
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero-accent {
    display: block;
    font-family: var(--font-body);
    font-size: .55em;
    font-weight: 400;
    opacity: .85;
    letter-spacing: .01em;
    margin-top: 4px;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.9);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    color: rgba(255,255,255,.8);
}
.stat-num { display: block; font-weight: 700; font-size: 1rem; color: var(--color-white); }
.stat-label { font-size: .8rem; opacity: .8; }
.stat-divider {
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,.4);
    border-radius: 50%;
}
.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; }

/* ── SERVICES ───────────────────────────────────────────────────────────── */
.services { padding: 100px 0; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(13,148,136,.08);
    transition: all var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(13,148,136,.15);
}
.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(13,148,136,.1), rgba(94,234,212,.15));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-teal);
    margin-bottom: 20px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; font-family: var(--font-body); font-weight: 700; }
.service-card p { font-size: .95rem; color: var(--color-slate-light); line-height: 1.7; }

/* ── ABOUT ──────────────────────────────────────────────────────────────── */
.about { padding: 100px 0; }
.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-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-img-main img { width: 100%; height: 480px; object-fit: cover; }
.about-img-float {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-bg);
}
.about-img-float img { width: 100%; height: 220px; object-fit: cover; }
.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: .9rem;
    color: var(--color-teal);
    box-shadow: var(--shadow-md);
}
.about-badge svg { color: var(--color-teal); }
.about-text .section-tag { margin-bottom: 16px; }
.about-text .section-title { margin-bottom: 20px; }
.about-text > p { color: var(--color-slate-light); margin-bottom: 16px; }
.about-list { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.about-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--color-slate);
}
.about-list svg { color: var(--color-teal); flex-shrink: 0; }

/* ── WHY US ─────────────────────────────────────────────────────────────── */
.why-us {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--color-bg) 0%, rgba(13,148,136,.04) 100%);
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    border: 1px solid rgba(13,148,136,.06);
    position: relative;
    overflow: hidden;
    transition: all var(--transition);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(13,148,136,.1);
    line-height: 1;
    margin-bottom: 16px;
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; font-family: var(--font-body); font-weight: 700; }
.why-card p { font-size: .9rem; color: var(--color-slate-light); line-height: 1.7; }

/* ── CTA BANNER ─────────────────────────────────────────────────────────── */
.cta-banner {
    background: var(--color-cta-bg);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(94,234,212,.25) 0%, transparent 60%);
    pointer-events: none;
}
.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.cta-text { flex: 1; min-width: 280px; }
.cta-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: var(--color-white); margin-bottom: 12px; }
.cta-text p { color: rgba(255,255,255,.8); font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── CONTACT ────────────────────────────────────────────────────────────── */
.contact { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-desc { color: var(--color-slate-light); margin-bottom: 32px; font-size: 1.05rem; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-item dt {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: .95rem;
    color: var(--color-slate);
    margin-bottom: 4px;
}
.contact-item dt svg { color: var(--color-teal); }
.contact-item dd { margin: 0; color: var(--color-slate-light); font-size: .95rem; line-height: 1.7; }
.contact-item dd a { color: var(--color-teal); }
.contact-item dd a:hover { text-decoration: underline; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }

/* form */
.contact-form-wrap {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(13,148,136,.08);
    box-shadow: var(--shadow-md);
}
.form-title { font-size: 1.4rem; margin-bottom: 8px; font-family: var(--font-body); font-weight: 700; }
.form-desc { color: var(--color-slate-light); margin-bottom: 28px; font-size: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-weight: 600; font-size: .85rem; color: var(--color-slate); }
.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: .95rem;
    padding: 12px 16px;
    border: 1.5px solid var(--color-slate-pale);
    border-radius: var(--radius-sm);
    background: var(--color-slate-pale);
    color: var(--color-slate);
    transition: all var(--transition);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-teal);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-teal);
}
.form-success svg { margin: 0 auto 16px; }
.form-success h4 { font-size: 1.3rem; margin-bottom: 8px; color: var(--color-slate); }
.form-success p { color: var(--color-slate-light); }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer { background: var(--color-slate); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand p { margin-top: 12px; font-size: .9rem; line-height: 1.7; }
.footer-links h4, .footer-contact h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--color-accent); }
.footer-contact p { font-size: .9rem; line-height: 1.8; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: var(--color-accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px 0;
    text-align: center;
    font-size: .85rem;
    color: rgba(255,255,255,.4);
}

/* ── SCROLL TOP ─────────────────────────────────────────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--color-teal);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition: all var(--transition);
    z-index: 900;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-top:hover { background: var(--color-teal-dark); transform: translateY(-2px); }

/* ── ANIMATIONS ─────────────────────────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; z-index: 1001; }
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        background: var(--color-white);
        padding: 100px 32px 40px;
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 1000;
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav > ul { flex-direction: column; gap: 4px; margin-bottom: 24px; }
    .main-nav a:not(.btn) { padding: 12px 16px; font-size: 1rem; }
    .main-nav .btn-primary { margin-left: 0; width: 100%; justify-content: center; }
    .hero { padding: 140px 24px 100px; min-height: auto; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { display: none; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .about-img-float { right: 0; bottom: -24px; }
    .about-img-main img { height: 320px; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .contact-form-wrap { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; justify-content: center; }
}
