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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* ─── Utility ─── */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #0d9488;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-title em {
    font-style: italic;
    color: #0d9488;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
}

/* ─── Reveal Animation (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #0d9488;
    color: #f8fafc;
    border-color: #0d9488;
}

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

.btn-outline-light {
    background: transparent;
    color: #f8fafc;
    border-color: rgba(248, 250, 252, 0.5);
}

.btn-outline-light:hover {
    background: rgba(248, 250, 252, 0.1);
    border-color: #f8fafc;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 16px 32px;
}

/* ─── Navigation ─── */
.nav-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav-scrolled.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-scrolled.scrolled .nav-logo {
    color: #0f172a;
}

.nav-scrolled.scrolled .nav-link {
    color: #334155;
}

.nav-scrolled.scrolled .nav-link:hover {
    color: #0d9488;
}

.nav-scrolled.scrolled .nav-cta {
    background: #0d9488;
    color: #f8fafc;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Lora', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #f8fafc;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    color: #5eead4;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.85);
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: #f8fafc;
    background: rgba(248, 250, 252, 0.1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    background: rgba(248, 250, 252, 0.15);
    border: 1px solid rgba(248, 250, 252, 0.3);
    border-radius: 50px;
    margin-left: 8px;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: #0d9488;
    color: #f8fafc;
    border-color: #0d9488;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #f8fafc;
}

.hamburger-icon {
    width: 24px;
    height: 24px;
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0f172a;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/8834044/pexels-photo-8834044.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(13, 148, 136, 0.75) 50%,
        rgba(15, 23, 42, 0.88) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(94, 234, 212, 0.15);
    border: 1px solid rgba(94, 234, 212, 0.3);
    color: #5eead4;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
}

.hero-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 600;
    line-height: 1.15;
    color: #f8fafc;
    margin-bottom: 24px;
}

.hero-title span {
    color: #5eead4;
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(248, 250, 252, 0.75);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

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

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.88rem;
    font-weight: 600;
}

.trust-item svg {
    width: 16px;
    height: 16px;
    color: #5eead4;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: bounce 2s infinite;
}

.hero-scroll svg {
    width: 28px;
    height: 28px;
    color: rgba(248, 250, 252, 0.5);
}

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

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

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

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    border-color: #99f6e4;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    width: 26px;
    height: 26px;
    color: #0d9488;
}

.service-name {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

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

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

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

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

.about-img-float {
    position: absolute;
    bottom: -32px;
    right: -24px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border: 4px solid #ffffff;
}

.about-img-float img {
    width: 260px;
    height: 200px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -20px;
    right: 40px;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.about-accent svg {
    width: 32px;
    height: 32px;
    color: #f8fafc;
}

.about-content {
    padding: 8px 0;
}

.about-text {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.85;
    margin-bottom: 20px;
}

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

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

.about-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature-icon svg {
    width: 20px;
    height: 20px;
    color: #0d9488;
}

.about-feature strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 2px;
}

.about-feature span {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
}

/* ─── Gallery ─── */
.gallery {
    padding: 100px 0;
    background: #f8fafc;
}

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

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #f8fafc;
}

/* ─── Testimonials ─── */
.testimonials {
    padding: 100px 0;
    background: #ffffff;
}

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

.testimonial-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: #99f6e4;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

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

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    color: #f59e0b;
    fill: #f59e0b;
}

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

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #f8fafc;
}

.testimonial-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.testimonial-location {
    font-size: 0.8rem;
    color: #94a3b8;
}

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

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(94, 234, 212, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
}

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

.cta-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    color: #f8fafc;
    line-height: 1.3;
    margin-bottom: 20px;
}

.cta-title em {
    font-style: italic;
    color: #5eead4;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

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

/* ─── Contact ─── */
.contact {
    padding: 100px 0;
    background: #f8fafc;
}

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

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

.contact-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.contact-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, #f0fdfa, #ccfbf1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon svg {
    width: 22px;
    height: 22px;
    color: #0d9488;
}

.contact-card strong {
    display: block;
    font-size: 0.9rem;
    color: #0f172a;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

.contact-card a {
    color: #0d9488;
    font-weight: 600;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: #0f766e;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.map-link {
    position: relative;
    display: block;
}

.map-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.map-link-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 148, 136, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #f8fafc;
    font-weight: 700;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-link:hover .map-link-overlay {
    opacity: 1;
}

.map-link-overlay svg {
    width: 18px;
    height: 18px;
}

/* ─── Contact Form ─── */
.contact-form-wrap {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.form-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Nunito', system-ui, sans-serif;
    font-size: 0.92rem;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 20px;
    background: #f0fdfa;
    border: 1px solid #ccfbf1;
    border-radius: 12px;
    color: #0d9488;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
}

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

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

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Lora', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 28px;
    height: 28px;
    color: #5eead4;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.7;
}

.footer-links strong,
.footer-contact strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5eead4;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: #94a3b8;
    padding: 5px 0;
    transition: color 0.2s;
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.7;
}

.footer-contact a {
    color: #5eead4;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #f8fafc;
}

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

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

/* ─── Mobile Menu ─── */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #0f172a;
        flex-direction: column;
        align-items: stretch;
        padding: 80px 24px 32px;
        gap: 4px;
        transition: right 0.3s ease;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    }

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

    .nav-link {
        color: rgba(248, 250, 252, 0.8) !important;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .nav-link:hover {
        background: rgba(248, 250, 252, 0.08) !important;
        color: #f8fafc !important;
    }

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

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

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

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-img-float {
        right: 16px;
        bottom: -24px;
    }

    .about-img-float img {
        width: 200px;
        height: 160px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .services-grid,
    .testimonials-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

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

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

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 28px 20px;
    }

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

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

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

    .gallery-overlay {
        opacity: 1;
    }
}
