:root {
  --tank-navy: #082f49;
  --tank-deep: #061f31;
  --tank-blue: #0b78a8;
  --tank-aqua: #66d5dd;
  --tank-pale: #ecf8fa;
  --tank-ink: #102f3e;
  --tank-muted: #55717e;
  --tank-line: #d5e9ed;
  --tank-wa: #147c42;
  --tank-wa-hover: #0f5f32;
  --tank-shadow: 0 20px 55px rgba(6, 47, 73, .14);
}

.page-tanks {
  overflow-x: hidden;
  background: #fbfdfd;
  color: var(--tank-ink);
}

.page-tanks .barra-norma {
  padding: 10px 16px;
  background: var(--tank-deep);
  color: #ccebf0;
  font-size: 12.5px;
  letter-spacing: .01em;
}

.site-nav {
  position: sticky;
  z-index: 50;
  top: 0;
  display: flex;
  max-width: 1180px;
  min-height: 74px;
  margin: 0 auto;
  padding: 12px 24px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(213, 233, 237, .8);
  background: rgba(251, 253, 253, .95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--tank-navy);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.brand b {
  color: var(--tank-blue);
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50% 50% 48% 10%;
  background: linear-gradient(145deg, var(--tank-aqua), var(--tank-blue));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 9px 20px rgba(11, 120, 168, .24);
}

.site-nav .wa-mini {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 17px;
  align-items: center;
  border: 1px solid #cce9d7;
  border-radius: 999px;
  background: #e8f6ed;
  color: var(--tank-wa);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.site-nav .wa-mini::before {
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--tank-wa);
  content: "";
  box-shadow: 0 0 0 4px rgba(20, 124, 66, .12);
}

.page-tanks .hero {
  position: relative;
  max-width: 1240px;
  margin: 10px auto 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 30px;
  background:
    radial-gradient(circle at 84% 18%, rgba(102, 213, 221, .22), transparent 28%),
    linear-gradient(135deg, var(--tank-deep), var(--tank-navy) 65%, #075c79);
  color: #fff;
  box-shadow: 0 25px 70px rgba(6, 47, 73, .2);
}

.page-tanks .hero::after {
  position: absolute;
  inset: auto -8% -52% 45%;
  height: 540px;
  border: 1px solid rgba(102, 213, 221, .28);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 70px rgba(102, 213, 221, .05), 0 0 0 145px rgba(102, 213, 221, .035);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 580px;
  max-width: 1140px;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 54px;
  padding-top: 62px;
  padding-bottom: 62px;
}

.hero-copy {
  max-width: 670px;
}

.page-tanks .hero .eyebrow {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 8px 12px;
  border: 1px solid rgba(102, 213, 221, .35);
  border-radius: 999px;
  color: #b9f1f2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.page-tanks .hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -.055em;
  line-height: 1.02;
}

.page-tanks .hero .hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 0 0 28px;
  color: #d5edf1;
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.page-tanks .wa,
.page-tanks .button-secondary {
  display: inline-flex;
  min-height: 54px;
  margin: 0;
  padding: 14px 23px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.page-tanks .wa {
  background: var(--tank-wa);
  color: #fff;
}

.page-tanks .wa:hover {
  background: var(--tank-wa-hover);
}

.page-tanks .button-secondary {
  border-color: rgba(255, 255, 255, .45);
  background: rgba(3, 29, 44, .32);
  color: #fff;
}

.tank-visual {
  position: relative;
  display: grid;
  min-height: 390px;
  padding: 48px 28px;
  align-content: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid rgba(169, 235, 239, .24);
  border-radius: 28px 28px 28px 7px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px);
}

.visual-card {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 78px;
  padding: 16px 16px 16px 60px;
  align-content: center;
  border: 1px solid rgba(204, 239, 243, .16);
  border-radius: 15px;
  background: rgba(4, 43, 62, .58);
}

.visual-card > span {
  position: absolute;
  top: 17px;
  left: 16px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: rgba(102, 213, 221, .18);
  color: #b9f1f2;
  font-size: 10px;
  font-weight: 800;
}

.visual-card strong {
  color: #fff;
  font-size: 14px;
}

.visual-card small {
  color: #b8d8df;
  font-size: 11.5px;
}

.water-line {
  position: absolute;
  width: 320px;
  height: 90px;
  right: -120px;
  border: 1px solid rgba(102, 213, 221, .22);
  border-radius: 50%;
}

.water-line-one { top: 38px; }
.water-line-two { top: 102px; right: -80px; }
.water-line-three { bottom: 18px; right: -135px; }

.trust-strip {
  position: relative;
  z-index: 4;
  display: grid;
  max-width: 1080px;
  margin: -30px auto 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--tank-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--tank-shadow);
}

.trust-item {
  position: relative;
  display: grid;
  min-height: 98px;
  padding: 21px 22px 18px 64px;
  align-content: center;
  border-right: 1px solid var(--tank-line);
}

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

.trust-item > span {
  position: absolute;
  top: 27px;
  left: 22px;
  color: var(--tank-blue);
  font-size: 10px;
  font-weight: 800;
}

.trust-item strong {
  color: var(--tank-navy);
  font-size: 13.5px;
}

.trust-item small {
  color: var(--tank-muted);
  font-size: 11.5px;
}

.page-tanks .ancho {
  max-width: 1040px;
}

.page-tanks .sec {
  padding-top: 54px;
}

.page-tanks .sec h2 {
  color: var(--tank-navy);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.035em;
  line-height: 1.18;
}

.page-tanks .pasos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.page-tanks .pasos li {
  min-height: 106px;
  padding: 22px 22px 20px 70px;
  border: 1px solid var(--tank-line);
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, var(--tank-pale));
  box-shadow: 0 8px 25px rgba(6, 47, 73, .05);
}

.page-tanks .pasos li::before {
  top: 23px;
  left: 22px;
  background: var(--tank-blue);
}

.page-tanks .tabla-scroll {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(6, 47, 73, .06);
}

.page-tanks caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-tanks th {
  background: var(--tank-pale);
}

.page-tanks .quien {
  gap: 14px;
}

.page-tanks .quien div {
  min-height: 142px;
  padding: 22px;
  border-top: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(6, 47, 73, .05);
}

.page-tanks .quien div::before {
  display: block;
  width: 28px;
  height: 4px;
  margin-bottom: 17px;
  border-radius: 999px;
  background: var(--tank-aqua);
  content: "";
}

.page-tanks .faqs details {
  padding: 16px 0;
}

.page-tanks .faqs summary:focus-visible,
.page-tanks a:focus-visible {
  outline: 3px solid #ee7d55;
  outline-offset: 4px;
}

.page-tanks .final {
  margin-top: 48px;
  padding: 48px 24px;
  border: 1px solid var(--tank-line);
  border-radius: 24px;
  background: linear-gradient(145deg, var(--tank-pale), #fff);
}

.page-tanks footer {
  margin-top: 46px;
  padding: 34px 0 116px;
  border-top: 1px solid var(--tank-line);
  background: #f2f8f9;
  font-size: 13.5px;
  line-height: 1.7;
}

.page-tanks footer strong { display: inline; overflow-wrap: anywhere; word-break: break-all; }

.mobile-dock { display: none; }

@media (max-width: 900px) {
  .page-tanks .hero { margin-right: 14px; margin-left: 14px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .tank-visual { min-height: 300px; }
  .trust-strip { margin-right: 28px; margin-left: 28px; }
}

@media (max-width: 680px) {
  .page-tanks { padding-bottom: 84px; }
  .page-tanks .barra-norma { font-size: 11px; line-height: 1.45; }
  .site-nav { min-height: 64px; padding: 10px 15px; }
  .brand { gap: 8px; font-size: 13px; }
  .brand-mark { width: 36px; height: 36px; }
  .site-nav .wa-mini { min-height: 44px; padding: 8px 12px; font-size: 12px; }
  .page-tanks .hero { margin: 0; border-radius: 0 0 28px 28px; }
  .hero-grid { min-height: auto; padding: 58px 20px 42px; }
  .page-tanks .hero h1 { font-size: clamp(35px, 10vw, 44px); }
  .page-tanks .hero .hero-copy > p:not(.eyebrow) { font-size: 14px; }
  .hero-actions { width: 100%; flex-direction: column; align-items: stretch; gap: 9px; }
  .page-tanks .hero-actions a { width: 100%; }
  .tank-visual { min-height: 286px; padding: 30px 16px; }
  .trust-strip { margin: -18px 14px 0; grid-template-columns: 1fr; }
  .trust-item { min-height: 76px; padding: 16px 16px 14px 56px; border-right: 0; border-bottom: 1px solid var(--tank-line); }
  .trust-item:last-child { border-bottom: 0; }
  .trust-item > span { top: 24px; left: 18px; }
  .page-tanks .sec { padding-top: 44px; }
  .page-tanks .ancho { padding-right: 16px; padding-left: 16px; }
  .page-tanks .pasos { grid-template-columns: 1fr; }
  .page-tanks .tabla-scroll { overflow-x: auto; }
  .page-tanks table { min-width: 660px; }
  .page-tanks footer { font-size: 14px; }
  .mobile-dock {
    position: fixed;
    z-index: 100;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--tank-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 16px 40px rgba(6, 47, 73, .24);
    backdrop-filter: blur(16px);
  }
  .mobile-dock a { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 12px; color: var(--tank-navy); font-size: 13px; font-weight: 800; text-decoration: none; }
  .mobile-dock .dock-call { border: 1px solid var(--tank-line); background: #fff; }
  .mobile-dock .dock-wa { background: var(--tank-wa); color: #fff; }
}

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

/* El dock de contacto es fijo: el documento reserva su altura para que
   no quede encima del botón principal del hero. */
@media (max-width: 900px) {
  body {
    padding-bottom: 96px;
  }
}

/* Marca: el wordmark carga la identidad; el acento sustituye al
   recuadro de iniciales. */
.logo::before,
.identidad::before,
.brand::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.15em;
  flex: none;
  border-radius: 2px;
  background: currentcolor;
  opacity: .55;
}
.logo,
.identidad,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  --wordmark-acento: 1;
}

/* El dock repite los botones del hero: mientras esos botones están a la vista
   se aparta, para no quedar encima del principal. */
.mobile-dock.dock-oculto {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}

.mobile-dock {
  transition: transform .18s ease-out, opacity .18s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .mobile-dock {
    transition: none;
  }
}
