/* Seguros con Isa — look actualizado */
:root {
  /* Paleta: azul principal, azul claro, naranja fuerte/suave, fondo casi blanco */
  --blue: #2b68b7;
  --blue-light: #95b4d6;
  --blue-mid: #6091c8;
  --blue-soft: var(--blue-light);
  --orange: #f46913;
  --orange-soft: #edad80;
  --orange-deep: #c9550e;
  --orange-glow: rgba(244, 105, 19, 0.35);
  --red: #b71c1c;
  --bg: #fbfdfd;
  --bg-card: #ffffff;
  --text: #1a2d45;
  --text-muted: #4a5f75;
  --border: rgba(43, 104, 183, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow: 0 4px 24px rgba(43, 104, 183, 0.07);
  --shadow-lg: 0 20px 50px rgba(43, 104, 183, 0.12);
  --font: "Open Sans", "Helvetica Neue", system-ui, sans-serif;
  --font-display: "Montserrat", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 90% 60% at 10% -10%, rgba(244, 105, 19, 0.09), transparent),
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(149, 180, 214, 0.08), transparent),
    radial-gradient(at 50% 100%, rgba(43, 104, 183, 0.03), transparent);
  text-align: justify;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="image"]),
textarea,
select {
  text-align: start;
}

button {
  text-align: center;
}

::selection {
  background: rgba(244, 105, 19, 0.22);
  color: var(--text);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-list a:hover {
  color: var(--orange);
}

.nav-text-btn {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-text-btn:hover {
  color: var(--orange);
}

.nav-cta {
  white-space: nowrap;
}

.nav-item--dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-dropdown__trigger:hover,
.nav-item--dropdown.is-open .nav-dropdown__trigger {
  color: var(--orange);
}

.nav-dropdown__icon {
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.nav-item--dropdown.is-open .nav-dropdown__icon {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  z-index: 200;
  min-width: 15.5rem;
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
  background: var(--bg-card);
  border: 2px solid rgba(43, 104, 183, 0.62);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(43, 104, 183, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.86) inset;
}

.nav-dropdown__menu[hidden] {
  display: none !important;
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown__menu a:hover {
  background: rgba(43, 104, 183, 0.06);
  color: var(--orange);
}

.nav-dropdown__menu a[aria-current="page"] {
  color: var(--blue);
  background: rgba(43, 104, 183, 0.08);
}

.nav-submenu {
  position: relative;
}

.nav-submenu__menu {
  display: none;
  position: absolute;
  top: -0.4rem;
  left: calc(100% - 0.25rem);
  z-index: 220;
  min-width: 14.5rem;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  border: 2px solid rgba(43, 104, 183, 0.72);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(43, 104, 183, 0.34), 0 0 0 1px rgba(255, 255, 255, 0.86) inset;
}

.nav-submenu:hover > .nav-submenu__menu,
.nav-submenu:focus-within > .nav-submenu__menu {
  display: block;
}

.nav-submenu__menu a {
  display: block;
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  border-left: 3px solid transparent;
}

.nav-submenu__menu a:hover {
  color: var(--orange);
  background: rgba(43, 104, 183, 0.08);
  border-left-color: rgba(244, 105, 19, 0.7);
}

.nav-submenu__menu a[aria-current="page"] {
  color: var(--blue);
  background: rgba(43, 104, 183, 0.12);
  border-left-color: var(--blue);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.8rem 1.5rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-soft) 0%, var(--orange) 50%, var(--orange-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 22px var(--orange-glow);
}

.btn-primary:hover {
  box-shadow: 0 10px 32px rgba(244, 105, 19, 0.45);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  border-radius: 10px;
}

.btn-ghost {
  background: rgba(43, 104, 183, 0.04);
  color: var(--blue);
  border-color: rgba(43, 104, 183, 0.12);
}

.btn-ghost:hover {
  background: rgba(43, 104, 183, 0.08);
  border-color: rgba(43, 104, 183, 0.2);
}

button.btn {
  font-family: inherit;
  cursor: pointer;
}

.btn-block {
  width: 100%;
  margin-top: 0.5rem;
}

/* Modal */
.quote-dialog {
  border: none;
  padding: 0;
  max-width: min(32rem, calc(100vw - 1.5rem));
  width: 100%;
  background: transparent;
  color: var(--text);
}

.quote-dialog::backdrop {
  background: rgba(43, 104, 183, 0.55);
  backdrop-filter: blur(10px);
}

.quote-dialog-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-xl);
  padding: 2rem clamp(1.15rem, 4vw, 1.85rem) 1.85rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  border: 1px solid rgba(255, 255, 255, 0.8);
  max-height: min(88vh, 44rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.quote-dialog-close {
  position: sticky;
  top: 0.55rem;
  margin-left: auto;
  margin-bottom: 0.35rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(43, 104, 183, 0.06);
  color: var(--blue);
  font-size: 1.4rem;
  line-height: 1;
  border-radius: 11px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 15;
}

.quote-dialog-close:hover {
  background: rgba(244, 105, 19, 0.12);
  color: var(--orange);
}

.quote-dialog-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.quote-dialog-lead {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.quote-form-section--contact {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  margin: 0;
  padding: 1.2rem 1.25rem 1.35rem;
  border-radius: 14px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 255, 0.96) 100%);
  border: 1px solid rgba(43, 104, 183, 0.14);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.quote-form-section-title {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.92;
}

.quote-form-section-note {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
  font-weight: 500;
}

.quote-form-fieldset-kicker {
  margin: 0.35rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.03em;
}

.terms-dialog {
  border: none;
  padding: 0;
  max-width: 520px;
  width: calc(100vw - 2rem);
  max-height: calc(100vh - 2rem);
  background: transparent;
  color: var(--text);
}

.terms-dialog::backdrop {
  background: rgba(43, 104, 183, 0.55);
  backdrop-filter: blur(10px);
}

.terms-dialog-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem 1.5rem;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.terms-dialog-updated {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.terms-dialog-body {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(52vh, 380px);
  overflow-y: auto;
  margin: 0 0 1.1rem;
  padding-right: 0.35rem;
  -webkit-overflow-scrolling: touch;
}

.terms-dialog-body p:last-child {
  margin-bottom: 0;
}

.terms-dialog-inner .btn-block {
  margin-top: 0;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.form-inline-radios--wrap {
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.quote-form-extra {
  margin: 0;
  min-width: 0;
  padding: 1.35rem clamp(1rem, 3vw, 1.35rem) 1.25rem;
  border-radius: 14px;
  background: rgba(43, 104, 183, 0.055);
  border: 1px solid rgba(43, 104, 183, 0.16);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65) inset;
}

.quote-form-extra > * + * {
  margin-top: 1rem;
}

.quote-form-extra > .quote-form-extra__legend {
  margin-top: 0;
}

.quote-form .form-row--checkbox {
  margin-top: 0.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(43, 104, 183, 0.12);
}

.quote-form-extra__legend {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  padding: 0;
  margin: 0;
  float: none;
  width: 100%;
}

.quote-form-extra__legend--multiline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  line-height: 1.35;
}

.quote-form-express-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.quote-form-express-subtitle {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.01em;
}

.quote-form-legend-line {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
}

.form-row-hint {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.form-row-hint--range {
  font-weight: 700;
  color: var(--blue);
}

.gm-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.gm-stepper__btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: none;
  background: var(--teal, #2db5a8);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gm-stepper__btn:hover {
  filter: brightness(1.05);
}

.gm-stepper__btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.gm-stepper__value {
  min-width: 2rem;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.gm-asegurado-extra {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.form-checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 0.85rem;
  align-items: stretch;
}

@media (max-width: 420px) {
  .form-checkbox-grid {
    grid-template-columns: 1fr;
  }
}

.form-checkbox-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text);
  cursor: pointer;
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(43, 104, 183, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: border-color 0.2s, background 0.2s;
}

.form-checkbox-tile:hover {
  border-color: rgba(43, 104, 183, 0.22);
  background: #fff;
}

.form-checkbox-tile input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.12rem 0 0;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

.form-checkbox-tile--wide {
  grid-column: 1 / -1;
}

.quote-form-subheading {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.quote-form-subheading:not(:first-of-type) {
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(43, 104, 183, 0.14);
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1.35rem;
  align-items: start;
}

@media (max-width: 520px) {
  .form-row--split {
    grid-template-columns: 1fr;
  }
}

/* Mascotas: radios (tipo) al lado del nombre en columna */
.quote-form--mascotas .form-row--split .form-row--radio-group.form-row--in-split {
  align-self: start;
}

.form-row--in-split {
  margin: 0;
  min-width: 0;
}

.form-row__legend {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
  margin: 0 0 0.4rem;
}

.form-inline-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  align-items: center;
}

.form-radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}

.form-radio-label input[type="radio"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}


.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.req {
  color: var(--orange);
}

.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.82rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-row input[type="range"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(149, 180, 214, 0.75), rgba(43, 104, 183, 0.8));
  box-shadow: inset 0 0 0 1px rgba(43, 104, 183, 0.14);
  padding: 0;
  cursor: pointer;
}

.form-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: linear-gradient(145deg, var(--orange-soft), var(--orange));
  box-shadow: 0 2px 10px rgba(244, 105, 19, 0.35);
}

.form-row input[type="range"]::-moz-range-track {
  height: 8px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(149, 180, 214, 0.75), rgba(43, 104, 183, 0.8));
  box-shadow: inset 0 0 0 1px rgba(43, 104, 183, 0.14);
}

.form-row input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--orange-soft), var(--orange));
  box-shadow: 0 2px 10px rgba(244, 105, 19, 0.35);
}

.form-row input[type="range"]:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.form-row--locked {
  opacity: 0.62;
}

.form-row textarea {
  min-height: 4.25rem;
  resize: vertical;
  line-height: 1.45;
}

.form-row select {
  cursor: pointer;
  appearance: auto;
}

.form-row input::placeholder {
  color: #9aa3b5;
}

.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover {
  background: #fff;
  border-color: rgba(43, 104, 183, 0.15);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(244, 105, 19, 0.15);
}

.form-row input.is-invalid,
.form-row select.is-invalid,
.form-row textarea.is-invalid {
  border-color: var(--red);
  background: #fff8f8;
}

.form-row input.is-invalid:focus,
.form-row select.is-invalid:focus,
.form-row textarea.is-invalid:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.12);
}

.field-error {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--red);
  line-height: 1.35;
  min-height: 0;
}

.field-error:not([hidden]) {
  margin-top: 0.2rem;
}

.field-error--checkbox {
  padding-left: 1.65rem;
}

.form-row--checkbox.is-invalid .form-checkbox-label {
  color: var(--text);
}

.form-row--checkbox.is-invalid .form-checkbox-label span {
  color: var(--text-muted);
}

.form-row--checkbox {
  margin-top: 0.15rem;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-muted);
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.15rem 0 0;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

.form-inline-link {
  color: var(--blue-mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-inline-link:hover {
  color: var(--orange);
}

.form-error {
  font-size: 0.875rem;
  color: var(--red);
  margin: 0;
}

.quote-success {
  text-align: center;
  padding: 1rem 0 0.25rem;
}

.quote-success-text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.65rem;
  letter-spacing: -0.03em;
}

.quote-success-lead {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.quote-success .quote-success-wa {
  margin-bottom: 0.65rem;
}

.legal-body {
  max-width: 46rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal-body p {
  margin: 0 0 1rem;
}

.legal-body strong {
  color: var(--text);
  font-weight: 600;
}

.legal-note {
  font-size: 0.86rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(149, 180, 214, 0.06);
  border-left: 3px solid var(--orange-soft);
}

.footer-legal-sep {
  margin: 0 0.25rem;
  opacity: 0.6;
}

.footer-legal-link {
  display: inline-block;
  margin-left: 0;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal-link:hover {
  color: var(--orange-soft);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(1.75rem, 4vw, 3.75rem) 0 clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 85% 20%, rgba(244, 105, 19, 0.11) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(149, 180, 214, 0.09) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
  }
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: min(560px, 100%);
  margin-inline: auto;
}

@media (min-width: 960px) {
  .hero-aside {
    max-width: min(540px, 46vw);
    margin-left: auto;
    margin-right: 0;
  }
}

.hero-aside .hero-media {
  max-width: none;
  width: 100%;
  justify-self: unset;
}

.hero-aside .hero-cred-block {
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--orange);
  margin: 0 0 1rem;
  padding: 0.4rem 0.85rem;
  background: rgba(244, 105, 19, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(244, 105, 19, 0.18);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--blue);
  margin: 0 0 0.85rem;
  letter-spacing: -0.025em;
}

.headline-accent {
  display: inline;
  background: linear-gradient(120deg, var(--orange) 0%, var(--orange-soft) 45%, #f4a45a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .eyebrow {
  margin-bottom: 0.65rem;
}

.hero-copy .lead {
  margin-bottom: 1rem;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: none;
}

.hero-copy .lead + .hero-actions {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  max-width: 40ch;
  font-weight: 500;
}

.lead + .lead {
  margin-top: -1.1rem;
}

.hero-cred-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.75rem 0 0;
  max-width: min(100%, 48rem);
  padding: 0.65rem 0.85rem;
  border-left: 3px solid var(--blue);
  background: rgba(43, 104, 183, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-cred-badge {
  width: 5.5rem;
  height: auto;
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: block;
}

.hero-cred {
  font-size: 0.95rem;
  color: var(--text);
  margin: -1rem 0 1.5rem;
  max-width: 42ch;
  line-height: 1.5;
  padding: 0.65rem 0.85rem;
  border-left: 3px solid var(--blue);
  background: rgba(43, 104, 183, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-cred--with-badge {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  max-width: none;
  flex: 1;
  min-width: min(100%, 14rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 0.15rem 0 0;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

.social-proof strong {
  color: var(--text);
  font-weight: 700;
}

.social-proof-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  flex-shrink: 0;
}

.hero-media {
  margin: 0;
  width: 100%;
  max-width: min(560px, 100%);
  justify-self: center;
}

@media (min-width: 960px) {
  .hero-media {
    justify-self: end;
    max-width: min(540px, 46vw);
  }
}

.hero-media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.9);
  width: 100%;
  max-width: 300px;
  height: 260px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .hero-media-frame {
    max-width: 320px;
    height: 280px;
    margin: 0 0 0 auto;
  }
}

.hero-media-frame--banner {
  max-width: 100%;
  width: 100%;
  height: auto;
  min-height: 0;
  background: #fff;
  border: 1px solid var(--border);
}

@media (min-width: 960px) {
  .hero-media-frame--banner {
    margin: 0 0 0 auto;
    height: auto;
    max-height: none;
  }
}

.hero-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(43, 104, 183, 0.06) inset;
  pointer-events: none;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.33, 1, 0.68, 1);
}

.hero-media-frame img,
.hero-media-frame--banner img {
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}

.hero-media-frame--banner img {
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.hero-media-frame:hover img {
  transform: scale(1.02);
}

.hero-media-frame--banner:hover img {
  transform: scale(1.015);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(180deg, rgba(251, 253, 253, 0.95) 0%, rgba(251, 253, 253, 0.99) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-promo {
  background: transparent;
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head--left {
  text-align: left;
  max-width: 32rem;
  margin-left: 0;
  margin-right: auto;
}

#proceso .section-head.section-head--left {
  max-width: none;
}

.section-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 0.65rem;
}

.section-eyebrow--inline {
  display: block;
  margin-bottom: 0.5rem;
}

.section-eyebrow--on-dark {
  color: rgba(255, 255, 255, 0.85);
  opacity: 0.95;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.6rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
}

.section-head--light h2,
.section-head--light .section-sub {
  color: #fff;
}

.section-head--light .section-sub {
  opacity: 0.88;
}

/* Process */
.process-intro {
  max-width: none;
  margin: 0 0 2.25rem;
  text-align: left;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.65;
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.process-steps li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.process-steps li:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 105, 19, 0.25);
}

.step-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgba(244, 105, 19, 0.14), rgba(244, 105, 19, 0.06));
  color: var(--orange);
  border-radius: 14px;
}

.step-text {
  flex: 1;
  padding-top: 0.15rem;
}

.svg-ico {
  width: 22px;
  height: 22px;
  display: block;
}

.services-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--blue);
  text-align: left;
  margin: 3.5rem 0 0.65rem;
  letter-spacing: -0.03em;
}

#detalles .services-title {
  margin-top: 0;
}

.services-intro-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.1rem;
  margin: 0 0 1.35rem;
  align-items: start;
}

.services-intro-layout .services-intro {
  margin: 0;
  max-width: none;
  grid-column: 1 / -1;
}

.services-intro--panel {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(244, 105, 19, 0.07) 0%, rgba(251, 235, 220, 0.45) 100%);
  border: 1px solid rgba(244, 105, 19, 0.14);
}

.services-intro--panel p {
  margin: 0 0 0.65rem;
}

.services-intro--panel p:last-child {
  margin-bottom: 0;
}

.services-intro {
  margin: 0 0 1.35rem;
  max-width: 42rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-weight: 500;
}

#proceso {
  scroll-margin-top: 96px;
}

#servicios-ppr,
#servicio-auto,
#servicio-hogar,
#servicio-mascotas,
#servicio-gastos-medicos,
#servicio-vida {
  scroll-margin-top: 96px;
}

.services-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 105, 19, 0.22);
  box-shadow: var(--shadow-lg);
}

.service-card--highlight {
  border: 1px solid rgba(244, 105, 19, 0.28);
  background: linear-gradient(145deg, #fff 0%, rgba(251, 253, 253, 0.98) 45%, rgba(237, 173, 128, 0.12) 100%);
  position: relative;
  overflow: hidden;
  z-index: 0;
  box-shadow: 0 10px 36px rgba(149, 180, 214, 0.1), 0 0 0 1px rgba(244, 105, 19, 0.06);
}

.service-card--highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--orange-soft), var(--orange));
  border-radius: 4px 0 0 4px;
}

.service-card--highlight::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -25%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(244, 105, 19, 0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.service-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  background: rgba(244, 105, 19, 0.14);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 105, 19, 0.2);
}

.service-card--highlight h4 {
  font-size: 1.14rem;
  padding-right: 5.5rem;
}

.service-card--highlight .service-card-cta {
  box-shadow: 0 2px 12px rgba(244, 105, 19, 0.25);
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(244, 105, 19, 0.15), rgba(244, 105, 19, 0.05));
  color: var(--orange);
  margin-bottom: 0.85rem;
}

.icon-wrap--blue {
  background: linear-gradient(145deg, rgba(149, 180, 214, 0.14), rgba(149, 180, 214, 0.05));
  color: var(--blue-mid);
}

.icon-wrap--featured {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(244, 105, 19, 0.22), rgba(244, 105, 19, 0.08));
  color: var(--orange);
  box-shadow: 0 2px 8px rgba(244, 105, 19, 0.15);
}

.service-card--highlight .svg-ico {
  width: 24px;
  height: 24px;
}

.service-card h4 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.45rem;
  letter-spacing: -0.02em;
}

.service-card > p:not(.service-card-more-wrap) {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.service-card-more-wrap {
  margin: 0.65rem 0 0;
  flex: 0 0 auto;
}

.service-card-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-mid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.service-card-more:hover {
  color: var(--orange);
}

.service-card-cta {
  width: fit-content;
  max-width: 100%;
  margin-top: 1.1rem;
  align-self: flex-start;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}

/* Promociones */
.promo-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 560px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .promo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }
}

.promo-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.promo-card:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

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

.promo-card-img {
  position: relative;
  background: rgba(149, 180, 214, 0.35);
  height: 180px;
  overflow: hidden;
}

@media (min-width: 560px) {
  .promo-card-img {
    height: 200px;
  }
}

.promo-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
}

.promo-card:hover .promo-card-img img {
  transform: scale(1.04);
}

.promo-card-body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.promo-card-body strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.promo-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-soft), var(--orange));
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
}

.promo-badge--ppr {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
}

.promo-card--featured {
  border: 1px solid rgba(244, 105, 19, 0.28);
  box-shadow: 0 12px 40px rgba(149, 180, 214, 0.1);
  position: relative;
}

.promo-card--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: linear-gradient(180deg, var(--orange-soft), var(--orange));
  z-index: 1;
  pointer-events: none;
}

.promo-caption {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.small {
  font-size: 0.8rem;
}

/* Agendar cita — calendario + columnas agente / resumen */
.cita-dialog.quote-dialog {
  max-width: min(56rem, calc(100vw - 1rem));
}

.cita-dialog .quote-dialog-inner {
  max-width: none;
  width: 100%;
  max-height: min(92vh, 760px);
  overflow-y: auto;
  padding-top: 1.35rem;
}

.cita-dialog-shell {
  display: grid;
  grid-template-columns: minmax(0, 13.5rem) minmax(0, 1fr) minmax(0, 11.5rem);
  gap: 1rem 1.15rem;
  align-items: stretch;
  margin-top: 0.25rem;
}

@media (max-width: 900px) {
  .cita-dialog-shell {
    grid-template-columns: 1fr;
  }

  .cita-agent-rail {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
  }

  .cita-agent-rail-top {
    flex: 1 1 140px;
    min-width: 0;
  }

  .cita-agent-card {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 0.85rem;
    padding: 0.65rem 0.85rem;
  }

  .cita-agent-card-photo {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0;
  }

  .cita-agent-card-photo img {
    width: 100%;
    height: 100%;
  }

  .cita-agent-rail-help {
    flex: 1 1 100%;
    margin-top: 0;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
  }
}

.cita-dialog-main {
  min-width: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0 0.85rem;
}

@media (max-width: 900px) {
  .cita-dialog-main {
    border-left: none;
    border-right: none;
    padding: 0;
    order: -1;
  }
}

.cita-agent-rail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.5rem 0.35rem 0;
}

.cita-agent-rail-top {
  position: relative;
  text-align: center;
  padding-top: 0.25rem;
}

.cita-agent-rail-icon-bg {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(96, 145, 200, 0.35), rgba(43, 104, 183, 0.12));
  z-index: 0;
}

.cita-agent-rail-icon-wrap {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  border: 2px solid rgba(43, 104, 183, 0.35);
  background: #fff;
  color: var(--blue);
}

.cita-agent-rail-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.cita-agent-rail-sub {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.cita-agent-card {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, rgba(248, 251, 255, 0.96) 100%);
  box-shadow: 0 2px 12px rgba(43, 104, 183, 0.06);
}

.cita-agent-card-photo {
  width: 7rem;
  height: 7rem;
  margin: 0 auto 0.65rem;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(43, 104, 183, 0.15);
  box-shadow: 0 4px 14px rgba(43, 104, 183, 0.1);
}

.cita-agent-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.cita-agent-card-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.cita-agent-card-role {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cita-agent-rail-help {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(43, 104, 183, 0.2);
}

.cita-agent-rail-help-title {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
}

.cita-agent-rail-help-text {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.cita-agent-rail-help-text a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.cita-agent-rail-help-text a:hover {
  color: var(--orange);
  text-decoration: underline;
}

.cita-summary-rail {
  padding: 0.65rem 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 20% 0%, rgba(43, 104, 183, 0.06) 0%, transparent 45%),
    linear-gradient(180deg, rgba(251, 253, 253, 0.98), #fff);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  align-self: start;
}

.cita-summary-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.cita-summary-kind {
  margin: 0 0 0.75rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}

.cita-summary-row {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text);
}

.cita-summary-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.cita-summary-dynamic {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(43, 104, 183, 0.22);
}

.cita-summary-detail {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.4;
}

.cita-dialog-lead {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.cita-cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.cita-cal-month {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  flex: 1;
}

.cita-cal-nav {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  font-size: 1.25rem;
  line-height: 1;
  color: var(--blue);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.cita-cal-nav:hover:not(:disabled) {
  border-color: rgba(244, 105, 19, 0.35);
  background: #fff;
}

.cita-cal-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cita-cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: center;
}

.cita-cal-error-msg:not([hidden]) {
  margin: 0.25rem 0 0.65rem;
}

.cita-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.cita-cal-cell--empty {
  min-height: 1px;
}

.cita-day {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 3.85rem;
  padding: 0.35rem 0.3rem 0.4rem;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(251, 253, 253, 0.9);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  font: inherit;
  text-align: center;
}

.cita-day:hover:not(:disabled):not(.cita-day--disabled) {
  border-color: rgba(244, 105, 19, 0.45);
  box-shadow: 0 4px 14px rgba(43, 104, 183, 0.08);
}

.cita-day--selected:not(:disabled) {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(244, 105, 19, 0.25);
}

.cita-day--disabled,
.cita-day:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.03);
}

.cita-day__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

.cita-day__bar {
  margin-top: auto;
  height: 5px;
  border-radius: 999px;
  background: rgba(43, 104, 183, 0.12);
  overflow: hidden;
  flex-shrink: 0;
}

.cita-day__bar-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue-light), var(--orange));
  transition: width 0.25s ease;
}

.cita-day__count {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.2;
}

.cita-book-panel {
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.cita-book-heading {
  margin: 0 0 0.85rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--blue);
}

.cita-book-form {
  gap: 0.85rem;
}

.cita-success {
  padding: 0.5rem 0 0;
  text-align: center;
}

.cita-success-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue);
  margin: 0 0 0.5rem;
}

.cita-success-lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cita-success .btn-block + .btn-block {
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  scroll-margin-top: 88px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(244, 105, 19, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #1a3f72 0%, #0f2744 100%);
  color: rgba(255, 255, 255, 0.55);
  padding: 0;
  font-size: 0.86rem;
}

.footer-primary {
  padding: 1.75rem 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

@media (min-width: 768px) {
  .footer-primary {
    padding: 2rem 1.25rem 1.65rem;
  }
}

.footer-layout {
  display: grid;
  gap: 1.35rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (max-width: 719px) {
  .footer-block--identity {
    text-align: center;
  }

  .footer-tag {
    margin-left: auto;
    margin-right: auto;
    max-width: 28rem;
  }

  .footer-block--reach {
    align-items: center;
    text-align: center;
  }

  .footer-contact-line {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (min-width: 720px) {
  .footer-layout {
    grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1.2fr);
    gap: 1.5rem 2rem;
    align-items: start;
  }

  .footer-block--identity {
    padding-right: 0.5rem;
  }

  .footer-block--logo {
    justify-self: center;
    padding-top: 0.2rem;
  }

  .footer-block--reach {
    justify-self: end;
    text-align: right;
    width: 100%;
    max-width: 22rem;
  }
}

.footer-block--reach {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-kicker {
  margin: 0 0 0.15rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange-soft);
}

.footer-logo {
  display: block;
  width: auto;
  max-width: 120px;
  height: auto;
  margin: 0 auto;
  opacity: 0.92;
}

@media (min-width: 720px) {
  .footer-logo {
    margin: 0;
  }
}

.footer-person {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.5vw, 1.4rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.footer-role {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.35;
}

.footer-tag {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.45;
  font-weight: 400;
  max-width: 36ch;
}

.footer-contact-line {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

@media (min-width: 480px) {
  .footer-contact-line {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
  }
}

@media (min-width: 720px) {
  .footer-contact-line {
    justify-content: flex-end;
    align-items: flex-end;
  }
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.86rem;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--orange-soft);
}

.footer-link-ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--orange-soft);
  opacity: 0.85;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

@media (min-width: 720px) {
  .footer-social {
    justify-content: flex-end;
  }
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-1px);
}

.footer-social-link--wa:hover {
  background: #25d366;
}

.footer-social-link--ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-social-link--tt:hover {
  background: #000;
  color: #fff;
}

.footer-social-link--fb:hover {
  background: #1877f2;
}

.footer-social-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-inner {
  text-align: center;
  padding: 1.1rem 1rem 1.5rem;
}

.footer-inner p {
  margin: 0 0 0.5rem;
}

.footer-inner strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.footer-legal {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.8rem;
  opacity: 0.85;
  line-height: 1.55;
}

.footer-copy {
  margin-top: 1.1rem !important;
  opacity: 0.45;
  font-size: 0.8rem;
}

/* Carrusel de logos (aseguradoras): centro + laterales visibles, sin caja */
.section-insurers {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--bg);
}

.section-head--carousel {
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}

/* Mismo canto derecho que .services-grid: texto a todo el ancho del contenedor */
.section-insurers .section-head.section-head--left.section-head--carousel {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.logo-carousel {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.logo-carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.35rem clamp(0.5rem, 4vw, 2rem);
  box-sizing: border-box;
}

.logo-carousel__viewport::-webkit-scrollbar {
  display: none;
}

/* Salto invisible clon → GNP real (evita animación CSS del segundo scroll) */
.logo-carousel__viewport.logo-carousel__viewport--jumping {
  scroll-behavior: auto !important;
}

.logo-carousel__track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  margin: 0;
  list-style: none;
  padding: 0;
  width: max-content;
  box-sizing: border-box;
}

.logo-carousel__slide {
  flex: 0 0 min(34vw, 280px);
  min-width: min(34vw, 280px);
  max-width: min(34vw, 280px);
  transition: opacity 0.2s ease-out;
}

.logo-carousel.logo-carousel--jumping .logo-carousel__slide {
  transition: none;
}

.logo-carousel__slide:not(.logo-carousel__slide--active) {
  opacity: 0.42;
}

.logo-carousel__slide--active {
  opacity: 1;
}

.logo-carousel__figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 0.35rem 0.25rem;
}

.logo-carousel__figure img {
  max-height: clamp(52px, 12vw, 76px);
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
  .logo-carousel__viewport {
    scroll-behavior: auto;
  }

  .logo-carousel__slide {
    transition: none;
  }
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 76px 0 0 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.25s ease, visibility 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .nav-text-btn {
    width: 100%;
    text-align: left;
    padding: 0.2rem 0;
  }

  .nav-item--dropdown {
    position: static;
  }

  .nav-dropdown__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 0.2rem 0;
    text-align: left;
  }

  .nav-dropdown__menu {
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    margin: 0.35rem 0 0;
    padding: 0.35rem 0 0.35rem 0.85rem;
    border-left: 3px solid rgba(43, 104, 183, 0.2);
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: none;
    background: rgba(43, 104, 183, 0.04);
  }

  .nav-dropdown__menu a {
    padding: 0.45rem 0.5rem 0.45rem 0;
  }

  .nav-submenu__menu {
    display: block;
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    margin: 0.2rem 0 0;
    padding: 0.2rem 0 0.2rem 0.85rem;
    border: 0;
    border-left: 2px solid rgba(43, 104, 183, 0.18);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-submenu__menu a {
    padding: 0.4rem 0.45rem 0.4rem 0;
    font-size: 0.84rem;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .section-head--left {
    text-align: left;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* Páginas internas de seguros (seguros/*.html) */
.seguro-page {
  padding: 2.5rem 0 3.5rem;
}

.seguro-page__head {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.seguro-page__head h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 800;
  color: var(--blue);
  margin: 0.35rem 0 0.75rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.seguro-page__lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.seguro-page__body {
  max-width: 46rem;
}

.seguro-page__body h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  margin: 1.75rem 0 0.65rem;
}

.seguro-page__body h2:first-child {
  margin-top: 0;
}

.seguro-page__body ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.seguro-page__body li {
  margin-bottom: 0.45rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.seguro-page__body p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.seguro-page__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

/* Páginas de seguro con imagen y bloques visuales */
.seguro-page--visual {
  padding-top: 1.75rem;
  padding-bottom: 3.5rem;
}

.seguro-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.seguro-hero__figure {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, rgba(43, 104, 183, 0.08), rgba(244, 105, 19, 0.06));
}

.seguro-hero__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
}

/* Auto y moto: dos imágenes; si solo hay una celda, ocupa todo el ancho */
.seguro-hero__figure--dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.375rem;
  padding: 0;
}

.seguro-hero__figure--dual:has(> :only-child) {
  grid-template-columns: 1fr;
  gap: 0;
}

.seguro-hero__figure--dual:has(> :only-child) .seguro-hero__dual-cell {
  grid-column: 1 / -1;
  border-radius: 0;
  min-height: 100%;
  align-self: stretch;
  display: block;
}

.seguro-hero__figure--dual:has(> :only-child) .seguro-hero__dual-cell img {
  min-height: 100%;
}

.seguro-hero__dual-cell {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 0;
}

.seguro-hero__dual-cell img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

.seguro-page--visual .seguro-page__head {
  max-width: none;
  margin-bottom: 0;
}

.seguro-page--visual .seguro-page__lead {
  font-size: 1.0625rem;
  max-width: 36rem;
}

.seguro-page--visual .seguro-page__lead--pullup {
  margin-top: 0.5rem;
  font-weight: 600;
  color: var(--blue);
}

.seguro-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seguro-highlight {
  margin: 0;
  padding: 1.2rem 1.25rem 1.35rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.seguro-highlight h2,
.seguro-highlight h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.seguro-asist-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin: 0 0 0.35rem;
}

.seguro-asist-title--spaced {
  margin-top: 0.75rem;
}

.seguro-highlight p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.seguro-highlight ul {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.seguro-highlight li {
  margin-bottom: 0.35rem;
}

.seguro-highlight li:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .seguro-highlights {
    grid-template-columns: 1fr;
  }

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

  .seguro-hero__figure {
    max-height: 280px;
    aspect-ratio: 16 / 10;
  }

  .seguro-hero__figure--dual {
    max-height: 320px;
    aspect-ratio: 16 / 9;
  }

  .seguro-hero__dual-cell img {
    min-height: 140px;
  }
}

/* Seguro de vida — formulario en página (slider tipo portal) */
.quote-form-vida-proyecto-hint {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.form-row-hint--vida-suma {
  font-style: italic;
  font-weight: 600;
  color: var(--blue);
  margin: 0.35rem 0 0.65rem;
}

.quote-form--vida input[type="range"] {
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.35), rgba(13, 148, 136, 0.45));
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.2);
}

.quote-form--vida input[type="range"]::-webkit-slider-thumb {
  background: linear-gradient(145deg, #5eead4, #0d9488);
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.4);
}

.quote-form--vida input[type="range"]::-moz-range-track {
  background: linear-gradient(90deg, rgba(45, 212, 191, 0.35), rgba(13, 148, 136, 0.45));
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.2);
}

.quote-form--vida input[type="range"]::-moz-range-thumb {
  background: linear-gradient(145deg, #5eead4, #0d9488);
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.4);
}

.quote-vida-listbox {
  width: 100%;
  min-height: 10.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Plazo / modalidad — select (seguro de vida) */
.form-row-hint--plazo {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

.quote-vida-plazo-select {
  width: 100%;
  font-weight: 500;
}

.cotizacion-vida-block {
  padding-top: 0.5rem;
  padding-bottom: 3rem;
}

.quote-success--inline {
  margin-top: 1.75rem;
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

/* Mapa del sitio — vista tipo árbol / columnas */
.mapa-sitio-page .section-head.mapa-sitio-head {
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.mapa-sitio {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0 2.5rem;
}

.mapa-sitio::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 6px;
  height: min(420px, 70vh);
  border-radius: 6px;
  background: linear-gradient(
    180deg,
    var(--orange) 0%,
    #f4c542 22%,
    #9b7ed6 48%,
    var(--blue-mid) 72%,
    #3d9e8c 100%
  );
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 900px) {
  .mapa-sitio::after {
    display: none;
  }
}

.mapa-sitio-hub {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.mapa-sitio-hub-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem 1rem 1.25rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-display);
  box-shadow:
    0 8px 28px rgba(244, 105, 19, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.2) inset;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.mapa-sitio-hub-link:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 36px rgba(244, 105, 19, 0.42),
    0 1px 0 rgba(255, 255, 255, 0.25) inset;
  color: #fff;
}

.mapa-sitio-hub-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.mapa-sitio-hub-icon svg {
  display: block;
}

.mapa-sitio-hub-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: left;
}

.mapa-sitio-hub-title {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.mapa-sitio-hub-sub {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.92;
  font-family: var(--font);
}

.mapa-sitio-connector {
  height: 1.75rem;
  max-width: 2px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(43, 104, 183, 0.35), rgba(43, 104, 183, 0.12));
  border-radius: 2px;
}

.mapa-sitio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
  margin-top: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 1024px) {
  .mapa-sitio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .mapa-sitio-grid {
    grid-template-columns: 1fr;
  }
}

.mapa-sitio-branch {
  padding: 1.15rem 1rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 100%;
}

.mapa-sitio-branch--a {
  border-top: 3px solid var(--orange);
}

.mapa-sitio-branch--b {
  border-top: 3px solid var(--blue);
}

.mapa-sitio-branch--c {
  border-top: 3px solid #3d8eb9;
}

.mapa-sitio-branch--d {
  border-top: 3px solid #3d9e8c;
}

.mapa-sitio-branch-title {
  margin: 0 0 0.2rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.mapa-sitio-branch-desc {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.mapa-sitio-branch-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mapa-sitio-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid rgba(43, 104, 183, 0.12);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.92));
  text-decoration: none;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.mapa-sitio-card:hover {
  border-color: rgba(244, 105, 19, 0.35);
  background: #fff;
  box-shadow: 0 6px 20px rgba(43, 104, 183, 0.08);
  color: var(--orange-deep);
}

.mapa-sitio-card--featured {
  padding: 0.7rem 0.75rem;
  border-radius: 14px;
}

.mapa-sitio-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 11px;
  background: rgba(43, 104, 183, 0.1);
  color: var(--blue);
  flex-shrink: 0;
}

.mapa-sitio-card--featured .mapa-sitio-card-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(43, 104, 183, 0.14);
}

.mapa-sitio-card:hover .mapa-sitio-card-icon {
  background: rgba(244, 105, 19, 0.12);
  color: var(--orange-deep);
}

.mapa-sitio-card-label {
  flex: 1;
  min-width: 0;
}

.mapa-sitio-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.mapa-sitio-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-mid);
  background: rgba(43, 104, 183, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.mapa-sitio-card--current {
  cursor: default;
  border-style: dashed;
  border-color: rgba(43, 104, 183, 0.35);
  background: rgba(43, 104, 183, 0.06);
  color: var(--text-muted);
}

.mapa-sitio-card--current:hover {
  transform: none;
  box-shadow: none;
  color: var(--text-muted);
  border-color: rgba(43, 104, 183, 0.35);
}

.mapa-sitio-card--current .mapa-sitio-card-icon {
  background: rgba(43, 104, 183, 0.15);
  color: var(--blue);
}

.mapa-sitio-back {
  margin: 2rem 0 0;
  text-align: center;
}
