/* =========================================================
   PlayTVZone — informational TV services site
   Palette: navy #003049 + classic accents
   ========================================================= */

:root {
    --navy:        #003049;
    --navy-800:    #00263a;
    --navy-700:    #01405f;
    --navy-600:    #0a5278;
    --red:         #d62828;
    --orange:      #f77f00;
    --gold:        #fcbf49;
    --cream:       #eae2b7;

    --ink:         #1d2733;
    --body:        #43515f;
    --muted:       #6b7885;
    --line:        #e3e8ee;
    --bg:          #ffffff;
    --bg-soft:     #f5f8fb;
    --bg-tint:     #eef4f9;

    --radius:      14px;
    --radius-sm:   10px;
    --shadow:      0 1px 2px rgba(0, 48, 73, 0.05), 0 8px 22px rgba(0, 48, 73, 0.06);
    --shadow-lg:   0 2px 6px rgba(0, 48, 73, 0.06), 0 22px 48px rgba(0, 48, 73, 0.12);
    --maxw:        1140px;
    --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--body);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.15rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }

a { color: var(--navy-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--orange); }

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

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

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 999;
    background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--navy);
    box-shadow: 0 2px 14px rgba(0,0,0,.18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.3rem; letter-spacing: .3px; }
.brand:hover { color: #fff; }
.brand-mark { display: inline-grid; place-items: center; color: var(--gold); }
.brand-text { color: #fff; }

.site-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
    display: block; color: #d7e4ee; font-weight: 600; padding: 10px 14px; border-radius: 8px;
    font-size: .98rem;
}
.site-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.site-nav a.is-active { color: var(--navy); background: var(--gold); }

/* Mobile nav toggle (pure CSS) */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle-label span { width: 26px; height: 3px; background: #fff; border-radius: 3px; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block; font-weight: 700; padding: 13px 24px; border-radius: 40px;
    border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
    font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(247,127,0,.3); }
.btn-primary:hover { background: #e67200; color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-700); color: #fff; }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff;
    background-color: var(--navy-800);
    background-image:
        linear-gradient(115deg, rgba(0,38,58,.94) 0%, rgba(0,48,73,.86) 45%, rgba(1,64,95,.70) 100%),
        url("../img/banner-hero2.png");
    background-size: cover;
    background-position: center right;
    padding: clamp(56px, 9vw, 110px) 0;
    overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 22px 22px; opacity: .6; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; max-width: 820px; }
.hero h1 { color: #fff; }
.hero .eyebrow {
    display: inline-block; text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 700;
    color: var(--gold); background: rgba(252,191,73,.12); padding: 6px 14px; border-radius: 30px; margin-bottom: 18px;
}
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #cfe0ec; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Page header (inner pages) ---------- */
.page-head {
    color: #fff; text-align: center; padding: clamp(48px, 7vw, 80px) 0;
    background-color: var(--navy-800);
    background-image:
        linear-gradient(135deg, rgba(0,38,58,.92), rgba(1,64,95,.85)),
        url("../img/inner_banner.jpg");
    background-size: cover;
    background-position: center;
}
.page-head h1 { color: #fff; }
.page-head p { color: #cfe0ec; max-width: 680px; margin: 0 auto; }
.breadcrumb { font-size: .9rem; color: #9fb8c9; margin-bottom: 10px; }
.breadcrumb a { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .eyebrow {
    display: inline-flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: 2.5px;
    font-size: .74rem; font-weight: 700; color: var(--orange); margin-bottom: 14px;
}
.section-head .eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--orange); border-radius: 2px; }
.section-head h2::after {
    content: ""; display: block; width: 58px; height: 3px; border-radius: 3px; margin: 18px auto 0;
    background: linear-gradient(90deg, var(--orange), var(--gold));
}
.section-head p { color: var(--muted); margin: 16px auto 0; max-width: 560px; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #cdd9e4; }
.card .icon {
    width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
    background: var(--bg-tint); color: var(--navy); transition: transform .25s ease;
}
.card:hover .icon { transform: scale(1.06); }
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .97rem; }

.card--accent-red .icon    { background: rgba(214,40,40,.1);  color: var(--red); }
.card--accent-orange .icon { background: rgba(247,127,0,.12); color: var(--orange); }
.card--accent-gold .icon   { background: rgba(252,191,73,.2); color: #b4820b; }
.card--accent-navy .icon   { background: var(--bg-tint);      color: var(--navy); }

/* ---------- Media / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split .media {
    border-radius: var(--radius); min-height: 300px; box-shadow: var(--shadow-lg);
    background:
        radial-gradient(600px 300px at 70% 20%, rgba(252,191,73,.3), transparent 60%),
        linear-gradient(135deg, var(--navy), var(--navy-600));
    position: relative; overflow: hidden; display: grid; place-items: center; color: #fff;
}
.split .media svg { width: 110px; height: 110px; opacity: .9; }
.split .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split h2 { margin-top: 0; }

/* Inline photo figure (rounded, shadowed) */
.photo { border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Feature list ---------- */
.ticklist { list-style: none; padding: 0; margin: 0; }
.ticklist li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--body); }
.ticklist li::before {
    content: "✓"; position: absolute; left: 0; top: 0;
    width: 22px; height: 22px; border-radius: 50%; background: var(--navy); color: #fff;
    display: grid; place-items: center; font-size: .75rem; font-weight: 700;
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.step {
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 24px 26px; position: relative; box-shadow: var(--shadow); overflow: hidden;
}
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    display: inline-block; font-size: 1.75rem; font-weight: 800; line-height: 1;
    color: var(--orange); letter-spacing: -0.03em; margin-bottom: 14px;
}
.step::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--orange), var(--gold));
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; text-align: center; }
.stat { position: relative; padding: 6px 20px; }
.stat + .stat::before {
    content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 1px; height: 56px; background: var(--line);
}
.stat .num {
    font-size: clamp(2.3rem, 4.4vw, 3.2rem); font-weight: 800; line-height: 1;
    letter-spacing: -0.03em; color: var(--navy);
}
.stat .num span { color: var(--orange); }
.stat .label { color: var(--muted); font-size: .9rem; margin-top: 12px; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--navy-700), var(--navy)); color: #fff; text-align: center;
    padding: clamp(44px, 7vw, 80px) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0ec; max-width: 620px; margin: 0 auto 26px; }

/* ---------- Content / legal pages ---------- */
.prose { margin: 0 auto; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.callout {
    background: var(--bg-tint); border-left: 4px solid var(--orange); border-radius: var(--radius-sm);
    padding: 18px 22px; margin: 1.5rem 0;
}
.callout strong { color: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-list .ic {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; background: var(--bg-tint);
    color: var(--navy); display: grid; place-items: center;
}
.info-list .ic svg { width: 22px; height: 22px; }
.info-list h4 { margin: 0 0 2px; font-size: 1rem; }
.info-list p { margin: 0; color: var(--muted); }

form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: .95rem; }
form input, form textarea, form select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font: inherit; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
form input:focus, form textarea:focus, form select:focus {
    outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(10,82,120,.15);
}
form textarea { min-height: 140px; resize: vertical; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq details {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 20px; margin-bottom: 14px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--orange); font-weight: 800; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-800); color: #b8cad6; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 20px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #b8cad6; }
.footer-col a:hover { color: var(--gold); }
.brand--footer { font-size: 1.2rem; margin-bottom: 14px; }
.footer-about p { color: #91a7b5; font-size: .92rem; }
.footer-note { color: #cfe0ec; }
.footer-contact li { color: #91a7b5; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 18px 20px; }
.footer-bar p { margin: 0; font-size: .85rem; color: #8aa0ae; }
.footer-policy-links a { color: #8aa0ae; }
.footer-policy-links a:hover { color: var(--gold); }

/* ---------- Organisation details (shared block) ---------- */
/* Colours inherit from context so one block works on light pages and the dark footer. */
.org-details {
    border: 1px solid currentColor;
    border-color: color-mix(in srgb, currentColor 22%, transparent);
    border-radius: 12px;
    padding: 22px 24px;
    margin: 2rem 0 0;
    color: inherit;
}
.org-details__heading { color: inherit; font-size: 1.05rem; margin: 0 0 16px; }
.org-details__list { margin: 0; display: grid; gap: 14px; }
.org-details__row dt {
    font-size: .72rem; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; opacity: .65; margin-bottom: 3px;
}
.org-details__row dd { margin: 0; line-height: 1.5; }
/* On the dark footer the block spans the full width below the columns. */
.footer-org { padding: 0 20px 48px; }
.footer-org .org-details { margin: 0; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.1rem; color: var(--body); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 0; }
    .stat:nth-child(odd)::before { display: none; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .nav-toggle-label { display: flex; }
    .site-nav {
        position: absolute; top: 72px; left: 0; right: 0;
        background: var(--navy-800); max-height: 0; overflow: hidden; transition: max-height .3s ease;
    }
    .site-nav ul { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
    .site-nav a { padding: 12px 14px; border-radius: 8px; }
    .nav-toggle:checked ~ .site-nav { max-height: 400px; }
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 560px) {
    .grid-3, .grid-4, .grid-2, .steps, .stats, .footer-grid { grid-template-columns: 1fr; }
    .stats { gap: 28px 0; }
    .stat + .stat::before { display: none; }
    .hero-actions .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; }
}
