/*
 * Sizes are in rem so the whole layout scales with the root font size,
 * which steps up on large and very large screens (see "Large screens").
 */
:root {
  --navy: #0b2545;
  --navy-2: #13355f;
  --blue: #1f5fbf;
  --blue-light: #e8f0fb;
  --amber: #f5a300;
  --amber-dark: #c27f00;
  --amber-light: #fff4dc;
  --concrete: #9aa6b4;
  --ink: #1b2430;
  --muted: #5b6676;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --border: #e2e7ee;
  --radius: 0.875rem;
  --shadow: 0 0.75rem 2rem rgba(11, 37, 69, 0.08);
  --max: 72rem;
  --gutter: 1.25rem;
  --header-h: 4.5rem;
  --section-y: 5.5rem;
}

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

html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 0.5rem); }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 1rem; color: var(--navy); }
h1 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

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

.skip-link { position: absolute; left: -999px; top: 0.5rem; z-index: 100; background: var(--navy); color: #fff; padding: 0.5rem 1rem; border-radius: 0.5rem; }
.skip-link:focus { left: 0.5rem; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 0.75rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 1.5rem; height: 2px; background: currentColor; vertical-align: middle; margin-right: 0.6rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 0.5rem 1.25rem rgba(31, 95, 191, 0.25); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn--amber { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.btn--amber:hover { background: #ffb51f; border-color: #ffb51f; box-shadow: 0 0.5rem 1.25rem rgba(245, 163, 0, 0.35); }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--border); }
.btn--ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--small { padding: 0.55rem 1.15rem; font-size: 0.92rem; }
.btn--wa { background: #25d366; border-color: #25d366; color: #fff; }
.btn--wa:hover { background: #1da851; border-color: #1da851; box-shadow: 0 0.5rem 1.25rem rgba(37, 211, 102, 0.35); }
.btn--wa svg, .action-bar svg, .wa-float svg { fill: none; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.header.is-scrolled { border-color: var(--border); box-shadow: 0 0.25rem 1.25rem rgba(11, 37, 69, 0.07); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; }
.brand img { height: 2.9rem; width: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a:not(.btn) { position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; padding: 0.25rem 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -0.15rem; height: 2px; background: var(--amber); transition: right 0.25s; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { right: 0; }
.nav a.is-active { color: var(--navy); font-weight: 600; }
.nav .btn { color: var(--navy); background: var(--amber); border-color: var(--amber); }
.nav .btn:hover { color: #fff; background: var(--navy); border-color: var(--navy); }

.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--navy); transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(245, 163, 0, 0.16), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(31, 95, 191, 0.10), transparent 40%),
    linear-gradient(180deg, var(--blue-light), var(--bg));
}
.hero::after {
  /* faint block pattern, a nod to the concrete blocks */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3rem;
  background:
    linear-gradient(90deg, transparent 0 calc(100% - 2px), rgba(11, 37, 69, 0.06) 0) 0 0 / 6rem 1.5rem,
    linear-gradient(90deg, transparent 0 calc(100% - 2px), rgba(11, 37, 69, 0.06) 0) 3rem 1.5rem / 6rem 1.5rem,
    linear-gradient(rgba(11, 37, 69, 0.06) 2px, transparent 0) 0 0 / 100% 1.5rem;
  background-repeat: repeat-x;
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.chip__dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #1fa45a; box-shadow: 0 0 0 0.25rem rgba(31, 164, 90, 0.18); }
.accent { color: var(--amber-dark); }
.kn { font-family: "Noto Sans Kannada", sans-serif; font-size: 1.2rem; font-weight: 600; color: var(--blue); margin-bottom: 0.75rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }

.hero__media { position: relative; padding: 0 0 3rem 2.5rem; }
.hero__main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.5rem;
  box-shadow: 0 1.5rem 3.5rem rgba(11, 37, 69, 0.22);
}
.hero__inset {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  border: 0.375rem solid #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1rem 2.5rem rgba(11, 37, 69, 0.2);
}
.hero__inset img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero__badge {
  position: absolute;
  right: -0.75rem;
  bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1.1rem;
  border-radius: 0.875rem;
  background: var(--navy);
  color: #c3d0e3;
  font-size: 0.8rem;
  box-shadow: 0 1rem 2rem rgba(11, 37, 69, 0.3);
  border-left: 4px solid var(--amber);
}
.hero__badge strong { color: #fff; font-size: 1rem; }

/* Stats */
.stats { background: var(--navy); color: #c3d0e3; position: relative; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 2.25rem; padding-bottom: 2.25rem; }
.stat { text-align: center; padding: 0 1rem; }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stat strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.4rem); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.stat span { font-size: 0.9rem; }

/* Sections */
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: linear-gradient(160deg, var(--navy), #071a31); color: #d8e2f0; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .eyebrow { color: var(--amber); }
.section--dark p { color: #c3d0e3; }
.section--dark strong { color: #fff; }
.section__intro { color: var(--muted); margin-bottom: 1.75rem; max-width: 42rem; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; }

/* About */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3.5rem; align-items: stretch; }
.about > div { display: flex; flex-direction: column; }
.about p { color: var(--muted); }
.journey { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 0.75rem 0 1.25rem; }
.journey figure { position: relative; margin: 0; border-radius: 0.875rem; overflow: hidden; }
.journey img { width: 100%; height: 9rem; object-fit: cover; }
.journey figcaption { position: absolute; left: 0.6rem; bottom: 0.6rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(11, 37, 69, 0.85); color: #fff; font-size: 0.78rem; font-weight: 600; }
.journey__arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 800;
  border: 4px solid #fff;
}
.timeline { list-style: none; padding: 1.5rem 1.5rem 1.25rem; margin: auto 0 0; border-radius: 1.1rem; background: var(--bg-alt); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 2rem; right: 2rem; top: 1.95rem; height: 2px; background: #d5dce5; }
.timeline li { position: relative; padding-top: 1.6rem; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 1rem; height: 1rem; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0.3rem var(--amber-light); }
.timeline strong { display: block; color: var(--navy); }
.timeline span { color: var(--muted); font-size: 0.9rem; }

.approval-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: linear-gradient(155deg, var(--navy-2), var(--navy) 55%);
  color: #c3d0e3;
  box-shadow: 0 1.25rem 2.5rem rgba(11, 37, 69, 0.18);
  border-top: 4px solid var(--amber);
}
.approval-card__head { display: flex; align-items: center; gap: 1rem; }
.approval-card__head h3 { color: #fff; margin: 0; }
.approval-card__head p { margin: 0.15rem 0 0; font-size: 0.88rem; color: #9fb1c8; }
.approval-card__icon { flex: none; width: 3.25rem; height: 3.25rem; display: grid; place-items: center; border-radius: 0.875rem; background: var(--amber); color: var(--navy); }
.approval-card__icon svg { width: 1.8rem; height: 1.8rem; }
.approval-card__list, .approval-card__units { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.approval-card__list li {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.approval-card__list strong { color: #fff; }
.approval-card__list span { grid-column: 1; font-size: 0.88rem; }
.approval-card__list em { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 0.78rem; font-weight: 700; color: var(--navy); background: var(--amber); padding: 0.3rem 0.6rem; border-radius: 999px; white-space: nowrap; }
.approval-card__sub { margin: 0.25rem 0 -0.5rem; color: var(--amber); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.approval-card__units li { display: flex; align-items: center; gap: 0.85rem; }
.approval-card__units strong { display: block; color: #fff; line-height: 1.3; }
.approval-card__units span:not(.approval-card__num) { font-size: 0.88rem; }
.approval-card__num { flex: none; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 0.6rem; border: 1.5px solid rgba(245, 163, 0, 0.6); color: var(--amber); font-weight: 800; }
.approval-card__cta { margin-top: auto; justify-content: center; }

/* Product filter */
.filter { display: inline-flex; gap: 0.25rem; padding: 0.3rem; border-radius: 999px; background: #fff; border: 1px solid var(--border); margin-bottom: 1.75rem; }
.filter button { font: inherit; font-size: 0.9rem; font-weight: 600; border: 0; background: transparent; color: var(--muted); padding: 0.45rem 1rem; border-radius: 999px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.filter button:hover { color: var(--navy); }
.filter button[aria-pressed="true"] { background: var(--navy); color: #fff; }

/* Pole cards with a to-scale pole drawing */
.poles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.pole-card {
  display: flex;
  align-items: flex-end;
  gap: 1.1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.pole-card[hidden] { display: none; }
.pole-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.pole-card__viz { width: 1.75rem; height: 7.5rem; display: flex; align-items: flex-end; justify-content: center; border-bottom: 3px solid var(--concrete); }
.pole-card__viz span {
  display: block;
  width: 0.8rem;
  height: calc(var(--len) / 11 * 100%);
  background: linear-gradient(90deg, #c9d2dd, #8f9cab);
  clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%);
  position: relative;
}
.pole-card--spun .pole-card__viz span { width: 1rem; clip-path: polygon(25% 0, 75% 0, 100% 100%, 0 100%); border-radius: 0.5rem 0.5rem 0 0; }
.pole-card__body { display: flex; flex-direction: column; gap: 0.15rem; }
.pole-card__body strong { font-size: 2rem; line-height: 1.1; color: var(--navy); }
.pole-card__body > span:last-child { color: var(--muted); font-size: 0.9rem; }
.tag { align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.2rem 0.55rem; border-radius: 0.375rem; background: var(--blue-light); color: var(--blue); }
.tag--rcc { background: #eef1f4; color: #4a5768; }
.tag--spun { background: var(--amber-light); color: var(--amber-dark); }


/* Concrete blocks */
.blocks { margin-top: 4.5rem; padding-top: 3.5rem; border-top: 1px solid var(--border); }
.blocks__actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.75rem; }
.block-sizes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.block-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.block-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
/* end view of a block, its width drawn to scale with the thickness */
.block-card__viz { flex: none; width: 5.5rem; height: 5.5rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; border-radius: 0.75rem; background: var(--bg-alt); }
.block-card__viz span { display: block; width: calc(var(--t) / 8 * 3.4rem); height: 2.4rem; border-radius: 0.2rem; background: linear-gradient(160deg, #c3ccd7, #8f9cab); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.08); }
.block-card__viz em { font-style: normal; font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.block-card__body { display: flex; flex-direction: column; gap: 0.15rem; }
.block-card__body strong { font-size: 1.75rem; line-height: 1.1; color: var(--navy); }
.block-card__body > span:last-child { color: var(--muted); font-size: 0.9rem; }
.tag--block { background: #e9f5ee; color: #1f7a4a; }
.block-types { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; }
.block-type { display: grid; grid-template-columns: 11rem 1fr; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.block-type img { width: 100%; height: 100%; min-height: 9rem; object-fit: cover; }
.block-type__body { padding: 1.25rem 1.4rem; align-self: center; }
.block-type__body h3 { margin-bottom: 0.4rem; }
.block-type__body p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.blocks__note { margin: 1rem 0 0; font-size: 0.85rem; color: var(--muted); }

/* Pole guide */
.guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.guide__card { padding: 1.75rem; border: 1px solid var(--border); border-radius: 1.1rem; background: #fff; transition: box-shadow 0.25s, transform 0.25s; }
.guide__card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.guide__icon { width: 3.5rem; height: 4.5rem; display: grid; place-items: center; border-radius: 0.875rem; background: var(--bg-alt); margin-bottom: 1.1rem; }
.guide__icon svg { width: 1.6rem; height: 3.2rem; }
.guide__icon path, .guide__icon rect { fill: #b7c1cd; }
.guide__icon .wire { fill: none; stroke: var(--amber-dark); stroke-width: 1.6; }
.guide__icon .hollow { fill: #fff; }
.guide__icon--block svg { width: 2.6rem; height: 1.7rem; }
.guide__icon--block .hole { fill: #fff; }
.guide__icon--block .dim { fill: none; stroke: var(--amber-dark); stroke-width: 1.6; }
.guide__title { margin-top: 4rem; }
.uses--blocks { margin-top: 1.25rem; }
.guide__card p { color: var(--muted); font-size: 0.95rem; }
.guide__card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.guide__card li { position: relative; padding-left: 1.4rem; font-size: 0.92rem; font-weight: 500; }
.guide__card li::before { content: ""; position: absolute; left: 0; top: 0.45rem; width: 0.7rem; height: 0.4rem; border-left: 2px solid #1fa45a; border-bottom: 2px solid #1fa45a; transform: rotate(-45deg); }
.guide__extra { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.note { padding: 1.75rem; border-radius: 1.1rem; background: var(--amber-light); border: 1px solid #f6dfa8; }
.note p { margin: 0; color: #5d4a1d; }
.uses { padding: 1.75rem; border-radius: 1.1rem; background: var(--blue-light); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tags li { padding: 0.45rem 0.95rem; border-radius: 999px; background: #fff; color: var(--navy); font-weight: 500; font-size: 0.92rem; }

/* How to order */
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.steps li { position: relative; padding: 1.75rem; background: #fff; border-radius: 1.1rem; border: 1px solid var(--border); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 2.75rem; right: -1.1rem; width: 1rem; height: 1rem; border-top: 2px solid var(--amber); border-right: 2px solid var(--amber); transform: rotate(45deg); z-index: 1; }
.steps__num { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 1rem; }
.steps p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 1rem; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: var(--bg-alt); }
.gallery__wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.5s; }
.gallery__wide img { aspect-ratio: 8 / 3; }
.gallery figure:hover img, .gallery figure:focus-visible img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem 0.9rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(transparent, rgba(7, 26, 49, 0.85));
}

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(7, 26, 49, 0.92); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; padding: 4rem 4.5rem 2rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 8rem); width: auto; border-radius: 0.75rem; object-fit: contain; }
.lightbox figcaption { color: #fff; font-weight: 500; }
.lightbox__btn { position: fixed; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox__btn:hover { background: var(--amber); color: var(--navy); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Units */
.units { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.unit { border: 1px solid var(--border); border-radius: 1.1rem; overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: box-shadow 0.25s; }
.unit:hover { box-shadow: var(--shadow); }
.unit iframe { width: 100%; height: 15rem; border: 0; display: block; background: var(--bg-alt); }
.unit__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-start; flex: 1; }
.unit__body h3 { margin: 0; }
.unit__body address { color: var(--muted); margin-bottom: 0.75rem; flex: 1; }
.unit__tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-dark); }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.faq__list { display: grid; gap: 0.75rem; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: box-shadow 0.2s, border-color 0.2s; }
.faq details[open] { border-color: transparent; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.25rem; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--bg-alt); color: var(--navy); font-size: 1.2rem; font-weight: 500; transition: transform 0.2s, background 0.2s; }
.faq details[open] summary::after { content: "\2212"; background: var(--amber); }
.faq details p { margin: 0; padding: 0 1.25rem 1.2rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.875rem; margin-top: 1.5rem; }
.contact__item { display: block; padding: 1rem 1.25rem; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); color: #fff; text-decoration: none; transition: border-color 0.2s, background 0.2s; }
.contact__item--wide { grid-column: 1 / -1; }
.contact__item--wa span { color: #4ee38a !important; }
a.contact__item--wa:hover { border-color: #25d366; background: rgba(37, 211, 102, 0.1); }
a.contact__item:hover { border-color: var(--amber); background: rgba(245, 163, 0, 0.08); }
.contact__item span { display: block; font-size: 0.8rem; color: var(--amber); }
.contact__item strong { font-size: 1rem; overflow-wrap: anywhere; }

.form { position: relative; display: grid; gap: 1rem; padding: 2rem; border-radius: 1.25rem; background: #fff; color: var(--ink); box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.25); }
.form h3 { color: var(--navy) !important; margin: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form input, .form select, .form textarea {
  font: inherit;
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.625rem;
  background: var(--bg-alt);
  width: 100%;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(31, 95, 191, 0.15); }
.form input:user-invalid, .form select:user-invalid { border-color: #d6453d; }
.form .btn { justify-self: start; }
.form__optional { font-weight: 400; color: var(--muted); }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.form__status { margin: 0; padding: 0.75rem 1rem; border-radius: 0.625rem; font-size: 0.9rem; }
.form__status[data-kind="success"] { background: #e6f6ec; color: #1f7a4a !important; }
.form__status[data-kind="error"] { background: #fdecea; color: #b3261e !important; }
.form__status[data-kind="info"] { background: var(--blue-light); color: var(--navy) !important; }

/* Footer */
.footer { background: #071a31; color: #8a9bb3; font-size: 0.9rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
.footer__brand img { height: 2.75rem; width: auto; margin-bottom: 1rem; }
.footer__brand p { margin: 0 0 0.4rem; }
.footer__links, .footer__contact { display: grid; gap: 0.5rem; align-content: start; }
.footer a { color: #b6c3d4; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.25rem; padding-bottom: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer .footer__credit { color: var(--amber); }
.footer .footer__credit:hover { color: #fff; }

/* Phone quick-action bar */
.action-bar { display: none; }

/* Floating WhatsApp button (desktop; phones use the action bar) */
.wa-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem 0.85rem 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 0.75rem 1.75rem rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, background 0.2s;
}
.wa-float:hover { background: #1da851; transform: translateY(-2px); }
.wa-float svg { width: 1.5rem; height: 1.5rem; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 5rem 1.25rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(1.25rem); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Large screens: scale everything up and use more of the width */
@media (min-width: 1440px) {
  html { font-size: 106.25%; }  /* 17px */
  :root { --max: 76rem; --gutter: 2rem; }
}
@media (min-width: 1800px) {
  html { font-size: 112.5%; }   /* 18px */
  :root { --max: 82rem; --section-y: 6.5rem; }
}
@media (min-width: 2400px) {
  html { font-size: 137.5%; }   /* 22px */
  :root { --max: 86rem; }
}
@media (min-width: 3200px) {
  html { font-size: 175%; }     /* 28px, 4K */
}

/* Laptop / tablet landscape */
@media (max-width: 1180px) {
  .nav { gap: 1rem; }
  .nav a:not(.btn) { font-size: 0.9rem; }
  .contact { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .poles { grid-template-columns: repeat(3, 1fr); }
  .block-types { grid-template-columns: 1fr; }
}

/* Tablet portrait and phones */
@media (max-width: 960px) {
  :root { --header-h: 4rem; --section-y: 4rem; }
  .brand img { height: 2.5rem; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1rem 2rem rgba(11, 37, 69, 0.1);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 0.8rem 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 0.9rem; justify-content: center; }
  .hero { padding: 2.5rem 0 4rem; }
  .hero__grid, .about, .faq, .contact-grid, .units, .guide__extra { grid-template-columns: 1fr; }
  .hero__grid { gap: 2.5rem; }
  .hero__media { padding: 0 0 2.5rem 1.5rem; }
  .hero__badge { right: 0; }
  .about, .faq, .contact-grid { gap: 2rem; }
  .guide { grid-template-columns: 1fr; }
  .block-sizes { grid-template-columns: 1fr; }
  .blocks { margin-top: 3rem; padding-top: 2.5rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { top: auto; bottom: -1.05rem; right: auto; left: 2.25rem; transform: rotate(135deg); }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  /* leave room for the action bar */
  body { padding-bottom: 4.25rem; }
  .action-bar {
    display: grid;
    grid-template-columns: 1fr 1.25fr 1.25fr;
    gap: 0.6rem;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--border);
    box-shadow: 0 -0.5rem 1.5rem rgba(11, 37, 69, 0.08);
  }
  .action-bar a { display: flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.75rem; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--navy); border: 2px solid var(--navy); }
  .action-bar svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
  .action-bar__primary { background: var(--amber); border-color: var(--amber) !important; }
  .action-bar__wa { background: #25d366; color: #fff !important; border-color: #25d366 !important; }
  .action-bar a { padding: 0.75rem 0.4rem; font-size: 0.95rem; white-space: nowrap; }
  .wa-float { display: none; }
}

@media (max-width: 640px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
  .stat:nth-child(3) { border-left: 0; }
  .timeline { grid-template-columns: 1fr; gap: 1.1rem; }
  .approval-card__list li { grid-template-columns: 1fr; }
  .approval-card__list em { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 0.45rem; }
  .timeline::before { left: 1.95rem; right: auto; top: 2rem; bottom: 2rem; width: 2px; height: auto; }
  .timeline li { padding: 0 0 0 2rem; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 1.5rem; }
  .poles { grid-template-columns: repeat(2, 1fr); }
  .block-type { grid-template-columns: 1fr; }
  .block-type img { height: 11rem; }
  .pole-card { flex-direction: column; align-items: flex-start; }
  .pole-card__viz { height: 5rem; }
  .filter { width: 100%; justify-content: space-between; }
  .filter button { flex: 1; padding: 0.45rem 0.5rem; }
  .gallery__wide { grid-column: span 2; }
  .hero__badge { padding: 0.65rem 0.85rem; }
  .lightbox figure { padding: 4.5rem 0.5rem 5rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  :root { --gutter: 1rem; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__wide { grid-column: auto; }
  .gallery__wide img { aspect-ratio: 4 / 3; }
  .footer__grid { grid-template-columns: 1fr; }
}
