:root {
  --ink: #0F2A3D;
  --ink-2: #1D4460;
  --sea: #1B6E8A;
  --paper: #F3F7F8;
  --card: #FFFFFF;
  --line: #D3DEE4;
  --muted: #536675;
  --fiber: #F5A300;
  --fiber-glow: rgba(245, 163, 0, .35);
  --wa: #128C4A;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  padding-bottom: 72px;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--sea); }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--fiber); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .6em 1.15em; border-radius: 999px;
  font: 700 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn-lg { min-height: 54px; padding-inline: 1.5em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--ink-2); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0E7A40; }
.btn-amber { background: var(--fiber); color: var(--ink); }
.btn-amber:hover { background: #FFB927; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 247, 248, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; height: 40px; width: auto; max-width: 62vw; mix-blend-mode: multiply; }
.brand-name { font: 800 1.35rem/1 var(--display); display: flex; flex-direction: column; }
.brand-name small { font: 400 .78rem/1.3 var(--body); color: var(--muted); letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; padding: 10px 12px; border-radius: 8px; }
.site-nav a:not(.btn):hover { background: rgba(15, 42, 61, .07); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; font: 700 1rem var(--body); background: none; border: 2px solid var(--ink); color: var(--ink); border-radius: 999px; padding: 8px 16px; min-height: 44px; cursor: pointer; }

/* Hero */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; position: relative; z-index: 1; }
.hero h1 { max-width: 13ch; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 46ch; }
.lede-ta { color: var(--sea); font-weight: 700; max-width: 46ch; margin-top: -4px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .98rem; }
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fiber); box-shadow: 0 0 0 4px var(--fiber-glow); }

.strand { position: absolute; left: 0; right: 0; bottom: 18px; width: 100%; height: 60px; z-index: 0; }
.strand path { fill: none; stroke: var(--fiber); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.2s .3s cubic-bezier(.6,.1,.2,1) forwards; filter: drop-shadow(0 0 6px var(--fiber-glow)); }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Forms */
.check-card, .enquiry {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(22px, 3.5vw, 32px);
}
.check-card { border-top: 6px solid var(--fiber); }
.check-card h2 { font-size: 1.55rem; }
.check-card > p, .enquiry > p { color: var(--muted); }
label { display: block; font-weight: 700; margin: 14px 0 6px; font-size: .98rem; }
input, select {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 2px solid var(--line); border-radius: 10px;
}
input:focus, select:focus { border-color: var(--sea); outline: none; box-shadow: 0 0 0 3px rgba(27,110,138,.2); }
input[aria-invalid="true"] { border-color: #B3261E; }
.form-error { color: #B3261E; font-weight: 700; margin: 12px 0 0; }
form .btn-block { margin-top: 20px; }
form .check-call { margin-top: 10px; }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tint { background: #E6EEF1; }
.section-ink { background: var(--ink); color: #fff; }
.section-ink p { color: #C9D6DE; }
.section-head { max-width: 60ch; margin-bottom: 36px; }
.section-head p { color: var(--muted); }

/* Services */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--fiber); border-radius: var(--radius); padding: 26px 24px; }
.service-tag { font: 800 .85rem/1 var(--display); color: var(--sea); letter-spacing: .08em; margin-bottom: 14px; }
.service h3 { font-size: 1.5rem; font-weight: 800; }
.service p { color: var(--muted); flex: 1; }
/* Sliding OTT / channel strips */
.watch { overflow: hidden; }
.watch .section-head p { color: #C9D6DE; }
.marquee-title { font-size: 1.05rem; font-weight: 700; font-family: var(--body); color: var(--fiber); letter-spacing: .04em; text-transform: uppercase; margin: 8px auto 14px; }
.marquee { display: flex; overflow: hidden; margin-bottom: 36px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0 8px; display: flex; flex: none; gap: 16px; padding-right: 16px; animation: marquee 40s linear infinite; }
.marquee-reverse .marquee-track { animation-direction: reverse; animation-duration: 50s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.chip {
  flex: none; display: flex; align-items: center; justify-content: center;
  min-width: 170px; height: 84px; padding: 0 26px; border-radius: 16px;
  font: 800 1.35rem/1.1 var(--display); letter-spacing: -0.01em; white-space: nowrap;
  color: #fff; background: #1D4460; border: 1px solid rgba(255,255,255,.12);
}
.chip-logo { background: #fff; gap: 10px; padding: 0 22px; }
.chip-logo img { height: 52px; width: auto; max-width: 150px; object-fit: contain; }
.chip-logo span { color: var(--ink); font-size: 1.05rem; }
.c-prime { background: #00A8E1; }
.c-hotstar { background: linear-gradient(135deg, #0F1F5C, #1F80E0); }
.c-zee { background: linear-gradient(135deg, #3B0A57, #8230C6); }
.c-sun { background: linear-gradient(135deg, #E8590C, #F5A300); }
.c-sony { background: #111; }
.c-aha { background: #FF6A13; }
.c-etv { background: #C8102E; }
.c-disc { background: #0B3C8C; }
.c-fan { background: #FF4F1A; }
.c-hungama { background: #E2007A; }
.c-vijay { background: linear-gradient(135deg, #D11F2F, #F7A21B); }
.c-colors { background: linear-gradient(135deg, #6A1B9A, #E91E63); }
.c-ktv { background: #B71C1C; }
.c-raj { background: #F2C200; color: var(--ink); }
.c-kalaignar { background: #1B5E20; }
.c-polimer { background: #0D47A1; }
.c-news { background: #263238; }
.c-sport { background: linear-gradient(135deg, #00205B, #0057B8); }
.watch-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.watch-cta .fine { color: #9FB3C0; font-size: .85rem; }
.watch-cta .fine a { color: #C9D6DE; }
.fine { margin-top: 20px; color: var(--muted); font-size: .95rem; max-width: 70ch; }

/* Why */
.why h2 { max-width: 20ch; }
.why-list { margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 48px; }
.why-list div { border-left: 3px solid var(--fiber); padding-left: 18px; }
.why-list dt { font: 600 1.2rem/1.3 var(--display); margin-bottom: 6px; }
.why-list dd { margin: 0; color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split p { max-width: 52ch; }
.tick-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tick-list li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; font-weight: 700; }
.tick-list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 14px; height: 8px; margin-top: -6px; border-left: 3px solid var(--sea); border-bottom: 3px solid var(--sea); transform: rotate(-45deg); }
.franchise-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

.about { max-width: 70ch; }
.about p { font-size: 1.12rem; }

/* Reviews */
.reviews { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 860px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .reviews { grid-template-columns: 1fr; } }
.review { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 18px; }
.stars { margin: 0 0 10px; color: var(--fiber); font-size: 1.25rem; letter-spacing: 2px; }
.review blockquote { margin: 0; flex: 1; }
.review blockquote p { margin: 0; font-size: 1.08rem; }
.review-by { margin: 14px 0 0; font-weight: 700; color: var(--muted); }
.reviews-more { margin-top: 24px; }

/* Areas */
.areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.areas li { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--sea); border-radius: 10px; padding: 12px 14px; font-weight: 700; }
.areas span { display: block; font-weight: 400; font-size: .92rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 72ch; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font: 600 1.15rem/1.35 var(--display); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--sea); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.enquiry h2 { font-size: 1.7rem; }
address { font-style: normal; font-size: 1.1rem; margin-bottom: 20px; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 80px 1fr; padding: 10px 0; border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--muted); }
.contact-list a { font-weight: 700; color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #C9D6DE; padding: 28px 0; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.footer-row p { margin: 0; }
.footer-row nav { display: flex; gap: 20px; }
.footer-row a { color: #fff; }

/* Quick action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(15,42,61,.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 10px; font-weight: 700; font-size: .82rem; color: var(--ink); text-decoration: none; min-height: 60px; justify-content: center; }
.action-bar a svg { width: 22px; height: 22px; }
.action-bar a.wa { color: var(--wa); }
.action-bar a:hover { background: #F0F5F7; }

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .action-bar { left: auto; right: 20px; bottom: 20px; grid-template-columns: repeat(4, auto); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
  .action-bar a { flex-direction: row; gap: 8px; padding: 12px 16px; min-height: 0; font-size: .92rem; }
  .action-bar a + a { border-left: 1px solid var(--line); }
}

@media (max-width: 980px) {
  .services { grid-template-columns: 1fr; }
}

.site-nav a { white-space: nowrap; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-cta { margin: 12px 0 0; }
}

@media (max-width: 860px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .strand { bottom: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strand path { animation: none; stroke-dashoffset: 0; }
  .marquee { flex-wrap: wrap; mask-image: none; -webkit-mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; padding-left: 16px; row-gap: 12px; }
  .marquee-track[aria-hidden="true"] { display: none; }
}

@media (max-width: 640px) {
  .chip { min-width: 130px; height: 64px; padding: 0 18px; font-size: 1.1rem; border-radius: 12px; }
  .chip-logo img { height: 40px; max-width: 110px; }
}

/* Simple page (terms, 404) */
.page { padding: clamp(40px, 6vw, 72px) 0 80px; }
.page .wrap { max-width: 760px; }
.page h2 { font-size: 1.4rem; margin-top: 1.8em; }
.page li { margin-bottom: .4em; }
.updated { color: var(--muted); }

/* Google review prompt */
.review-box { margin-top: 28px; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--fiber); border-radius: var(--radius); }
.review-box h3 { margin-bottom: 6px; }
.review-box p { color: var(--muted); margin-bottom: 14px; }
.btn-review { background: var(--fiber); color: var(--ink); }
.btn-review:hover { background: #FFB927; }

/* Pamphlet (pamphlet.html) – one A4 page, also readable on phones */
.pam-body { padding: 24px 16px 48px; background: #DCE6EA; }
.pam-toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 20px; }
.pam {
  width: 100%; max-width: 210mm; min-height: 297mm; margin: 0 auto;
  display: flex; flex-direction: column; background: #fff; color: var(--ink);
  box-shadow: 0 10px 40px rgba(15,42,61,.18); overflow: hidden;
  -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.pam .ta { font-family: "Noto Sans Tamil", var(--body); font-weight: 500; }
.pam-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 12mm 14mm 0; }
.pam-logo { height: 15mm; width: auto; max-width: 100%; }
.pam-place { margin: 0; font-weight: 700; color: var(--sea); }
.pam-hero { padding: 10mm 14mm 8mm; border-bottom: 3px solid var(--fiber); }
.pam-hero h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); margin-bottom: .3em; }
.pam-hero h1 span { color: var(--sea); }
.pam-hero .ta { font-size: 1.25rem; font-weight: 700; margin: 0; }
.pam-services { list-style: none; margin: 0; padding: 8mm 14mm; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6mm; }
.pam-services li { border-top: 4px solid var(--fiber); background: var(--paper); border-radius: 10px; padding: 5mm; }
.pam-num { font: 800 .8rem/1 var(--display); color: var(--sea); letter-spacing: .08em; }
.pam-services h2 { font-size: 1.45rem; margin: 8px 0 6px; }
.pam-services p { margin: 0 0 .5em; font-size: .98rem; }
.pam-services .ta { color: var(--muted); margin: 0; font-size: .92rem; }
.pam-points { list-style: none; margin: 0; padding: 0 14mm 8mm; display: grid; grid-template-columns: repeat(2, 1fr); gap: 3mm 8mm; font-weight: 700; }
.pam-points li { display: flex; align-items: center; gap: 10px; }
.pam-points li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--fiber); box-shadow: 0 0 0 4px var(--fiber-glow); }
.pam-call { margin-top: auto; background: var(--ink); color: #fff; text-align: center; padding: 9mm 14mm 8mm; }
.pam-call p { margin: 0; }
.pam-call-label { font-weight: 700; color: #C9D6DE; font-size: 1.1rem; }
.pam-phone { font: 800 clamp(2.6rem, 9vw, 4.4rem)/1.1 var(--display); color: var(--fiber); letter-spacing: -0.01em; }
.pam-call .ta { color: #fff; font-size: 1.05rem; }
.pam-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4mm 10mm; padding: 6mm 14mm 8mm; background: var(--sea); color: #fff; font-size: .95rem; line-height: 1.5; }
.pam-foot-right { text-align: right; }

@media (max-width: 640px) {
  .pam { min-height: 0; }
  .pam-services, .pam-points { grid-template-columns: 1fr; }
  .pam-foot-right { text-align: left; }
}

@page { size: A4; margin: 0; }
@media print {
  .pam-body { padding: 0; background: #fff; }
  .pam-toolbar { display: none; }
  .pam { width: 210mm; max-width: none; height: 297mm; min-height: 0; box-shadow: none; }
  .pam-services { grid-template-columns: repeat(3, 1fr); }
  .pam-points { grid-template-columns: repeat(2, 1fr); }
  .pam-hero h1 { font-size: 3.6rem; }
  .pam-phone { font-size: 4.4rem; }
}
