:root {
  --naranja: #ea682e;
  --naranja-suave: #eda050;
  --azul: #2d70ac;
  --azul-claro: #6188bc;
  --tinta: #3c3c3b;
  --gris: #6f6f6e;
  --gris-medio: #9d9c9c;
  --gris-claro: #c6c6c5;
  --papel: #f7f4ef;
  --blanco: #ffffff;
  --sombra: 0 18px 50px rgba(45, 112, 172, 0.12);
  --radio: 18px;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body.voluntades-body {
  margin: 0;
  color: var(--tinta);
  background: var(--blanco);
  font-family: Verdana, Geneva, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: var(--azul);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

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

h1,
h2,
h3,
.font-titulo {
  font-family: "Outfit", Verdana, sans-serif;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--tinta);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(60, 60, 59, 0.08);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.site-logo img,
.site-logo .custom-logo {
  height: 58px;
  width: auto;
}

.site-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo--text {
  font-family: "Outfit", Verdana, sans-serif;
  font-size: 1.35rem;
  color: var(--naranja);
  text-decoration: none;
  text-transform: lowercase;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--azul);
  color: white;
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font: inherit;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--tinta);
  font-size: 0.92rem;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
  color: var(--azul);
}

.nav-cta a,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--naranja);
  color: white !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  font-family: "Outfit", Verdana, sans-serif;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}

.btn:hover,
.nav-cta a:hover {
  background: #d45520;
}

.btn--azul {
  background: var(--azul);
}

.btn--azul:hover {
  background: #245f91;
}

.btn--linea {
  background: transparent;
  color: white !important;
  box-shadow: inset 0 0 0 1.5px white;
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  place-items: end stretch;
  color: white;
  background: var(--azul) center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(45, 112, 172, 0.88) 0%,
    rgba(45, 112, 172, 0.55) 48%,
    rgba(234, 104, 46, 0.28) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.5rem;
  max-width: 40rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-family: "Outfit", Verdana, sans-serif;
  font-weight: 600;
}

.kicker::before {
  content: "";
  width: 9px;
  height: 22px;
  background: var(--naranja);
}

.hero-slider {
  position: relative;
}

.hero-slider .hero {
  display: none;
}

.hero-slider .hero.is-active {
  display: grid;
}

.hero-slider .slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.hero-slider .slider-btn--prev {
  left: 1rem;
}

.hero-slider .slider-btn--next {
  right: 1rem;
}

.hero-slider__dots {
  position: absolute;
  bottom: 1.2rem;
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-slider__dots .slider-dot {
  background: rgba(255, 255, 255, 0.45);
}

.hero-slider__dots .slider-dot.is-active {
  background: var(--naranja);
}

.hero h1 {
  color: white;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  margin: 0.6rem 0 1rem;
}

.hero p {
  font-size: 1.05rem;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.section {
  padding: 4.2rem 0;
}

.section--papel {
  background: var(--papel);
}

.section--azul {
  background: var(--azul);
  color: white;
}

.section--azul h2,
.section--azul p,
.section--azul h3 {
  color: white;
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section__head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0.4rem 0 0.7rem;
}

.eyebrow {
  color: var(--naranja);
  font-family: "Outfit", Verdana, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 1.1rem;
}

.grid-2 {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

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

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

.card,
.car-card,
.pillar {
  background: white;
  border-radius: var(--radio);
  padding: 1.25rem 1.2rem 1.3rem;
  box-shadow: var(--sombra);
}

.car-card {
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.car-card:hover {
  transform: translateY(-4px);
}

.car-card__more {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--naranja);
  font-family: "Outfit", Verdana, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}

.car-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.6rem;
  align-items: center;
}

.slider-viewport {
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 1.1rem;
  transition: transform 0.45s ease;
}

.car-slider .car-card {
  flex: 0 0 min(320px, 78vw);
}

.slider-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--azul);
  color: white;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.slider-btn:hover {
  background: var(--naranja);
}

.slider-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: var(--gris-claro);
  cursor: pointer;
  padding: 0;
}

.slider-dot.is-active {
  background: var(--naranja);
}

.metodo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.metodo-card {
  background: white;
  border-radius: var(--radio);
  padding: 1.4rem 1.25rem 1.5rem;
  box-shadow: var(--sombra);
  border-top: 5px solid var(--naranja);
  position: relative;
}

.metodo-card__num {
  font-family: "Outfit", Verdana, sans-serif;
  font-size: 2rem;
  color: var(--azul);
  line-height: 1;
  margin-bottom: 0.7rem;
}

.metodo-card__icon img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.6rem;
}

.metodo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(45, 112, 172, 0.18);
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.7rem;
}

.gallery__item {
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 16px;
}

.gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery__item:first-child {
  grid-row: span 2;
}

.gallery__item:first-child img {
  height: 100%;
  min-height: 460px;
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.will-animate {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.will-animate.is-visible {
  opacity: 1;
  transform: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 32, 48, 0.88);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(960px, 100%);
  max-height: 82vh;
  border-radius: 12px;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--naranja);
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}

.lightbox__caption {
  color: white;
  margin: 0.8rem 0 0;
  font-family: "Outfit", Verdana, sans-serif;
}

.car-single__photo img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 1.4rem;
}

.car-card,
.metodo-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.car-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.car-card__body {
  padding: 1rem 1.1rem 1.15rem;
}

.car-card h3,
.pillar h3,
.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.muted {
  color: var(--gris);
}

.photo-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--sombra);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 0.7rem;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
}

.gallery img:first-child {
  height: 100%;
  min-height: 460px;
  grid-row: span 2;
}

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

.page-hero {
  background: var(--azul);
  color: white;
  padding: 3.4rem 0 2.6rem;
}

.page-hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.3rem 0 0.6rem;
}

.page-hero p {
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.92);
}

.has-naranja-color { color: #EA682E !important; }
.has-naranja-suave-color { color: #EDA050 !important; }
.has-azul-color { color: #2D70AC !important; }
.has-azul-claro-color { color: #6188BC !important; }
.has-tinta-color { color: #3C3C3B !important; }
.has-gris-color { color: #6F6F6E !important; }
.has-blanco-color { color: #FFFFFF !important; }
.has-papel-color { color: #F7F4EF !important; }

.has-naranja-background-color { background-color: #EA682E !important; }
.has-naranja-suave-background-color { background-color: #EDA050 !important; }
.has-azul-background-color { background-color: #2D70AC !important; }
.has-azul-claro-background-color { background-color: #6188BC !important; }
.has-tinta-background-color { background-color: #3C3C3B !important; }
.has-gris-background-color { background-color: #6F6F6E !important; }
.has-blanco-background-color { background-color: #FFFFFF !important; }
.has-papel-background-color { background-color: #F7F4EF !important; }

.has-small-font-size { font-size: 0.9rem !important; }
.has-medium-font-size { font-size: 1.05rem !important; }
.has-large-font-size { font-size: 1.5rem !important; }
.has-x-large-font-size { font-size: 2.1rem !important; }
.has-xx-large-font-size { font-size: 2.8rem !important; }

.entry {
  padding: 2.6rem 0 4rem;
}

.entry h2 {
  font-size: 1.7rem;
}

.timeline {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
}

.timeline div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(60, 60, 59, 0.1);
}

.timeline strong {
  color: var(--naranja);
  font-family: "Outfit", Verdana, sans-serif;
}

.site-footer {
  background: var(--azul);
  color: white;
  padding: 2.6rem 0 1.4rem;
}

.site-footer a {
  color: white;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer img {
  height: 64px;
  width: auto;
  background: white;
  border-radius: 12px;
  padding: 0.35rem;
}

.site-footer small {
  display: block;
  margin-top: 2rem;
  opacity: 0.8;
}

.entry .wp-block-button__link,
.entry .btn {
  background: var(--naranja);
  color: white !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  display: inline-block;
}

.entry figure {
  margin: 1.2rem 0;
}

.entry img {
  border-radius: 16px;
}

.entry ul {
  padding-left: 1.2rem;
}


@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    inset: 76px 0 auto;
    background: white;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.2rem 1.2rem;
    border-bottom: 1px solid rgba(60, 60, 59, 0.08);
  }

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

  .grid-2,
  .grid-3,
  .grid-4,
  .gallery,
  .site-footer__grid,
  .cta-banda {
    grid-template-columns: 1fr;
    display: grid;
  }

  .gallery,
  .gallery img,
  .gallery__item:first-child img {
    min-height: 0;
    height: 220px;
    grid-row: auto;
  }

  .car-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

  .hero {
    min-height: 72vh;
  }
}
