/* ==========================================================================
   Cyan Window Cleaning - Stylesheet
   Design: Dark modern, charcoal base, teal accent
   ========================================================================== */

:root {
    --bg: #0a0e1a;
    --bg-2: #0f1424;
    --bg-3: #161c2e;
    --surface: #131829;
    --surface-2: #1a2138;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);

    --text: #e8ecf5;
    --text-soft: #a8b0c3;
    --text-mute: #6b7390;

    --accent: #2dd4bf;
    --accent-2: #06b6d4;
    --accent-glow: rgba(45, 212, 191, 0.35);
    --accent-soft: rgba(45, 212, 191, 0.1);

    --danger: #f87171;
    --warning: #fbbf24;

    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 22px;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 60px var(--accent-glow);

    --max-w: 1200px;
    --gutter: clamp(20px, 4vw, 40px);

    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-2);
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 0.5em;
    letter-spacing: -0.02em;
}

p {
    margin: 0 0 1em;
}

/* Selection */
::selection {
    background: var(--accent);
    color: var(--bg);
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin: 0 0 1rem;
    padding: 0.4rem 0.8rem;
    background: var(--accent-soft);
    border: 1px solid rgba(45, 212, 191, 0.25);
    border-radius: 999px;
}

.accent {
    color: var(--accent);
}

.section-head {
    max-width: 720px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.section-lead {
    color: var(--text-soft);
    font-size: 1.05rem;
    margin: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.5rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #042f2a;
    box-shadow: 0 10px 30px -10px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-2);
    color: #042f2a;
    box-shadow: 0 12px 36px -8px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--line-strong);
}

.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--accent);
    color: var(--text);
}

.btn-sm {
    padding: 0.75rem 1.15rem;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    background: transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
    padding: 0.6rem 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.logo img {
    width: 180px;
    height: 64px;
    object-fit: contain;
    object-position: left center;
}

.logo span {
    color: var(--text);
    font-weight: 400;
}

.logo span strong {
    font-weight: 700;
    margin-right: 0.4rem;
}

.logo span strong::after {
    content: '|';
    margin-left: 0.4rem;
    font-weight: 400;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav a {
    color: var(--text-soft);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
    color: var(--text);
    background: var(--surface);
}

.nav .nav-cta {
    margin-left: 0.5rem;
    color: #042f2a;
    background: var(--accent);
    padding: 0.6rem 1.1rem;
}

.nav .nav-cta:hover {
    background: var(--accent-2);
    color: #042f2a;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.nav-toggle span {
    display: block;
    position: absolute;
    left: 11px;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    top: 21px;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    top: 21px;
    transform: rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 8rem 0 5rem;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../assets/images/hero.jpg') center/cover no-repeat;
    z-index: -2;
    transform: scale(1.05);
    animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(10, 14, 26, 0.85) 0%, rgba(10, 14, 26, 0.65) 40%, rgba(10, 14, 26, 0.95) 100%),
        radial-gradient(ellipse at 70% 30%, rgba(45, 212, 191, 0.18), transparent 60%);
}

.hero-inner {
    max-width: 820px;
    position: relative;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 800;
    margin: 0 0 1.25rem;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--text-soft);
    max-width: 600px;
    margin: 0 0 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent);
    flex-shrink: 0;
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust {
    padding: 2.5rem 0;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.trust-strip li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    color: var(--text-soft);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
}

.trust-strip svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
    flex-shrink: 0;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
    padding: 6rem 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow);
}

.service-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-color: rgba(45, 212, 191, 0.25);
    box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.1), 0 20px 60px -20px var(--accent-glow);
}

.service-card--featured:hover {
    border-color: rgba(45, 212, 191, 0.45);
}

.service-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-3);
}

.service-card--featured .service-card-media {
    aspect-ratio: auto;
    min-height: 100%;
}

.service-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-card-media img {
    transform: scale(1.04);
}

.service-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--accent);
    color: #042f2a;
    border-radius: 999px;
    z-index: 1;
}

.service-badge--soon {
    background: rgba(15, 20, 36, 0.85);
    color: var(--accent);
    border: 1px solid rgba(45, 212, 191, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.service-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card--featured .service-card-body {
    padding: 2.5rem;
    justify-content: center;
}

.service-card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-card--featured .service-card-body h3 {
    font-size: 1.85rem;
}

.service-card-body > p {
    color: var(--text-soft);
    margin-bottom: 1.25rem;
}

.check-list {
    margin: 0 0 1.75rem;
    display: grid;
    gap: 0.6rem;
}

.check-list li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--text);
    font-size: 0.95rem;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 1px solid rgba(45, 212, 191, 0.4);
}

.check-list li::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 9px;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

.muted {
    color: var(--text-mute) !important;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: auto;
}

/* ==========================================================================
   About
   ========================================================================== */
.about {
    padding: 6rem 0;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-inner {
    display: block;
    width: 100%;
    max-width: none;
}

.about-content {
    width: 100%;
    max-width: none;
}

.about-media {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-media-frame {
    position: absolute;
    inset: 16px -16px -16px 16px;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

.about-content h2 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    margin-bottom: 1.25rem;
}

.about-content p {
    color: var(--text-soft);
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
}

.stat {
    display: block;
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
    padding: 6rem 0;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(45, 212, 191, 0.08), transparent 50%);
    pointer-events: none;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    position: relative;
}

.contact-info h2 {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-soft);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.contact-list {
    display: grid;
    gap: 1.25rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-list li:hover {
    border-color: rgba(45, 212, 191, 0.3);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--accent-soft);
    border: 1px solid rgba(45, 212, 191, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    padding: 0;
}

.contact-icon--svg svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.contact-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-mute);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.contact-value {
    display: block;
    color: var(--text);
    font-weight: 600;
    font-size: 1.02rem;
}

a.contact-value:hover {
    color: var(--accent);
}

/* Form */
.contact-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-soft);
    margin-bottom: 0.45rem;
    letter-spacing: 0.01em;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.field select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8b0c3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--accent);
    background: var(--bg-3);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.field textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.field input:invalid:not(:placeholder-shown),
.field input:invalid:not(:focus) {
    border-color: var(--danger);
}

.form-note {
    margin: 0.9rem 0 0;
    text-align: center;
    color: var(--text-mute);
    font-size: 0.85rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    padding: 2.5rem 0;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.footer-brand img {
    width: 180px;
    height: 64px;
    object-fit: contain;
    object-position: left center;
}

.site-footer p {
    margin: 0;
    color: var(--text-mute);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card--featured {
        grid-column: 1;
        grid-template-columns: 1fr;
    }

    .service-card--featured .service-card-body {
        padding: 1.75rem;
    }

    .about-inner,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-media {
        max-width: 480px;
        margin: 0 auto;
    }

    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 720px) {
    .nav {
        position: fixed;
        top: 70px;
        left: var(--gutter);
        right: var(--gutter);
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding: 1rem;
        background: rgba(15, 20, 36, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--line);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s ease, opacity 0.2s ease;
    }

    .nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav a {
        padding: 0.85rem 1rem;
        text-align: center;
    }

    .nav .nav-cta {
        margin: 0.4rem 0 0;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 7rem 0 4rem;
        min-height: auto;
    }

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

    .btn {
        width: 100%;
    }

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

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .trust-strip {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
