/* ==========================================================================
   YSN — Power Distribution Materials
   ========================================================================== */

:root {
  --navy: #14284d;
  --navy-deep: #0d1b33;
  --navy-soft: #1d3a6b;
  --orange: #ee8a2a;
  --orange-dark: #d4761b;
  --orange-soft: #fdf1e2;
  --ink: #16202e;
  --muted: #5c6b80;
  --line: #e3e9f1;
  --bg-soft: #f5f7fa;
  --bg-blue: #eef3fa;
  --white: #fff;
  --shadow-sm: 0 1px 2px rgba(16, 32, 60, .06), 0 4px 14px rgba(16, 32, 60, .05);
  --shadow-md: 0 10px 30px rgba(16, 32, 60, .10);
  --radius: 12px;
  --radius-sm: 8px;
  --container: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-soft); text-decoration: none; }
a:hover { color: var(--orange-dark); }

h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.2; color: var(--navy-deep); letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.15rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 700; }
h3 { font-size: 1.16rem; font-weight: 650; }
h4 { font-size: 1rem; font-weight: 650; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.1em; }
li { margin-bottom: .4em; }

.sr-only, .sprite { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hidden-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

svg { width: 1.4em; height: 1.4em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.inline-icon { vertical-align: -.18em; margin-right: .35em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 860px; }

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lead { font-size: 1.08rem; color: var(--muted); margin-bottom: 0; }

.eyebrow {
  display: flex; align-items: center; gap: .5rem;
  margin: 0 0 .8rem;
  font-size: .82rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-dark);
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section-head .eyebrow::after { display: none; }

.lead { font-size: clamp(1.04rem, 1.4vw, 1.18rem); color: #33445c; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .78rem 1.4rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font: inherit; font-weight: 600; font-size: .97rem; line-height: 1.2;
  cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
  text-align: center;
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.02rem; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(238, 138, 42, .28); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: #c9d4e2; color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .95rem; color: var(--orange-dark); }
.text-link svg { transition: transform .18s ease; }
.text-link:hover svg { transform: translateX(4px); }

.tag {
  display: inline-block; margin-bottom: .55rem; padding: .18rem .6rem;
  background: var(--orange-soft); color: var(--orange-dark);
  border-radius: 999px; font-size: .76rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand img { height: 42px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav > ul { display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; list-style: none; }
.site-nav > ul > li { position: relative; margin: 0; }
.site-nav > ul > li > a {
  display: block; padding: .5rem 0;
  font-size: .97rem; font-weight: 600; color: var(--navy);
  border-bottom: 2px solid transparent;
}
.site-nav > ul > li > a:hover { color: var(--orange-dark); }
.site-nav > ul > li.is-active > a { color: var(--orange-dark); border-bottom-color: var(--orange); }
.subnav {
  position: absolute; top: 100%; left: -.9rem;
  display: none; min-width: 260px; margin: 0; padding: .5rem;
  list-style: none; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
}
.site-nav > ul > li:hover .subnav, .site-nav > ul > li:focus-within .subnav { display: block; }
.subnav a { display: block; padding: .45rem .7rem; border-radius: 6px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.subnav a:hover { background: var(--bg-soft); color: var(--navy); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .4rem; font-size: .93rem; font-weight: 600; color: var(--navy); }
.nav-phone svg { width: 1.1em; height: 1.1em; color: var(--orange); }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--navy); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: .6rem 1rem; border-radius: 6px; box-shadow: var(--shadow-md); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(238, 138, 42, .13), transparent 28rem),
    linear-gradient(180deg, var(--bg-blue) 0%, #fff 100%);
  padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 64px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image:
    linear-gradient(rgba(20, 40, 77, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 40, 77, .055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-copy h1 { margin-bottom: .55em; }
.hero-copy .lead { max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.chips li {
  margin: 0; padding: .32rem .8rem;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; font-weight: 600; color: var(--navy);
}
.hero-tool {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(20, 40, 77, .14);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 58px rgba(13, 27, 51, .16);
}
.hero-tool-media { margin: 0; height: clamp(150px, 17vw, 210px); overflow: hidden; background: var(--navy-deep); }
.hero-tool-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-tool-body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2.5vw, 30px); }
.hero-tool-body .eyebrow { margin-bottom: .65rem; }
.hero-tool-body .eyebrow::after { display: none; }
.hero-tool-body h2 { margin-bottom: .35rem; font-size: clamp(1.35rem, 2vw, 1.65rem); }
.hero-tool-body > p:not(.eyebrow):not(.hero-tool-note) { margin-bottom: 1rem; font-size: .92rem; color: var(--muted); }
.route-precheck { display: grid; gap: .2rem; }
.route-precheck label { margin-bottom: .7rem; font-size: .82rem; }
.route-precheck input, .route-precheck select { margin-top: .25rem; padding: .58rem .7rem; }
.route-precheck-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.route-precheck .btn { width: 100%; margin-top: .1rem; }
.hero-tool-note { margin: .75rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }

/* ---------- page hero ---------- */
.page-hero { background: linear-gradient(180deg, var(--bg-blue) 0%, #fff 100%); padding: clamp(36px, 4.5vw, 60px) 0 clamp(30px, 4vw, 46px); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 22em; }
.page-hero .lead { max-width: 46em; margin-bottom: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem; font-size: .85rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--orange-dark); }

/* ---------- grids ---------- */
.grid-2, .grid-3, .grid-4 { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.split-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; }
.split-media img { width: 100%; }
.split-copy h2 { margin-top: 0; }
.split-copy > :last-child { margin-bottom: 0; }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card.pad { padding: clamp(20px, 2.4vw, 30px); }
.feature-card { padding: clamp(22px, 2.4vw, 30px); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card p:last-child { margin-bottom: 0; }
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 1rem;
  background: var(--orange-soft); color: var(--orange-dark); border-radius: 10px;
}
.icon-badge svg { width: 24px; height: 24px; }

.product-card, .family-card { display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover, .family-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-media { display: block; aspect-ratio: 4 / 3; background: var(--bg-soft); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: clamp(18px, 2.2vw, 26px); display: flex; flex-direction: column; flex: 1; }
.product-body h2, .product-body h3 { margin-bottom: .35rem; }
.product-body h2 a, .product-body h3 a { color: inherit; }
.product-body h2 a:hover, .product-body h3 a:hover { color: var(--orange-dark); }
.product-body p { font-size: .96rem; }
.product-body .tick-list { margin-bottom: 1.2rem; }
.product-body > :nth-last-child(1) { margin-top: auto; align-self: flex-start; }

.tick-list { list-style: none; margin: 0 0 1.1rem; padding: 0; }
.tick-list li { position: relative; padding-left: 1.7rem; font-size: .96rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: .95em; height: .55em;
  border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(-45deg);
}
.tick-list.two-col { columns: 2; column-gap: 2rem; }
.tick-list.two-col li { break-inside: avoid; }

/* ---------- stat band ---------- */
.stat-band { background: var(--navy-deep); color: #fff; padding: clamp(38px, 4.5vw, 56px) 0; }
.stat-band .grid-4, .stat-band .grid-3 { gap: clamp(20px, 3vw, 44px); }
.stat strong { display: block; font-size: clamp(1.45rem, 2.3vw, 1.9rem); font-weight: 700; color: var(--orange); letter-spacing: -.01em; }
.stat span { display: block; margin-top: .35rem; font-size: .92rem; color: #b9c6da; line-height: 1.5; }

/* ---------- applications ---------- */
.app-grid .app-card {
  display: flex; flex-direction: column; gap: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  color: inherit; transition: transform .2s ease, box-shadow .2s ease;
}
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.app-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.app-card > div { padding: 1.1rem 1.3rem 1.3rem; }
.app-card h3 { margin-bottom: .3rem; font-size: 1.05rem; }
.app-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.app-card-cta { justify-content: center; background: var(--navy); color: #fff; border-color: var(--navy); }
.app-card-cta h3 { color: #fff; }
.app-card-cta p { color: #b9c6da; margin-bottom: 1rem; }
.app-card-cta .text-link { color: var(--orange); }

.anchor-bar { position: sticky; top: 78px; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.anchor-bar .container { display: flex; gap: .4rem; overflow-x: auto; padding-top: .55rem; padding-bottom: .55rem; }
.anchor-bar a {
  display: inline-flex; align-items: center; gap: .4rem; flex: none;
  padding: .4rem .8rem; border-radius: 999px;
  font-size: .88rem; font-weight: 600; color: var(--navy); background: var(--bg-soft);
}
.anchor-bar a:hover { background: var(--orange-soft); color: var(--orange-dark); }
.anchor-bar svg { width: 1.05em; height: 1.05em; color: var(--orange); }
.anchor-bar .anchor-rfq { margin-inline-start: auto; background: var(--navy); color: #fff; }
.anchor-bar .anchor-rfq:hover { background: var(--orange-dark); color: #fff; }
.highlight-bar {
  display: flex; align-items: center; gap: .6rem; margin: 1.2rem 0 1.4rem;
  padding: .75rem 1rem; background: var(--orange-soft); border-radius: var(--radius-sm);
  font-size: .94rem; font-weight: 600; color: var(--navy);
}
.highlight-bar svg { color: var(--orange-dark); }

/* ---------- steps / layers ---------- */
.steps, .layer-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 30px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li, .layer-list li { position: relative; margin: 0; padding-top: 3.4rem; }
.step-number {
  position: absolute; top: 0; left: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: var(--navy); color: #fff; border-radius: 50%;
  font-size: 1rem; font-weight: 700;
}
.steps li h3, .layer-list li h3 { margin-bottom: .35rem; font-size: 1.06rem; }
.steps li p, .layer-list li p { margin: 0; font-size: .95rem; color: var(--muted); }
.steps li::after, .layer-list li::after {
  content: ""; position: absolute; left: 54px; top: 21px; right: -10px; height: 1px; background: var(--line);
}
.steps li:last-child::after, .layer-list li:last-child::after { display: none; }

/* ---------- spec grid ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-grid > div { padding: 1.1rem 1.25rem; background: #fff; }
.spec-grid dt { font-size: .82rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.spec-grid dd { margin: 0; font-size: 1rem; font-weight: 600; color: var(--navy-deep); }
.spec-grid-single { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .92rem; }
.data-table th, .data-table td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { position: sticky; top: 0; background: var(--navy); color: #fff; font-weight: 600; font-size: .84rem; letter-spacing: .02em; }
.data-table tbody tr:nth-child(even) { background: #fafbfd; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody th { font-weight: 650; color: var(--navy-deep); background: var(--bg-soft); }
.data-table td { font-variant-numeric: tabular-nums; }
.data-table td:first-child { font-weight: 650; color: var(--navy-deep); }
.compare-table { min-width: 760px; }
.compare-title { margin: 1.8rem 0 .8rem; font-size: 1.05rem; }
.compare-title:first-of-type { margin-top: 0; }
.table-hint { margin: .7rem 0 0; font-size: .85rem; color: var(--muted); }
.table-block { margin-top: clamp(26px, 3.5vw, 40px); }
.table-block:first-of-type { margin-top: 0; }
.table-title { margin: 0 0 .7rem; font-size: 1.05rem; }
.table-block > .muted { margin: .7rem 0 0; }
.table-block > .eyebrow { margin-bottom: .5rem; }

/* ---------- photo gallery ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 30px); align-items: start; }
.photo-grid figure { margin: 0; }
.photo-grid img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.photo-grid figcaption { margin-top: .8rem; font-size: .92rem; color: var(--muted); }
.photo-grid-square img { aspect-ratio: 1 / 1; object-fit: contain; }
/* ---------- language switch ---------- */
.lang-switch { display: flex; align-items: center; gap: .35rem; font-size: .85rem; }
.lang-switch a { padding: .25rem .5rem; border-radius: 999px; color: var(--muted); font-weight: 650; text-decoration: none; }
.lang-switch a:hover { background: var(--bg-blue); color: var(--navy); }
.lang-switch a.is-active { background: var(--navy); color: #fff; }

/* ---------- right-to-left (Arabic) ---------- */
[dir="rtl"] body { line-height: 1.85; }
[dir="rtl"] ul, [dir="rtl"] ol { padding-left: 0; padding-right: 1.1em; }
[dir="rtl"] .skip-link { left: auto; right: -9999px; }
[dir="rtl"] .skip-link:focus { left: auto; right: 12px; }
[dir="rtl"] .hidden-field { left: auto; right: -9999px; }
[dir="rtl"] .tick-list li { padding-left: 0; padding-right: 1.7rem; }
[dir="rtl"] .tick-list li::before { left: auto; right: 0; }
[dir="rtl"] .next-steps li { padding-left: 0; padding-right: 2.1rem; }
[dir="rtl"] .next-steps li::before { left: auto; right: 0; }
[dir="rtl"] .steps li::after, [dir="rtl"] .layer-list li::after { left: -10px; right: 54px; }
[dir="rtl"] .data-table th, [dir="rtl"] .data-table td { text-align: right; }
[dir="rtl"] .inline-icon { margin-right: 0; margin-left: .35em; }
[dir="rtl"] .subnav { left: auto; right: -.9rem; }
[dir="rtl"] .text-link svg { transform: scaleX(-1); }
[dir="rtl"] .text-link:hover svg { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .wa-float { right: auto; left: 20px; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }
[dir="rtl"] .data-table th, [dir="rtl"] .spec-grid dt { letter-spacing: 0; }
@media (max-width: 900px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: 1fr; } }
.section-figure { margin: 0 0 clamp(26px, 3.5vw, 40px); }
.section-figure img { display: block; width: 100%; max-width: 760px; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.section-figure figcaption { margin-top: .7rem; max-width: 760px; font-size: .92rem; color: var(--muted); }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 0; cursor: pointer; list-style: none;
  font-weight: 620; font-size: 1.04rem; color: var(--navy-deep);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  font-size: 1.4rem; font-weight: 400; color: var(--orange);
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: "–"; transform: none; }
.faq-body { padding-bottom: 1.2rem; }
.faq-body p { margin: 0; color: #3b4a5f; }

/* ---------- cta band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy-soft) 100%); color: #fff; padding: clamp(42px, 5vw, 66px) 0; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem; }
.cta-inner h2 { color: #fff; margin-bottom: .35rem; }
.cta-inner p { margin: 0; max-width: 44em; color: #c3cfe1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #93a3bd; padding: clamp(42px, 5vw, 62px) 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: clamp(22px, 3vw, 44px); }
.footer-brand img { height: 38px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 30em; }
.site-footer h2 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: #b9c6da; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact svg { width: 1.15em; height: 1.15em; margin-top: .25em; color: var(--orange); }
.footer-wa { display: inline-flex; align-items: center; gap: .5rem; margin-top: .4rem; font-weight: 600; color: var(--orange) !important; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem;
  margin-top: clamp(28px, 4vw, 44px); padding-top: 1.2rem; padding-bottom: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12); font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- forms ---------- */
.contact-layout { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
.inquiry-form h2 { margin-bottom: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; margin-bottom: 1rem; font-size: .9rem; font-weight: 600; color: var(--navy-deep); }
input, select, textarea {
  display: block; width: 100%; margin-top: .35rem;
  padding: .7rem .8rem;
  font: inherit; font-size: .97rem; font-weight: 400; color: var(--ink);
  background: #fff; border: 1px solid #ccd6e3; border-radius: var(--radius-sm);
  transition: border-color .16s ease, box-shadow .16s ease;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(238, 138, 42, .16); }
textarea { resize: vertical; }
.form-status { margin: .9rem 0 0; font-size: .93rem; font-weight: 600; }
.form-status.is-ok { color: #1c7a4b; }
.form-status.is-error { color: #b4232a; }

.contact-aside { display: grid; gap: clamp(16px, 2vw, 22px); }
.contact-aside h2 { font-size: 1.06rem; margin-bottom: .7rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.contact-list svg { width: 1.2em; height: 1.2em; margin-top: .25em; color: var(--orange); }
.next-steps { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.next-steps li { position: relative; padding-left: 2.1rem; margin-bottom: .9rem; }
.next-steps li::before {
  counter-increment: n; content: counter(n);
  position: absolute; left: 0; top: .1em;
  width: 1.5rem; height: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-blue); color: var(--navy); border-radius: 50%;
  font-size: .82rem; font-weight: 700;
}
.next-steps strong { display: block; font-size: .96rem; color: var(--navy-deep); }
.next-steps span { font-size: .92rem; color: var(--muted); }

/* ---------- misc blocks ---------- */
.notice { display: flex; gap: 1.2rem; align-items: flex-start; }
.notice .icon-badge { margin-bottom: 0; flex: none; }
.notice h2 { font-size: 1.2rem; }
.notice p { margin-bottom: 1rem; }
.notice > div > :last-child { margin-bottom: 0; }

.product-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 3.5vw, 52px); align-items: center; }
.product-hero-media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.product-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mini-block { margin-bottom: 1.3rem; }
.mini-block h3 { margin-bottom: .25rem; font-size: 1.02rem; }
.mini-block p { margin: 0; color: var(--muted); font-size: .95rem; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cert-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 2rem; margin: 0; padding: 0; list-style: none; }
.cert-list li { display: flex; gap: .6rem; align-items: flex-start; margin: 0; font-size: .98rem; font-weight: 550; }
.cert-list svg { width: 1.2em; height: 1.2em; margin-top: .22em; color: #1c7a4b; }
.legal-block { margin-bottom: 2rem; }
.legal-block h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.legal-block p { margin-bottom: 0; color: #3b4a5f; }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.1rem;
  background: #25d366; color: #06281a; border-radius: 999px;
  font-size: .92rem; font-weight: 650;
  box-shadow: 0 8px 24px rgba(6, 40, 26, .22);
}
.wa-float:hover { background: #1fbe5b; color: #06281a; }
.wa-float svg { width: 1.35em; height: 1.35em; stroke-width: 1.5; }

/* ---------- reveal ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .layer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2)::after, .layer-list li:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-layout { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 80px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: 78px 0 auto; z-index: 55;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100vh - 78px); overflow-y: auto;
    padding: 1rem 24px 1.6rem;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li > a { padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav > ul > li.is-active > a { border-bottom-color: var(--line); }
  .subnav { position: static; display: block; min-width: 0; margin: .2rem 0 .6rem .8rem; padding: 0; border: 0; box-shadow: none; }
  .subnav a { padding: .4rem .6rem; font-size: .92rem; color: var(--muted); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: .7rem; margin-top: 1.2rem; }
  .nav-phone { justify-content: center; padding: .6rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .anchor-bar { top: 78px; }
  .hero-inner, .split, .product-hero, .split-reverse { grid-template-columns: 1fr; }
  .hero-tool { max-width: 620px; }
  .split-reverse .split-media { order: 2; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-grid, .spec-grid-single { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4, .gallery, .cert-list { grid-template-columns: 1fr; }
  .steps, .layer-list { grid-template-columns: 1fr; }
  .steps li::after, .layer-list li::after { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .tick-list.two-col { columns: 1; }
  .spec-grid, .spec-grid-single { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .wa-float span { display: none; }
  .wa-float { padding: .8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .route-precheck-row { grid-template-columns: 1fr; gap: 0; }
  .hero-tool-media { height: 180px; }
}

@media print {
  .site-header, .site-footer, .cta-band, .wa-float, .anchor-bar { display: none; }
  a { color: inherit; }
  .section { padding: 20px 0; }
}
