/* Capa visual de marca: mantiene la estructura y el contenido del sitio. */
:root {
  --navy-deep: #092b4d;
  --navy-rich: #123f68;
  --sky: #8ca6c0;
  --ice: #eff3f8;
  --line-soft: #d5e0eb;
  --aqua: #8ca6c0;
}

body {
  background: #fbfdff;
  color: #12365a;
}

.site-header {
  min-height: 82px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(12, 57, 93, .08);
  box-shadow: 0 8px 28px rgba(7, 45, 77, .06);
  backdrop-filter: blur(14px);
  border-top: 0;
}

html::before,
body::before,
.site-header::before {
  display: none !important;
  content: none !important;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  width: 232px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav > a:not(.header-call) {
  position: relative;
}

.main-nav > a:not(.header-call)::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--sky);
  content: '';
  opacity: 0;
  transform: scaleX(.4);
  transition: opacity .2s ease, transform .2s ease;
}

.main-nav > a:not(.header-call):hover::after,
.main-nav > a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-call,
.button {
  box-shadow: 0 10px 22px rgba(5, 45, 79, .12);
}

.header-call:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(5, 45, 79, .18);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 79% 19%, rgba(140, 166, 192, .28), transparent 24rem),
    radial-gradient(circle at 7% 102%, rgba(140, 166, 192, .18), transparent 31rem),
    linear-gradient(128deg, #092b4d, var(--navy-rich) 62%, #1a4d77);
}

.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, rgba(0, 0, 0, .34), transparent 62%);
  content: '';
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero-image {
  border: 0;
  box-shadow: 0 38px 72px rgba(1, 19, 37, .42), 0 13px 26px rgba(1, 19, 37, .18);
  transform: translateY(-9px);
  transition: transform .28s ease, box-shadow .28s ease;
}

.hero-image img {
  filter: saturate(.88) contrast(1.06);
  object-position: 78% center;
}

.hero-image:hover {
  box-shadow: 0 45px 80px rgba(1, 19, 37, .46), 0 16px 30px rgba(1, 19, 37, .2);
  transform: translateY(-13px);
}

.hero-image figcaption {
  box-shadow: 0 10px 30px rgba(0, 23, 43, .16);
}

.button {
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button-primary {
  border: 1px solid rgba(255, 255, 255, .38);
  background: linear-gradient(135deg, #e0eaf3, #b6cbe0);
  color: #092b4d;
  box-shadow: 0 14px 30px rgba(140, 166, 192, .38), inset 0 1px 0 rgba(255, 255, 255, .82);
}

.button-primary:hover {
  background: linear-gradient(135deg, #f1f6fa, #c8d8e8);
  box-shadow: 0 18px 38px rgba(140, 166, 192, .5), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.button-whatsapp {
  border-color: rgba(255, 255, 255, .74);
}

.section-tint,
.local-block {
  background: linear-gradient(135deg, #f2f5f8, #e8eef5);
}

.local-block {
  background:
    radial-gradient(circle at 88% 18%, rgba(83, 119, 154, .08), transparent 25rem),
    linear-gradient(125deg, #f3f6f9 0%, #e5ecf2 55%, #d3dfe9 100%);
}

.trust-section {
  background: #fff;
}

.service-card,
.zone-card,
.faq-list details,
.contact-options > a {
  border-color: var(--line-soft);
  box-shadow: 0 12px 28px rgba(13, 59, 94, .055);
}

.service-card {
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #f8fbfd);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #8ca6c0, #315d84);
  content: '';
  opacity: .75;
}

.service-card:hover,
.zone-card:hover {
  border-color: #b3c6d8;
  box-shadow: 0 20px 42px rgba(13, 59, 94, .13);
  transform: translateY(-5px);
}

.service-icon {
  border: 1px solid rgba(60, 167, 192, .14);
  background: linear-gradient(135deg, #edf2f7, #dce6ef);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.service-icon img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.contact-panel {
  border: 1px solid rgba(118, 214, 232, .2);
  box-shadow: 0 24px 48px rgba(9, 58, 99, .18);
}

.final-cta {
  background:
    radial-gradient(circle at 88% 8%, rgba(140, 166, 192, .3), transparent 18rem),
    linear-gradient(130deg, #092b4d, #17446d);
}

.site-footer {
  background: #092b4d;
}

.footer-logo-panel {
  display: flex;
  align-items: center;
  width: min(100%, 250px);
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-logo-panel img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-image figcaption {
  border: 0;
  background: rgba(255, 255, 255, .78);
  color: #092b4d;
  backdrop-filter: blur(10px);
}

.final-cta .eyebrow {
  color: #8ca6c0;
}

.legal-page .legal-updated {
  margin: -2px 0 70px;
  color: #647d97;
  font-size: 17px;
}

.legal-page h2 {
  margin-top: 48px;
}

.legal-page h2 + p {
  margin-bottom: 18px;
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; }
  .brand-logo-link { width: 177px; }
  .main-nav > a:not(.header-call)::after { display: none; }
  .hero-image { box-shadow: 0 24px 46px rgba(1, 19, 37, .3); transform: translateY(-5px); }
  .footer-logo-panel { width: 225px; }
}
