/* ========================================
   DINOSAUR WINDOW CLEANING
   Dark theme, soft sage/teal, glassmorphism
   ======================================== */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg-dark: #101714;
    --bg-section: #121a17;
    --bg-alt: #141d19;
    --green-primary: #7eb89a;
    --green-light: #a8d4bc;
    --green-glow: rgba(126, 184, 154, 0.2);
    --green-deep: #3a6b52;
    --green-muted: #5a9478;
    --gold: #e8c56d;
    --gold-soft: #dcc088;
    --text-primary: #dce8e0;
    --text-secondary: #97ada2;
    --text-muted: #5e7a6e;
    --glass-bg: rgba(20, 40, 30, 0.5);
    --glass-border: rgba(126, 184, 154, 0.12);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    --radius: 16px;
    --radius-sm: 10px;
    --font-display: 'Lilita One', cursive;
    --font-body: 'Nunito', sans-serif;
    --whatsapp: #25d366;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}
body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- GLASS CARD --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* =====================
   NAV - glassmorphism always
   ===================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 24px;
    background: rgba(16, 23, 20, 0.5);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(126, 184, 154, 0.08);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
    background: rgba(16, 23, 20, 0.78);
    border-bottom-color: rgba(126, 184, 154, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    white-space: nowrap;
}
.logo-dino { font-size: 1.5rem; }
.logo-text { color: var(--text-primary); }
.logo-highlight { color: var(--green-primary); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-weight: 600;
    font-size: 0.95rem;
}
.nav-links a { transition: color 0.2s; color: var(--text-secondary); }
.nav-links a:hover { color: var(--green-light); }
.nav-cta {
    background: var(--green-primary);
    color: var(--bg-dark) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 18px var(--green-glow);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 36px; height: 30px;
    position: relative;
    z-index: 110;
}
.ham-line {
    display: block;
    position: absolute;
    left: 0; width: 100%; height: 3px;
    border-radius: 3px;
    background: var(--green-primary);
    transition: transform 0.35s cubic-bezier(0.68, -0.6, 0.32, 1.6), opacity 0.25s;
}
.ham-top { top: 4px; }
.ham-mid { top: 13px; }
.ham-bot { top: 22px; }
.hamburger.active .ham-top { transform: translateY(9px) rotate(45deg); }
.hamburger.active .ham-mid { opacity: 0; transform: scaleX(0); }
.hamburger.active .ham-bot { transform: translateY(-9px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 99;
    background: rgba(10, 18, 14, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}
.mobile-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
    transition: color 0.2s, transform 0.2s;
}
.mobile-link:hover { color: var(--green-light); transform: scale(1.05); }
.mobile-cta {
    background: var(--green-primary);
    color: var(--bg-dark) !important;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 1.4rem;
}

/* =====================
   HERO - centred
   ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 24px 60px;
    text-align: center;
}

.scene {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.scene-ground {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 30%;
    background: linear-gradient(to top, #152a1c 0%, #132218 60%, transparent 100%);
}
.scene-hills {
    position: absolute;
    bottom: 10%; left: 0; right: 0;
    height: 35%;
    border-radius: 50% 50% 0 0;
    background: radial-gradient(ellipse at 30% 100%, #1a3422 0%, transparent 70%),
                radial-gradient(ellipse at 70% 100%, #17301e 0%, transparent 70%);
}

/* Clouds */
.cloud {
    position: absolute;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    animation: drift linear infinite;
}
.cloud::before, .cloud::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: inherit;
}
.cloud-1 { width: 180px; height: 40px; top: 12%; left: -200px; animation-duration: 45s; }
.cloud-1::before { width: 70px; height: 50px; top: -20px; left: 30px; }
.cloud-1::after { width: 50px; height: 35px; top: -12px; left: 90px; }
.cloud-2 { width: 140px; height: 30px; top: 22%; left: -160px; animation-duration: 55s; animation-delay: -20s; }
.cloud-2::before { width: 55px; height: 40px; top: -18px; left: 25px; }
.cloud-2::after { width: 40px; height: 28px; top: -10px; left: 75px; }
.cloud-3 { width: 200px; height: 35px; top: 8%; left: -220px; animation-duration: 60s; animation-delay: -35s; }
.cloud-3::before { width: 80px; height: 55px; top: -25px; left: 40px; }
.cloud-3::after { width: 60px; height: 40px; top: -15px; left: 110px; }

@keyframes drift {
    from { transform: translateX(0); }
    to { transform: translateX(calc(100vw + 300px)); }
}

.hero-dino {
    position: absolute;
    bottom: 8%; right: 10%;
    width: 160px;
    animation: dino-bob 3s ease-in-out infinite;
    z-index: 1;
}

/* Thumbs-up T-Rex top left */
.hero-trex {
    position: absolute;
    top: 15%;
    left: 6%;
    width: 160px;
    z-index: 1;
    opacity: 0;
    animation: trex-enter 0.8s 0.4s forwards, trex-wave 4s 1.2s ease-in-out infinite;
}
@keyframes trex-enter {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes trex-wave {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes dino-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-title {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-line { display: block; }
.hero-line-1 {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    color: var(--text-primary);
    opacity: 0; animation: fadeSlideUp 0.6s 0.3s forwards;
}
.hero-line-2 {
    font-size: clamp(1.6rem, 4.5vw, 3rem);
    color: var(--text-secondary);
    opacity: 0; animation: fadeSlideUp 0.6s 0.5s forwards;
}
.hero-line-3 {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    color: var(--text-primary);
    opacity: 0; animation: fadeSlideUp 0.6s 0.7s forwards;
}
.highlight-jurassic {
    color: var(--gold);
    position: relative;
}
.highlight-jurassic::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%; height: 4px;
    background: var(--gold);
    border-radius: 2px;
    opacity: 0.4;
}

.hero-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 36px;
    opacity: 0; animation: fadeSlideUp 0.6s 0.9s forwards;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-hint {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.scroll-line {
    width: 2px; height: 28px;
    background: var(--green-muted);
    border-radius: 2px;
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* =====================
   BUTTONS
   ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--green-primary);
    color: var(--bg-dark);
    padding: 16px 32px;
}
.btn-primary:hover { box-shadow: 0 6px 24px var(--green-glow); }
.hero-btn { opacity: 0; animation: fadeSlideUp 0.6s 1.1s forwards; }
.btn-arrow { display: inline-block; animation: bounceArrow 1.5s ease-in-out infinite; }
@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}
.btn-whatsapp {
    background: var(--whatsapp);
    color: #fff;
    padding: 14px 28px;
}
.btn-whatsapp:hover { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3); }
.wa-icon { flex-shrink: 0; }

/* =====================
   SECTIONS SHARED
   ===================== */
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    color: var(--text-primary);
}
.section-sub {
    margin-top: 14px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* =====================
   SERVICES
   ===================== */
.services {
    position: relative;
    padding: 100px 24px 80px;
    background: var(--bg-section);
}
.services-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    padding: 36px 28px;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.service-icon { font-size: 2.8rem; margin-bottom: 18px; }
.service-card h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--gold-soft);
}
.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Side dinos */
.side-dino {
    position: absolute;
    width: 100px;
    opacity: 0.5;
    transition: opacity 0.4s;
}
.side-dino.visible { opacity: 0.85; }
.side-dino-left {
    left: 2%; top: 50%;
    transform: translateY(-50%);
    animation: sideBob 4s ease-in-out infinite;
}
.side-dino-right {
    right: 2%; top: 45%;
    transform: translateY(-50%) scaleX(-1);
    animation: sideBobRight 4s ease-in-out infinite 1s;
}
@keyframes sideBob {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(calc(-50% - 8px)) translateX(4px); }
}
@keyframes sideBobRight {
    0%, 100% { transform: translateY(-50%) scaleX(-1) translateX(0); }
    50% { transform: translateY(calc(-50% - 8px)) scaleX(-1) translateX(4px); }
}

/* =====================
   WHY US
   ===================== */
.why-us {
    padding: 100px 24px 80px;
    background: var(--bg-alt);
}
.reasons-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.reason {
    padding: 32px 28px;
    transition: transform 0.25s, box-shadow 0.25s;
}
.reason:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}
.reason-emoji { font-size: 2rem; display: block; margin-bottom: 14px; }
.reason h3 {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--gold-soft);
}
.reason p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* =====================
   QUOTE SECTION
   ===================== */
.quote-section {
    position: relative;
    padding: 100px 24px 80px;
    background: var(--bg-section);
}
.form-dino {
    position: absolute;
    width: 80px;
    opacity: 0.45;
}
.form-dino-left {
    left: 4%; top: 30%;
    animation: formDinoBob 5s ease-in-out infinite;
}
.form-dino-right {
    right: 4%; top: 40%;
    transform: scaleX(-1);
    animation: formDinoBobRight 5s ease-in-out infinite 2s;
}
@keyframes formDinoBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes formDinoBobRight {
    0%, 100% { transform: scaleX(-1) translateY(0); }
    50% { transform: scaleX(-1) translateY(-10px); }
}

.quote-form {
    max-width: 640px;
    margin: 0 auto;
    padding: 40px 36px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group-full { margin-bottom: 28px; }
label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-secondary);
}
input, select {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 14px 16px;
    background: rgba(12, 22, 16, 0.7);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}
input::placeholder { color: var(--text-muted); }
input:focus, select:focus {
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px var(--green-glow);
}
select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%237eb89a'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}
select option { background: var(--bg-dark); color: var(--text-primary); }

.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 18px;
}
.btn-submit:active { transform: scale(0.97); }
.btn-dino-icon { font-size: 1.3rem; }
.form-note {
    text-align: center;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.whatsapp-cta {
    text-align: center;
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* =====================
   SUCCESS OVERLAY
   ===================== */
.success-overlay {
    position: fixed; inset: 0;
    z-index: 200;
    background: rgba(10, 18, 14, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
    padding: 24px;
}
.success-overlay.visible { opacity: 1; pointer-events: auto; }
.success-card {
    padding: 48px 40px;
    text-align: center;
    max-width: 420px;
    width: 100%;
}
.success-dino { font-size: 4rem; margin-bottom: 16px; animation: dino-bob 2s ease-in-out infinite; }
.success-card h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 14px;
}
.success-card p { color: var(--text-secondary); line-height: 1.6; margin-bottom: 28px; }

/* =====================
   FOOTER
   ===================== */
.footer {
    padding: 48px 24px 32px;
    background: var(--bg-dark);
    border-top: 1px solid var(--glass-border);
}
.footer-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.3rem;
    margin-bottom: 12px;
}
.footer-text { font-size: 0.92rem; color: var(--text-secondary); margin-bottom: 18px; line-height: 1.5; }
.footer-links { display: flex; justify-content: center; gap: 16px; margin-bottom: 18px; }
.footer-links a { color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--whatsapp); }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; max-width: 440px; }
    .reasons-grid { grid-template-columns: 1fr; max-width: 440px; }
    .side-dino { display: none; }
    .form-dino { display: none; }
    .hero-dino { right: 5%; width: 120px; bottom: 5%; }
    .hero-trex { width: 120px; top: 12%; left: 3%; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .form-row { grid-template-columns: 1fr; }
    .quote-form { padding: 32px 24px; }
    .hero { padding: 100px 20px 60px; }
    .hero-dino { width: 80px; right: 3%; bottom: 4%; opacity: 0.6; }
    .hero-trex { width: 80px; top: 11%; left: 2%; opacity: 0.6; }
    .hero-scroll-hint { display: none; }
    .nav-logo { font-size: 0.95rem; }
    .logo-dino { font-size: 1.3rem; }
}
@media (max-width: 480px) {
    .hero-title .hero-line-1, .hero-title .hero-line-3 { font-size: 2rem; }
    .hero-title .hero-line-2 { font-size: 1.4rem; }
    .hero-sub { font-size: 0.95rem; }
    .btn-primary { padding: 14px 24px; font-size: 0.95rem; }
    .section-title { font-size: 1.7rem; }
    .service-card, .reason { padding: 28px 22px; }
    .quote-form { padding: 24px 18px; }
    .hero-dino { width: 65px; }
    .hero-trex { width: 65px; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
