/* ========================================
   Turtle Laundry — Stylesheet
   ======================================== */

/* --- Design Tokens --- */
:root {
    color-scheme: light;
    --navy: #1a3d5c;
    --navy-dark: #122d44;
    --blue: #3d7eb5;
    --blue-light: #5a9fd4;
    --green: #4a8c5c;
    --green-light: #6db37e;
    --surface: #f7f9fb;
    --white: #ffffff;
    --text: #1e2d3d;
    --text-secondary: #5a6d7e;
    --border: #e2e8f0;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, .06);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, .1);
    --ease: cubic-bezier(.4, 0, .2, 1);
}

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

/* Block forced dark mode in device browsers (Vivo, Samsung, Mi, etc.) */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light only !important;
    }
    html, body {
        background-color: #ffffff !important;
        color: #1e2d3d !important;
    }
    *, *::before, *::after {
        border-color: initial;
    }
    img, video, picture, svg, canvas {
        filter: none !important;
    }
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

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

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-pad {
    padding: 88px 0;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    color: var(--navy);
    line-height: 1.25;
    font-weight: 700;
}

h1 {
    font-size: 2.75rem;
    letter-spacing: -.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -.015em;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1.1rem;
}

.section-header {
    max-width: 520px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-header p {
    color: var(--text-secondary);
    margin-top: 10px;
    font-size: 1.05rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--blue) 0%, var(--green-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    font-family: var(--font);
    font-size: .9375rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
    white-space: nowrap;
}

.btn:active {
    transform: scale(.97);
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--navy);
    box-shadow: var(--shadow-sm);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    box-shadow: inset 0 0 0 1.5px var(--border);
}

.btn-outline:hover {
    background: var(--surface);
    box-shadow: inset 0 0 0 1.5px var(--navy);
}

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1fba59;
}

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

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;
    background: transparent;
    transition: background .25s var(--ease), box-shadow .25s var(--ease), padding .25s var(--ease);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-xs);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 220px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    font-size: .9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color .2s var(--ease);
}

.nav-links a:hover {
    color: var(--navy);
}

.nav-links a.nav-active {
    color: var(--blue);
    font-weight: 600;
}

.nav-links .nav-cta {
    display: none;
}

.nav-btn {
    /* desktop CTA button in nav */
}

/* Hamburger */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform .25s var(--ease), opacity .2s var(--ease);
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ========================================
   Hero
   ======================================== */
.hero {
    padding: 140px 0 80px;
    background: var(--surface);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(74, 140, 92, .1);
    color: var(--green);
    font-size: .8125rem;
    font-weight: 600;
    border-radius: 6px;
    margin-bottom: 20px;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 16px 0 28px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.trust-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.trust-item i {
    color: var(--green-light);
    font-size: .875rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-visual img {
    width: 100%;
    max-width: 400px;
}

/* ========================================
   Services
   ======================================== */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    transition: box-shadow .25s var(--ease), transform .2s var(--ease);
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border-radius: var(--radius);
    font-size: 1.4rem;
    color: var(--blue);
    margin-bottom: 20px;
    transition: background .25s var(--ease), color .25s var(--ease);
}

.service-card:hover .service-icon {
    background: var(--blue);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 8px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: .9375rem;
    line-height: 1.55;
}

/* ========================================
   How It Works
   ======================================== */
.how-it-works {
    background: var(--surface);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.step {
    flex: 1;
    max-width: 280px;
    text-align: center;
    padding: 0 20px;
}

.step-num {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    background: var(--green-light);
    border-radius: 50%;
}

.step h4 {
    margin-bottom: 8px;
}

.step p {
    color: var(--text-secondary);
    font-size: .9375rem;
}

.step-connector {
    width: 48px;
    flex-shrink: 0;
    height: 2px;
    background: var(--border);
    margin-top: 34px;
}

.footer-bottom p {
    margin: 0;
}

/* ========================================
   Why Us
   ======================================== */
.why-us {
    background: var(--white);
}

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

.feature-card {
    text-align: center;
    padding: 32px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: box-shadow .25s var(--ease);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-light), var(--green));
    color: var(--white);
    border-radius: var(--radius);
    font-size: 1.5rem;
}

.feature-card h4 {
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: .9375rem;
    line-height: 1.55;
}

/* ========================================
   CTA
   ======================================== */
.cta-section {
    background: var(--surface);
}

.cta-card {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 64px 40px;
    text-align: center;
}

.cta-card h2 {
    color: var(--white);
    margin-bottom: 12px;
}

.cta-card p {
    color: rgba(255, 255, 255, .75);
    max-width: 480px;
    margin: 0 auto 32px;
    font-size: 1.05rem;
}

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

.cta-card .btn-primary {
    background: var(--white);
    color: var(--navy);
}

.cta-card .btn-primary:hover {
    background: var(--surface);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, .65);
    padding-top: 56px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}


.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 380px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.footer-brand p {
    font-size: .9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .7);
    font-size: .875rem;
    transition: background .2s var(--ease), color .2s var(--ease);
}

.social-links a:hover {
    background: var(--blue);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: .9375rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: .875rem;
    transition: color .2s var(--ease);
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .875rem;
    margin-bottom: 12px;
}

.footer-contact ul li i {
    color: var(--blue-light);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: .8125rem;
    color: rgba(255, 255, 255, .4);
}

/* ========================================
   Mobile Navigation Overlay
   ======================================== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 32px;
        opacity: 0;
        visibility: hidden;
        transition: opacity .25s var(--ease), visibility .25s var(--ease);
        z-index: 999;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 1.25rem;
    }

    .nav-links .nav-cta {
        display: inline-flex;
        font-size: 1rem;
    }

    .nav-btn {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
}

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

@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

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

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

    .trust-row {
        justify-content: center;
    }

    .hero-visual img {
        max-width: 280px;
    }

    h1 {
        font-size: 2.25rem;
    }

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

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

    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .step-connector {
        width: 2px;
        height: 32px;
        margin: 0;
    }
}

@media (max-width: 600px) {
    .section-pad {
        padding: 56px 0;
    }

    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

    .hero {
        padding: 120px 0 56px;
    }

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

    .cta-card {
        padding: 40px 24px;
    }

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

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

    .trust-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* Floating WhatsApp Icon */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    background-color: #1ebe57;
    transform: scale(1.1);
    color: white;
}

@media (max-width: 600px) {
    .logo img {
        width: 160px;
    }
}