/* ============================================================
   BoxerRings.pk — Pakistan Boxing Light Theme
   Mobile-first, Core Web Vitals optimised for 4G budget Android
   ============================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --red:       #C8102E;
  --red-dark:  #a00d24;
  --red-light: #fff0f2;
  --gold:      #d97706;
  --gold-dark: #b45309;
  --bg:        #f8fafc;
  --bg2:       #f1f5f9;
  --bg3:       #e9eef5;
  --bg4:       #dde4ed;
  --surface:   #ffffff;
  --border:    #e2e8f0;
  --text:      #1e293b;
  --text-muted:#475569;
  --heading:   #0f172a;
  --white:     #ffffff;
  --green-wa:  #25D366;      /* brand green — for large/icon surfaces */
  --green-wa-d:#1ebe57;
  --green-wa-text:#0a7d3f;   /* AA-compliant green for white text on buttons */
  --radius:    8px;
  --radius-lg: 14px;
  --shadow:    0 2px 12px rgba(15,23,42,.09);
  --shadow-sm: 0 1px 4px rgba(15,23,42,.07);
  --shadow-md: 0 4px 20px rgba(15,23,42,.12);
  --font:      system-ui,-apple-system,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  --font-mono: 'Courier New',Courier,monospace;
  --max-w:     1200px;
  --transition: 200ms ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.7;min-height:100vh}
img{display:block;max-width:100%;height:auto}
a{color:var(--red);text-decoration:none;transition:color var(--transition)}
a:hover{color:var(--red-dark)}
ul,ol{padding-left:1.4rem}
li{margin-bottom:.3rem}
button{cursor:pointer;border:none;background:none;font:inherit}
table{border-collapse:collapse;width:100%}
th,td{text-align:left;padding:.55rem .8rem;border-bottom:1px solid var(--border)}
thead th{background:var(--bg2);color:var(--heading);font-weight:700;border-bottom:2px solid var(--red)}
tbody tr:hover{background:var(--bg2)}
code{font-family:var(--font-mono);font-size:.85em;background:var(--bg3);padding:2px 6px;border-radius:4px;color:var(--red-dark)}

/* ── Skip Link ──────────────────────────────────────────────── */
.skip-link{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip-link:focus{left:1rem;top:1rem;width:auto;height:auto;background:var(--red);color:var(--white);padding:.5rem 1rem;border-radius:var(--radius);z-index:9999;font-weight:700}

/* ── Container ──────────────────────────────────────────────── */
.container{width:100%;max-width:var(--max-w);margin-inline:auto;padding-inline:1rem}
@media(min-width:640px){.container{padding-inline:1.5rem}}
@media(min-width:1024px){.container{padding-inline:2rem}}

/* ══════════════════════════════════════════════════════════════
   HEADER & LOGO ANIMATION
══════════════════════════════════════════════════════════════ */
.site-header{
  background:var(--white);
  border-bottom:3px solid var(--red);
  position:sticky;top:0;z-index:200;
  box-shadow:0 2px 12px rgba(15,23,42,.1);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:.65rem}

/* Logo */
.logo{display:flex;align-items:center;gap:.55rem;text-decoration:none}
.logo-text{font-size:1.25rem;font-weight:800;color:var(--heading);letter-spacing:-.5px;line-height:1.1}
.logo-text span{color:var(--red)}

/* SVG logo animation */
.logo-icon{
  flex-shrink:0;
  animation: logoSpin 4s ease-in-out infinite, logoPulse 2s ease-in-out infinite alternate;
  transform-origin:center;
  filter:drop-shadow(0 0 5px rgba(200,16,46,.4));
}
@keyframes logoSpin{
  0%,100%{transform:rotate(-8deg) scale(1)}
  25%{transform:rotate(8deg) scale(1.05)}
  50%{transform:rotate(-8deg) scale(1)}
  75%{transform:rotate(8deg) scale(1.05)}
}
@keyframes logoPulse{
  from{filter:drop-shadow(0 0 3px rgba(200,16,46,.3))}
  to  {filter:drop-shadow(0 0 10px rgba(200,16,46,.6))}
}
.logo:hover .logo-icon{animation-play-state:paused;transform:scale(1.1)}

/* Nav Toggle (mobile) */
.nav-toggle{
  display:flex;flex-direction:column;justify-content:center;gap:5px;
  width:40px;height:40px;padding:6px;border-radius:var(--radius);
  background:var(--bg2);transition:background var(--transition);
}
.nav-toggle span{display:block;height:2px;background:var(--heading);border-radius:2px;transition:all var(--transition)}
.nav-toggle[aria-expanded=true] span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.nav-toggle[aria-expanded=true] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded=true] span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}
@media(min-width:1320px){.nav-toggle{display:none}}

/* Main Nav */
.main-nav{display:none}
.main-nav.is-open{display:block}
.main-nav ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column}
.main-nav a{display:block;padding:.6rem 1rem;color:var(--text);font-size:.9rem;font-weight:600;border-radius:var(--radius);transition:all var(--transition)}
.main-nav a:hover,.main-nav a[aria-current=page]{background:var(--red-light);color:var(--red)}
.nav-cta a{background:var(--green-wa-text)!important;color:var(--white)!important;font-weight:700;margin-top:.4rem}
.nav-cta a:hover{background:#086632!important;color:var(--white)!important}

/* Full horizontal nav only when all 7 links + the WhatsApp CTA genuinely fit one
   row beside the logo (≥1320px). Narrower screens use the hamburger menu. */
@media(min-width:1320px){
  .main-nav{display:block}
  .main-nav ul{flex-direction:row;align-items:center;gap:.1rem;flex-wrap:nowrap}
  .main-nav a{padding:.45rem .7rem;font-size:.85rem;white-space:nowrap}
  /* WhatsApp CTA stays inline at the right end of the nav row */
  .nav-cta{margin-left:.5rem}
  .nav-cta a{margin-top:0;white-space:nowrap}
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.7rem 1.5rem;border-radius:var(--radius);font-weight:700;font-size:.95rem;
  line-height:1;text-decoration:none;cursor:pointer;border:2px solid transparent;
  transition:all var(--transition);white-space:nowrap;
}
.btn-primary{background:var(--red);color:var(--white);border-color:var(--red)}
.btn-primary:hover{background:var(--red-dark);border-color:var(--red-dark);color:var(--white);transform:translateY(-1px);box-shadow:0 4px 14px rgba(200,16,46,.35)}
.btn-outline{background:transparent;color:var(--red);border-color:var(--red)}
.btn-outline:hover{background:var(--red);color:var(--white);transform:translateY(-1px)}
.btn-wa{background:var(--green-wa-text);color:var(--white);border-color:var(--green-wa-text)}
.btn-wa:hover{background:#086632;color:var(--white)}
.btn-sm{padding:.4rem .9rem;font-size:.8rem}
.btn-lg{padding:.9rem 2rem;font-size:1.05rem}

/* ══════════════════════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════════════════════ */
.hero{
  background:linear-gradient(135deg,#f0f4ff 0%,#fdf2f4 60%,#fff8f0 100%);
  padding:2.5rem 0 2rem;
  overflow:hidden;
  position:relative;
  border-bottom:1px solid var(--border);
}
.hero::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse at 80% 50%,rgba(200,16,46,.05) 0%,transparent 70%);
  pointer-events:none;
}
.hero-inner{display:flex;flex-direction:column;gap:2rem}
.hero-eyebrow{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:var(--red);margin-bottom:.5rem}
.hero h1{font-size:clamp(1.8rem,5vw,3rem);font-weight:900;line-height:1.15;color:var(--heading)}
.hero h1 span{color:var(--red)}
.hero-sub{font-size:1rem;color:var(--text-muted);margin-top:.75rem;max-width:55ch}
.hero-ctas{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5rem}
.trust-bar{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.25rem}
.trust-bar span{font-size:.8rem;font-weight:600;background:var(--white);border:1px solid var(--border);padding:.3rem .7rem;border-radius:30px;color:var(--text)}
.hero-img img{border-radius:var(--radius-lg);box-shadow:var(--shadow-md);width:100%;aspect-ratio:3/2;object-fit:cover}
@media(min-width:768px){
  .hero-inner{flex-direction:row;align-items:center}
  .hero-text{flex:1 1 50%}
  .hero-img{flex:1 1 45%}
}

/* ══════════════════════════════════════════════════════════════
   SECTION COMMON
══════════════════════════════════════════════════════════════ */
section{padding:.5rem 0}
.section-title{font-size:clamp(1.4rem,3vw,1.9rem);font-weight:800;color:var(--heading);margin-bottom:.4rem}
.section-sub{color:var(--text-muted);margin-bottom:1.1rem}
.content-section{margin-bottom:.75rem}
.content-section h2{font-size:1.3rem;font-weight:700;color:var(--heading);margin:.6rem 0 .3rem;padding-bottom:.25rem;border-bottom:2px solid var(--red)}
.content-section h3{font-size:1.05rem;font-weight:700;color:var(--red-dark);margin:.75rem 0 .3rem}
.content-section p{margin-bottom:.2rem;color:var(--text)}
.content-section ul,.content-section ol{margin-bottom:.3rem;color:var(--text)}

/* ══════════════════════════════════════════════════════════════
   USP GRID
══════════════════════════════════════════════════════════════ */
.usp-section{background:var(--bg2);border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.usp-grid{display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));margin-top:1.5rem}
.usp-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.35rem;transition:all var(--transition)}
.usp-card:hover{border-color:var(--red);transform:translateY(-2px);box-shadow:var(--shadow)}
.usp-icon{font-size:2rem;margin-bottom:.6rem}
.usp-card h3{font-size:1rem;font-weight:700;color:var(--heading);margin-bottom:.35rem}
.usp-card p{font-size:.9rem;color:var(--text-muted);margin:0}

/* ══════════════════════════════════════════════════════════════
   PRODUCT GRID
══════════════════════════════════════════════════════════════ */
.products-section{background:var(--bg)}
.product-grid{display:grid;gap:1.1rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-top:1.25rem}
.product-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;text-decoration:none;color:var(--text);transition:all var(--transition);display:flex;flex-direction:column}
.product-card img,.child-card img{aspect-ratio:400/280;object-fit:cover}
.semantic-section p strong{font-weight:500}
.product-card:hover{border-color:var(--red);transform:translateY(-3px);box-shadow:var(--shadow-md)}
.product-img-wrap{overflow:hidden;aspect-ratio:4/3}
.product-img-wrap img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.product-card:hover .product-img-wrap img{transform:scale(1.05)}
.product-info{padding:1rem;flex:1;display:flex;flex-direction:column;gap:.5rem}
.product-info h2,.product-info h3{font-size:1rem;font-weight:700;color:var(--heading);line-height:1.3}
.product-price{font-size:1.05rem;font-weight:800;color:var(--red)}
.see-all{text-align:center;margin-top:1.5rem}

/* ══════════════════════════════════════════════════════════════
   HUB GRID
══════════════════════════════════════════════════════════════ */
.hubs-section{background:var(--bg2);border-top:1px solid var(--border)}
.hub-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-top:1.25rem}
.hub-card{background:var(--surface);border:1px solid var(--border);border-top:3px solid var(--red);border-radius:var(--radius-lg);padding:1.35rem;text-decoration:none;color:var(--text);transition:all var(--transition);display:flex;flex-direction:column;gap:.4rem}
.hub-card:hover{border-top-color:var(--red);transform:translateY(-3px);box-shadow:var(--shadow);background:var(--bg2)}
.hub-icon{font-size:2.2rem;line-height:1;margin-bottom:.2rem}
.hub-card h3{font-size:1rem;font-weight:700;color:var(--heading)}
.hub-card p{font-size:.875rem;color:var(--text-muted);flex:1}
.hub-link{color:var(--red);font-weight:700;font-size:.875rem;margin-top:.5rem;display:inline-flex;align-items:center;gap:.3rem}
.hub-link::after{content:'→';transition:transform .2s}
.hub-card:hover .hub-link::after{transform:translateX(4px)}

/* ══════════════════════════════════════════════════════════════
   CITY GRID
══════════════════════════════════════════════════════════════ */
.city-grid-section{background:var(--bg);padding:2.5rem 0;border-top:1px solid var(--border)}
.city-grid-section h2{font-size:clamp(1.4rem,3vw,1.9rem);font-weight:800;color:var(--heading);margin-bottom:.4rem}
.city-grid-section .section-sub{color:var(--text-muted);margin-bottom:1.25rem}
.city-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));margin-top:1.25rem}
.city-card{position:relative;overflow:hidden;border-radius:var(--radius-lg);text-decoration:none;display:block;aspect-ratio:5/3;border:2px solid transparent;transition:all var(--transition)}
.city-card:hover{border-color:var(--red);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.city-card img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.city-card:hover img{transform:scale(1.08)}
.city-name{display:none}

/* ══════════════════════════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════════════════════════ */
.breadcrumb{background:var(--bg2);border-bottom:1px solid var(--border);padding:.6rem 0}
.breadcrumb .container{max-width:var(--max-w);margin-inline:auto;padding-inline:1rem}
.breadcrumb ol{list-style:none;display:flex;flex-wrap:wrap;gap:.3rem;padding:0;margin:0}
.breadcrumb li{display:flex;align-items:center;font-size:.8rem;color:var(--text-muted)}
.breadcrumb li:not(:last-child)::after{content:' /';margin-left:.3rem;color:var(--bg4)}
.breadcrumb a{color:var(--text-muted);transition:color var(--transition)}
.breadcrumb a:hover{color:var(--red)}
.breadcrumb li[aria-current=page]{color:var(--text);font-weight:600}

/* ══════════════════════════════════════════════════════════════
   ANSWER BOX
══════════════════════════════════════════════════════════════ */
.answer-box{
  background:var(--red-light);
  border-left:4px solid var(--red);
  border-radius:0 var(--radius) var(--radius) 0;
  padding:1rem 1.25rem;margin:1.25rem 0;
  font-size:.95rem;color:var(--text);
  box-shadow:var(--shadow-sm);
}
.answer-box p{margin:0}

/* ══════════════════════════════════════════════════════════════
   TABLE OF CONTENTS
══════════════════════════════════════════════════════════════ */
.toc{background:var(--bg2);border:1px solid var(--border);border-left:4px solid var(--red);border-radius:0 var(--radius-lg) var(--radius-lg) 0;padding:1.1rem 1.4rem;margin:1.25rem 0;max-width:600px}
.toc-title{font-size:.9rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--red);margin-bottom:.65rem}
.toc ol{margin:0;counter-reset:toc}
.toc li{margin-bottom:.3rem}
.toc a{color:var(--text-muted);font-size:.875rem;transition:color var(--transition)}
.toc a:hover{color:var(--red)}

/* ══════════════════════════════════════════════════════════════
   TABLES
══════════════════════════════════════════════════════════════ */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:var(--radius);border:1px solid var(--border);margin:1rem 0}
.table-wrap table{margin:0;border:none;border-radius:var(--radius);overflow:hidden}

/* ══════════════════════════════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════════════════════════════ */
.faq-section{padding-top:2rem}
.faq-section h2{font-size:1.4rem;font-weight:800;color:var(--heading);margin-bottom:1rem}
.faq-item{border:1px solid var(--border);border-radius:var(--radius);margin-bottom:.6rem;overflow:hidden}
.faq-q{margin:0;font-size:.95rem;font-weight:700}
.faq-q-btn{display:block;width:100%;text-align:left;border:0;background:var(--surface);font:inherit;font-weight:700;color:var(--heading);padding:.85rem 2.5rem .85rem 1.1rem;cursor:pointer;position:relative;user-select:none}
.faq-q-btn::after{content:'﹢';position:absolute;right:1rem;top:50%;transform:translateY(-50%);font-size:1.2rem;color:var(--red);transition:transform var(--transition)}
.faq-item.is-open .faq-q-btn::after{transform:translateY(-50%) rotate(45deg)}
.faq-item.is-open .faq-q-btn{background:var(--red-light);color:var(--red)}
.faq-q-btn:focus-visible{outline:2px solid var(--red);outline-offset:-2px}
.faq-a{padding:0 1.1rem;max-height:0;overflow:hidden;transition:max-height .3s ease,padding .3s ease}
.faq-item.is-open .faq-a{max-height:600px;padding:.8rem 1.1rem 1rem}
.faq-a p{color:var(--text);margin:0;font-size:.9rem}

/* ══════════════════════════════════════════════════════════════
   ARTICLE PAGE
══════════════════════════════════════════════════════════════ */
.article-page,.hub-page,.product-page,.local-page,.utility-page,.guides-index{padding:1.25rem 0 2.5rem}
.article-header{margin-bottom:1.25rem}
.article-header h1{font-size:clamp(1.5rem,4vw,2.2rem);font-weight:900;color:var(--heading);line-height:1.2}
.article-meta{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.65rem;font-size:.8rem;color:var(--text-muted)}
.article-meta span{display:flex;align-items:center;gap:.3rem}
.article-cta,.hub-wa-cta{background:var(--bg2);border:1px solid var(--border);border-top:3px solid var(--red);border-radius:var(--radius-lg);padding:1.75rem;margin-top:2.5rem;text-align:center}
.article-cta h3,.hub-wa-cta h3{color:var(--heading);font-size:1.2rem;margin-bottom:.5rem}
.article-cta p,.hub-wa-cta p{color:var(--text-muted);margin-bottom:1rem}
.article-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:1.25rem}
.article-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.1rem;text-decoration:none;color:var(--text);transition:all var(--transition)}
.article-card:hover{border-color:var(--red);transform:translateY(-2px);box-shadow:var(--shadow)}
.article-card h2{font-size:1rem;color:var(--heading);font-weight:700;margin-bottom:.35rem}
.article-card p{font-size:.875rem;color:var(--text-muted)}
.read-more{color:var(--red);font-size:.875rem;font-weight:700;display:inline-block;margin-top:.55rem}

/* ══════════════════════════════════════════════════════════════
   PRODUCT PAGE
══════════════════════════════════════════════════════════════ */
.product-top{display:flex;flex-direction:column;gap:2rem;margin-bottom:2rem}
@media(min-width:768px){.product-top{flex-direction:row;align-items:flex-start}}
.product-gallery{flex:1 1 45%}
.product-main-img{border-radius:var(--radius-lg);box-shadow:var(--shadow-md);width:100%;aspect-ratio:3/2;object-fit:cover}
.product-badges{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.65rem}
.badge{padding:.3rem .75rem;border-radius:30px;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px}
.badge-made{background:rgba(200,16,46,.1);border:1px solid var(--red);color:var(--red)}
.badge-cod{background:rgba(217,119,6,.1);border:1px solid var(--gold);color:#8a3d07}
.badge-warranty{background:rgba(37,211,102,.1);border:1px solid var(--green-wa);color:#0d5c2c}
.product-summary-box{background:var(--bg2);border-left:3px solid var(--red);border-radius:0 var(--radius) var(--radius) 0;padding:.75rem 1rem;margin-top:1rem;font-size:.875rem;color:var(--text);line-height:1.55}
.product-summary-title{font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.8px;color:var(--red);margin:0 0 .35rem}
.product-price-highlight{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem;margin-top:1rem;padding:.65rem .9rem;background:linear-gradient(135deg,rgba(200,16,46,.07) 0%,rgba(200,16,46,.03) 100%);border:1px solid rgba(200,16,46,.2);border-radius:var(--radius)}
.price-from-label{font-size:.75rem;color:var(--text-muted);font-weight:600;text-transform:uppercase;letter-spacing:.5px}
.price-from-value{font-size:1.5rem;font-weight:900;color:var(--red)}
.price-from-note{font-size:.75rem;color:var(--text-muted);width:100%}
.product-feature-list{list-style:none;margin-top:.85rem;display:flex;flex-direction:column;gap:.4rem}
.product-feature-list li{font-size:.85rem;color:var(--text);padding:.3rem 0;border-bottom:1px solid var(--border)}
.product-feature-list li:last-child{border-bottom:none}
.product-details{flex:1 1 50%}
.product-details h1{font-size:clamp(1.3rem,3vw,1.9rem);font-weight:900;color:var(--heading);margin-bottom:.65rem}
.product-intro{color:var(--text-muted);margin-bottom:1.1rem;font-size:.95rem}

/* Colour swatches */
.variant-selector{margin-bottom:1rem}
.variant-label{display:block;font-size:.8rem;font-weight:700;color:var(--text-muted);text-transform:uppercase;letter-spacing:1px;margin-bottom:.5rem}
.colour-swatches{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}
.swatch{width:32px;height:32px;border-radius:50%;border:3px solid transparent;transition:transform var(--transition),box-shadow var(--transition);position:relative;font-size:.8rem;font-weight:800;color:var(--white);cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 0 0 1px rgba(15,23,42,.18)}
/* light-coloured swatches (white/silver): dark check + clear outline so they're visible on white */
.swatch-light{color:var(--heading);box-shadow:0 0 0 1px var(--border)}
.swatch.selected,.swatch:hover{transform:scale(1.15);box-shadow:0 0 0 2px var(--red)}
.selected-colour-label{font-size:.85rem;color:var(--text);margin-left:.5rem}

/* Size pills */
.size-pills{display:flex;flex-wrap:wrap;gap:.5rem}
.size-pill{padding:.35rem .9rem;border-radius:30px;border:2px solid var(--border);background:var(--surface);color:var(--text);font-size:.85rem;font-weight:600;transition:all var(--transition)}
.size-pill.selected,.size-pill:hover{border-color:var(--red);background:var(--red);color:var(--white)}

/* Pricing table */
.pricing-table{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:1rem;margin:1rem 0}
.pricing-table-title{font-size:.9rem;font-weight:700;color:var(--red-dark);margin-bottom:.65rem;text-transform:uppercase;letter-spacing:.5px}

/* Product CTA block */
.product-cta-block{margin-top:1.25rem}
.cta-note{font-size:.8rem;color:var(--text-muted);margin-top:.6rem}

/* Child/related cards */
.child-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));margin:1.1rem 0}
.child-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;text-decoration:none;color:var(--text);transition:all var(--transition)}
.child-card:hover{border-color:var(--red);transform:translateY(-2px);box-shadow:var(--shadow)}
.child-card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.child-card h3{font-size:.875rem;font-weight:700;color:var(--heading);padding:.5rem .7rem .2rem}
.child-price{font-size:.8rem;color:var(--red);font-weight:700;padding:0 .7rem .6rem}

/* ══════════════════════════════════════════════════════════════
   LOCAL / CITY PAGE
══════════════════════════════════════════════════════════════ */
.local-hero{position:relative;border-radius:var(--radius-lg);overflow:hidden;margin-bottom:1.5rem}
.local-city-img{width:100%;aspect-ratio:16/7;object-fit:cover;opacity:.85}
.local-hero-text{position:absolute;bottom:0;left:0;right:0;padding:1.5rem;background:linear-gradient(0deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.15) 100%)}
.local-hero-text h1{font-size:clamp(1.3rem,3vw,2rem);font-weight:900;color:#fff;margin-bottom:.5rem}
.local-intro{color:var(--text);font-size:.9rem;max-width:70ch;margin-bottom:1rem;display:none}
@media(min-width:640px){.local-intro{display:block}}

/* Role badges */
.role-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.35rem .9rem;border-radius:30px;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.6rem}
.factory-badge{background:rgba(200,16,46,.12);color:var(--red);border:1px solid var(--red)}
.hq-badge{background:rgba(217,119,6,.12);color:var(--gold-dark);border:1px solid var(--gold)}

/* ══════════════════════════════════════════════════════════════
   UTILITY PAGES (About, Contact, Privacy, Terms)
══════════════════════════════════════════════════════════════ */
.utility-page h1{font-size:clamp(1.5rem,4vw,2.2rem);font-weight:900;color:var(--heading);margin-bottom:.9rem}
.utility-cta{text-align:center;background:var(--bg2);border:1px solid var(--border);border-top:3px solid var(--red);border-radius:var(--radius-lg);padding:1.75rem;margin-top:2.5rem}
.utility-cta h2{font-size:1.2rem;color:var(--heading);margin-bottom:.5rem}
.utility-cta p{color:var(--text-muted);margin-bottom:1rem}
.locations-grid,.contact-grid{display:grid;gap:1rem;grid-template-columns:1fr;margin:1.25rem 0}
@media(min-width:600px){.locations-grid{grid-template-columns:repeat(2,1fr)}.contact-grid{grid-template-columns:repeat(2,1fr)}}
.location-card,.contact-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.35rem}
.hq-card,.hq-contact{border-top:3px solid var(--gold)}
.factory-card,.factory-contact{border-top:3px solid var(--red)}
.location-card h3,.contact-card h2{font-size:1rem;color:var(--heading);font-weight:700;margin-bottom:.5rem}
.location-card p,.contact-card p{font-size:.9rem;color:var(--text-muted);margin-bottom:.4rem}
.contact-note{font-size:.8rem!important}
.primary-contact{grid-column:1/-1;text-align:center;background:rgba(37,211,102,.06);border-top:3px solid var(--green-wa)}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
/* Footer — matches header: white bg, red top border, same shadow */
.site-footer{background:var(--white);border-top:3px solid var(--red);padding:2.5rem 0 1.25rem;margin-top:2rem;box-shadow:0 -2px 12px rgba(15,23,42,.07)}
.footer-grid{display:grid;gap:2rem;grid-template-columns:1fr}
@media(min-width:480px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:900px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}}
.footer-col h3{font-size:1rem;font-weight:700;color:var(--heading);margin-bottom:.65rem;padding-bottom:.35rem;border-bottom:2px solid var(--red)}
.footer-col p{font-size:.875rem;color:var(--text-muted);margin-bottom:.4rem}
.footer-col ul{list-style:none;padding:0}
.footer-col li{margin-bottom:.35rem}
/* Footer links sized as ≥24px tap targets (WCAG 2.5.8 target size) */
.footer-col li a,.footer-col p>a{display:block;min-height:24px;line-height:24px;font-size:.875rem}
.footer-col a{color:var(--text-muted);transition:color var(--transition)}
.footer-col a:hover{color:var(--red)}
.city-list{display:flex;flex-wrap:wrap;gap:.3rem}
.city-list li{font-size:.8rem;color:var(--text-muted);background:var(--bg2);padding:.15rem .5rem;border-radius:4px;border:1px solid var(--border)}
.footer-bottom{border-top:2px solid var(--border);padding-top:1rem;margin-top:1.5rem;display:flex;flex-direction:column;gap:.4rem}
.footer-bottom p{font-size:.8rem;color:var(--text-muted)}
.footer-bottom a{display:inline-block;padding:.25rem .15rem;color:var(--text-muted);transition:color var(--transition)}
.footer-bottom a:hover{color:var(--red)}

/* ══════════════════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
══════════════════════════════════════════════════════════════ */
.wa-float{
  position:fixed;bottom:1.5rem;right:1.25rem;z-index:999;
  display:flex;align-items:center;gap:.6rem;
  background:var(--green-wa-text);color:var(--white);
  padding:.65rem 1.1rem;border-radius:50px;
  font-size:.85rem;font-weight:700;text-decoration:none;
  box-shadow:0 4px 18px rgba(37,211,102,.45);
  transition:all var(--transition);
  animation:waFloat 3s ease-in-out infinite;
}
.wa-float:hover{background:#086632;color:var(--white);transform:scale(1.05);box-shadow:0 6px 24px rgba(37,211,102,.6)}
@keyframes waFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-4px)}
}
@media(max-width:480px){
  .wa-float span{display:none}
  .wa-float{padding:.8rem;border-radius:50%}
}

/* ══════════════════════════════════════════════════════════════
   GUIDES INDEX
══════════════════════════════════════════════════════════════ */
.guides-index h1{font-size:clamp(1.5rem,4vw,2.2rem);font-weight:900;color:var(--heading);margin-bottom:.9rem}

/* ══════════════════════════════════════════════════════════════
   RELATED PRODUCTS
══════════════════════════════════════════════════════════════ */
.related-products{margin-top:2.5rem}
.related-products h2{font-size:1.2rem;font-weight:700;color:var(--heading);margin-bottom:.9rem;padding-bottom:.35rem;border-bottom:2px solid var(--red)}

/* ══════════════════════════════════════════════════════════════
   TEAM GRID (About page)
══════════════════════════════════════════════════════════════ */
.team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1.1rem;margin:1.25rem 0}
.team-card{background:var(--surface);border:1px solid var(--border);border-top:3px solid var(--red);border-radius:12px;padding:1.25rem;transition:box-shadow .2s}
.team-card:hover{box-shadow:var(--shadow-md)}
.team-avatar{font-size:2.5rem;margin-bottom:.65rem}
.team-card h3{font-size:1.05rem;font-weight:700;color:var(--heading);margin:0 0 .2rem}
.team-role{font-size:.85rem;color:var(--red);font-weight:600;margin:0 0 .65rem}
.team-card p:last-child{font-size:.9rem;color:var(--text-muted);line-height:1.55;margin:0}

/* ══════════════════════════════════════════════════════════════
   HUB PAGE heading
══════════════════════════════════════════════════════════════ */
.hub-page h1{font-size:clamp(1.5rem,4vw,2.2rem);font-weight:900;color:var(--heading);margin-bottom:.9rem}
.local-page h1{font-size:clamp(1.5rem,4vw,2.2rem);font-weight:900;color:var(--heading);margin-bottom:.9rem}

/* ══════════════════════════════════════════════════════════════
   LOCAL HERO TEXT — must stay white over dark overlay
══════════════════════════════════════════════════════════════ */
.local-hero-text h1{color:#fff!important;font-size:clamp(1.3rem,3vw,2rem)!important;margin-bottom:.5rem!important}
.local-intro{color:rgba(255,255,255,.9)!important;display:block!important;font-size:.95rem!important;max-width:72ch!important}

/* ══════════════════════════════════════════════════════════════
   SIDEBAR LAYOUT
══════════════════════════════════════════════════════════════ */
.page-layout{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:900px){.page-layout{grid-template-columns:1fr 260px}}
.sidebar{display:flex;flex-direction:column;gap:1.25rem;position:sticky;top:80px;align-self:start}
.home-block{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border)}
.home-block:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.sidebar-widget{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm)}
.sidebar-widget-title{font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:1px;padding:.7rem 1rem;color:#fff}
.sidebar-links a{display:flex;align-items:center;gap:.55rem;padding:.6rem 1rem;font-size:.875rem;font-weight:600;color:var(--text);border-bottom:1px solid var(--border);transition:all var(--transition);text-decoration:none}
.sidebar-links a:hover{background:var(--bg2);color:var(--red);padding-left:1.3rem}
.sidebar-links a:last-child{border-bottom:none}
.sidebar-links .link-icon{font-size:1rem;flex-shrink:0}
.sidebar-cta-box{background:linear-gradient(135deg,var(--red) 0%,var(--red-dark) 100%);border-radius:var(--radius-lg);padding:1.25rem;text-align:center;box-shadow:0 4px 14px rgba(200,16,46,.3)}
.sidebar-office-card{background:var(--surface);border:2px solid var(--red);border-radius:var(--radius-lg);overflow:hidden}
.sidebar-office-header{background:linear-gradient(135deg,#7c1a1a 0%,var(--red) 100%);color:#fff;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:1px;padding:.65rem 1rem}
.sidebar-office-body{padding:.85rem 1rem;font-size:.875rem;color:var(--text)}
.sidebar-office-body p{margin-bottom:.25rem;line-height:1.4}
.sidebar-office-link{display:inline-block;margin-top:.5rem;color:var(--red);font-weight:700;font-size:.8rem;text-decoration:none}
.sidebar-office-link:hover{text-decoration:underline}
.sidebar-cta-box h3{color:#fff;font-size:1rem;margin-bottom:.3rem}
.sidebar-cta-box p{color:rgba(255,255,255,.85);font-size:.82rem;margin-bottom:.75rem}
.sidebar-price-badge{background:var(--gold-dark);color:#fff;border-radius:var(--radius);padding:.5rem .9rem;font-size:.8rem;font-weight:700;margin-bottom:.75rem;display:inline-block}

/* ══════════════════════════════════════════════════════════════
   SPACING — tighter paragraphs
══════════════════════════════════════════════════════════════ */
.content-section p{margin-bottom:.2rem;color:var(--text)}
.content-section p+p{margin-top:0}
.content-section{margin-bottom:.5rem}
section{padding:.5rem 0}

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE EXTRAS
══════════════════════════════════════════════════════════════ */
/* Office Highlight Bar */
.office-highlight-bar{background:linear-gradient(135deg,#7c1a1a 0%,#C8102E 100%);padding:.75rem 0;border-bottom:3px solid #8b1a1a}
.office-highlight-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}
.office-hl-left{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}
.office-hl-badge{background:rgba(255,255,255,.2);color:#fff;font-size:.7rem;font-weight:800;letter-spacing:1px;padding:.25rem .6rem;border-radius:3px;text-transform:uppercase;white-space:nowrap}
.office-hl-info{display:flex;flex-direction:column;gap:.1rem}
.office-hl-info strong{color:#fff;font-size:.95rem;font-weight:700}
.office-hl-info span{color:rgba(255,255,255,.8);font-size:.8rem}
.office-hl-right{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.office-hl-factory{color:rgba(255,255,255,.85);font-size:.85rem}
.office-hl-factory strong{color:#fff}
.office-hl-btn{background:var(--green-wa-text);color:#fff!important;border:none;padding:.45rem 1rem;font-size:.85rem;font-weight:700;border-radius:var(--radius);white-space:nowrap}
.office-hl-btn:hover{background:#086632;transform:translateY(-1px)}
/* content-visibility removed from late-page sections: when skipped during layout
   its size estimate could under-reserve space and overlap the footer (breaks WCAG
   target-size). These sections are small enough that the perf gain is negligible. */
.stats-bar{background:linear-gradient(135deg,var(--heading) 0%,#1e3a5f 100%);padding:1.5rem 0;border-bottom:3px solid var(--red)}
.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;text-align:center}
@media(min-width:640px){.stats-grid{grid-template-columns:repeat(4,1fr)}}
.stat-item{padding:.5rem}
.stat-num{font-size:1.9rem;font-weight:900;color:var(--gold);line-height:1}
.stat-label{font-size:.8rem;color:rgba(255,255,255,.75);margin-top:.25rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px}
.how-section{background:var(--bg)}
.steps-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-top:1.25rem;counter-reset:steps}
.step-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.25rem;position:relative;text-align:center;transition:all var(--transition)}
.step-card:hover{border-color:var(--red);transform:translateY(-2px);box-shadow:var(--shadow)}
.step-num{width:2.5rem;height:2.5rem;background:var(--red);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:1.1rem;margin:0 auto .75rem}
.step-card h3{font-size:.95rem;font-weight:700;color:var(--heading);margin-bottom:.3rem}
.step-card p{font-size:.85rem;color:var(--text-muted);margin:0}
.guides-strip{background:var(--bg2);border-top:1px solid var(--border)}
.guide-strip-grid{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-top:1.25rem}
.guide-strip-card{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--red);border-radius:var(--radius);padding:1rem 1.1rem;text-decoration:none;color:var(--text);transition:all var(--transition);display:flex;flex-direction:column;gap:.35rem;min-height:90px}
.guide-strip-card:hover{background:var(--bg2);box-shadow:var(--shadow);transform:translateX(4px)}
.guide-strip-icon{font-size:1.5rem;line-height:1}
.guide-strip-card h3{font-size:.9rem;font-weight:700;color:var(--heading);line-height:1.3;flex:1}
.guide-strip-card span{font-size:.8rem;color:var(--red);font-weight:700;margin-top:auto}

/* ══════════════════════════════════════════════════════════════
   PRINT
══════════════════════════════════════════════════════════════ */
@media print{
  .site-header,.site-footer,.wa-float,.nav-toggle{display:none}
  body{background:#fff;color:#000}
  a{color:#000;text-decoration:underline}
}
