/* =========================================================================
   Adult Web Hosting — site.css
   Mobile-first. Base rules below target the smallest viewport; each
   @media (min-width: …) block progressively enhances the layout upward.
   ========================================================================= */

/* ---------- Self-hosted display font (avoids a 3rd-party font request) --- */
@font-face {
    font-family: 'Plex Serif';
    src: url('/Fonts/PlexSerif-Regular.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Plex Serif';
    src: url('/Fonts/PlexSerif-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg:        #0b0b0d;
    --bg-2:      #111114;
    --bg-card:   #17171b;
    --text:      #f2ede6;
    --text-soft: #a49e95;
    --accent:    #7e3546;
    --accent-2:  #954058;
    /* Lighter brand rose for TEXT on dark backgrounds — --accent/--accent-2 are
       tuned for buttons/backgrounds and fall below WCAG AA (4.5:1) as text on
       var(--bg); this variant measures ~6.2:1 on --bg and ~5.6:1 on --bg-card. */
    --accent-text: #c97a8d;
    --border:    rgba(255,255,255,0.09);
    --border-2:  rgba(255,255,255,0.16);
    --focus:     #d98fa0;
    --radius:    8px;
    --max:       1180px;
    --font-display: 'Plex Serif', Georgia, 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

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

img, picture, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; color: var(--text-soft); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Skip-to-content link: hidden until focused, first tab stop */
.skip-link {
    position: absolute;
    left: 8px;
    top: -60px;
    background: var(--accent);
    color: #fff;
    padding: 10px 16px;
    border-radius: 4px;
    z-index: 1000;
    transition: top .15s ease;
}
.skip-link:focus { top: 8px; }

.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 20px;
}

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

/* ---------------- Buttons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: background-color .15s ease, border-color .15s ease;
}
.btn-solid { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--accent-2); border-color: var(--accent-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.04); }
.btn-full { width: 100%; }

/* ---------------- Header ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11,11,13,0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 12px;
}
.logo {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
}
.logo span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 400;
    color: var(--text-soft);
    letter-spacing: 0.04em;
    margin-top: 1px;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--border-2);
    border-radius: 4px;
    color: var(--text);
}
.nav-toggle svg { width: 20px; height: 20px; }

.primary-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 8px 20px 16px;
}
.primary-nav.is-open { display: block; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav li { border-top: 1px solid var(--border); }
.primary-nav a { display: block; padding: 14px 4px; font-size: 1rem; color: var(--text-soft); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--text); }

.header-cta { display: none; }
.header-phone { display: none; }

/* ---------------- Hero ---------------- */
.hero {
    position: relative;
    padding: 40px 0 36px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg picture, .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    opacity: 0.35;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,11,13,0.55) 0%, rgba(11,11,13,0.88) 70%, var(--bg) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}
.hero-content h1 {
    font-size: clamp(2.1rem, 8vw, 2.6rem);
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}
.lead {
    font-size: 1.02rem;
    font-weight: 400;
    color: var(--text-soft);
    max-width: 420px;
    margin-bottom: 24px;
}
.hero-btns { display: flex; flex-direction: column; gap: 10px; }
.hero-btns .btn { width: 100%; }

/* ---------------- Trust bar ---------------- */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-row { display: flex; flex-direction: column; gap: 16px; }
.trust-item { display: flex; align-items: flex-start; gap: 12px; }
.trust-item .dot { width: 7px; height: 7px; margin-top: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.trust-item strong { display: block; font-size: 0.95rem; font-weight: 600; }
.trust-item span { font-size: 0.85rem; color: var(--text-soft); }

/* ---------------- Sections ---------------- */
.section { padding: 52px 0 48px; }
.section-eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent-text);
    margin-bottom: 10px;
}
.section-label {
    font-family: var(--font-display);
    font-size: 1.65rem;
    margin-bottom: 14px;
}
.section-intro { max-width: 640px; margin-bottom: 32px; }

/* ---------------- Plans ---------------- */
.plans { display: grid; grid-template-columns: 1fr; gap: 18px; }
.plan {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 22px 26px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.plan-popular {
    border-color: rgba(126,53,70,0.55);
    background: linear-gradient(180deg, rgba(126,53,70,0.12) 0%, var(--bg-card) 45%);
}
.badge {
    position: absolute;
    top: -11px;
    left: 24px;
    background: var(--accent);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}
.plan h3 { font-size: 1.4rem; margin-bottom: 4px; }
.plan-desc { font-size: 0.85rem; color: var(--text-soft); margin-bottom: 18px; }
.price { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 4px; font-family: var(--font-display); }
.price span { font-size: 0.88rem; font-weight: 400; color: var(--text-soft); font-family: var(--font-body); }
.setup-fee { font-size: 0.78rem; color: var(--text-soft); margin-bottom: 20px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; flex-grow: 1; }
.plan li { font-size: 0.9rem; color: var(--text-soft); padding: 6px 0 6px 22px; position: relative; }
.plan li::before {
    content: '\2713';
    position: absolute; left: 0; top: 6px;
    color: var(--accent-text); font-size: 0.8rem;
}

/* ---------------- Design / feature split ---------------- */
.design-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.design-copy h2 { font-size: clamp(1.6rem, 6vw, 2rem); margin-bottom: 12px; }
.design-copy p { max-width: 420px; }
.design-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.project {
    display: block;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: var(--bg-2);
    border: 1px solid var(--border);
    cursor: pointer;
}
.project:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project:hover img, .project:focus-visible img { transform: scale(1.05); }
.project-meta {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 14px 12px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}
.project-meta .name { display: block; font-size: 0.8rem; font-weight: 600; }
.project-meta .type { font-size: 0.7rem; color: var(--text-soft); }

/* ---------------- Portfolio list (full page) ---------------- */
.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.portfolio-card .thumb { aspect-ratio: 16 / 10; background: var(--bg-2); }
.portfolio-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-card .body { padding: 18px 20px 20px; }
.portfolio-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.portfolio-card .tag { font-size: 0.75rem; color: var(--accent-text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.portfolio-card p { margin-top: 10px; margin-bottom: 0; }
.portfolio-card .visit { margin-top: 14px; display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border-2); }

.portfolio-card .thumb-link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.portfolio-card .thumb-link:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }

/* ---------------- "We won't shut you down" trust pillar ---------------- */
.no-shutdown { padding: 48px 0; background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.no-shutdown-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.no-shutdown-inner h2 { font-size: clamp(1.5rem, 5vw, 2.05rem); margin: 6px 0 14px; }
.no-shutdown-inner p { color: var(--text-soft); margin-bottom: 26px; }

.no-shutdown-banner {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 22px;
    border: 1px solid var(--border-2);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    background: var(--bg-card);
}
.no-shutdown-banner strong { display: block; font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; }
.no-shutdown-banner span { display: block; color: var(--text-soft); font-size: 0.9rem; }
.no-shutdown-banner .btn { flex-shrink: 0; }
@media (min-width: 700px) {
    .no-shutdown-banner { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
}

/* ---------------- WhatsApp click-to-chat ---------------- */
.whatsapp-fab {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    transition: transform .15s ease, box-shadow .15s ease;
}
.whatsapp-fab svg { width: 30px; height: 30px; }
.whatsapp-fab:hover, .whatsapp-fab:focus-visible {
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(0,0,0,0.5);
    outline: none;
}
.whatsapp-fab:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (min-width: 900px) {
    .whatsapp-fab { right: 28px; bottom: 28px; }
}

/* ---------------- Portfolio lightbox ---------------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 56px 20px;
    background: rgba(6,6,7,0.94);
}
.lightbox.is-open { display: flex; }
.lightbox-figure { max-width: min(92vw, 1100px); max-height: 100%; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.lightbox-figure img {
    max-width: 100%;
    max-height: 74vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: var(--radius);
    background: var(--bg-2);
}
.lightbox-caption { color: var(--text-soft); font-size: 0.9rem; text-align: center; }
.lightbox-caption strong { color: var(--text); font-family: var(--font-display); font-weight: 700; }

.lightbox-btn {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-2);
    background: rgba(255,255,255,0.06);
    color: var(--text);
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
    padding: 0;
}
.lightbox-btn:hover, .lightbox-btn:focus-visible { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 599px) {
    .lightbox { padding: 72px 12px 24px; }
    .lightbox-btn { width: 40px; height: 40px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
}

/* ---------------- Testimonial ---------------- */
.testimonial { padding: 44px 0; border-top: 1px solid var(--border); text-align: center; }
.testimonial blockquote { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.4; max-width: 620px; margin: 0 auto; }
.testimonial cite { display: block; margin-top: 14px; font-family: var(--font-body); font-size: 0.82rem; font-style: normal; color: var(--text-soft); }

/* ---------------- FAQ (native details/summary — zero JS, accessible) ---------------- */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 28px 18px 0;
    position: relative;
    font-weight: 600;
    font-size: 0.98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0; top: 14px;
    font-size: 1.4rem;
    color: var(--accent-text);
    font-weight: 400;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item .faq-answer { padding: 0 0 18px; color: var(--text-soft); max-width: 680px; }

/* ---------------- Final CTA ---------------- */
.final-cta { padding: 52px 0 56px; text-align: center; border-top: 1px solid var(--border); }
.final-cta h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); margin-bottom: 10px; }
.final-cta .wrap > p { color: var(--text-soft); margin: 0 auto 24px; max-width: 480px; }
.final-contact { margin-top: 20px; font-size: 0.9rem; color: var(--text-soft); }
.final-contact a:hover { color: var(--text); }
.final-contact .sep { margin: 0 10px; opacity: 0.4; }

/* ---------------- Forms ---------------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.form-field .hint { font-size: 0.78rem; color: var(--text-soft); margin-top: 4px; }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field select,
.form-field textarea {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-2);
    border-radius: 4px;
    color: var(--text);
    padding: 12px 14px;
    font-size: 1rem;
    font-family: inherit;
    min-height: 48px;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field .field-error { color: #e7a2ad; font-size: 0.8rem; margin-top: 6px; display: block; }
.form-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 0.9rem; }
.form-status.success { background: rgba(107,45,60,0.18); border: 1px solid var(--accent-2); }
.form-status.error { background: rgba(180,60,60,0.15); border: 1px solid #b45050; }

/* ---------------- Footer ---------------- */
.site-footer { border-top: 1px solid var(--border); padding-top: 44px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
.footer-brand strong { font-family: var(--font-display); font-size: 1.1rem; display: block; margin-bottom: 6px; }
.footer-brand p { font-size: 0.8rem; margin-bottom: 10px; }
.footer-social { display: flex; gap: 14px; margin-top: 10px; }
.footer-social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--border-2); border-radius: 50%; }
.footer-social svg { width: 16px; height: 16px; }
.footer-legal { display: flex; gap: 14px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.8rem; color: var(--text-soft); }
.footer-legal a:hover { color: var(--text); }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-soft); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--text-soft); padding: 4px 0; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 0; font-size: 0.78rem; color: var(--text-soft); text-align: center; }

/* ---------------- Simple page content (privacy/terms/about prose) ---------------- */
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { padding-left: 20px; }

/* =========================================================================
   Breakpoint: >= 640px  (large phones / small tablets)
   ========================================================================= */
@media (min-width: 640px) {
    .wrap { padding: 0 32px; }
    .hero-btns { flex-direction: row; }
    .hero-btns .btn { width: auto; }
    .trust-row { flex-direction: row; justify-content: space-between; }
    .plans { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
    .plan-popular { grid-column: span 2; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; }
}

/* =========================================================================
   Breakpoint: >= 900px  (tablets / small laptops) — nav becomes horizontal
   ========================================================================= */
@media (min-width: 900px) {
    .nav-toggle { display: none; }
    .primary-nav {
        display: block;
        position: static;
        background: transparent;
        border: 0;
        padding: 0;
        margin-left: auto;
    }
    .primary-nav ul { display: flex; gap: 28px; }
    .primary-nav li { border-top: 0; }
    .primary-nav a { padding: 0; font-size: 0.9rem; }
    .header-cta { display: inline-flex; margin-left: 20px; }
    .header-phone { display: inline-block; font-size: 0.85rem; color: var(--text-soft); margin-left: 24px; }
    .header-inner { gap: 0; }

    .hero { min-height: 520px; display: flex; align-items: center; padding: 70px 0; }
    .hero-bg { width: 60%; left: auto; right: 0; }
    .hero-bg img { opacity: 0.92; }
    .hero-bg::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(11,11,13,0.9) 20%, rgba(11,11,13,0.4) 50%, transparent 100%); }
    .hero-content { max-width: 540px; }
    .hero-content h1 { font-size: clamp(2.6rem, 4.4vw, 3.4rem); }

    .plans { grid-template-columns: repeat(3, 1fr); max-width: none; }
    .plan-popular { grid-column: auto; }

    .design-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
    .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
    .section { padding: 76px 0 72px; }
}
