/* Evolution Auto & Tire - brand: #003399 blue, #B21E23 red */

:root {
  --blue: #003399;
  --blue-dark: #001f5c;
  --red: #b21e23;
  --red-hover: #951a1e;
  --white: #ffffff;
  --gray-50: #f6f8fc;
  --gray-200: #e2e8f3;
  --gray-600: #5c6478;
  --gray-900: #1a1f2e;
  --shadow: 0 12px 40px rgba(0, 51, 153, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
  --transition: 0.2s ease;
  --header-h: 76px;
  --hero-content-max: 1120px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
  padding-top: var(--header-h);
}

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

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--red);
}

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

.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;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
}

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

/* Header - white bar so blue logo reads clearly */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(0, 51, 153, 0.08);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 51, 153, 0.14);
  border-bottom-color: rgba(0, 51, 153, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
  background: var(--white);
}

.site-header .btn:focus-visible {
  outline-color: var(--blue);
}

.site-header .btn--ghost {
  color: var(--blue);
  border-color: var(--blue);
}

.site-header .btn--ghost:hover {
  background: var(--gray-50);
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}

@keyframes brand-logo-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0) drop-shadow(0 1px 3px rgba(0, 51, 153, 0.2)) drop-shadow(0 3px 8px rgba(0, 51, 153, 0.1));
  }
}

/* Shine sweep every 3s (loop) */
@keyframes brand-shine-loop {
  0%,
  78% {
    transform: translateX(-120%) skewX(-12deg);
    opacity: 0;
  }
  81% {
    opacity: 1;
  }
  93% {
    transform: translateX(220%) skewX(-12deg);
    opacity: 1;
  }
  100% {
    transform: translateX(220%) skewX(-12deg);
    opacity: 0;
  }
}

/* Subtle glow pulse on logo, same 3s rhythm */
@keyframes brand-logo-glow {
  0%,
  78% {
    filter: drop-shadow(0 1px 3px rgba(0, 51, 153, 0.2)) drop-shadow(0 3px 8px rgba(0, 51, 153, 0.1));
  }
  88% {
    filter: drop-shadow(0 2px 6px rgba(0, 51, 153, 0.28)) drop-shadow(0 5px 12px rgba(178, 30, 35, 0.12));
  }
  100% {
    filter: drop-shadow(0 1px 3px rgba(0, 51, 153, 0.2)) drop-shadow(0 3px 8px rgba(0, 51, 153, 0.1));
  }
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.brand::after {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: -35%;
  right: -35%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 42%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 58%,
    transparent 100%
  );
  transform: translateX(-120%) skewX(-12deg);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  animation: brand-shine-loop 3s linear infinite;
}

.brand-logo {
  position: relative;
  z-index: 0;
  width: min(240px, 52vw);
  height: auto;
  display: block;
  transform-origin: left center;
  filter: drop-shadow(0 1px 3px rgba(0, 51, 153, 0.2)) drop-shadow(0 3px 8px rgba(0, 51, 153, 0.1));
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
  animation:
    brand-logo-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) backwards,
    brand-logo-glow 3s ease-in-out 0.75s infinite;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 2px 6px rgba(0, 51, 153, 0.26)) drop-shadow(0 5px 12px rgba(178, 30, 35, 0.11));
}

@media (prefers-reduced-motion: reduce) {
  .brand-logo {
    animation: none;
    filter: drop-shadow(0 1px 4px rgba(0, 51, 153, 0.16));
  }

  .brand::after {
    display: none;
    animation: none;
  }

  .brand:hover .brand-logo,
  .brand:focus-visible .brand-logo {
    transform: none;
  }
}

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

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-nav .btn--primary,
.site-nav .btn--primary:hover,
.site-nav .btn--primary:focus-visible {
  color: var(--white);
  text-decoration: none;
}

.nav-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--blue);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue);
  margin-inline: auto;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

.btn--light:hover {
  background: var(--gray-50);
  color: var(--blue-dark);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}

.btn--whatsapp:hover {
  background: #128c7e;
  border-color: #128c7e;
  color: var(--white);
}

.btn--whatsapp-top {
  width: 36px;
  height: 36px;
  padding: 0;
  min-height: 36px;
  border-radius: 50%;
  gap: 0;
  box-shadow: 0 6px 14px rgba(18, 140, 90, 0.2);
}

.btn-whatsapp__icon {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.btn-whatsapp__icon svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.site-nav .btn--whatsapp,
.site-nav .btn--whatsapp:hover,
.site-nav .btn--whatsapp:focus-visible {
  color: var(--white);
  text-decoration: none;
}

.btn--lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 31, 92, 0.92) 0%, rgba(0, 51, 153, 0.55) 45%, rgba(178, 30, 35, 0.25) 100%),
    url("../images/hero-shop.jpg") center / cover no-repeat;
  transform: scale(1.01);
  animation: hero-bg-fade 0.8s ease-out both;
  will-change: opacity, transform;
}

@keyframes hero-bg-fade {
  from {
    opacity: 0.12;
    transform: scale(1.03);
  }
  to {
    opacity: 1;
    transform: scale(1.01);
  }
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__bg::after {
  background: linear-gradient(to top, rgba(0, 17, 51, 0.85) 0%, transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: 100%;
  /* Wider than default site container so hero sign + copy fit on large screens */
  max-width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  padding-top: 2rem;
  overflow: hidden;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 500px);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4.5rem);
  overflow: hidden;
}

@media (min-width: 1200px) {
  .hero__layout {
    gap: clamp(3rem, 5vw, 5rem);
  }
}

.hero__main {
  min-width: 0;
  text-align: left;
}

.hero__aside {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  max-width: 500px;
  width: 100%;
  justify-self: end;
  overflow: hidden;
}

/* Hero sign */
@keyframes hero-sign-startup {
  0%,
  8% {
    opacity: 0.1;
    transform: translate3d(0, 0, 0);
    filter: brightness(0.72) saturate(0.9) contrast(1);
  }
  10% {
    opacity: 0.82;
    transform: translate3d(0.2px, -0.2px, 0) rotate(-0.1deg);
    filter:
      brightness(0.94) saturate(1.15) contrast(1.01)
      drop-shadow(0 0 2px rgba(255, 255, 255, 0.32))
      drop-shadow(0 0 8px rgba(0, 230, 255, 0.24))
      drop-shadow(0 0 16px rgba(0, 170, 255, 0.14))
      drop-shadow(0 0 8px rgba(255, 40, 160, 0.1));
  }
  11.5% {
    opacity: 0.2;
    transform: translate3d(-0.35px, 0.15px, 0) rotate(0.08deg);
    filter: brightness(0.78) saturate(0.95) contrast(1);
  }
  13% {
    opacity: 0.9;
    transform: translate3d(0.35px, 0.15px, 0) rotate(-0.12deg);
    filter:
      brightness(0.98) saturate(1.2) contrast(1.02)
      drop-shadow(0 0 2px rgba(255, 255, 255, 0.34))
      drop-shadow(0 0 9px rgba(0, 230, 255, 0.25))
      drop-shadow(0 0 17px rgba(0, 170, 255, 0.15))
      drop-shadow(0 0 9px rgba(255, 40, 160, 0.1));
  }
  14.5% {
    opacity: 0.16;
    transform: translate3d(-0.3px, -0.15px, 0) rotate(0.1deg);
    filter: brightness(0.75) saturate(0.9) contrast(1);
  }
  16% {
    opacity: 0.86;
    transform: translate3d(0.25px, 0.1px, 0) rotate(-0.09deg);
    filter:
      brightness(0.95) saturate(1.18) contrast(1.02)
      drop-shadow(0 0 2px rgba(255, 255, 255, 0.33))
      drop-shadow(0 0 8px rgba(0, 230, 255, 0.24))
      drop-shadow(0 0 16px rgba(0, 170, 255, 0.14))
      drop-shadow(0 0 8px rgba(255, 40, 160, 0.1));
  }
  18% {
    opacity: 0.22;
    transform: translate3d(-0.2px, 0.2px, 0) rotate(0.06deg);
    filter: brightness(0.78) saturate(0.94) contrast(1);
  }
  20% {
    opacity: 0.98;
    transform: translate3d(0.1px, -0.1px, 0) rotate(-0.04deg);
    filter:
      brightness(1) saturate(1.22) contrast(1.02)
      drop-shadow(0 0 2px rgba(255, 255, 255, 0.35))
      drop-shadow(0 0 9px rgba(0, 230, 255, 0.25))
      drop-shadow(0 0 18px rgba(0, 170, 255, 0.16))
      drop-shadow(0 0 9px rgba(255, 40, 160, 0.1));
  }
  24%,
  74% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter:
      brightness(1.01) saturate(1.22) contrast(1.02)
      drop-shadow(0 0 2px rgba(255, 255, 255, 0.35))
      drop-shadow(0 0 10px rgba(0, 230, 255, 0.26))
      drop-shadow(0 0 20px rgba(0, 170, 255, 0.17))
      drop-shadow(0 0 10px rgba(255, 40, 160, 0.11));
  }
  78% {
    opacity: 0.18;
    transform: translate3d(0, 0, 0);
    filter: brightness(0.76) saturate(0.9) contrast(1);
  }
  100% {
    opacity: 0.1;
    transform: translate3d(0, 0, 0);
    filter: brightness(0.72) saturate(0.88) contrast(1);
  }
}

@keyframes hero-sign-halo {
  0%,
  8%,
  100% {
    opacity: 0;
  }
  10% {
    opacity: 0.16;
  }
  11.5% {
    opacity: 0.03;
  }
  13% {
    opacity: 0.2;
  }
  14.5% {
    opacity: 0.02;
  }
  16% {
    opacity: 0.17;
  }
  18% {
    opacity: 0.04;
  }
  24%,
  74% {
    opacity: 0.22;
  }
  78% {
    opacity: 0.02;
  }
}

.hero__figure {
  margin: 0;
  width: auto;
  max-width: none;
  overflow: hidden;
}

.hero__sign-wrap {
  position: relative;
  display: inline-block;
  width: auto;
  isolation: isolate;
}

.hero__sign-wrap::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: 0;
  pointer-events: none;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 68% 58% at 50% 44%, rgba(0, 230, 255, 0.35) 0%, transparent 64%),
    radial-gradient(ellipse 52% 46% at 52% 62%, rgba(255, 30, 150, 0.15) 0%, transparent 68%);
  filter: blur(12px) saturate(1.08);
  opacity: 0;
  animation: hero-sign-halo 7.2s linear infinite;
}

.hero__sign {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: none;
  height: auto;
  transform-origin: center;
  will-change: filter, opacity, transform;
  animation: hero-sign-startup 7.2s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hero__bg {
    animation: none;
    transform: none;
  }

  .hero__sign-wrap::before,
  .hero__sign {
    animation: none;
  }

  .hero__sign-wrap::before {
    opacity: 0.18;
  }

  .hero__sign {
    opacity: 1;
    filter:
      brightness(1.01) saturate(1.2) contrast(1.02)
      drop-shadow(0 0 2px rgba(255, 255, 255, 0.34))
      drop-shadow(0 0 10px rgba(0, 230, 255, 0.24))
      drop-shadow(0 0 18px rgba(0, 170, 255, 0.16))
      drop-shadow(0 0 9px rgba(255, 40, 160, 0.1));
  }
}

@media (max-width: 1200px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 5vw, 2.25rem);
    align-items: start;
  }

  .hero__aside {
    justify-content: center;
    justify-self: center;
    max-width: none;
    width: auto;
    padding-bottom: 0.25rem;
  }

  .hero__figure {
    width: auto;
    max-width: none;
    margin-inline: auto;
  }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.95;
  margin: 0 0 0.75rem;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.85rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.12;
  max-width: 18ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  max-width: 38ch;
  opacity: 0.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.92;
}

.trust-row .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  vertical-align: middle;
  margin-right: 0.35rem;
}

/* Thin banner below hero */
.hero-banner {
  width: 100%;
  background: #000;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
  background-size: 220% 100%;
  background-position: 120% 0;
  animation: hero-banner-sheen 7.5s ease-in-out infinite;
}

.hero-banner__image {
  width: auto;
  max-width: 100%;
  max-height: clamp(44px, 8vw, 120px);
  height: auto;
  display: block;
  position: relative;
  z-index: 0;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.12));
}

@keyframes hero-banner-sheen {
  0%,
  70% {
    background-position: 120% 0;
  }
  100% {
    background-position: -40% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-banner::after {
    animation: none;
  }
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section--tight {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.section--muted {
  background: var(--gray-50);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  font-style: italic;
  color: var(--blue);
}

.section-sub {
  margin: 0;
  color: var(--gray-600);
}

/* Grid */
.grid--services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}

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

@media (max-width: 640px) {
  .grid--services {
    grid-template-columns: 1fr;
  }
}

.card--service {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color var(--transition);
}

.card--service:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 51, 153, 0.25);
}

.card__icon {
  font-size: 1.75rem;
  color: var(--red);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.card--service h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--blue-dark);
}

.card--service p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray-600);
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  min-height: 420px;
}

.split__media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.split__body {
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--white);
}

.split__body h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  font-style: italic;
  color: var(--blue);
}

.split__body p {
  margin: 0 0 1rem;
  color: var(--gray-600);
}

.split--reverse .split__media {
  order: 2;
}

.split--reverse .split__body {
  order: 1;
}

.checklist {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--gray-900);
}

.checklist li {
  margin-bottom: 0.35rem;
}

.pullquote {
  margin: 1.5rem 0 0;
  padding: 1rem 0 0;
  border-top: 3px solid var(--red);
  font-style: italic;
  color: var(--gray-600);
}

.pullquote footer {
  margin-top: 0.5rem;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.stat__num {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  font-style: italic;
  color: var(--red);
  line-height: 1.1;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Reviews carousel */
.section--reviews {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%);
}

.reviews-summary {
  margin: 0 auto 1.25rem;
  max-width: fit-content;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(0, 51, 153, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--gray-600);
  font-size: 0.88rem;
}

.reviews-summary strong {
  color: var(--blue);
  margin-right: 0.2rem;
}

.reviews {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.reviews__viewport {
  overflow: hidden;
  border-radius: 18px;
}

.reviews__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.review-card {
  position: relative;
  flex: 0 0 100%;
  background: #fff;
  border: 1px solid rgba(0, 51, 153, 0.13);
  border-radius: 18px;
  padding: clamp(1.2rem, 2vw, 1.7rem);
  box-shadow: 0 12px 28px rgba(0, 51, 153, 0.1);
}

.review-card::before {
  content: "“";
  position: absolute;
  top: 0.65rem;
  right: 0.95rem;
  font-size: 3.25rem;
  line-height: 1;
  color: rgba(178, 30, 35, 0.12);
  font-family: Georgia, serif;
  pointer-events: none;
}

.review-card__stars {
  color: #fbbc04;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.review-card__text {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #252c3f;
}

.review-card__meta {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.86rem;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue) 0%, var(--red) 100%);
  box-shadow: 0 8px 18px rgba(0, 51, 153, 0.2);
}

.review-card__identity {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.review-card__name {
  font-weight: 700;
  color: var(--blue);
}

.review-card__loc {
  color: var(--gray-600);
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 51, 153, 0.22);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
}

.carousel-btn::before {
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 400;
}

.carousel-btn--prev::before {
  content: "‹";
}

.carousel-btn--next::before {
  content: "›";
}

.carousel-btn:hover {
  background: #f3f7ff;
  transform: translateY(-1px);
  border-color: var(--blue);
  color: var(--blue-dark);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  background: #f7f9fc;
  border-color: rgba(0, 51, 153, 0.12);
  color: rgba(0, 51, 153, 0.45);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c7d2e9;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), opacity var(--transition);
}

.carousel-dots button[aria-current="true"] {
  background: var(--red);
  transform: scale(1.35);
}

@media (max-width: 768px) {
  .reviews {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }

  .reviews-summary {
    max-width: 100%;
    text-align: center;
    line-height: 1.45;
  }

  .carousel-btn {
    display: none;
  }
}

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 55%, #0a2463 100%);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  font-style: italic;
}

.cta-band p {
  margin: 0;
  opacity: 0.95;
  max-width: 520px;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-grid h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  font-style: italic;
  color: var(--blue);
}

.address {
  font-style: normal;
  margin: 1.25rem 0;
  line-height: 1.6;
}

.hours {
  margin: 1rem 0;
}

.link-tel {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--red);
  text-decoration: none;
}

.link-tel:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.2);
}

.form-note {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin: 0 0 1rem;
}

/* Footer */
.site-footer {
  background: var(--gray-900);
  color: #c8d0e0;
  padding: 2rem 0;
  text-align: center;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  margin: 0 auto 0.95rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(0, 51, 153, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.footer-logo {
  margin: 0;
  width: clamp(180px, 23vw, 230px);
  height: auto;
  opacity: 1;
  filter: none;
}

.footer-tagline {
  margin: 0 0 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-legal {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.75;
  max-width: 560px;
  margin-inline: auto;
}

.footer-legal a {
  color: #8fd3ff;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #ff4d57;
}

/* Floating WhatsApp CTA */
@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 10px 24px rgba(18, 140, 90, 0.32), 0 0 0 0 rgba(37, 211, 102, 0.32);
  }
  50% {
    box-shadow: 0 12px 28px rgba(18, 140, 90, 0.36), 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  position: fixed;
  right: clamp(0.85rem, 2.4vw, 1.4rem);
  bottom: calc(clamp(0.95rem, 2.6vw, 1.5rem) + env(safe-area-inset-bottom, 0px));
  width: 56px;
  height: 56px;
  border: 2px solid #25d366;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 130;
  box-shadow: 0 10px 24px rgba(18, 140, 90, 0.32);
  animation: whatsapp-pulse 2.8s ease-in-out infinite;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.whatsapp-float:hover {
  background: #128c7e;
  border-color: #128c7e;
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 2px;
}

.whatsapp-float__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.whatsapp-float__icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

/* Floating scroll-to-top button */
.scroll-top-btn {
  position: fixed;
  right: clamp(0.85rem, 2.4vw, 1.4rem);
  bottom: calc(clamp(0.95rem, 2.6vw, 1.5rem) + 68px + env(safe-area-inset-bottom, 0px));
  width: 52px;
  height: 52px;
  border: 1px solid rgba(0, 51, 153, 0.2);
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 12px 28px rgba(0, 51, 153, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  background: #f4f8ff;
  border-color: rgba(0, 51, 153, 0.35);
  color: var(--blue-dark);
}

.scroll-top-btn:focus-visible {
  outline: 3px solid rgba(0, 51, 153, 0.28);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
  }

  .whatsapp-float__icon {
    font-size: 0.86rem;
  }

  .whatsapp-float__icon svg {
    width: 25px;
    height: 25px;
  }

  .scroll-top-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
    transition: none;
  }

  .scroll-top-btn {
    transition: opacity 0.2s ease;
    transform: none;
  }

  .scroll-top-btn.is-visible {
    transform: none;
  }
}

/* Mobile */
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 1;
  }

  .split--reverse .split__body {
    order: 2;
  }

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

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

  .split__media img {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  body.nav-open {
    overflow: hidden;
  }

  .section {
    padding: clamp(2.25rem, 8vw, 3rem) 0;
  }

  .hero {
    min-height: auto;
    padding-bottom: 2.25rem;
  }

  .hero__content {
    padding-inline: 1rem;
    overflow-x: clip;
  }

  .hero__title {
    max-width: none;
  }

  .hero__lead {
    max-width: none;
    font-size: 1rem;
  }

  .trust-row {
    font-size: 0.84rem;
    gap: 0.65rem 0.95rem;
  }

  .hero__figure {
    width: 100%;
    max-width: min(86vw, 420px);
  }

  .hero__sign {
    width: 100%;
    max-width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.95rem;
    padding: 0.9rem 0.9rem calc(0.95rem + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid rgba(0, 51, 153, 0.08);
    border-bottom: 1px solid rgba(0, 51, 153, 0.1);
    box-shadow: 0 12px 32px rgba(0, 51, 153, 0.12);
    height: calc(100dvh - var(--header-h));
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

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

  .nav-list {
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 0;
    padding: 0;
  }

  .site-nav .nav-list a {
    display: block;
    padding: 0.8rem 0.85rem;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: #f7f9ff;
    font-size: 0.96rem;
    text-decoration: none;
  }

  .nav-cta {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.1rem;
  }

  .nav-cta .btn {
    width: 100%;
    min-height: 44px;
  }

  .nav-cta .btn--whatsapp-top {
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    justify-content: center;
    gap: 0.45rem;
  }

  .site-nav .btn--whatsapp-top::after {
    content: "WhatsApp";
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
  }

  .site-nav .btn--whatsapp-top .btn-whatsapp__icon {
    width: 18px;
    height: 18px;
  }

  .nav-cta .btn--primary {
    order: 3;
  }

  .carousel-btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .cta-band__actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-band__actions .btn {
    width: 100%;
  }

  .split__media img {
    min-height: 210px;
  }

  .footer-legal {
    font-size: 0.72rem;
    line-height: 1.55;
  }
}
