:root {
  --ink: #172033;
  --muted: #5b6577;
  --line: #dfe6ef;
  --surface: #ffffff;
  --soft: #f4f8fb;
  --brand: #0f5c97;
  --brand-dark: #0b3f70;
  --teal: #16b7b5;
  --gold: #f2b84b;
  --danger: #b93b3b;
  --success: #247a4d;
  --shadow: 0 18px 45px rgba(23, 32, 51, 0.13);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

img,
video,
iframe {
  max-width: 100%;
}

img {
  display: block;
}

button,
input,
select {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  z-index: 2000;
  width: auto;
  height: auto;
  padding: 0.7rem 1rem;
  clip: auto;
  color: #fff;
  background: var(--brand-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0.8rem clamp(1rem, 4vw, 3rem);
  color: #fff;
  background: rgba(11, 63, 112, 0.96);
  box-shadow: 0 10px 24px rgba(11, 63, 112, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  width: 148px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  color: #fff;
  font-weight: 900;
}

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

.site-nav a {
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  color: #edf7ff;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #062943;
  background: #e8fbfb;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.section-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: 82vh;
  place-items: center;
  color: #fff;
  background: #113d63;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(9, 43, 73, 0.92), rgba(9, 43, 73, 0.62) 52%, rgba(22, 183, 181, 0.28));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  padding: 8rem 0 5rem;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 4.8rem;
  line-height: 0.98;
}

.hero p,
.page-hero p {
  max-width: 680px;
  color: #eef7fb;
  font-size: 1.2rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.button,
button.button {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1rem;
  border: 1px solid var(--brand);
  border-radius: var(--radius);
  color: #fff;
  background: var(--brand);
  cursor: pointer;
  font-weight: 800;
}

.button:hover {
  background: var(--brand-dark);
}

.button.secondary {
  color: var(--brand-dark);
  border-color: var(--line);
  background: #fff;
}

.button.warning {
  color: #1f2633;
  border-color: var(--gold);
  background: var(--gold);
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-title {
  display: flex;
  gap: 1rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1.4rem;
}

.section-title h2 {
  max-width: 760px;
  margin: 0;
  font-size: 2.8rem;
  line-height: 1.05;
}

.section-title p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 22px rgba(23, 32, 51, 0.06);
}

.card {
  padding: 1.25rem;
}

.card h3 {
  margin: 0 0 0.55rem;
}

.card p,
.card li,
.panel p,
.panel li {
  color: var(--muted);
}

.media-card {
  overflow: hidden;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.media-card .card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 5vw, 4rem);
  color: #fff;
  background:
    linear-gradient(100deg, rgba(11, 63, 112, 0.96), rgba(15, 92, 151, 0.82)),
    url("/img/seguro.jpg") center / cover;
}

.content-band {
  background: #fff;
}

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

.feature-list li {
  padding: 0.95rem 1rem;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: #f7fbfd;
}

.tabs-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.tab-list {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 0.45rem;
}

.tab-list button {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.tab-list button.is-active {
  color: #fff;
  border-color: var(--brand);
  background: var(--brand);
}

.tab-panel {
  padding: clamp(1rem, 3vw, 1.7rem);
}

.tab-panel[hidden] {
  display: none;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: start;
}

.search-box {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.field-grid {
  display: grid;
  gap: 0.85rem;
}

.field-grid label {
  color: var(--muted);
  font-weight: 800;
}

.field-grid input,
.field-grid select {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #cfd8e3;
  border-radius: var(--radius);
  background: #fff;
}

.notice {
  padding: 1rem;
  border: 1px solid #f0d6a5;
  border-radius: var(--radius);
  color: #62440b;
  background: #fff7e7;
}

.notice.error {
  color: #6f2020;
  border-color: #f0c7c7;
  background: #fff1f1;
}

.status {
  display: inline-flex;
  width: max-content;
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.status.success {
  background: var(--success);
}

.status.danger {
  background: var(--danger);
}

.result-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.result-item {
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f9fbfd;
}

.result-item span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.result-item strong {
  display: block;
  margin-top: 0.25rem;
}

.download-list {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.download-list a {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.82rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.download-list a:hover {
  border-color: var(--teal);
}

.map-frame {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cat-home {
  padding-bottom: 2.2rem;
}

.map-section {
  padding-top: 0;
}

.social-links {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.8rem;
}

.social-link {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  width: max-content;
  color: var(--brand-dark);
  font-weight: 800;
}

.social-link:hover {
  color: var(--teal);
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
}

.social-icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-icon.facebook {
  background: #1877f2;
}

.social-icon.tiktok {
  background: #111827;
}

.floating-contact {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  display: grid;
  gap: 0.55rem;
  width: 170px;
}

.floating-contact a {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  background: #168a4d;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.floating-contact a:hover {
  background: #0f7040;
}

.floating-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.floating-icon.whatsapp {
  color: #168a4d;
  background: #fff;
}

.floating-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.floating-icon.image {
  width: 24px;
  height: 24px;
  padding: 3px;
  background: #fff;
  object-fit: contain;
}

.site-footer {
  padding: 2.5rem 1rem 1rem;
  color: #dfefff;
  background: #10243c;
}

.footer-inner {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer-brand {
  margin: 0 0 0.35rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 0.4rem;
  text-align: right;
}

.footer-links a:hover {
  color: var(--teal);
}

.copyright {
  width: min(100%, var(--max));
  margin: 1.4rem auto 0;
  color: #9db1c7;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: var(--radius);
    background: var(--brand-dark);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .section-title,
  .footer-inner {
    display: grid;
  }

  .footer-links {
    text-align: left;
  }
  
.card p a,
.footer-links a,
.social-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
  .grid.three,
  .grid.four,
  .grid.two,
  .search-panel,
  .tabs-shell {
    grid-template-columns: 1fr;
  }

  .tab-list {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero h1,
  .page-hero h1 {
    font-size: 3.4rem;
  }

  .section-title h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
  }

  .brand-logo {
    width: 124px;
    height: 46px;
  }

  .hero {
    min-height: 74vh;
  }

  .hero-content {
    padding-top: 5rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.65rem;
  }

  .hero p,
  .page-hero p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 1.95rem;
  }

  .tab-list {
    grid-template-columns: 1fr;
  }

  .download-list a {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-contact {
    right: 0.65rem;
    bottom: 0.65rem;
    width: 160px;
  }
}
