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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;

    --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;

    --cream: #fefce8;
    --mint: #f0fdf4;
    --sky: #f0f9ff;

    --font-body: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.12), 0 8px 20px rgba(15, 23, 42, 0.06);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--slate-700);
    background: #ffffff;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: var(--teal-600);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--teal-700);
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--teal-700);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--slate-800);
}

.logo-icon {
    color: var(--teal-600);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.logo-accent {
    color: var(--teal-600);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-menu a {
    color: var(--slate-600);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-menu a:hover {
    color: var(--teal-700);
    background: var(--teal-50);
}

.nav-cta {
    background: var(--teal-600) !important;
    color: #fff !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--teal-700) !important;
    color: #fff !important;
}

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

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: all var(--transition);
}

.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);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: linear-gradient(160deg, #f0fdfa 0%, #f8fafc 40%, #f0f9ff 100%);
    overflow: hidden;
}

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

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: var(--teal-200);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--teal-100);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--sky);
    top: 40%;
    left: 35%;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 148, 136, 0.08);
    color: var(--teal-700);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(13, 148, 136, 0.15);
    margin-bottom: 24px;
}

.hero-badge svg {
    color: var(--teal-600);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: #fff;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
    background: var(--teal-700);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

.btn-secondary {
    background: #fff;
    color: var(--slate-700);
    border: 1.5px solid var(--slate-200);
}

.btn-secondary:hover {
    border-color: var(--teal-300);
    color: var(--teal-700);
    background: var(--teal-50);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--teal-600);
    border: 2px solid var(--teal-600);
}

.btn-outline:hover {
    background: var(--teal-50);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

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

/* ===== Hero Cards ===== */
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 440px;
    margin-left: auto;
}

.stat-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card--primary {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
    color: #fff;
    grid-column: span 2;
}

.stat-card--teal {
    background: #fff;
    border-color: var(--teal-100);
    box-shadow: var(--shadow-sm);
}

.stat-card--accent {
    background: linear-gradient(135deg, var(--teal-50), var(--sky));
    border-color: var(--teal-100);
    box-shadow: var(--shadow-sm);
}

.stat-card--white {
    background: #fff;
    border-color: var(--slate-100);
    box-shadow: var(--shadow-sm);
}

.stat-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.stat-card--teal .stat-card-icon,
.stat-card--accent .stat-card-icon,
.stat-card--white .stat-card-icon {
    background: var(--teal-50);
    color: var(--teal-600);
}

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

.stat-card-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.7;
}

.stat-card-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ===== Section Shared ===== */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal-600);
    background: rgba(13, 148, 136, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--slate-900);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--slate-500);
    line-height: 1.7;
    max-width: 560px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ===== Services ===== */
.services {
    padding: 100px 0;
    background: #fff;
}

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

.service-card {
    background: #fff;
    border: 1px solid var(--slate-100);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.service-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

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

.service-card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-600);
    margin-bottom: 20px;
    transition: all var(--transition);
}

.service-card:hover .service-card-icon {
    background: var(--teal-600);
    color: #fff;
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 10px;
}

.service-card-desc {
    font-size: 0.92rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ===== Why Us ===== */
.why-us {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--teal-50) 0%, #fff 100%);
}

.why-us-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-content .section-title {
    margin-bottom: 20px;
}

.why-us-desc {
    font-size: 1.05rem;
    color: var(--slate-500);
    line-height: 1.75;
    margin-bottom: 40px;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-100);
    border-radius: var(--radius-sm);
    color: var(--teal-700);
}

.why-feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-800);
    margin-bottom: 4px;
}

.why-feature-text {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.why-us-image {
    position: relative;
}

.image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

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

.image-accent {
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--teal-200);
    border-radius: var(--radius-lg);
    bottom: -30px;
    right: -30px;
    z-index: 0;
    opacity: 0.6;
}

/* ===== About ===== */
.about {
    padding: 100px 0;
    background: #fff;
}

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

.about-content .section-title {
    margin-bottom: 20px;
}

.about-text {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-number {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--teal-600);
}

.about-stat-label {
    font-size: 0.85rem;
    color: var(--slate-400);
    font-weight: 500;
}

/* ===== CTA ===== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-800) 50%, var(--slate-800) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    top: -200px;
    right: -100px;
}

.cta::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    bottom: -100px;
    left: -50px;
}

.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 480px;
}

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

.cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
    background: var(--slate-50);
}

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

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: var(--radius-md);
    color: var(--teal-600);
}

.contact-item-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--slate-400);
    margin-bottom: 2px;
}

.contact-item-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate-700);
}

.contact-item-value a {
    color: var(--slate-700);
}

.contact-item-value a:hover {
    color: var(--teal-600);
}

/* ===== Form ===== */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--slate-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--slate-700);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    transition: all var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--teal-400);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

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

.form-success {
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.success-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: 50%;
    color: var(--teal-600);
}

.success-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-800);
}

.success-text {
    font-size: 0.95rem;
    color: var(--slate-500);
    line-height: 1.6;
    max-width: 320px;
}

/* ===== Footer ===== */
.site-footer {
    background: var(--slate-900);
    color: var(--slate-400);
    padding: 60px 0 0;
}

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

.footer-brand .logo-text {
    color: #fff;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    color: var(--slate-400);
    max-width: 300px;
}

.footer-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-200);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    color: var(--slate-400);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--teal-400);
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--slate-500);
}

/* ===== Animations ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-cards {
        max-width: 100%;
        margin: 0;
    }

    .why-us-inner,
    .about-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .why-us-image {
        order: -1;
        max-width: 500px;
    }

    .about-image {
        order: -1;
        max-width: 500px;
    }

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

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition);
        z-index: 100;
    }

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

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }

    .nav-cta {
        margin-top: 16px;
        text-align: center;
        justify-content: center;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.4);
        z-index: 99;
    }

    .nav-overlay.active {
        display: block;
    }

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

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .stat-card--primary {
        grid-column: span 1;
    }

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

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

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

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

    .contact-form-wrapper {
        padding: 28px;
    }

    .image-accent {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}
