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

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

body {
    font-family: 'DM Sans', sans-serif;
    color: #1e293b;
    background: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(248, 250, 252, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.25rem;
    color: #0f766e;
}

.logo-text {
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #475569;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0d9488;
    border-radius: 1px;
    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: #0d9488;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: #0d9488;
    color: #f8fafc !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: #0f766e !important;
    color: #f8fafc !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #1e293b;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 24px 60px;
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 40%, #f1f5f9 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 20%, rgba(13, 148, 136, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 10% 80%, rgba(20, 184, 166, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.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 {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(13, 148, 136, 0.1);
    color: #0d9488;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero-title span {
    color: #0d9488;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary {
    background: #0d9488;
    color: #f8fafc;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover {
    background: #0f766e;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #1e293b;
    border: 1.5px solid #cbd5e1;
}

.btn-secondary:hover {
    border-color: #0d9488;
    color: #0d9488;
    transform: translateY(-2px);
}

.btn-white {
    background: #f8fafc;
    color: #0d9488;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-outline-white {
    background: transparent;
    color: #f8fafc;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #f8fafc;
    transform: translateY(-2px);
}

/* Floating Cards */
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 420px;
}

.floating-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.card-1 { animation: float1 6s ease-in-out infinite; }
.card-2 { animation: float2 5s ease-in-out infinite; }
.card-3 { animation: float3 7s ease-in-out infinite; }
.card-4 { animation: float4 5.5s ease-in-out infinite; }

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

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

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

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

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ccfbf1, #99f6e4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    margin-bottom: 14px;
}

.card-stat {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.card-label {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 2px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* Section shared */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0d9488;
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.0625rem;
    color: #64748b;
    line-height: 1.7;
}

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

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

.service-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
}

.service-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(15, 23, 42, 0.08) 100%);
}

.service-content {
    padding: 28px;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ccfbf1, #99f6e4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d9488;
    margin-bottom: 18px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: #334155;
    font-weight: 500;
}

.service-features svg {
    flex-shrink: 0;
    color: #0d9488;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #0d9488;
    transition: gap 0.2s ease;
}

.service-link:hover {
    gap: 10px;
}

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

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

.about-visual {
    position: relative;
}

.about-image-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

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

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 220px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border: 4px solid #ffffff;
}

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

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: #f8fafc;
    padding: 20px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(13, 148, 136, 0.3);
}

.about-experience-badge .exp-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

.about-experience-badge .exp-text {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-top: 4px;
    line-height: 1.3;
}

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

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

.value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f0fdfa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-title {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 2px;
}

.value-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
}

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

.testimonial-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
}

.author-detail {
    display: block;
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-top: 2px;
}

/* CTA */
.cta {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #14b8a6 100%);
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-content .section-tag {
    color: rgba(255, 255, 255, 0.8);
}

.cta-title {
    color: #f8fafc;
}

.cta-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.cta-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.info-item svg {
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: #0f172a;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    color: #f8fafc;
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

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

.footer-links a {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #2dd4bf;
}

.footer-phone {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2dd4bf;
    margin-bottom: 10px;
    display: block;
}

.footer-phone:hover {
    color: #5eead4;
}

.footer-address {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.6;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: #64748b;
}

/* Scroll reveal base (progressive enhancement) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

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

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

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

    .hero-cards {
        margin: 40px auto 0;
        max-width: 360px;
    }

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

    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }

    .about-text {
        text-align: center;
    }

    .about-values {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 32px;
    }

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

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(248, 250, 252, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.15);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 80px;
        min-height: auto;
    }

    .hero-cards {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        max-width: 100%;
    }

    .floating-card {
        padding: 18px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .card-stat {
        font-size: 1.25rem;
    }

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

    .about-image-accent {
        width: 160px;
        right: -10px;
        bottom: -20px;
    }

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

    .about-experience-badge .exp-number {
        font-size: 1.5rem;
    }

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

    .cta-info {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

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

@media (max-width: 480px) {
    .hero-cards {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 22px;
        font-size: 0.875rem;
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .floating-card {
        animation-play-state: running;
    }
}

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