:root {
  --ink: #0b0f14;
  --text: #111827;
  --heading: #0b0f14;
  --muted: #526071;
  --line: #d1dbe7;
  --line-dark: rgba(255, 255, 255, 0.12);
  --surface: #ffffff;
  --panel: #ffffff;
  --background: #eef3f8;
  --brand-blue: #009fe3;
  --blue: #0077b6;
  --blue-bright: #26b6f1;
  --blue-wash: #e4f3fb;
  --section-tint: #e8f2f8;
  --section-accent: #deebf3;
  --map-surface: #e0e8f1;
  --whatsapp: #25d366;
  --whatsapp-dark: #129547;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 17px;
  --shadow-soft: 0 18px 44px rgba(15, 28, 49, 0.07);
  --shadow-lift: 0 28px 72px rgba(7, 18, 36, 0.12);
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--background);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-visible {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

p,
h1,
h2,
h3,
ul,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 3px solid rgba(0, 122, 255, 0.48);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: clamp(72px, 8vw, 112px) 0;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.reveal-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

main section[id]:not(#inicio) {
  scroll-margin-top: 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

.eyebrow-dark {
  color: #64c9ff;
}

h1,
h2,
h3 {
  color: var(--heading);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

h2 {
  max-width: 760px;
  font-size: clamp(2rem, 3.5vw, 3.15rem);
}

.section-head {
  margin-bottom: clamp(38px, 5vw, 56px);
}

.section-head p:not(.eyebrow) {
  max-width: 580px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-head.split {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(270px, 430px);
  align-items: end;
  gap: 48px;
}

.section-head.split p:not(.eyebrow) {
  margin-top: 0;
}

.section-head.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-whatsapp {
  color: #062d16;
  background: var(--whatsapp);
  box-shadow: 0 14px 28px rgba(37, 211, 102, 0.25);
}

.button-whatsapp:hover {
  background: #35df76;
  box-shadow: 0 17px 32px rgba(37, 211, 102, 0.34);
}

.wa-dot {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
}

.wa-dot::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: inherit;
  background: var(--whatsapp-dark);
}

.button-primary {
  color: white;
  background: var(--ink);
}

.button-primary:hover {
  background: #1c2635;
  box-shadow: 0 14px 30px rgba(11, 15, 20, 0.18);
}

.button-quiet,
.button-secondary {
  border-color: var(--line);
  color: var(--text);
  background: white;
}

.button-quiet:hover,
.button-secondary:hover {
  border-color: #ccd5e1;
  box-shadow: var(--shadow-soft);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.announcement {
  background: var(--ink);
  color: #e9edf3;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.announcement .container {
  display: flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
}

.announcement .notice-divider {
  color: #5f6f83;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(245, 247, 250, 0.58);
  backdrop-filter: blur(18px);
  transition:
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(227, 232, 239, 0.9);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 25px rgba(12, 24, 41, 0.04);
}

.nav-shell {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  color: var(--ink);
  font-size: 1.74rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.brand span {
  margin-right: 1px;
  color: var(--blue);
}

.brand-logo {
  align-items: center;
  line-height: 0;
}

.brand-logo img {
  display: block;
  width: clamp(138px, 12.5vw, 164px);
  height: auto;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navigation ul {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 22px);
}

.navigation li a {
  display: block;
  padding: 10px 0;
  color: #394355;
  font-size: 0.88rem;
  font-weight: 650;
  transition: color 160ms ease;
}

.navigation li a:hover {
  color: var(--blue);
}

.nav-action {
  min-height: 48px;
  padding: 12px 19px;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
}

.mobile-menu-brand {
  display: none;
}

.hero {
  display: flex;
  min-height: max(760px, calc(100svh - 125px));
  align-items: center;
  overflow: hidden;
  padding: clamp(56px, 7vw, 90px) 0 clamp(74px, 9vw, 118px);
  background:
    radial-gradient(circle at 82% 32%, rgba(14, 165, 233, 0.12), transparent 32%),
    radial-gradient(circle at 12% 9%, rgba(0, 122, 255, 0.06), transparent 30%),
    var(--background);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 32px;
}

.hero-copy {
  grid-column: span 6;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(2.8rem, 5.2vw, 4.85rem);
}

.hero-lead {
  max-width: 565px;
  margin: 25px 0 34px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}

.hero .actions {
  gap: 10px;
}

.hero .actions .button {
  padding-inline: 18px;
  font-size: 0.92rem;
}

.hero .actions .button-quiet {
  padding-inline: 10px;
}

.hero-note {
  display: flex;
  max-width: 515px;
  gap: 13px;
  align-items: baseline;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-note strong {
  flex-shrink: 0;
  color: var(--text);
}

.hero-visual {
  position: relative;
  display: flex;
  min-height: 578px;
  grid-column: span 6;
  align-items: center;
  justify-content: center;
}

.hero-visual::before {
  position: absolute;
  width: min(100%, 528px);
  height: 528px;
  content: "";
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.94) 0 46%, transparent 47%),
    repeating-radial-gradient(circle, #dae4f0 0 1px, transparent 1px 42px);
}

.device-laptop {
  position: absolute;
  top: 175px;
  right: 42px;
  width: min(410px, 73%);
}

.laptop-screen {
  position: relative;
  height: 248px;
  overflow: hidden;
  border: 8px solid #202733;
  border-radius: 18px 18px 9px 9px;
  padding: 24px;
  color: #d8e6f7;
  background:
    linear-gradient(130deg, rgba(0, 122, 255, 0.23), transparent 47%),
    #101720;
  box-shadow: 0 27px 52px rgba(5, 11, 21, 0.29);
}

.laptop-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 27px 27px;
}

.status {
  position: relative;
  z-index: 1;
  color: #72cfff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.trace {
  position: relative;
  z-index: 1;
  display: block;
  width: 90%;
  height: 48px;
  margin: 28px 0 18px;
  border-bottom: 2px solid #0ea5e9;
  clip-path: polygon(0 78%, 18% 78%, 29% 40%, 39% 84%, 49% 60%, 56% 78%, 72% 78%, 80% 18%, 89% 78%, 100% 78%, 100% 100%, 0 100%);
  background: rgba(14, 165, 233, 0.26);
}

.screen-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
}

.screen-grid small {
  color: #7a8a9f;
}

.screen-grid strong {
  color: #ffffff;
  font-size: 0.93rem;
}

.laptop-base {
  display: block;
  height: 13px;
  transform: perspective(14px) rotateX(-5deg);
  border-radius: 0 0 48px 48px;
  background: linear-gradient(180deg, #d5dce4, #aab4bf);
}

.device-phone {
  position: absolute;
  top: 83px;
  left: 52px;
  width: 151px;
  height: 306px;
  border: 6px solid #161e28;
  border-radius: 32px;
  padding: 14px;
  color: white;
  background:
    radial-gradient(circle at 72% 27%, #087ee7, transparent 37%),
    linear-gradient(155deg, #1b283c, #070b10 70%);
  box-shadow: 0 24px 44px rgba(6, 11, 18, 0.27);
}

.phone-notch {
  display: block;
  width: 53px;
  height: 15px;
  margin: 0 auto;
  border-radius: 12px;
  background: #090d12;
}

.phone-status {
  display: flex;
  height: calc(100% - 15px);
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  padding-bottom: 11px;
}

.phone-status small {
  color: #8ca1bc;
  font-size: 0.68rem;
}

.phone-status strong {
  font-size: 0.89rem;
}

.phone-status span {
  margin-top: 8px;
  border-radius: 999px;
  padding: 6px;
  color: #061b2b;
  background: #72cfff;
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
}

.floating-card {
  position: absolute;
  display: flex;
  width: 182px;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(224, 231, 241, 0.9);
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 43px rgba(18, 33, 55, 0.11);
}

.floating-card span {
  color: var(--blue);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.floating-card strong {
  font-size: 0.95rem;
}

.floating-card small {
  color: var(--muted);
}

.tools {
  right: 23px;
  bottom: 90px;
}

.accessory {
  left: 78px;
  bottom: 50px;
}

.trust {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.trust-item {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  border-right: 1px solid var(--line);
  padding: 20px clamp(18px, 3vw, 35px);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  color: var(--blue);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.trust-item span {
  color: #444d5d;
  font-size: 0.9rem;
  font-weight: 600;
}

.services {
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  display: flex;
  min-height: 284px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--surface);
  transition:
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #d4e4f8;
  box-shadow: var(--shadow-soft);
}

.service-icon {
  display: inline-flex;
  width: 47px;
  height: 47px;
  align-items: center;
  justify-content: center;
  margin-bottom: 27px;
  border-radius: 14px;
  color: var(--blue);
  background: var(--blue-wash);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  letter-spacing: -0.04em;
}

.service-card p {
  flex: 1;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-card a,
.symptom-card a {
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-card a span,
.symptom-card a span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 160ms ease;
}

.service-card:hover a span,
.symptom-card:hover a span {
  transform: translateX(5px);
}

.process {
  background: var(--background);
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.process-grid::before {
  position: absolute;
  top: 40px;
  right: 14%;
  left: 14%;
  height: 1px;
  content: "";
  background: #dbe4ef;
}

.process-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-step > span {
  z-index: 1;
  display: inline-flex;
  width: 82px;
  height: 82px;
  align-items: center;
  justify-content: center;
  margin-bottom: 29px;
  border: 1px solid #d8e5f4;
  border-radius: 50%;
  color: var(--blue);
  background: var(--surface);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.process-step h3 {
  margin-bottom: 13px;
  font-size: 1.38rem;
}

.process-step p {
  max-width: 335px;
  color: var(--muted);
}

.advanced {
  color: #d7deea;
  background: var(--ink);
}

.advanced-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 76px);
}

.advanced-copy {
  grid-column: span 5;
}

.advanced-copy h2 {
  margin-bottom: 20px;
  color: white;
}

.advanced-copy p:not(.eyebrow) {
  margin-bottom: 35px;
  color: #99a6b8;
  font-size: 1.04rem;
}

.diagnostic-console {
  overflow: hidden;
  grid-column: span 7;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-xl);
  padding: 24px;
  background:
    radial-gradient(circle at 13% 6%, rgba(0, 122, 255, 0.2), transparent 37%),
    #111821;
}

.console-header {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #90a0b4;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.console-header small {
  margin-left: auto;
  color: #667487;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #29dc73;
  box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.12);
}

.signal-track {
  height: 92px;
  margin: 35px 0;
  border-radius: 13px;
  background-image:
    linear-gradient(rgba(109, 130, 158, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(109, 130, 158, 0.11) 1px, transparent 1px);
  background-size: 24px 24px;
}

.signal-track span {
  display: block;
  height: 100%;
  clip-path: polygon(0 58%, 15% 58%, 20% 30%, 27% 74%, 34% 58%, 51% 58%, 57% 12%, 63% 72%, 70% 58%, 85% 58%, 90% 38%, 94% 58%, 100% 58%, 100% 62%, 0 62%);
  background: var(--blue-bright);
  filter: drop-shadow(0 0 7px rgba(14, 165, 233, 0.8));
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.capability-grid span {
  display: flex;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  padding: 12px;
  color: #dbe5f2;
  font-size: 0.76rem;
  font-weight: 600;
}

.capability-grid small {
  color: #60bfff;
  font-size: 0.6rem;
  font-weight: 800;
}

.symptoms {
  background: white;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.symptom-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 5px 18px rgba(11, 15, 20, 0.045);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.symptom-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 122, 255, 0.17);
  box-shadow: 0 20px 42px rgba(11, 15, 20, 0.11);
}

.symptom-image {
  position: relative;
  height: 170px;
  overflow: hidden;
  margin: 0;
  background: #dce7ee;
}

.symptom-image::after {
  position: absolute;
  inset: 48% 0 0;
  content: "";
  background: linear-gradient(180deg, rgba(11, 15, 20, 0), rgba(11, 15, 20, 0.14));
}

.symptom-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.symptom-card:hover .symptom-image img {
  transform: scale(1.055);
}

.symptom-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 21px 21px 23px;
}

.symptom-card h3 {
  margin-bottom: 10px;
  font-size: 1.06rem;
}

.symptom-card p {
  flex: 1;
  min-height: 90px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.store {
  background: var(--background);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 11px 11px 20px;
  background: white;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.product-image {
  position: relative;
  display: flex;
  height: 180px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 17px;
}

.product-image::before {
  position: absolute;
  width: 126px;
  height: 126px;
  content: "";
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.product-image span {
  position: relative;
  display: block;
  width: 53px;
  height: 78px;
  border: 2px solid rgba(12, 24, 41, 0.2);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.55);
}

.tone-1 {
  background: linear-gradient(140deg, #edf5ff, #dfeaff);
}

.tone-2 {
  background: linear-gradient(140deg, #eff1f5, #e1e7ee);
}

.tone-3 {
  background: linear-gradient(140deg, #eaf7f2, #dfeee8);
}

.tone-4 {
  background: linear-gradient(140deg, #edf7fb, #e1f0f6);
}

.product-card > p,
.product-card-link > p {
  padding: 0 9px;
  color: var(--blue);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 8px 9px 19px;
  font-size: 1.03rem;
}

.product-purchase {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 9px;
}

.product-purchase strong {
  font-size: 1.08rem;
}

.product-purchase a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #07552a;
  background: #ddf9e7;
  font-size: 0.79rem;
  font-weight: 700;
}

.availability {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding-inline: 12px;
  color: #536174;
  background: #f1f4f8;
  font-size: 0.79rem;
  font-weight: 700;
}

.certified {
  background: white;
}

.certified-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 70px);
  align-items: center;
}

.certified-layout .section-head {
  margin-bottom: 0;
}

.certified-layout .button {
  margin-top: 32px;
}

.certified-cards {
  display: grid;
  gap: 14px;
}

.certified-cards article {
  display: grid;
  grid-template-columns: 108px 1fr;
  grid-template-rows: auto auto;
  column-gap: 25px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 23px 26px;
}

.certified-cards article > span {
  display: inline-flex;
  height: 58px;
  grid-row: span 2;
  align-items: center;
  justify-content: center;
  align-self: center;
  border-radius: 14px;
  color: var(--blue);
  background: var(--blue-wash);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.certified-cards h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.certified-cards p {
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonials {
  background: var(--background);
}

.sample-label {
  border: 1px solid #e2e7ef;
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 0.83rem !important;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 27px 24px;
  background: white;
}

.stars {
  margin-bottom: 21px;
  color: #e7a92d;
  font-size: 0.83rem;
  letter-spacing: 0.17em;
}

.testimonial-card blockquote {
  min-height: 126px;
  margin-bottom: 27px;
  color: #364152;
  font-size: 0.94rem;
}

.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.testimonial-card figcaption strong {
  font-size: 0.9rem;
}

.testimonial-card figcaption span {
  color: var(--muted);
  font-size: 0.79rem;
}

.guides {
  background: white;
}

.text-link {
  color: var(--blue);
  font-weight: 700;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.guide-card {
  display: flex;
  min-height: 256px;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-lg);
  padding: 25px;
  background: #f5f7fa;
}

.guide-card.featured {
  grid-column: span 2;
  background:
    linear-gradient(125deg, rgba(0, 122, 255, 0.08), transparent 48%),
    #f5f7fa;
}

.guide-card > span {
  margin-bottom: auto;
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.guide-card h3 {
  margin-bottom: 11px;
  font-size: 1.17rem;
}

.guide-card p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.guide-card a {
  color: var(--blue);
  font-size: 0.87rem;
  font-weight: 700;
}

.contact {
  background: var(--background);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 82px);
  align-items: center;
}

.contact-grid .section-head {
  margin-bottom: 0;
}

.contact-details {
  display: grid;
  gap: 18px;
  margin-top: 38px;
}

.contact-details div {
  display: grid;
  gap: 3px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.contact-details dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-details dd {
  font-weight: 600;
}

.contact-details a {
  color: var(--blue);
}

.contact-socials {
  margin-top: 30px;
}

.contact-socials > p {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px 11px 12px;
  color: var(--text);
  background: var(--panel);
  font-size: 0.91rem;
  font-weight: 700;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.social-button:hover {
  transform: translateY(-2px);
  border-color: #afc4d7;
  box-shadow: var(--shadow-soft);
}

.social-button span {
  display: inline-flex;
  width: 27px;
  height: 27px;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.social-button.instagram span {
  background: linear-gradient(135deg, #f58529, #dd2a7b 54%, #515bd4);
}

.social-button.tiktok span {
  background: #10161e;
  box-shadow: inset 2px 0 #25f4ee, inset -2px 0 #fe2c55;
}

.contact-button {
  margin-top: 30px;
}

.map-placeholder {
  position: relative;
  min-height: 474px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--map-surface);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(151, 167, 185, 0.2) 2px, transparent 2px),
    linear-gradient(rgba(151, 167, 185, 0.2) 2px, transparent 2px);
  background-size: 94px 94px;
}

.map-placeholder::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(112deg, transparent 25%, rgba(255, 255, 255, 0.55) 26% 29%, transparent 30%),
    linear-gradient(10deg, transparent 49%, rgba(255, 255, 255, 0.58) 50% 54%, transparent 55%);
}

.pin {
  position: absolute;
  z-index: 2;
  top: 44%;
  left: 54%;
  width: 28px;
  height: 28px;
  transform: rotate(45deg);
  border-radius: 50% 50% 50% 0;
  background: var(--blue);
  box-shadow: 0 15px 25px rgba(0, 122, 255, 0.24);
}

.pin::after {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 12px;
  height: 12px;
  content: "";
  border-radius: 50%;
  background: white;
}

.map-label {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 17px 19px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.map-label span {
  color: var(--muted);
  font-size: 0.88rem;
}

.final-cta {
  padding-top: 0;
  background: var(--background);
}

.final-cta-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius-xl);
  padding: clamp(54px, 7vw, 78px) 24px;
  background:
    radial-gradient(circle at 50% -10%, rgba(14, 165, 233, 0.2), transparent 46%),
    var(--ink);
  text-align: center;
}

.final-cta-panel h2 {
  max-width: 850px;
  margin-bottom: 35px;
  color: white;
}

.final-cta-panel .button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
  background: transparent;
}

.site-footer {
  padding: 64px 0 27px;
  color: #b9c3d1;
  background: #080c11;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 42px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-light {
  margin-bottom: 17px;
  color: white;
}

.brand-light.brand-logo img {
  width: clamp(166px, 15vw, 196px);
}

.footer-brand p {
  max-width: 320px;
  color: #8995a8;
  font-size: 0.91rem;
}

.footer-grid h2 {
  margin-bottom: 19px;
  color: white;
  font-size: 0.83rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid div:not(.footer-brand) a {
  display: block;
  margin-bottom: 10px;
  color: #a8b3c2;
  font-size: 0.91rem;
  transition: color 160ms ease;
}

.footer-grid div:not(.footer-brand) a:hover {
  color: white;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 25px;
  color: #758297;
  font-size: 0.8rem;
}

.floating-whatsapp {
  position: fixed;
  z-index: 25;
  top: 50%;
  right: 0;
  display: flex;
  min-height: 56px;
  align-items: center;
  gap: 10px;
  border-radius: 999px 0 0 999px;
  padding: 8px 17px 8px 9px;
  color: #062d16;
  background: var(--whatsapp);
  box-shadow: 0 16px 34px rgba(23, 126, 63, 0.32);
  font-size: 0.92rem;
  transform: translateY(-50%);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.floating-whatsapp:hover {
  transform: translate(-4px, -50%);
  box-shadow: 0 20px 38px rgba(23, 126, 63, 0.38);
}

.floating-whatsapp span {
  display: inline-flex;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #0a7335;
  background: white;
  font-size: 0.7rem;
  font-weight: 800;
}

.theme-toggle {
  position: fixed;
  z-index: 25;
  bottom: 22px;
  left: 22px;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px 8px 9px;
  color: var(--text);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  border-color: #afc4d7;
}

.theme-toggle-icon {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #122132;
}

.theme-toggle-icon::after {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 18px;
  height: 18px;
  content: "";
  border-radius: 50%;
  background: #ffcb5c;
}

[data-theme="dark"] .theme-toggle-icon {
  background: #dbeafa;
}

[data-theme="dark"] .theme-toggle-icon::after {
  top: 4px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #172331;
}

@media (max-width: 1100px) {
  .navigation {
    gap: 17px;
  }

  .mobile-menu-brand {
    position: absolute;
    top: 25px;
    left: 24px;
    display: block;
    line-height: 0;
  }

  .mobile-menu-brand img {
    width: 150px;
    height: auto;
  }

  .navigation ul {
    gap: 13px;
  }

  .nav-action {
    padding-inline: 15px;
  }

  .hero-grid {
    gap: 0;
  }

  .device-phone {
    left: 12px;
  }

  .device-laptop {
    right: 0;
  }

  .tools {
    right: 0;
  }

  .accessory {
    left: 35px;
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  body.menu-visible .site-header {
    border-bottom-color: transparent;
    background: transparent;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .nav-shell {
    min-height: 74px;
  }

  .menu-toggle {
    position: relative;
    z-index: 24;
    display: inline-flex;
    width: 47px;
    height: 47px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 3px;
    background: var(--ink);
    transition: transform 180ms ease;
  }

  .menu-toggle.is-open span:first-child {
    transform: translateY(4.5px) rotate(45deg);
  }

  .menu-toggle.is-open span:last-child {
    transform: translateY(-4.5px) rotate(-45deg);
  }

  .navigation {
    position: fixed;
    z-index: 22;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(420px, 92vw);
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    border-left: 1px solid var(--line);
    padding: clamp(96px, 14vh, 118px) 24px max(26px, env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 100% 0%, rgba(0, 159, 227, 0.09), transparent 33%),
      white;
    box-shadow: var(--shadow-lift);
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    overflow-y: auto;
    transition:
      clip-path 260ms cubic-bezier(0.2, 0.7, 0.2, 1),
      visibility 260ms ease;
  }

  .navigation.is-open {
    clip-path: inset(0);
    visibility: visible;
  }

  .navigation ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-content: start;
    gap: 8px;
  }

  .navigation li a {
    display: flex;
    min-height: 54px;
    align-items: center;
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--ink);
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.25;
  }

  .navigation li a:hover,
  .navigation li a:focus-visible {
    border-color: #d5ecf7;
    color: var(--blue);
    background: var(--blue-wash);
  }

  body.menu-visible::before {
    position: fixed;
    z-index: 19;
    inset: 0;
    content: "";
    background: rgba(7, 12, 18, 0.37);
  }

  body.menu-visible .floating-whatsapp {
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
  }

  .hero-copy {
    width: 100%;
  }

  .hero {
    min-height: unset;
  }

  .hero h1 {
    max-width: 720px;
  }

  .hero-visual {
    width: min(100%, 620px);
    min-height: 545px;
    margin-top: 48px;
  }

  .device-phone {
    left: 70px;
  }

  .device-laptop {
    right: 50px;
  }

  .accessory {
    left: 90px;
  }

  .tools {
    right: 32px;
  }

  .trust-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .trust-item {
    grid-column: span 2;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:nth-child(3) {
    border-right: 0;
  }

  .trust-item:nth-child(4) {
    grid-column: 2 / span 2;
    border-bottom: 0;
  }

  .trust-item:nth-child(5) {
    border-bottom: 0;
  }

  .services-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .symptom-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .advanced-grid,
  .contact-grid,
  .certified-layout {
    display: flex;
    flex-direction: column;
  }

  .advanced-copy {
    width: 100%;
  }

  .diagnostic-console,
  .map-placeholder {
    width: 100%;
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: span 3;
  }

  .floating-whatsapp {
    top: auto;
    right: 18px;
    bottom: 18px;
    border-radius: 999px;
    transform: none;
  }

  .floating-whatsapp:hover {
    transform: translateY(-3px);
  }
}

/* Theme layer: preserves the brand language while improving separation on dim displays. */
[data-theme="dark"] {
  color-scheme: dark;
  --text: #e7eff8;
  --heading: #f6f9fd;
  --muted: #afbed0;
  --line: #2d3b4b;
  --surface: #111a24;
  --panel: #17222e;
  --background: #0a1119;
  --blue: #67c9f2;
  --blue-wash: #142f40;
  --section-tint: #0e1822;
  --section-accent: #132330;
  --map-surface: #121f2a;
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.22);
  --shadow-lift: 0 28px 72px rgba(0, 0, 0, 0.34);
}

[data-theme="dark"] .site-header {
  background: rgba(10, 17, 25, 0.7);
}

[data-theme="dark"] .site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(12, 20, 29, 0.95);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .site-header .brand-logo img {
  content: url("../images/brand/irescate-logo-on-dark.png");
}

[data-theme="dark"] .navigation li a {
  color: #cfdae6;
}

[data-theme="dark"] .hero,
[data-theme="dark"] .subpage-hero,
[data-theme="dark"] .article-hero,
[data-theme="dark"] .catalog-hero {
  background:
    radial-gradient(circle at 82% 22%, rgba(0, 159, 227, 0.14), transparent 34%),
    var(--background);
}

[data-theme="dark"] .button-quiet,
[data-theme="dark"] .button-secondary,
[data-theme="dark"] .carousel-dot,
[data-theme="dark"] .filter-shell,
[data-theme="dark"] .filter-field select,
[data-theme="dark"] .theme-toggle,
[data-theme="dark"] .social-button,
[data-theme="dark"] .map-label,
[data-theme="dark"] .product-gallery-primary,
[data-theme="dark"] .related-grid a {
  border-color: var(--line);
  color: var(--text);
  background: var(--panel);
}

[data-theme="dark"] .services,
[data-theme="dark"] .guides,
[data-theme="dark"] .article-main,
[data-theme="dark"] .certified,
[data-theme="dark"] .store-first {
  background: var(--surface);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .symptom-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .certified-cards article,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .guide-card,
[data-theme="dark"] .media-card,
[data-theme="dark"] .shop-feature,
[data-theme="dark"] .shop-tile,
[data-theme="dark"] .shop-badge {
  border-color: var(--line);
  background: var(--panel);
}

[data-theme="dark"] .guide-card.featured {
  background:
    linear-gradient(125deg, rgba(103, 201, 242, 0.1), transparent 48%),
    var(--panel);
}

[data-theme="dark"] .sample-label {
  border-color: var(--line);
  background: var(--panel);
}

[data-theme="dark"] .trust-item span,
[data-theme="dark"] .article-content p,
[data-theme="dark"] .article-content li {
  color: var(--muted);
}

[data-theme="dark"] .map-placeholder {
  border-color: var(--line);
  background: var(--map-surface);
}

[data-theme="dark"] .map-grid {
  background-image:
    linear-gradient(90deg, rgba(108, 138, 164, 0.16) 2px, transparent 2px),
    linear-gradient(rgba(108, 138, 164, 0.16) 2px, transparent 2px);
}

[data-theme="dark"] .map-placeholder::after {
  background:
    linear-gradient(112deg, transparent 25%, rgba(74, 103, 127, 0.22) 26% 29%, transparent 30%),
    linear-gradient(10deg, transparent 49%, rgba(74, 103, 127, 0.22) 50% 54%, transparent 55%);
}

[data-theme="dark"] .product-image,
[data-theme="dark"] .shop-media::before {
  background: #172633;
}

[data-theme="dark"] .social-card {
  background: #050a10;
}

@media (max-width: 1024px) {
  [data-theme="dark"] .menu-toggle {
    border-color: var(--line);
    background: var(--panel);
  }

  [data-theme="dark"] .menu-toggle span {
    background: var(--heading);
  }

  [data-theme="dark"] .navigation {
    background:
      radial-gradient(circle at 100% 0%, rgba(0, 159, 227, 0.12), transparent 33%),
      var(--surface);
  }
}

@media (max-width: 700px) {
  .theme-toggle {
    bottom: 17px;
    left: 16px;
    padding-right: 12px;
  }

  .theme-toggle-label {
    display: none;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .announcement .container {
    min-height: 76px;
    flex-direction: column;
    gap: 0;
    padding-block: 8px;
    line-height: 1.35;
  }

  .announcement .notice-divider {
    display: none;
  }

  .brand {
    font-size: 1.58rem;
  }

  .navigation {
    width: 100vw;
    padding: 98px 18px max(24px, env(safe-area-inset-bottom));
  }

  .navigation ul {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .navigation li a {
    min-height: 52px;
    padding-inline: 17px;
  }

  .section {
    padding: 65px 0;
  }

  .section-head.split {
    display: block;
  }

  .section-head.split p:not(.eyebrow) {
    margin-top: 18px;
  }

  .hero {
    display: block;
    padding: 42px 0 62px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  .hero-lead {
    margin: 20px 0 28px;
  }

  .actions .button {
    width: 100%;
  }

  .hero-note {
    flex-direction: column;
    gap: 5px;
    margin-top: 29px;
  }

  .hero-visual {
    min-height: 424px;
    margin-top: 35px;
  }

  .hero-visual::before {
    width: 370px;
    height: 370px;
  }

  .device-laptop {
    top: 150px;
    right: 4%;
    width: 78%;
  }

  .laptop-screen {
    height: 184px;
    padding: 16px;
  }

  .trace {
    height: 34px;
    margin: 17px 0 10px;
  }

  .device-phone {
    top: 48px;
    left: 6%;
    width: 109px;
    height: 225px;
    border-radius: 26px;
    padding: 9px;
  }

  .phone-notch {
    width: 40px;
    height: 11px;
  }

  .phone-status strong,
  .phone-status small {
    font-size: 0.62rem;
  }

  .floating-card {
    width: 147px;
    padding: 12px;
  }

  .tools {
    right: 3%;
    bottom: 35px;
  }

  .accessory {
    left: 6%;
    bottom: 3px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-block: 0;
  }

  .trust-item {
    min-width: 0;
    grid-column: auto;
    border-bottom: 1px solid var(--line);
    padding-inline: 16px;
  }

  .trust-item:nth-child(3) {
    border-right: 1px solid var(--line);
  }

  .trust-item:nth-child(4) {
    grid-column: auto;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:nth-child(5) {
    grid-column: 1 / -1;
    border-bottom: 0;
    border-right: 0;
  }

  .services-grid,
  .process-grid,
  .symptom-grid,
  .products-grid,
  .testimonial-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: unset;
    padding: 25px;
  }

  .process-grid {
    gap: 34px;
  }

  .process-grid::before {
    display: none;
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .diagnostic-console {
    padding: 17px;
  }

  .symptom-card p,
  .testimonial-card blockquote {
    min-height: unset;
  }

  .symptom-image {
    height: 214px;
  }

  .product-image {
    height: 210px;
  }

  .certified-cards article {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .certified-cards article > span {
    width: max-content;
    height: auto;
    grid-row: auto;
    padding: 9px 14px;
  }

  .guide-card.featured {
    grid-column: auto;
  }

  .map-placeholder {
    min-height: 370px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 22px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    padding: 8px 9px 8px 8px;
  }

  .floating-whatsapp strong {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

@media (min-width: 1440px) {
  :root {
    --container: 1320px;
  }

  .hero h1 {
    font-size: 5.05rem;
  }

  .hero-visual {
    min-height: 640px;
  }
}

@media (min-width: 1600px) {
  :root {
    --container: 1380px;
  }
}

/* Enriched photography and motion layer: replace local images with official iRescate photos later. */
.hero-media {
  --hero-x: 0;
  --hero-y: 0;
  --hero-scroll: 0;
  isolation: isolate;
  min-height: 610px;
}

.hero-brand-stamp {
  position: absolute;
  z-index: 3;
  top: 54px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  padding: 7px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(0, 159, 227, 0.2);
  transform: translate3d(calc(var(--hero-x) * -12px), calc(var(--hero-y) * -10px + var(--hero-scroll) * -0.025px), 0);
  transition: transform 430ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-media::before {
  width: min(100%, 575px);
  height: 575px;
  background:
    radial-gradient(circle, rgba(14, 165, 233, 0.12) 0, transparent 61%),
    repeating-radial-gradient(circle, #dae4f0 0 1px, transparent 1px 43px);
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: min(472px, 78%);
  height: 518px;
  overflow: hidden;
  margin: 0 0 14px 36px;
  border-radius: 34px;
  background: #111821;
  box-shadow: 0 32px 74px rgba(11, 15, 20, 0.2);
  transform: translate3d(calc(var(--hero-x) * 10px), calc(var(--hero-y) * 10px + var(--hero-scroll) * -0.08px), 0);
  transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.03);
  transform: scale(1.055) translate3d(calc(var(--hero-x) * -7px), calc(var(--hero-y) * -7px), 0);
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 43%, rgba(5, 10, 17, 0.56) 100%);
}

.hero-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 23px;
  bottom: 22px;
  left: 23px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 0.83rem;
  font-weight: 700;
}

.media-card {
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(224, 231, 241, 0.92);
  border-radius: 20px;
  padding: 17px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 48px rgba(18, 33, 55, 0.14);
  transform: translate3d(calc(var(--hero-x) * 16px), calc(var(--hero-y) * 12px + var(--hero-scroll) * -0.045px), 0);
  transition: transform 430ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.media-card span {
  color: var(--blue);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.media-card strong {
  font-size: 0.94rem;
}

.media-card small {
  color: var(--muted);
}

.media-status {
  top: 82px;
  left: 15px;
  width: 190px;
}

.media-lab {
  right: 1px;
  bottom: 102px;
  width: 185px;
}

.media-store {
  bottom: 29px;
  left: 47px;
  width: 183px;
}

.service-icon {
  padding: 12px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.diagnostic-photo {
  display: block;
  width: calc(100% + 48px);
  height: clamp(194px, 18vw, 230px);
  object-fit: cover;
  object-position: center;
  margin: -24px -24px 22px;
  opacity: 0.82;
  filter: saturate(0.78) contrast(1.06);
}

.console-mark {
  width: 26px;
  height: 26px;
  margin-right: 3px;
  border-radius: 8px;
}

.product-image::before,
.product-image span {
  display: none;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.055);
}

.inventory-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.82rem;
}

.social-gallery {
  background: white;
}

.social-after-store {
  padding-block: clamp(38px, 4vw, 58px);
  background: var(--section-tint);
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.social-card {
  position: relative;
  display: flex;
  min-height: 364px;
  overflow: hidden;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-lg);
  padding: 22px;
  color: white;
  background: var(--ink);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.social-card:nth-child(even) {
  margin-top: 35px;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(11, 15, 20, 0.2);
}

.social-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 500ms ease;
}

.social-card:hover img {
  transform: scale(1.05);
}

.social-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 10, 17, 0.02) 25%, rgba(5, 10, 17, 0.88) 100%);
}

.social-network,
.social-card strong,
.social-card small {
  position: relative;
  z-index: 1;
}

.social-network {
  width: fit-content;
  margin-bottom: 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 7px 12px;
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.social-card strong {
  margin-bottom: 5px;
  font-size: 1.06rem;
}

.social-card small {
  color: rgba(255, 255, 255, 0.74);
}

.social-note {
  margin-top: 40px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

/* Service details page. */
.subpage-hero {
  padding: clamp(62px, 8vw, 104px) 0 clamp(58px, 8vw, 88px);
  background:
    radial-gradient(circle at 88% 18%, rgba(14, 165, 233, 0.14), transparent 26%),
    var(--background);
}

.subpage-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
}

.subpage-hero h1 {
  max-width: 640px;
  margin-bottom: 23px;
  font-size: clamp(2.45rem, 4.2vw, 4.15rem);
}

.subpage-hero p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.06rem;
}

.subpage-photo {
  height: clamp(340px, 38vw, 535px);
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lift);
}

.subpage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.procedure-nav {
  position: sticky;
  z-index: 4;
  top: 76px;
  overflow: auto;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
}

.procedure-nav .container {
  display: flex;
  gap: 8px;
  padding-block: 12px;
}

.procedure-nav a {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--muted);
  background: var(--background);
  font-size: 0.82rem;
  font-weight: 700;
}

.procedure-nav a:hover {
  color: var(--blue);
}

.procedures {
  background: white;
}

.procedure-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.procedure-card {
  scroll-margin-top: 142px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
}

.procedure-card img {
  display: block;
  width: 100%;
  height: 196px;
  object-fit: cover;
}

.procedure-body {
  padding: clamp(23px, 3vw, 31px);
}

.procedure-body .service-icon {
  margin-bottom: 19px;
}

.procedure-body h2 {
  margin-bottom: 12px;
  font-size: clamp(1.3rem, 2vw, 1.55rem);
}

.procedure-body p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.93rem;
}

.procedure-steps {
  display: grid;
  gap: 9px;
  margin-bottom: 25px;
  padding: 0;
  list-style: none;
}

.procedure-steps li {
  display: flex;
  gap: 9px;
  color: #374151;
  font-size: 0.85rem;
}

.procedure-steps li::before {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  content: "✓";
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-wash);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

/* Service detail theme corrections: this module is declared after the shared theme layer. */
[data-theme="dark"] .procedure-nav {
  border-block-color: var(--line);
  background: rgba(12, 20, 29, 0.92);
}

[data-theme="dark"] .procedure-nav a {
  color: var(--muted);
  background: var(--panel);
}

[data-theme="dark"] .procedure-nav a:hover,
[data-theme="dark"] .procedure-nav a:focus-visible {
  color: var(--blue);
  background: var(--blue-wash);
}

[data-theme="dark"] .procedures {
  background: var(--surface);
}

[data-theme="dark"] .procedure-card {
  border-color: var(--line);
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .procedure-body p,
[data-theme="dark"] .procedure-steps li {
  color: var(--muted);
}

[data-theme="dark"] .procedure-body .service-icon {
  background: var(--blue-wash);
}

@media (max-width: 1024px) {
  .hero-media {
    min-height: 572px;
  }

  .hero-photo {
    width: min(474px, 77%);
    margin-left: 0;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .subpage-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .hero-media {
    min-height: 478px;
  }

  .hero-media::before {
    width: 420px;
    height: 420px;
  }

  .hero-photo {
    width: 82%;
    height: 407px;
    margin: 0 auto;
    border-radius: 25px;
  }

  .media-status {
    top: 27px;
    left: 0;
    width: 150px;
    padding: 12px;
  }

  .media-lab {
    right: 0;
    bottom: 76px;
    width: 149px;
    padding: 12px;
  }

  .media-store {
    bottom: 15px;
    left: 7%;
    width: 154px;
    padding: 12px;
  }

  .diagnostic-photo {
    height: 184px;
  }

  .social-grid,
  .procedure-grid {
    grid-template-columns: 1fr;
  }

  .social-card:nth-child(even) {
    margin-top: 0;
  }

  .social-card {
    min-height: 330px;
  }

  .procedure-nav {
    top: 73px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-photo,
  .hero-photo img,
  .media-card {
    transform: none !important;
  }
}

/* Hero carousel: equal prominence for repair and store stories. */
.hero-carousel {
  position: relative;
  display: block;
  padding-bottom: clamp(38px, 5vw, 54px);
}

.hero-slide[hidden] {
  display: none;
}

.hero-slide.is-active .hero-copy,
.hero-slide.is-active .hero-visual {
  animation: hero-arrive 520ms cubic-bezier(0.22, 0.68, 0.2, 1) both;
}

.hero-slide.is-active .hero-visual {
  animation-delay: 70ms;
}

@keyframes hero-arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  max-width: 670px;
  font-size: clamp(2.8rem, 5.2vw, 4.85rem);
}

.hero-shop-slide .hero-note strong {
  white-space: nowrap;
}

.shop-media {
  position: relative;
  display: grid;
  min-height: 610px;
  grid-column: span 6;
  grid-template-columns: 1fr 0.7fr;
  grid-template-rows: 1fr 0.88fr;
  gap: 15px;
  align-content: center;
  padding: 44px 12px 44px 46px;
}

.shop-media::before {
  position: absolute;
  inset: 27px 0 28px 25px;
  content: "";
  border-radius: 42px;
  background:
    radial-gradient(circle at 82% 16%, rgba(14, 165, 233, 0.18), transparent 32%),
    #edf3f8;
}

.shop-feature,
.shop-tile {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 26px;
  background: white;
  box-shadow: 0 18px 42px rgba(15, 28, 49, 0.1);
}

.shop-feature {
  grid-row: span 2;
}

.shop-feature img,
.shop-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-feature::after,
.shop-tile::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(transparent, rgba(8, 12, 18, 0.56));
}

.shop-feature figcaption,
.shop-tile figcaption {
  position: absolute;
  z-index: 1;
  bottom: 14px;
  left: 16px;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
}

.shop-badge {
  position: absolute;
  z-index: 2;
  bottom: 25px;
  left: 14px;
  display: flex;
  width: 205px;
  flex-direction: column;
  gap: 5px;
  border-radius: 19px;
  padding: 17px;
  background: white;
  box-shadow: 0 20px 44px rgba(18, 33, 55, 0.14);
}

.shop-badge span {
  color: var(--blue);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.shop-badge strong {
  font-size: 0.9rem;
}

.shop-badge small {
  color: var(--muted);
}

.carousel-controls {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: clamp(12px, 2vw, 24px);
}

.carousel-dot,
.carousel-toggle {
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.carousel-dot {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 11px;
  border-radius: 999px;
  padding: 8px 19px 8px 14px;
  color: var(--muted);
}

.carousel-dot strong {
  color: var(--blue);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.carousel-dot span {
  font-size: 0.85rem;
  font-weight: 700;
}

.carousel-dot.is-active {
  border-color: var(--ink);
  color: white;
  background: var(--ink);
}

.carousel-dot.is-active strong {
  color: #74cbff;
}

.carousel-toggle {
  min-height: 46px;
  margin-left: 6px;
  border-radius: 999px;
  padding: 9px 18px;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 700;
}

.carousel-toggle:hover {
  border-color: #bdcbdc;
  color: var(--text);
}

.store-first {
  background: var(--surface);
  padding-bottom: clamp(30px, 3.4vw, 46px);
}

/* Store architecture: this UI maps naturally to a future WordPress product archive and single template. */
.symptoms {
  background: var(--section-tint);
  padding-top: clamp(54px, 6vw, 78px);
}

.process {
  background: var(--section-accent);
}

.product-card-link {
  display: block;
  height: 100%;
}

.product-card-link:focus-visible {
  border-radius: 18px;
}

.product-action {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 13px;
  color: var(--blue);
  font-size: 0.83rem;
  font-weight: 800;
}

.product-action b {
  font-size: 1.1rem;
  font-weight: 600;
  transition: transform 180ms ease;
}

.product-card:hover .product-action b {
  transform: translateX(5px);
}

.catalog-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 62px);
  margin-top: clamp(42px, 5vw, 62px);
  border-radius: var(--radius-xl);
  padding: clamp(34px, 5vw, 52px);
  color: #d8e1ec;
  background:
    radial-gradient(circle at 82% 10%, rgba(0, 159, 227, 0.22), transparent 37%),
    var(--ink);
}

.catalog-invite h3 {
  margin-bottom: 13px;
  color: white;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
}

.catalog-invite p:not(.eyebrow) {
  max-width: 660px;
  color: #aeb9c8;
}

.catalog-invite .button {
  flex-shrink: 0;
  border-color: rgba(255, 255, 255, 0.18);
  color: white;
  background: transparent;
}

.shop-page {
  background: var(--background);
}

.catalog-hero {
  padding: clamp(56px, 7vw, 86px) 0 clamp(46px, 6vw, 66px);
  background:
    radial-gradient(circle at 82% 20%, rgba(0, 159, 227, 0.14), transparent 34%),
    white;
}

.catalog-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 0.72fr;
  align-items: center;
  gap: clamp(42px, 7vw, 88px);
}

.catalog-hero h1,
.product-detail-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 4.6vw, 4.25rem);
}

.catalog-hero-copy > p:not(.eyebrow),
.product-detail-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.04rem;
}

.catalog-visual {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(0, 159, 227, 0.17), transparent 44%),
    #101722;
}

.catalog-visual img {
  width: 100%;
  height: 100%;
  min-height: 310px;
  border-radius: 22px;
  object-fit: cover;
  opacity: 0.8;
}

.catalog-visual-card {
  position: absolute;
  right: 25px;
  bottom: 24px;
  left: 25px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 17px 19px;
  color: white;
  background: rgba(10, 16, 24, 0.86);
  backdrop-filter: blur(12px);
}

.catalog-visual-card small {
  color: #a9bacb;
}

.catalog-results {
  background: var(--background);
}

.filter-shell {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 35px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  background: white;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.filter-field {
  display: grid;
  gap: 7px;
}

.filter-field label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.filter-field select {
  min-width: 210px;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 42px 0 15px;
  color: var(--text);
  background: white;
  font: inherit;
  font-weight: 600;
}

.result-count {
  color: var(--muted);
  font-weight: 650;
  white-space: nowrap;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.catalog-empty {
  grid-column: 1 / -1;
  border: 1px dashed #cfdbe9;
  border-radius: var(--radius-lg);
  padding: 45px 28px;
  color: var(--muted);
  background: white;
  text-align: center;
}

.catalog-note {
  margin-top: 34px;
  border-radius: var(--radius-md);
  padding: 17px 20px;
  color: #475568;
  background: #e8f5fb;
  font-size: 0.9rem;
}

.product-page {
  background: var(--background);
}

.product-detail {
  padding: clamp(42px, 7vw, 78px) 0 clamp(62px, 8vw, 104px);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: start;
  gap: clamp(38px, 7vw, 76px);
}

.product-gallery {
  position: sticky;
  top: 112px;
}

.product-gallery-primary {
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 13px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.product-gallery-primary img {
  display: block;
  width: 100%;
  height: clamp(350px, 42vw, 520px);
  border-radius: 22px;
  object-fit: cover;
}

.product-breadcrumb {
  display: flex;
  gap: 9px;
  margin-bottom: 27px;
  color: var(--muted);
  font-size: 0.87rem;
  font-weight: 650;
}

.product-breadcrumb a:hover {
  color: var(--blue);
}

.product-price {
  display: block;
  margin: 26px 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.product-status {
  display: inline-flex;
  margin-bottom: 30px;
  border-radius: 999px;
  padding: 9px 14px;
  color: #07552a;
  background: #ddf9e7;
  font-size: 0.82rem;
  font-weight: 700;
}

.product-actions {
  margin-bottom: 38px;
}

.product-information {
  display: grid;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-top: 29px;
}

.product-information h2 {
  margin-bottom: 11px;
  font-size: 1.25rem;
}

.product-information p,
.product-specs li {
  color: var(--muted);
  font-size: 0.94rem;
}

.product-specs {
  display: grid;
  gap: 10px;
}

.product-specs li {
  display: flex;
  gap: 10px;
}

.product-specs li::before {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  content: "✓";
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-wash);
  font-size: 0.67rem;
  font-weight: 800;
  text-align: center;
}

.product-fallback {
  grid-column: 1 / -1;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 1024px) {
  .catalog-invite,
  .filter-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-hero-grid,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-gallery {
    position: static;
  }
}

@media (max-width: 700px) {
  .catalog-invite {
    padding: 29px 22px;
  }

  .catalog-invite .button,
  .filter-field,
  .filter-field select {
    width: 100%;
  }

  .filters,
  .catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .catalog-hero h1,
  .product-detail-copy h1 {
    font-size: clamp(2.18rem, 11vw, 2.9rem);
  }

  .catalog-visual {
    min-height: 312px;
    padding: 14px;
  }

  .catalog-visual img {
    min-height: 282px;
  }
}

/* Editorial guide pages: each HTML article can later map directly to a CMS post. */
.article-main {
  background: white;
}

.article-hero {
  padding: clamp(60px, 8vw, 98px) 0 clamp(48px, 7vw, 76px);
  background:
    radial-gradient(circle at 84% 14%, rgba(0, 122, 255, 0.11), transparent 25%),
    var(--background);
}

.article-shell {
  width: min(calc(100% - 48px), 920px);
  margin: 0 auto;
}

.article-back {
  display: inline-flex;
  margin-bottom: clamp(35px, 5vw, 48px);
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}

.article-hero h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 5vw, 4.1rem);
}

.article-deck {
  max-width: 710px;
  color: var(--muted);
  font-size: clamp(1.03rem, 2vw, 1.18rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 650;
}

.article-cover {
  display: block;
  width: min(calc(100% - 48px), 1120px);
  height: clamp(280px, 48vw, 520px);
  object-fit: cover;
  margin: clamp(42px, 6vw, 64px) auto 0;
  border-radius: var(--radius-xl);
}

.article-body {
  padding: clamp(52px, 7vw, 82px) 0 clamp(68px, 9vw, 108px);
}

.article-content {
  width: min(calc(100% - 48px), 760px);
  margin: 0 auto;
}

.article-content h2 {
  margin: clamp(43px, 6vw, 54px) 0 16px;
  font-size: clamp(1.48rem, 3vw, 1.92rem);
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  margin: 28px 0 12px;
  font-size: 1.2rem;
}

.article-content p,
.article-content li {
  color: #3f4a5b;
  font-size: clamp(1rem, 1.4vw, 1.06rem);
  line-height: 1.8;
}

.article-content p + p {
  margin-top: 16px;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 13px;
  margin: 21px 0 27px;
  padding-left: 23px;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-callout {
  margin: 34px 0;
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 24px;
  background: var(--blue-wash);
}

.article-callout strong {
  display: block;
  margin-bottom: 7px;
}

.article-related {
  border-top: 1px solid var(--line);
  padding-top: clamp(40px, 6vw, 56px);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.related-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  color: var(--text);
  font-weight: 700;
}

.related-grid a:hover {
  border-color: #cddbea;
  color: var(--blue);
}

@media (max-width: 1024px) {
  .article-navigation {
    position: static;
    display: flex;
    width: auto;
    flex-direction: row;
    border-left: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    clip-path: none;
    visibility: visible;
  }

  .article-navigation ul {
    display: flex;
    gap: 14px;
  }

  .shop-media {
    width: min(100%, 620px);
    min-height: 550px;
    margin-top: 40px;
  }

  .carousel-controls {
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .article-navigation {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  .shop-media {
    min-height: 435px;
    grid-template-columns: 1fr 0.75fr;
    gap: 10px;
    padding: 20px 0 25px 18px;
  }

  .shop-media::before {
    inset: 0;
    border-radius: 26px;
  }

  .shop-feature,
  .shop-tile {
    border-radius: 18px;
  }

  .shop-badge {
    bottom: 11px;
    left: 5px;
    width: 171px;
    padding: 12px;
  }

  .carousel-controls {
    flex-wrap: wrap;
    gap: 7px;
  }

  .carousel-dot {
    min-height: 48px;
    padding-inline: 13px;
  }

  .carousel-toggle {
    margin-left: 0;
  }

  .article-shell,
  .article-cover,
  .article-content {
    width: min(calc(100% - 32px), 760px);
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* WordPress and WooCommerce presentation additions. */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.content-shell {
  min-height: 58vh;
  background: var(--surface);
}

.article-list {
  display: grid;
  gap: 18px;
}

.article-list .guide-card {
  min-height: auto;
}

.service-meta {
  display: grid;
  gap: 10px;
  margin: 30px 0;
}

.service-meta div {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 15px;
  background: var(--panel);
}

.service-meta small {
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-meta strong {
  font-size: 0.92rem;
}

.service-body {
  background: var(--surface);
}

.procedure-body .text-link {
  display: inline-block;
  margin-top: 20px;
}

.map-placeholder {
  display: block;
}

.catalog-submit {
  min-height: 50px;
  align-self: end;
}

.catalog-grid .product-card img,
.products-grid .product-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.woocommerce-pagination {
  margin-top: 36px;
}

.woocommerce-pagination ul {
  display: flex;
  gap: 8px;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
}

.woocommerce-pagination .current {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

.footer-widgets {
  padding: 0 0 34px;
}

[data-theme="dark"] .content-shell,
[data-theme="dark"] .service-body {
  background: var(--surface);
}

[data-theme="dark"] .service-meta div {
  border-color: var(--line);
  background: var(--panel);
}

@media (max-width: 700px) {
  .service-meta {
    margin-block: 22px;
  }

  .catalog-submit {
    width: 100%;
  }
}
