@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600;700;800&family=DM+Sans:wght@400;500;700&display=swap");

:root {
  --navy-950: #0a213c;
  --navy-900: #12365f;
  --blue-700: #1e79c0;
  --blue-100: #edf7ff;
  --red-700: #c7222c;
  --red-800: #98131a;
  --green-600: #1d9a62;
  --white: #ffffff;
  --ink: #132538;
  --muted: #587087;
  --shadow: 0 22px 58px rgba(10, 33, 60, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --content-width: min(1120px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(30, 121, 192, 0.12), transparent 30rem),
    radial-gradient(circle at top right, rgba(199, 34, 44, 0.12), transparent 22rem),
    linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

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

main,
.site-header,
.site-footer,
.top-strip {
  position: relative;
  z-index: 1;
}

.top-strip {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.8rem 1rem;
  background: linear-gradient(90deg, var(--red-800), var(--red-700));
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

.top-strip span {
  opacity: 0.95;
}

.site-header {
  width: var(--content-width);
  margin: 0 auto;
  padding: 1rem 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--navy-900), #123f72);
  color: var(--white);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.88rem;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-emergency {
  background: linear-gradient(180deg, #ec3d42 0%, var(--red-700) 100%);
  color: var(--white);
  box-shadow:
    0 18px 40px rgba(196, 29, 39, 0.3),
    0 0 0 8px rgba(236, 61, 66, 0.14);
}

.button-whatsapp {
  background: linear-gradient(180deg, #2fbe78 0%, var(--green-600) 100%);
  color: var(--white);
  box-shadow:
    0 16px 32px rgba(31, 157, 99, 0.22),
    0 0 0 7px rgba(47, 190, 120, 0.12);
}

.button-emergency::before,
.button-emergency::after,
.button-whatsapp::before,
.button-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.button-emergency::before,
.button-whatsapp::before {
  z-index: -2;
  filter: blur(12px);
}

.button-emergency::after,
.button-whatsapp::after {
  z-index: -1;
}

.button-emergency::before {
  inset: -12px;
  background: radial-gradient(circle, rgba(236, 61, 66, 0.58) 0%, rgba(236, 61, 66, 0.22) 44%, rgba(236, 61, 66, 0) 76%);
  animation: ctaHalo 1.75s ease-out infinite;
}

.button-emergency::after {
  inset: -9px;
  border: 2px solid rgba(236, 61, 66, 0.46);
  animation: ctaRing 1.75s ease-out infinite;
}

.button-whatsapp::before {
  inset: -10px;
  background: radial-gradient(circle, rgba(47, 190, 120, 0.46) 0%, rgba(47, 190, 120, 0.18) 42%, rgba(47, 190, 120, 0) 74%);
  animation: ctaHalo 2.25s ease-out infinite;
}

.button-whatsapp::after {
  inset: -8px;
  border: 2px solid rgba(47, 190, 120, 0.34);
  animation: ctaRing 2.25s ease-out infinite;
}

.header-call {
  min-height: 3.2rem;
  padding: 0.8rem 1.35rem;
}

.hero {
  width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 1rem;
  align-items: stretch;
  padding: 0.8rem 0 1.6rem;
}

.hero-copy,
.hero-panel,
.service-card,
.reason-card,
.final-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.88)),
    linear-gradient(135deg, rgba(52, 161, 219, 0.08), rgba(196, 29, 39, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--red-700);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Semi Condensed", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 8vw, 5.6rem);
  color: var(--navy-950);
}

.lead,
.section-heading p,
.reason-card p,
.final-card p,
.site-footer p,
.panel-copy {
  line-height: 1.58;
}

.lead {
  margin: 1rem 0 0;
  max-width: 36ch;
  font-size: clamp(1.06rem, 2vw, 1.2rem);
  color: var(--ink);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button-emergency {
  min-height: 3.8rem;
  padding: 0.9rem 1.5rem;
  font-size: 1.06rem;
}

.hero .button-emergency,
.final-card .button-emergency {
  min-width: min(100%, 20rem);
}

.button-whatsapp {
  min-height: 3.3rem;
  padding: 0.8rem 1.2rem;
  font-size: 0.98rem;
}

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.78rem 0.95rem;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--navy-900);
  border: 1px solid rgba(25, 114, 185, 0.12);
  font-weight: 700;
}

.signal-icon {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--blue-700);
}

svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 30%),
    linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 52%, var(--blue-700) 100%);
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -2.4rem;
  bottom: -2.8rem;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.panel-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.panel-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 33, 60, 0.06), rgba(10, 33, 60, 0.48));
}

.panel-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.04);
}

.panel-photo figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.panel-contact {
  position: relative;
  z-index: 1;
}

.panel-label {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  opacity: 0.85;
}

.hero-number {
  display: inline-block;
  margin-top: 0.8rem;
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: clamp(2.8rem, 8vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.panel-copy {
  margin: 0.9rem 0 0;
  max-width: 20ch;
  opacity: 0.88;
}

.panel-list {
  position: relative;
  z-index: 1;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.panel-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.82rem 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.panel-list li::before {
  content: "";
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: #ff6b70;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.section,
.site-footer {
  width: var(--content-width);
  margin: 0 auto;
}

.section {
  padding: clamp(2.8rem, 6vw, 4.8rem) 0 0;
}

.section-heading {
  max-width: 40rem;
}

.section-heading h2,
.final-card h2 {
  font-size: clamp(2.35rem, 5vw, 4rem);
  color: var(--navy-950);
}

.service-grid,
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-card {
  padding: 1.45rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.9);
  min-height: 13.5rem;
}

.service-card h3,
.reason-card h3 {
  margin-top: 1rem;
  font-size: 1.9rem;
}

.card-icon {
  width: 3.4rem;
  height: 3.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(30, 121, 192, 0.12), rgba(30, 121, 192, 0.18));
  color: var(--blue-700);
}

.small-icon {
  width: 3rem;
  height: 3rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.service-tags span {
  padding: 0.72rem 0.9rem;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--navy-900);
  font-weight: 700;
  border: 1px solid rgba(30, 121, 192, 0.14);
}

.section-compact {
  padding-top: 2.2rem;
}

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

.reason-card {
  padding: 1.45rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 247, 255, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.92);
}

.reason-card p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.final-cta {
  padding-bottom: 5.5rem;
}

.final-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    linear-gradient(120deg, rgba(196, 29, 39, 0.06), rgba(52, 161, 219, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.final-card p {
  margin: 0.8rem 0 0;
  max-width: 34ch;
  color: var(--muted);
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: none;
  gap: 0.7rem;
  padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
  background: rgba(9, 33, 59, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 -16px 40px rgba(9, 33, 59, 0.22);
}

.mobile-sticky-cta .button-emergency {
  flex: 1.75;
}

.mobile-sticky-cta .button-whatsapp {
  flex: 1;
}

@keyframes ctaHalo {
  0%,
  12% {
    opacity: 0.95;
    transform: scale(0.98);
  }

  60% {
    opacity: 0.45;
    transform: scale(1.14);
  }

  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

@keyframes ctaRing {
  0%,
  18% {
    opacity: 0.88;
    transform: scale(1);
  }

  68% {
    opacity: 0.25;
    transform: scale(1.16);
  }

  100% {
    opacity: 0;
    transform: scale(1.26);
  }
}

@media (max-width: 980px) {
  .hero,
  .service-grid,
  .reason-grid,
  .final-card,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 6.1rem;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-call {
    display: none;
  }

  .hero .cta-group,
  .final-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero .button-emergency,
  .final-actions .button-emergency,
  .mobile-sticky-cta .button-emergency {
    width: 100%;
  }

  .hero .button-whatsapp,
  .final-actions .button-whatsapp {
    width: fit-content;
    min-width: 9.5rem;
  }

  .mobile-sticky-cta {
    display: flex;
  }
}

@media (max-width: 640px) {
  .top-strip {
    flex-wrap: wrap;
    gap: 0.35rem 0.8rem;
    padding-inline: 0.8rem;
  }

  .brand-mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  h1 {
    max-width: 10ch;
  }

  .section-heading h2,
  .final-card h2 {
    max-width: 12ch;
  }
}

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

  .button {
    transition: none;
  }

  .button-emergency,
  .button-whatsapp,
  .button-emergency::before,
  .button-emergency::after,
  .button-whatsapp::before,
  .button-whatsapp::after {
    animation: none;
  }
}
