/* ===== 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', sans-serif;
    color: #334155;
    background: #f8fafc;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { height: auto; }

/* ===== UTILITY ===== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; top: -100%; left: 16px; background: #0d9488; color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 9999; font-weight: 600; }
.skip-link:focus { top: 16px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'DM Sans', sans-serif; font-weight: 600;
    border: 2px solid transparent; border-radius: 50px;
    cursor: pointer; transition: all 0.25s ease; text-align: center;
}
.btn-primary { background: #0d9488; color: #fff; 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 { background: transparent; color: #0d9488; border-color: #0d9488; }
.btn-outline:hover { background: #0d9488; color: #fff; transform: translateY(-2px); }
.btn-white { background: #fff; color: #0d9488; border-color: #fff; }
.btn-white:hover { background: #f0fdfa; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.btn-ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; transform: translateY(-2px); }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

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

/* ===== SECTION ===== */
.section { padding: 96px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #1e293b; line-height: 1.2; margin-bottom: 16px; }
.section-desc { font-size: 1.1rem; color: #64748b; }

/* ===== HEADER ===== */
#site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(248,250,252,0.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(148,163,184,0.15);
    transition: box-shadow 0.3s ease;
}
#site-header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: #1e293b; }
.logo-text { font-family: 'Playfair Display', serif; }
#main-nav ul { display: flex; align-items: center; gap: 8px; }
#main-nav a { padding: 8px 16px; border-radius: 50px; font-weight: 500; font-size: 0.95rem; color: #475569; transition: all 0.2s ease; }
#main-nav a:hover { color: #0d9488; background: #f0fdfa; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 44px; height: 44px; position: relative; }
.hamburger, .hamburger::before, .hamburger::after { display: block; width: 22px; height: 2px; background: #334155; border-radius: 2px; transition: all 0.3s ease; position: absolute; left: 11px; }
.hamburger::before { top: 13px; }
.hamburger::after { bottom: 13px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { bottom: 21px; transform: rotate(-45deg); }

/* ===== HERO ===== */
.hero {
    position: relative; padding: 120px 0 80px; overflow: hidden;
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 50%, #f1f5f9 100%);
}
.hero-bg-pattern {
    position: absolute; inset: 0; opacity: 0.4; pointer-events: none;
    background-image: radial-gradient(circle at 20% 80%, rgba(13,148,136,0.08) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(148,163,184,0.12) 0%, transparent 50%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.hero-badge { margin-bottom: 20px; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; color: #1e293b; line-height: 1.15; margin-bottom: 20px; }
.hero-title em { color: #0d9488; font-style: normal; }
.hero-desc { font-size: 1.15rem; color: #64748b; margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.hero-note { font-size: 0.9rem; color: #94a3b8; font-style: italic; }
.hero-visual { position: relative; min-height: 420px; }
.hero-card-main { border-radius: 24px; overflow: hidden; box-shadow: 0 24px 64px rgba(0,0,0,0.1); }
.hero-card-main img { width: 100%; height: 100%; object-fit: cover; }
.stat-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    background: #fff; border-radius: 16px; padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    animation: float 4s ease-in-out infinite;
}
.stat-card svg { color: #0d9488; flex-shrink: 0; }
.stat-card strong { display: block; font-size: 0.95rem; color: #1e293b; }
.stat-card span { font-size: 0.8rem; color: #94a3b8; }
.stat-card--1 { top: -16px; left: -32px; animation-delay: 0s; }
.stat-card--2 { bottom: 40px; right: -24px; animation-delay: 1.3s; }
.stat-card--3 { bottom: -16px; left: 24px; animation-delay: 2.6s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== SERVICES ===== */
.services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 20px;
    padding: 36px 28px; transition: all 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.07); border-color: #ccfbf1; background: #f0fdfa; }
.service-icon { width: 56px; height: 56px; border-radius: 14px; background: #f0fdfa; border: 1px solid #ccfbf1; display: flex; align-items: center; justify-content: center; color: #0d9488; margin-bottom: 20px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.service-card p { font-size: 0.95rem; color: #64748b; line-height: 1.65; }

/* ===== WHY US ===== */
.why-us { background: linear-gradient(180deg, #f8fafc 0%, #f0fdfa 100%); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-img-stack { position: relative; }
.why-img-stack img { border-radius: 24px; box-shadow: 0 24px 64px rgba(0,0,0,0.1); width: 100%; height: 560px; object-fit: cover; }
.why-floating-card {
    position: absolute; bottom: -24px; right: -24px;
    background: #fff; border-radius: 20px; padding: 24px 28px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    display: flex; align-items: center; gap: 16px;
    animation: float 5s ease-in-out infinite;
}
.why-floating-card svg { flex-shrink: 0; }
.why-floating-card strong { display: block; font-size: 1rem; color: #1e293b; }
.why-floating-card span { font-size: 0.85rem; color: #94a3b8; }
.why-content .section-desc { margin-bottom: 32px; }
.feature-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: #475569; }
.feature-list svg { color: #0d9488; flex-shrink: 0; margin-top: 2px; }

/* ===== PROJECTS ===== */
.projects { background: #fff; }
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card { position: relative; border-radius: 20px; overflow: hidden; cursor: pointer; aspect-ratio: 7/5; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover img { transform: scale(1.06); }
.project-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.7) 0%, transparent 60%);
    display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
    opacity: 0; transition: opacity 0.3s ease;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-tag { display: inline-block; background: rgba(13,148,136,0.9); color: #fff; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 4px 12px; border-radius: 50px; width: fit-content; margin-bottom: 8px; }
.project-overlay h3 { color: #fff; font-size: 1.2rem; font-weight: 700; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: #f8fafc; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 20px;
    padding: 36px 28px; position: relative; transition: all 0.3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,0.06); border-color: #ccfbf1; }
.quote-mark { position: absolute; top: 20px; right: 24px; opacity: 0.2; }
.testimonial-card p { font-size: 0.95rem; color: #475569; line-height: 1.7; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.95rem; color: #1e293b; }
.testimonial-author span { font-size: 0.8rem; color: #94a3b8; }

/* ===== CTA ===== */
.cta-section {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    padding: 80px 0; position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%),
                      radial-gradient(circle at 80% 50%, rgba(255,255,255,0.06) 0%, transparent 60%);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; flex-wrap: wrap; }
.cta-content { max-width: 480px; }
.cta-content h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 12px; line-height: 1.2; }
.cta-content p { color: rgba(255,255,255,0.85); font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin: 32px 0; }
.contact-details li { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon { width: 48px; height: 48px; border-radius: 12px; background: #f0fdfa; border: 1px solid #ccfbf1; display: flex; align-items: center; justify-content: center; color: #0d9488; flex-shrink: 0; }
.contact-details strong { display: block; font-size: 0.85rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.contact-details span, .contact-details a { font-size: 1rem; color: #334155; }
.contact-details a:hover { color: #0d9488; }
.map-wrap { border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.contact-form-wrap {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 24px;
    padding: 40px;
}
.contact-form h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 800; color: #1e293b; margin-bottom: 8px; }
.form-note { font-size: 0.9rem; color: #94a3b8; 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: 600; color: #475569; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1.5px solid #e2e8f0; border-radius: 12px;
    font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: #334155;
    background: #fff; transition: border-color 0.2s ease, box-shadow 0.2s ease;
    appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success { margin-top: 16px; padding: 16px 20px; background: #f0fdfa; border: 1px solid #ccfbf1; border-radius: 12px; color: #0d9488; font-weight: 600; }

/* ===== FOOTER ===== */
#site-footer { background: #1e293b; color: #94a3b8; padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 320px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col strong { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: #94a3b8; transition: color 0.2s ease; }
.footer-col a:hover { color: #0d9488; }
.footer-bottom { border-top: 1px solid rgba(148,163,184,0.15); padding: 24px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 0.85rem; }
.footer-bottom a { color: #0d9488; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 560px; }
    .why-grid { grid-template-columns: 1fr; gap: 48px; }
    .why-img-stack { max-width: 480px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; align-items: center; justify-content: center; }
    #main-nav {
        position: fixed; top: 72px; left: 0; right: 0; background: rgba(248,250,252,0.98);
        backdrop-filter: blur(12px); border-bottom: 1px solid #e2e8f0;
        padding: 16px 24px; transform: translateY(-120%); opacity: 0;
        transition: all 0.3s ease; pointer-events: none;
    }
    #main-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
    #main-nav ul { flex-direction: column; gap: 4px; }
    #main-nav a { width: 100%; padding: 12px 16px; border-radius: 12px; }
    .hero { padding: 100px 0 60px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .stat-card { display: none; }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { flex-direction: column; width: 100%; }
    .cta-actions .btn { width: 100%; justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .section { padding: 64px 0; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .footer-links { grid-template-columns: 1fr; }
    .contact-form-wrap { padding: 24px; }
}
