/* =========================================================
   Ingeniería Eléctrica Hualpén S.p.A.
   Hoja de estilos del sitio (una sola página)
   Paleta tomada del logo: dorado/ámbar, negro y plateado.
   ========================================================= */

:root {
  --gold:        #E9A100;
  --gold-light:  #F6BE3C;
  --gold-deep:   #C5820A;
  --ink:         #141312;   /* negro cálido */
  --ink-2:       #211F1C;
  --ink-soft:    #4A463F;
  --paper:       #FAF8F4;   /* blanco cálido */
  --paper-2:     #F1EDE5;
  --line:        #E3DDD1;
  --silver:      #D7D3CA;
  --white:       #FFFFFF;

  --radius:      14px;
  --radius-sm:   9px;
  --shadow:      0 18px 50px -24px rgba(20, 19, 18, .35);
  --shadow-sm:   0 8px 24px -16px rgba(20, 19, 18, .4);
  --maxw:        1180px;

  --ff-head: "Saira", system-ui, sans-serif;
  --ff-body: "Barlow", system-ui, sans-serif;
}

html[data-theme="claro"] {
  --gold:        #D99618;
  --gold-light:  #F7C65A;
  --gold-deep:   #896316;
  --ink:         #2F5366;
  --ink-2:       #426F7E;
  --ink-soft:    #5E6E74;
  --paper:       #FBFCF9;
  --paper-2:     #EAF4F1;
  --line:        #CADDD8;
  --silver:      #D9E6E3;
  --white:       #FFFFFF;
  --shadow:      0 18px 50px -24px rgba(47, 83, 102, .32);
  --shadow-sm:   0 8px 24px -16px rgba(47, 83, 102, .34);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .2s ease, color .2s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Tipografía base ---------- */
h1, h2, h3 { font-family: var(--ff-head); line-height: 1.06; letter-spacing: -.01em; }

.section { padding: 96px 0; }

.section__head { max-width: 640px; margin-bottom: 48px; }

.section__title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  color: var(--ink);
}
.section__title--light { color: var(--white); }

.kicker {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
  position: relative;
  padding-left: 30px;
}
.kicker::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 2px;
  background: var(--gold);
  transform: translateY(-50%);
}
.kicker--light { color: var(--gold-light); }

.lead { font-size: 19px; color: var(--ink-soft); margin-bottom: 16px; }
.lead--light { color: rgba(255,255,255,.78); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn--gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(233, 161, 0, .7);
}
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn--new {
  background: var(--white);
  color: var(--ink);
  border-color: var(--gold);
  box-shadow: 0 10px 24px -14px rgba(233, 161, 0, .8);
}
.btn--new span { color: var(--gold-deep); }
.btn--new:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn--new:hover span { color: var(--ink); }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  font-size: 13.5px;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.topbar__ico { color: var(--gold); }
.topbar__links a:hover { color: var(--gold-light); }
.topbar__sep { margin: 0 10px; opacity: .4; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand__logo { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--ff-head); }
.brand__text strong { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.brand__text span { font-size: 14px; font-weight: 600; color: var(--gold-deep); letter-spacing: .06em; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-family: var(--ff-head); font-weight: 600; font-size: 15px; color: var(--ink-soft); transition: color .15s; }
.nav a:hover { color: var(--ink); }
.nav__cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
}
.nav__cta:hover { background: var(--gold); color: var(--ink) !important; }

.theme-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .15s ease, color .2s ease, background .2s ease, border-color .2s ease;
}
.theme-toggle:hover {
  color: var(--gold-deep);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.theme-toggle svg { width: 21px; height: 21px; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 80% 0%, #2A2723 0%, var(--ink) 55%);
  color: var(--white);
  overflow: hidden;
}
html[data-theme="claro"] .hero {
  background: linear-gradient(135deg, #FBFCF9 0%, #EAF4F1 54%, #DCECF3 100%);
  color: var(--ink);
}
.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(233,161,0,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233,161,0,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(80% 90% at 70% 20%, #000 30%, transparent 75%);
          mask-image: radial-gradient(80% 90% at 70% 20%, #000 30%, transparent 75%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding: 96px 24px 104px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(246,190,60,.3);
  background: rgba(246,190,60,.07);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(233,161,0,.25); }

.hero h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 800;
  letter-spacing: -.02em;
}
.hero .hl { color: var(--gold); }
.hero__lead {
  font-size: 19px;
  color: rgba(255,255,255,.8);
  max-width: 520px;
  margin: 22px 0 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 46px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 26px;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--ff-head); font-size: 26px; font-weight: 700; color: var(--gold-light); }
.hero__stats .sec-badge img { width: 30px; height: 30px; }
.hero__stats span { font-size: 13.5px; color: rgba(255,255,255,.6); letter-spacing: .03em; }
html[data-theme="claro"] .hero__lead,
html[data-theme="claro"] .hero__stats span { color: var(--ink-soft); }
html[data-theme="claro"] .hero__stats { border-top-color: rgba(47, 83, 102, .16); }
html[data-theme="claro"] .btn--ghost { border-color: rgba(47, 83, 102, .28); color: var(--ink); }
html[data-theme="claro"] .btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); }

.hero__badge {
  display: flex;
  justify-content: center;
  transform: translateY(-48px);
}
.hero__badge img,
.hero__badge video {
  width: min(360px, 80%);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.55));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- Nosotros ---------- */
.nosotros { background: var(--paper); }
.values { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.values li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.values__num {
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: 22px;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 50%;
  width: 52px; height: 52px;
  flex: 0 0 52px;
  display: flex; align-items: center; justify-content: center;
}
.values li strong { font-family: var(--ff-head); font-size: 18px; display: block; margin-bottom: 4px; }
.values li p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Visión / Misión ---------- */
.vm { background: var(--paper-2); }
.vm .grid-2 { gap: 28px; align-items: stretch; }
.vm__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.vm__card--dark { background: var(--ink); border-color: var(--ink); }
.vm__tag {
  display: inline-block;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--gold);
}
.vm__card--dark .vm__tag { color: var(--gold-light); }
.vm__card p { font-size: 17.5px; color: var(--ink-soft); }
.vm__card--dark p { color: rgba(255,255,255,.82); }

/* ---------- Áreas ---------- */
.areas { background: var(--paper); }
.areas__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.area__img {
  position: relative;
  height: 168px;
  background-color: var(--paper-2);
  background-image: repeating-linear-gradient(135deg, rgba(20,19,18,.05) 0 10px, rgba(20,19,18,.02) 10px 20px);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--line);
}
.area__ph {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: .02em;
  color: var(--ink-soft);
  background: rgba(255,255,255,.82);
  padding: 4px 9px;
  border-radius: 6px;
}
.area__mark {
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 28px 32px 0;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(233, 161, 0, .08);
}
.area__mark svg { width: 28px; height: 28px; }

/* Fotos reales de cada área (ocultan la textura y la etiqueta). */
.area__img--industrial  { background-image: url("assets_final/industrial.png"); }
.area__img--comercial   { background-image: url("assets_final/comercial.jpeg"); }
.area__img--residencial { background-image: url("assets_final/residencial.jpeg"); }
.area__img--industrial .area__ph,
.area__img--comercial .area__ph,
.area__img--residencial .area__ph { display: none; }

.area h3 { font-size: 24px; font-weight: 700; margin: 16px 32px 8px; }
.area p { color: var(--ink-soft); font-size: 15.5px; margin: 0 32px 36px; }

/* ---------- Servicios ---------- */
.servicios { background: var(--ink); color: var(--white); position: relative; }
.servicios .kicker { color: var(--gold-light); }
.servicios .kicker::before { background: var(--gold); }
.servicios .section__title { color: var(--white); }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--ink-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:nth-child(odd) { background: #211F1C; }
.card:nth-child(even) { background: #343432; }
.card:hover { transform: translateY(-5px); border-color: var(--gold); background: #26231F; }
html[data-theme="claro"] .card:nth-child(odd) { background: #426F7E; }
html[data-theme="claro"] .card:nth-child(even) { background: #6F99A1; }
html[data-theme="claro"] .card:hover { background: #4A7A88; }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(233,161,0,.12);
  border: 1px solid rgba(233,161,0,.3);
  color: var(--gold);
  margin-bottom: 18px;
  transition: background .2s ease, color .2s ease, transform .25s ease, border-color .2s ease;
}
.card__icon svg { width: 28px; height: 28px; }
.card:hover .card__icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: rotate(-4deg) scale(1.05);
}
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.card li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: rgba(255,255,255,.72);
  line-height: 1.45;
}
.card li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
.sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.sec-badge img {
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

/* ---------- Empresa ---------- */
.empresa { background: var(--paper-2); color: var(--ink); }
.empresa__grid { align-items: center; gap: 56px; }
.empresa__people { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.empresa__people > div { border-left: 3px solid var(--gold); padding-left: 16px; }
.empresa__people strong { display: block; font-family: var(--ff-head); font-size: 17px; color: var(--ink); }
.empresa__people span { font-size: 13.5px; color: var(--ink-soft); }

.datatable {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.datatable > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 18px 26px;
  border-bottom: 1px solid var(--line);
}
.datatable > div:last-child { border-bottom: 0; }
.datatable dt { font-family: var(--ff-head); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); align-self: center; }
.datatable dd { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- Contacto ---------- */
.contacto { background: var(--paper); }
.contacto__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contacto__list { list-style: none; margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.contacto__list li { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid var(--line); padding-top: 16px; }
.contacto__list span { font-family: var(--ff-head); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.contacto__list a { font-size: 18px; font-weight: 600; color: var(--ink); }
.contacto__list a:hover { color: var(--gold-deep); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 7px; font-family: var(--ff-head); font-weight: 600; font-size: 14px; color: var(--ink); }
.form input, .form select, .form textarea {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
  resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(233,161,0,.18);
}
.form__note { font-family: var(--ff-body); font-weight: 400; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* ---------- Reparación doméstica ---------- */
.appliance-hero {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.appliance-hero__inner {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  min-height: 620px;
  align-items: center;
}
.appliance-hero__copy {
  position: relative;
  z-index: 1;
  padding: 80px 56px 80px 0;
}
.appliance-hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  color: var(--white);
  max-width: 720px;
}
.appliance-hero__media {
  height: 100%;
  min-height: 620px;
  margin-right: calc(50% - 50vw);
}
.appliance-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.appliance-service { background: var(--paper); }
.appliance-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 48px;
  align-items: start;
}
.appliance-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.appliance-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.appliance-card__icon {
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: rgba(233, 161, 0, .08);
}
.appliance-card__icon svg { width: 28px; height: 28px; }
.appliance-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.appliance-card p {
  color: var(--ink-soft);
  font-size: 15.5px;
}
.appliance-pickup { background: var(--paper-2); }
.appliance-brands { background: var(--paper); padding-top: 76px; }
.brand-cloud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.brand-logo {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
}
.brand-logo img {
  display: block;
  width: 100%;
  max-width: 150px;
  max-height: 42px;
  object-fit: contain;
}
.brand-logo--wide img { max-width: 190px; }
.brand-logo--text {
  color: var(--ink-soft);
  font-family: var(--ff-head);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: .03em;
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 54px 0 30px; }
.footer__inner { display: grid; gap: 26px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { width: 52px; height: 52px; }
.footer__brand strong { display: block; font-family: var(--ff-head); font-size: 18px; color: var(--white); }
.footer__brand span { font-size: 13.5px; color: rgba(255,255,255,.55); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__nav a { font-family: var(--ff-head); font-weight: 600; font-size: 15px; color: rgba(255,255,255,.78); }
.footer__nav a:hover { color: var(--gold-light); }
.footer__legal { font-size: 13.5px; color: rgba(255,255,255,.5); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .appliance-cards { grid-template-columns: 1fr; }
  .brand-cloud { grid-template-columns: repeat(2, 1fr); }
  .datatable > div { grid-template-columns: 160px 1fr; }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .grid-2, .empresa__grid, .contacto__inner, .appliance-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__inner { grid-template-columns: 1fr; padding: 64px 24px 72px; }
  .hero__badge { order: -1; transform: translateY(-22px); }
  .hero__badge img,
  .hero__badge video { width: 220px; }
  .appliance-hero__inner { grid-template-columns: 1fr; min-height: 0; padding-top: 0; }
  .appliance-hero__copy { padding: 56px 0 48px; }
  .appliance-hero__media {
    order: -1;
    min-height: 320px;
    height: 48vw;
    margin: 0 -24px;
  }
  .areas__row { grid-template-columns: 1fr; }
  .nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 18px;
    display: none;
    box-shadow: var(--shadow-sm);
  }
  .nav--open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { text-align: center; margin-top: 10px; border-bottom: 0; }
  .nav__toggle { display: block; }
  .topbar__item { display: none; }
  .topbar__inner { justify-content: center; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .brand-cloud { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .datatable > div { grid-template-columns: 1fr; gap: 4px; }
  .brand__text strong { font-size: 15px; }
  .btn--new { width: 100%; }
}
