/* ── Custom Properties ── */
:root {
    --teal: #0d9488;
    --teal-light: #14b8a6;
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --amber: #f59e0b;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
    --shadow: 0 4px 20px rgba(15,23,42,.06), 0 2px 8px rgba(15,23,42,.04);
    --shadow-lg: 0 12px 40px rgba(15,23,42,.1), 0 4px 16px rgba(15,23,42,.06);
    --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--slate-700);
    background: var(--slate-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--slate-900);
    line-height: 1.2;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-light); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Skip Link ── */
.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--teal); color: #fff; padding: 8px 16px;
    border-radius: 0 0 8px 8px; z-index: 9999; font-size: 14px;
}
.skip-link:focus { top: 0; }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; border-radius: 50px; font-weight: 600;
    font-size: 15px; border: 2px solid transparent;
    transition: all var(--transition); cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}
.btn-primary {
    background: var(--teal); color: #fff;
    border-color: var(--teal);
}
.btn-primary:hover {
    background: var(--teal-light); border-color: var(--teal-light);
    color: #fff; transform: translateY(-2px); box-shadow: var(--shadow);
}
.btn-secondary {
    background: transparent; color: var(--teal);
    border-color: var(--teal);
}
.btn-secondary:hover {
    background: var(--teal); color: #fff; transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-white {
    background: #fff; color: var(--teal);
    border-color: #fff;
}
.btn-white:hover {
    background: var(--teal-50); transform: translateY(-2px);
    box-shadow: var(--shadow-lg); color: var(--teal);
}
.btn-outline-white {
    background: transparent; color: #fff;
    border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,.15); border-color: #fff;
    color: #fff; transform: translateY(-2px);
}
.btn-block { width: 100%; justify-content: center; }

/* ── Header ── */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(248,250,252,.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 76px;
}
.logo {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 20px; font-weight: 700; color: var(--slate-900);
}
.logo:hover { color: var(--slate-900); }
.logo-tag {
    display: block; font-family: 'DM Sans', sans-serif;
    font-size: 11px; font-weight: 500; color: var(--teal);
    letter-spacing: .08em; text-transform: uppercase; margin-top: -2px;
}
.nav ul { display: flex; align-items: center; gap: 8px; }
.nav a {
    padding: 8px 16px; border-radius: 50px; font-size: 14px;
    font-weight: 500; color: var(--slate-600); transition: all var(--transition);
}
.nav a:hover { color: var(--teal); background: var(--teal-50); }
.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    padding: 8px; color: var(--slate-700);
}

/* ── Hero ── */
.hero {
    padding-top: 76px; min-height: 100vh;
    background: linear-gradient(135deg, var(--teal-50) 0%, var(--slate-50) 50%, #e0f2fe 100%);
    position: relative; overflow: hidden;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center; padding-top: 60px; padding-bottom: 80px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--white); border: 1px solid var(--teal-200);
    padding: 8px 18px; border-radius: 50px; font-size: 13px;
    font-weight: 600; color: var(--teal); margin-bottom: 24px;
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: 20px; letter-spacing: -0.02em;
}
.text-gradient {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 18px; color: var(--slate-500); margin-bottom: 36px;
    max-width: 520px; line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-trust { display: flex; gap: 32px; flex-wrap: wrap; }
.trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 500; color: var(--slate-600);
}
.hero-image { position: relative; }
.hero-img-wrapper {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); aspect-ratio: 6/7;
}
.hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card {
    position: absolute; bottom: 40px; left: -30px;
    background: var(--white); border-radius: var(--radius);
    padding: 20px 24px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 14px;
    animation: float 3s ease-in-out infinite;
}
.float-card-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--teal-100); display: flex; align-items: center;
    justify-content: center; color: var(--teal); flex-shrink: 0;
}
.float-card-text { display: flex; flex-direction: column; }
.float-card-text strong { font-size: 15px; color: var(--slate-800); }
.float-card-text span { font-size: 13px; color: var(--slate-400); }
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; }

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

/* ── Section Shared ── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-label {
    display: inline-block; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .1em; color: var(--teal);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}
.section-desc { font-size: 17px; color: var(--slate-500); }

/* ── Services ── */
.services { padding: 100px 0; background: var(--white); }
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
    background: var(--slate-50); border-radius: var(--radius-lg);
    padding: 40px 32px; transition: all var(--transition);
    border: 1px solid transparent;
}
.service-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-lg);
    border-color: var(--teal-100); background: var(--white);
}
.service-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px; color: var(--card-accent);
    background: color-mix(in srgb, var(--card-accent) 12%, transparent);
}
.service-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px; font-weight: 600; margin-bottom: 12px;
    color: var(--slate-800);
}
.service-card p { font-size: 15px; color: var(--slate-500); line-height: 1.7; }

/* ── About ── */
.about { padding: 100px 0; background: var(--slate-50); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.about-images { position: relative; }
.about-img-main {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); aspect-ratio: 5/6;
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-img-secondary {
    position: absolute; bottom: -40px; right: -40px;
    width: 200px; height: 200px; border-radius: var(--radius-lg);
    overflow: hidden; border: 6px solid var(--slate-50);
    box-shadow: var(--shadow);
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }
.about-experience-badge {
    position: absolute; top: -20px; right: 40px;
    background: var(--teal); color: #fff; border-radius: var(--radius);
    padding: 20px 24px; text-align: center;
    box-shadow: var(--shadow-lg);
}
.about-experience-badge .exp-number {
    display: block; font-family: 'Playfair Display', serif;
    font-size: 36px; font-weight: 700; line-height: 1;
}
.about-experience-badge .exp-text {
    display: block; font-size: 12px; opacity: .85; margin-top: 4px;
}
.about-content .section-label { text-align: left; }
.about-content .section-title { text-align: left; margin-bottom: 20px; }
.about-text { font-size: 16px; color: var(--slate-500); margin-bottom: 16px; }
.about-features {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
    margin-top: 32px;
}
.about-feature {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 500; color: var(--slate-700);
}

/* ── Process ── */
.process { padding: 100px 0; background: var(--white); }
.process-steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.process-step {
    text-align: center; padding: 32px 20px; position: relative;
}
.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 56px; font-weight: 700; color: var(--teal-100);
    line-height: 1; margin-bottom: 16px;
}
.step-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px; font-weight: 600; color: var(--slate-800);
    margin-bottom: 10px;
}
.step-content p { font-size: 14px; color: var(--slate-500); line-height: 1.7; }
.step-connector {
    display: none;
}

/* ── Testimonials ── */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--teal-50) 0%, var(--slate-50) 100%);
}
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.testimonial-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 36px 32px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-100);
    transition: all var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 20px; }
.testimonial-text {
    font-size: 15px; color: var(--slate-600); line-height: 1.8;
    margin-bottom: 24px; font-style: italic;
}
.testimonial-author {
    display: flex; align-items: center; gap: 12px;
}
.author-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
    color: #fff; font-weight: 700; font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 14px; color: var(--slate-800); }
.testimonial-author span { font-size: 13px; color: var(--slate-400); }

/* ── CTA ── */
.cta { padding: 100px 0; background: linear-gradient(135deg, var(--teal) 0%, #0f766e 100%); }
.cta-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.cta-content { max-width: 560px; }
.cta-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: #fff;
    margin-bottom: 16px;
}
.cta-desc { font-size: 17px; color: rgba(255,255,255,.8); line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Contact ── */
.contact { padding: 100px 0; background: var(--white); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
}
.contact-desc { font-size: 16px; color: var(--slate-500); margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; gap: 20px; }
.contact-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--teal-50); display: flex; align-items: center;
    justify-content: center; color: var(--teal); flex-shrink: 0;
}
.contact-item strong {
    display: block; font-size: 14px; font-weight: 600;
    color: var(--slate-800); margin-bottom: 4px;
}
.contact-item p { font-size: 15px; color: var(--slate-500); line-height: 1.6; }
.contact-item a { color: var(--teal); }
.contact-item a:hover { color: var(--teal-light); }

/* ── Form ── */
.contact-form-wrapper {
    background: var(--slate-50); border-radius: var(--radius-lg);
    padding: 44px; border: 1px solid var(--slate-100);
}
.contact-form h3 {
    font-size: 22px; margin-bottom: 28px; color: var(--slate-800);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--slate-700); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 16px; border: 1.5px solid var(--slate-200);
    border-radius: var(--radius); font-size: 15px; font-family: inherit;
    color: var(--slate-800); background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13,148,136,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
    display: flex; align-items: center; gap: 10px;
    background: var(--teal-50); border: 1px solid var(--teal-200);
    border-radius: var(--radius); padding: 14px 20px;
    color: var(--teal); font-weight: 500; font-size: 14px;
    margin-top: 16px;
}

/* ── Footer ── */
.footer {
    background: var(--slate-900); color: var(--slate-400);
    padding: 80px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px; padding-bottom: 60px;
}
.footer-brand p { font-size: 14px; margin-top: 16px; line-height: 1.7; }
.footer-links h4, .footer-contact h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px; font-weight: 600; color: #fff;
    text-transform: uppercase; letter-spacing: .06em; margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 14px; color: var(--slate-400); transition: color var(--transition);
}
.footer-links a:hover { color: var(--teal-light); }
.footer-contact p { font-size: 14px; line-height: 1.8; }
.footer-contact a { color: var(--slate-400); }
.footer-contact a:hover { color: var(--teal-light); }
.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding: 24px 0; text-align: center;
    font-size: 13px; color: var(--slate-500);
}

/* ── Scroll Animations ── */
.reveal {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-image { max-width: 500px; margin: 0 auto; }
    .hero-float-card { left: 10px; bottom: 20px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-content .section-label,
    .about-content .section-title { text-align: center; }
    .about-text { text-align: center; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    .nav {
        position: fixed; top: 76px; left: 0; right: 0;
        background: var(--white); border-bottom: 1px solid var(--slate-200);
        padding: 20px 24px; box-shadow: var(--shadow);
        transform: translateY(-120%); opacity: 0;
        transition: all var(--transition); pointer-events: none;
    }
    .nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    .nav ul { flex-direction: column; gap: 4px; }
    .nav a { padding: 12px 16px; display: block; }
    .nav .btn { margin-top: 12px; justify-content: center; }
    .hero { min-height: auto; padding-top: 100px; }
    .hero-grid { padding-bottom: 40px; }
    .hero-float-card { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .about-img-secondary { width: 150px; height: 150px; bottom: -20px; right: -20px; }
    .about-features { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-trust { flex-direction: column; align-items: center; gap: 12px; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; justify-content: center; }
}
