/* ===== 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: #1e293b;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    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 0.3s ease;
}
.nav.scrolled { box-shadow: 0 1px 20px rgba(0,0,0,0.06); }
.nav-inner {
    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.1rem; color: #0d9488;
}
.nav-logo-icon { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 0.9rem; font-weight: 500; color: #475569;
    transition: color 0.2s; position: relative;
}
.nav-links a:hover { color: #0d9488; }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: #0d9488;
    transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    background: #0d9488 !important; color: #fff !important;
    padding: 9px 20px; border-radius: 50px;
    font-weight: 600; font-size: 0.88rem;
    transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: #0f766e !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
.nav-phone {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.88rem; font-weight: 600; color: #0d9488;
}
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
    width: 22px; height: 2px; background: #334155;
    border-radius: 2px; transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    z-index: 999;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: all; }
.mobile-nav-inner {
    display: flex; flex-direction: column; align-items: center;
    gap: 24px;
}
.mobile-nav-link {
    font-size: 1.25rem; font-weight: 600; color: #334155;
    transition: color 0.2s;
}
.mobile-nav-link:hover { color: #0d9488; }
.mobile-nav-phone {
    display: flex; align-items: center; gap: 8px;
    font-size: 1.1rem; font-weight: 700; color: #0d9488;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 50%, #f0f9ff 100%);
    overflow: hidden;
    padding-top: 72px;
}
.hero-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(13,148,136,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(148,163,184,0.08) 0%, transparent 50%);
    pointer-events: none;
}
.hero-gradient {
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, rgba(13,148,136,0.03) 0%, transparent 60%),
        linear-gradient(to bottom, transparent 60%, rgba(13,148,136,0.04) 100%);
    pointer-events: none;
}
.hero-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
    padding: 60px 0;
}
.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.82rem; font-weight: 600;
    margin-bottom: 24px; letter-spacing: 0.02em;
}
.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700; line-height: 1.15;
    color: #0f172a; margin-bottom: 20px;
}
.hero-title em {
    font-style: normal; color: #0d9488;
    position: relative;
}
.hero-title em::after {
    content: ''; position: absolute;
    bottom: 2px; left: 0; right: 0;
    height: 8px; background: rgba(13,148,136,0.15);
    border-radius: 4px; z-index: -1;
}
.hero-desc {
    font-size: 1.1rem; line-height: 1.7;
    color: #475569; margin-bottom: 32px;
    max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 50px;
    font-size: 0.95rem; font-weight: 600;
    transition: all 0.25s ease; cursor: pointer; border: none;
    font-family: inherit;
}
.btn-primary {
    background: #0d9488; color: #fff;
    box-shadow: 0 4px 16px rgba(13,148,136,0.3);
}
.btn-primary:hover {
    background: #0f766e; transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13,148,136,0.35);
}
.btn-outline {
    background: transparent; color: #0d9488;
    border: 2px solid rgba(13,148,136,0.3);
}
.btn-outline:hover {
    border-color: #0d9488; background: rgba(13,148,136,0.06);
}
.btn-white {
    background: #fff; color: #0d9488;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-ghost {
    background: transparent; color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn-outline-sm {
    background: transparent; color: #0d9488;
    border: 1.5px solid rgba(13,148,136,0.3);
    padding: 10px 20px; font-size: 0.88rem; border-radius: 50px;
    cursor: pointer; font-family: inherit; font-weight: 600;
    transition: all 0.2s;
}
.btn-outline-sm:hover { border-color: #0d9488; background: rgba(13,148,136,0.06); }
.btn-full { width: 100%; justify-content: center; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.88rem; font-weight: 500; color: #64748b;
}
.trust-item svg { color: #0d9488; flex-shrink: 0; }

/* Hero image */
.hero-image-wrap { position: relative; }
.hero-image-card {
    border-radius: 24px; overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    aspect-ratio: 6/5;
}
.hero-image-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-float-card {
    position: absolute; bottom: -20px; left: -20px;
    background: #fff; border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    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: linear-gradient(135deg, #0d9488, #14b8a6);
    display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
}
.float-card-text { display: flex; flex-direction: column; }
.float-card-text strong { font-size: 0.9rem; color: #0f172a; }
.float-card-text span { font-size: 0.78rem; color: #64748b; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ===== SECTION COMMON ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
    display: inline-block; font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: #0d9488; margin-bottom: 12px;
}
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700; color: #0f172a;
    line-height: 1.2; margin-bottom: 16px;
}
.section-desc {
    font-size: 1.05rem; color: #64748b;
    max-width: 560px; margin: 0 auto; line-height: 1.7;
}

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: #fff; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #f8fafc; border: 1px solid rgba(148,163,184,0.15);
    border-radius: 20px; padding: 36px 28px;
    transition: all 0.3s ease;
}
.service-card:hover {
    background: #fff; border-color: rgba(13,148,136,0.2);
    box-shadow: 0 12px 40px rgba(13,148,136,0.08);
    transform: translateY(-4px);
}
.service-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(13,148,136,0.1), rgba(13,148,136,0.05));
    display: flex; align-items: center; justify-content: center;
    color: #0d9488; margin-bottom: 20px;
    transition: all 0.3s;
}
.service-card:hover .service-icon {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: #fff;
}
.service-title {
    font-size: 1.1rem; font-weight: 700; color: #0f172a;
    margin-bottom: 10px;
}
.service-desc {
    font-size: 0.92rem; color: #64748b; line-height: 1.7;
}

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: linear-gradient(180deg, #f0fdfa 0%, #f8fafc 100%); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.about-image-stack { position: relative; }
.about-image-main {
    border-radius: 24px; overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    aspect-ratio: 52/48;
}
.about-image-main img { width: 100%; height: 100%; object-fit: cover; }
.about-image-accent {
    position: absolute; bottom: -16px; right: -16px;
    width: 160px; height: 160px; border-radius: 20px;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    opacity: 0.15; z-index: -1;
}
.about-content-col .section-tag { text-align: left; }
.about-content-col .section-title { text-align: left; }
.about-body {
    font-size: 1rem; color: #475569; line-height: 1.8;
    margin-bottom: 16px;
}
.about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.about-feature { display: flex; align-items: center; gap: 12px; }
.about-feature-check {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(13,148,136,0.1);
    display: flex; align-items: center; justify-content: center;
    color: #0d9488; flex-shrink: 0;
}
.about-feature span { font-size: 0.95rem; color: #334155; font-weight: 500; }

/* ===== GALLERY ===== */
.gallery { padding: 100px 0; background: #fff; }
.gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.gallery-item {
    position: relative; border-radius: 16px; overflow: hidden;
    aspect-ratio: 5/4; 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-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(to top, rgba(15,23,42,0.8), transparent);
    color: #fff; font-size: 0.88rem; font-weight: 600;
    transform: translateY(100%); transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 0; background: linear-gradient(180deg, #f8fafc 0%, #f0fdfa 100%); }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: #fff; border: 1px solid rgba(148,163,184,0.12);
    border-radius: 20px; padding: 32px 28px;
    transition: all 0.3s ease;
}
.testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(13,148,136,0.08);
    transform: translateY(-4px);
}
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; color: #f59e0b; }
.testimonial-text {
    font-size: 0.95rem; color: #475569; line-height: 1.75;
    margin-bottom: 20px; font-style: italic;
}
.testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.author-name { font-weight: 700; font-size: 0.95rem; color: #0f172a; }
.author-location { font-size: 0.82rem; color: #94a3b8; }

/* ===== CTA BANNER ===== */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 50%, #115e59 100%);
    position: relative; overflow: hidden;
}
.cta-banner::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
    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-content { max-width: 520px; }
.cta-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700; color: #fff; line-height: 1.2;
    margin-bottom: 12px;
}
.cta-desc { font-size: 1.05rem; color: rgba(255,255,255,0.8); line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: #fff; }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: start;
}
.contact-info .section-tag { text-align: left; }
.contact-info .section-title { text-align: left; }
.contact-desc {
    font-size: 1rem; color: #64748b; line-height: 1.7;
    margin-bottom: 32px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: flex-start; gap: 16px; }
.contact-detail-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(13,148,136,0.08);
    display: flex; align-items: center; justify-content: center;
    color: #0d9488; flex-shrink: 0;
}
.contact-detail strong {
    display: block; font-size: 0.82rem;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: #94a3b8; margin-bottom: 4px;
}
.contact-detail p { font-size: 0.95rem; color: #334155; line-height: 1.6; }
.contact-detail a { color: #0d9488; font-weight: 600; transition: color 0.2s; }
.contact-detail a:hover { color: #0f766e; }
.contact-map { border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

/* Form */
.contact-form-wrap {
    background: #f8fafc; border: 1px solid rgba(148,163,184,0.15);
    border-radius: 24px; padding: 40px 32px;
}
.form-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem; font-weight: 700; color: #0f172a;
    margin-bottom: 6px;
}
.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: 16px; }
.form-group label {
    display: block; font-size: 0.85rem; font-weight: 600;
    color: #334155; margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid rgba(148,163,184,0.3);
    border-radius: 12px; font-size: 0.95rem;
    font-family: inherit; color: #1e293b;
    background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.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; }

/* Success state */
.form-success {
    text-align: center; padding: 40px 20px;
}
.success-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(13,148,136,0.1);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; color: #0d9488;
}
.form-success h4 {
    font-size: 1.3rem; font-weight: 700; color: #0f172a;
    margin-bottom: 8px;
}
.form-success p { font-size: 0.95rem; color: #64748b; margin-bottom: 20px; }

/* ===== FOOTER ===== */
.footer {
    background: #0f172a; color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px; padding-bottom: 48px;
}
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    font-weight: 700; font-size: 1.05rem; color: #fff;
    margin-bottom: 14px;
}
.footer-logo-icon { width: 32px; height: 32px; }
.footer-tagline { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-links h4,
.footer-contact h4 {
    font-size: 0.82rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.footer-links ul, .footer-contact ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a, .footer-contact a {
    font-size: 0.9rem; color: rgba(255,255,255,0.65);
    transition: color 0.2s; display: flex; align-items: center; gap: 8px;
}
.footer-links a:hover, .footer-contact a:hover { color: #2dd4bf; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom a:hover { color: #2dd4bf; }

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { gap: 40px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-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, .nav-phone { display: none; }
    .nav-toggle { display: flex; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-image-wrap { max-width: 480px; margin: 0 auto; }
    .hero-float-card { left: 50%; transform: translateX(-50%); bottom: -16px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-content-col .section-tag,
    .about-content-col .section-title { text-align: center; }
    .about-body { text-align: center; }
    .about-features { align-items: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info .section-tag,
    .contact-info .section-title { text-align: center; }
    .contact-desc { text-align: center; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
}

@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal { opacity: 0; transform: translateY(24px); }
    .reveal.revealed { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
