:root {
  --blue: #2193d7;
  --blue-dark: #0966af;
  --blue-deep: #064b84;
  --sky: #9dd6f3;
  --red: #e81712;
  --red-dark: #b50908;
  --yellow: #e6c625;
  --ink: #102a3d;
  --muted: #526575;
  --surface: #ffffff;
  --surface-soft: #f4f5f7;
  --line: #dce8ef;
  --focus: #0a2a43;
  --shadow: 0 18px 52px rgba(9, 102, 175, 0.12);
  --shadow-hover: 0 24px 64px rgba(9, 102, 175, 0.2);
  --radius: 1.5rem;
  --container: 74rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-width: 20rem;
  color: var(--ink);
  background: #f8fbfd;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  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: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 1rem;
  border-radius: 0.6rem;
  color: #fff;
  background: var(--blue-deep);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7rem);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(9, 102, 175, 0.1);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.15;
}

.brand img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.brand span,
.footer-brand span {
  display: grid;
  gap: 0.25rem;
}

.brand strong,
.footer-brand strong {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand small,
.footer-brand small {
  color: var(--muted);
  font-size: 0.75rem;
}

.menu-toggle {
  display: grid;
  width: 2.9rem;
  height: 2.9rem;
  place-content: center;
  gap: 0.3rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 1.25rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  inset: 4.9rem 0 auto;
  display: none;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 1.5rem 3rem rgba(16, 42, 61, 0.12);
}

.main-nav.is-open {
  display: grid;
  gap: 0.25rem;
}

.main-nav > a:not(.button) {
  padding: 0.8rem 0.9rem;
  border-radius: 0.7rem;
  color: #284557;
  font-weight: 700;
}

.main-nav > a:not(.button):hover {
  color: var(--blue-dark);
  background: #eef8fd;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.15rem;
  border: 2px solid var(--blue-dark);
  border-radius: 0.9rem;
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 0.6rem 1.4rem rgba(9, 102, 175, 0.18);
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  background: var(--blue-deep);
  box-shadow: 0 0.8rem 1.7rem rgba(9, 102, 175, 0.25);
  transform: translateY(-2px);
}

.button svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.button--small {
  min-height: 2.8rem;
  margin-top: 0.4rem;
  padding-inline: 1rem;
  font-size: 0.9rem;
}

.button--secondary {
  color: var(--blue-dark);
  background: #fff;
  box-shadow: none;
}

.button--secondary:hover {
  color: #fff;
  background: var(--blue-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 4.9rem);
  padding-block: clamp(3rem, 8vw, 6.5rem);
  background:
    radial-gradient(circle at 10% 15%, rgba(157, 214, 243, 0.55), transparent 29rem),
    linear-gradient(135deg, #fafdff 0%, #eff8fd 55%, #fff 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -6rem;
  bottom: -7rem;
  width: 20rem;
  height: 20rem;
  border: 3.5rem solid rgba(230, 198, 37, 0.16);
  border-radius: 50%;
}

.hero-shape {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
}

.hero-shape--one {
  top: 14%;
  left: -4rem;
  width: 8rem;
  height: 1rem;
  background: var(--red);
  transform: rotate(-20deg);
}

.hero-shape--two {
  top: 19%;
  left: -3rem;
  width: 5rem;
  height: 0.7rem;
  background: var(--yellow);
  transform: rotate(-20deg);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 3rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.eyebrow span {
  width: 1.8rem;
  height: 0.3rem;
  border-radius: 999px;
  background: var(--red);
}

.hero h1,
.section h2 {
  margin: 0;
  max-width: 15ch;
  color: #082f4c;
  font-size: clamp(2.45rem, 10vw, 5.4rem);
  font-weight: 950;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 em {
  display: block;
  color: var(--red);
  font-style: normal;
}

.hero-lead {
  max-width: 39rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero-locations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.9rem;
  margin: 1.6rem 0 0;
}

.hero-locations-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-locations-label svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--red);
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.city-list li {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
}

.city-list li + li::before {
  content: "";
  width: 0.3rem;
  height: 0.3rem;
  margin-inline: 0.65rem;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 2px rgba(230, 198, 37, 0.2);
}

.hero-visual {
  position: relative;
  width: min(100%, 31rem);
  margin-inline: auto;
  aspect-ratio: 1;
}

.logo-stage {
  position: absolute;
  inset: 9%;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 50%;
  filter: drop-shadow(0 1.7rem 2rem rgba(9, 102, 175, 0.2));
}

.logo-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.orbit {
  position: absolute;
  border-radius: 50%;
}

.orbit--outer {
  inset: 1%;
  border: 2px dashed rgba(9, 102, 175, 0.28);
  animation: orbit 28s linear infinite;
}

.orbit--outer::before,
.orbit--inner::before {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.orbit--outer::before {
  top: 9%;
  right: 8%;
  width: 1rem;
  height: 1rem;
  background: var(--yellow);
  box-shadow: 0 0 0 0.45rem rgba(230, 198, 37, 0.18);
}

.orbit--inner {
  inset: 5%;
  border: 1px solid rgba(232, 23, 18, 0.18);
}

.orbit--inner::before {
  bottom: 14%;
  left: 2%;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--red);
}

.hero-seal {
  position: absolute;
  right: 0;
  bottom: 7%;
  z-index: 3;
  display: grid;
  width: 5.5rem;
  height: 5.5rem;
  place-content: center;
  border: 0.3rem solid #fff;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-dark);
  box-shadow: 0 0.8rem 1.8rem rgba(9, 102, 175, 0.3);
  text-align: center;
  transform: rotate(5deg);
}

.hero-seal strong {
  font-size: 1.65rem;
  line-height: 1;
}

.hero-seal span {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

@keyframes orbit {
  to { transform: rotate(360deg); }
}

.about {
  background: #fff;
}

.about-grid,
.section-heading {
  display: grid;
  gap: 1.5rem;
}

.section h2 {
  font-size: clamp(2.15rem, 7vw, 4.2rem);
}

.about-copy {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy p {
  margin: 0;
}

.about-copy p + p {
  margin-top: 1rem;
}

.value-strip {
  display: grid;
  gap: 0.9rem;
  margin-top: 3rem;
}

.value-card {
  --value-accent: var(--blue);
  --value-icon-bg: #e8f6fd;
  --value-icon-color: var(--blue-deep);
  position: relative;
  display: grid;
  min-height: 8.75rem;
  grid-template-columns: 3.35rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  padding: 1.35rem 1.25rem 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: linear-gradient(145deg, #fff 50%, #f7fbfd);
  box-shadow: 0 0.8rem 1.8rem rgba(16, 42, 61, 0.09);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.32rem;
  background: var(--value-accent);
}

.value-card::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -2.4rem;
  bottom: -3rem;
  width: 6.5rem;
  height: 6.5rem;
  border: 1.25rem solid color-mix(in srgb, var(--value-accent) 10%, transparent);
  border-radius: 50%;
  pointer-events: none;
}

.value-card--yellow {
  --value-accent: var(--yellow);
  --value-icon-bg: #fff8ce;
  --value-icon-color: #735f00;
}

.value-card--red {
  --value-accent: var(--red);
  --value-icon-bg: #fff0ef;
  --value-icon-color: var(--red-dark);
}

.value-icon,
.value-copy {
  position: relative;
  z-index: 1;
}

.value-icon {
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  border-radius: 1rem;
  color: var(--value-icon-color);
  background: var(--value-icon-bg);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--value-accent) 18%, transparent);
}

.value-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.value-copy {
  display: grid;
  gap: 0.35rem;
}

.value-copy strong {
  color: var(--blue-deep);
  font-size: 1.08rem;
  line-height: 1.2;
}

.value-copy span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

@media (hover: hover) {
  .value-card:hover {
    transform: translateY(-0.25rem);
    border-color: color-mix(in srgb, var(--value-accent) 40%, var(--line));
    box-shadow: 0 1.15rem 2.25rem rgba(16, 42, 61, 0.13);
  }
}

.branches {
  position: relative;
  overflow: hidden;
  background: var(--surface-soft);
}

.branches::before {
  content: "";
  position: absolute;
  top: -8rem;
  right: -8rem;
  width: 23rem;
  height: 23rem;
  border: 4.5rem solid rgba(33, 147, 215, 0.08);
  border-radius: 50%;
}

.section-heading {
  position: relative;
  z-index: 1;
  align-items: end;
}

.section-heading > p {
  max-width: 30rem;
  margin: 0;
  color: var(--muted);
}

.branch-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.branch-card {
  position: relative;
  display: flex;
  overflow: hidden;
  min-width: 0;
  flex-direction: column;
  border: 1px solid rgba(9, 102, 175, 0.13);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.branch-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
}

.branch-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  z-index: 2;
  width: 100%;
  height: 0.4rem;
  background: var(--blue);
}

.branch-card--yellow::before {
  background: var(--yellow);
}

.branch-card--red::before {
  background: var(--red);
}

.branch-logo-wrap {
  display: grid;
  min-height: 17rem;
  place-items: center;
  padding: 1.4rem;
  background:
    radial-gradient(circle at center, #fff 0 35%, transparent 36%),
    linear-gradient(145deg, #edf8fd, #fff);
}

.branch-logo-wrap img {
  width: min(100%, 15rem);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 1rem 1.25rem rgba(16, 42, 61, 0.14));
}

.branch-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem;
  border-top: 1px solid var(--line);
}

.branch-number {
  margin: 0 0 0.35rem;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.branch-content h3 {
  margin: 0;
  color: #082f4c;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.branch-location,
.phone-link {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.branch-location {
  margin: 0.85rem 0 0;
}

.phone-link {
  width: fit-content;
  margin-top: 0.45rem;
  color: var(--blue-deep);
  font-weight: 800;
}

.branch-location svg,
.phone-link svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  margin-top: 0.2rem;
}

.phone-link:hover {
  color: var(--red-dark);
}

.branch-actions {
  margin-top: auto;
  padding-top: 1.5rem;
}

.button--whatsapp {
  width: 100%;
  border-color: var(--blue-dark);
}

.social-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.7rem;
}

.social-row a {
  display: flex;
  min-width: 0;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  color: var(--blue-deep);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.social-row a:hover {
  border-color: var(--blue);
  background: #eef8fd;
}

.social-row svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.contact {
  padding-top: 0;
  background: var(--surface-soft);
}

.contact-card {
  position: relative;
  display: grid;
  overflow: hidden;
  gap: 1.7rem;
  align-items: center;
  padding: clamp(2rem, 7vw, 4rem);
  border-radius: calc(var(--radius) + 0.5rem);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(9, 102, 175, 0.98), rgba(6, 75, 132, 0.98));
  box-shadow: 0 2rem 4rem rgba(6, 75, 132, 0.22);
}

.contact-card::before,
.contact-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.contact-card::before {
  top: -5rem;
  right: 8%;
  width: 11rem;
  height: 11rem;
  border: 2.4rem solid rgba(230, 198, 37, 0.22);
}

.contact-card::after {
  right: -3rem;
  bottom: -4rem;
  width: 10rem;
  height: 10rem;
  border: 1.8rem solid rgba(232, 23, 18, 0.24);
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.section-kicker--light {
  color: var(--yellow);
}

.contact-card h2 {
  max-width: none;
  color: #fff;
}

.contact-card p:not(.section-kicker) {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.button--light {
  border-color: #fff;
  color: var(--blue-deep);
  background: #fff;
  box-shadow: none;
}

.button--light:hover {
  border-color: var(--yellow);
  color: var(--blue-deep);
  background: var(--yellow);
}

.site-footer {
  padding-block: 2.5rem;
  border-top: 0.45rem solid var(--red);
  color: #ddecf5;
  background: #061f32;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.footer-brand img {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: contain;
}

.footer-brand strong {
  color: #fff;
}

.footer-brand small {
  color: #b6cad6;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.site-footer nav a {
  font-size: 0.9rem;
  font-weight: 700;
}

.site-footer nav a:hover {
  color: var(--yellow);
}

.site-footer p {
  margin: 0;
  color: #9db5c4;
  font-size: 0.8rem;
}

.footer-meta {
  display: grid;
  gap: 0.35rem;
}

.developer-credit a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 0.2em;
}

.developer-credit a:hover {
  color: var(--yellow);
}

@media (min-width: 36rem) {
  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-actions .button {
    min-width: 11rem;
  }

}

@media (min-width: 48rem) {
  body.menu-open {
    overflow: auto;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav,
  .main-nav.is-open {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .main-nav > a:not(.button) {
    padding: 0.6rem 0.7rem;
    font-size: 0.88rem;
  }

  .button--small {
    margin: 0 0 0 0.45rem;
  }

  .about-grid,
  .section-heading {
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: 4rem;
  }

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

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

  .contact-card {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .footer-meta {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.95fr);
    gap: 4.5rem;
  }

  .hero-visual {
    width: 100%;
  }

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

  .branch-logo-wrap {
    min-height: 18.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr auto auto;
  }

  .footer-meta {
    grid-column: auto;
    text-align: right;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
