/* style.css */
/*
Theme Name: AC Viajes
Author: AC Viajes
Description: Tema personalizado para AC Viajes.
Version: 1.0
*/

/* ==========================================================
MONTSERRAT — NORMAL
========================================================== */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("https://viajes.crythion.com/wp-content/themes/acviajes-theme/assets/fonts/Montserrat-Variable.woff2") format("woff2-variations");
}

/* ==========================================================
MONTSERRAT — ITALIC
========================================================== */

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url("https://viajes.crythion.com/wp-content/themes/acviajes-theme/assets/fonts/Montserrat-Italic-Variable.woff2")
    format("woff2-variations");
}

:root {
  --color-primary: rgb(63, 208, 211);
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;

  font-family:
    "Montserrat",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
}

/* --------------------------------------------------------------------------
COUNTRY CODE DROPDOWN SELECT STYLES
-------------------------------------------------------------------------- */

.phone-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.country-code-select-wrapper {
  position: relative;
  flex-shrink: 0;
}

.country-code-select {
  padding: 0 32px 0 12px;
  height: 48px;

  border: 1px solid #ccd0d4;
  border-radius: 6px;

  background-color: #fff;

  font-size: 16px;
  font-family: inherit;

  cursor: pointer;

  display: inline-flex;
  align-items: center;

  outline: none;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  color: #333;
}

.country-code-select-wrapper::after {
  content: "\f0d7";

  font-family: "Font Awesome 6 Free";
  font-weight: 900;

  position: absolute;
  right: 12px;
  top: 50%;

  transform: translateY(-50%);

  pointer-events: none;

  color: #666;
  font-size: 12px;
}

.phone-input-group input[type="tel"] {
  flex: 1 !important;
  min-width: 0 !important;
}

/* --------------------------------------------------------------------------
GLOBAL MOBILE RESETS
-------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

img,
video,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
}

.container {
  min-width: 0;
}

/* --------------------------------------------------------------------------
ICONOS SVG (reemplazo de Font Awesome)
-------------------------------------------------------------------------- */

svg.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
FORM CONTROLS
-------------------------------------------------------------------------- */

@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* --------------------------------------------------------------------------
COUNTRY CODE RESPONSIVE
-------------------------------------------------------------------------- */

@media (max-width: 480px) {
  .country-code-select {
    height: 44px;
    font-size: 14px;
  }

  .phone-input-group {
    gap: 6px;
  }
}

/* --------------------------------------------------------------------------
CUSTOM SCROLLBAR (Estilización de Barra de Desplazamiento Horizontal y Vertical)
-------------------------------------------------------------------------- */

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #0b111e #f1f5f9;
}

/* Webkit (Chrome, Edge, Safari, Opera) */
::-webkit-scrollbar {
  width: 8px;
  height: 8px; /* Altura para la barra de scroll horizontal */
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #0b111e;
  border-radius: 10px;
  border: 2px solid #f1f5f9;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e293b;
}

::-webkit-scrollbar-corner {
  background: #f1f5f9;
}



/* components/header/header.css */
/*|--------------------------------------------------------------------------
| SITE HEADER
|--------------------------------------------------------------------------
*/

/*|--------------------------------------------------------------------------
| HEADER BASE
|--------------------------------------------------------------------------
*/

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 14px;
  box-sizing: border-box;
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  color: var(--color-primary);
}
/*|--------------------------------------------------------------------------
| HEADER CONTAINER (Desktop: 3 columnas para centrado perfecto de Nav)
|--------------------------------------------------------------------------
*/

.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  gap: 20px;
}

/*|--------------------------------------------------------------------------
| LOGO
|--------------------------------------------------------------------------
*/

.site-logo {
  grid-column: 1;
  display: flex;
  align-items: center;
  justify-self: start;
  flex-shrink: 0;
  min-width: 0;
}

.site-logo a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

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

.site-logo .custom-logo {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 40px;
  object-fit: contain;
}

/*|--------------------------------------------------------------------------
| NAVIGATION (Centrada)
|--------------------------------------------------------------------------
*/

.site-nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-self: center;
  min-width: 0;
}

.site-nav ul {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  gap: 32px;
  list-style: none;
}

.site-nav li {
  margin: 0;
  padding: 0;
}

/*|--------------------------------------------------------------------------
| NAVIGATION LINKS
|--------------------------------------------------------------------------
*/

.site-nav a {
  position: relative;
  display: inline-block;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  transition:
    opacity 0.25s ease,
    color 0.25s ease;
}

.site-nav a:hover {
  color: color-mix(in srgb, var(--color-primary), black 10%);
}

/*|--------------------------------------------------------------------------
| LINK UNDERLINE
|--------------------------------------------------------------------------
*/

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.25s ease;
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after {
  width: 100%;
}

/*|--------------------------------------------------------------------------
| GTRANSLATE (Lado derecho)
|--------------------------------------------------------------------------
*/

.site-lang {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  min-width: 0;
  flex-shrink: 0;
}

.site-lang .gt_float_switcher {
  display: flex !important;
  align-items: center;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-family: inherit !important;
}

.site-lang .gt-current-lang {
  display: flex !important;
  align-items: center;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  color: var(--color-primary) !important;
  cursor: pointer;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.site-lang .gt-current-lang:hover {
  color: color-mix(in srgb, var(--color-primary), black 10%) !important;
}

.site-lang .gt_float_switcher img {
  width: 20px !important;
  height: auto !important;
  margin-right: 6px !important;
  vertical-align: middle !important;
  border-radius: 2px !important;
}

.site-lang .gt-lang-code {
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-lang .gt_float_switcher-arrow {
  margin-left: 6px !important;
  border-top-color: var(--color-primary) !important;
  transform: scale(1.15);
}

.site-lang .gt_options {
  display: none;
  position: fixed !important;
  top: 50px !important;
  right: 0px !important;
  width: auto !important;
  min-width: 140px;
  max-width: calc(100vw - 32px) !important;
  padding: 6px !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08) !important;
  z-index: 99999 !important;
  box-sizing: border-box !important;
}

.site-lang .gt_options a {
  display: flex !important;
  align-items: center;
  width: auto !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  color: #333333 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.site-lang .gt_options a img {
  width: 18px !important;
  height: auto !important;
  margin-right: 8px !important;
  border-radius: 2px !important;
}

.site-lang a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

/*|--------------------------------------------------------------------------
| HAMBURGER BUTTON (Oculto en desktop)
|--------------------------------------------------------------------------
*/

.site-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.site-nav-toggle:hover {
  background-color: color-mix(in srgb, var(--color-primary), transparent 92%);
}

.hamburger-bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  transform-origin: center;
}

/* Hamburguesa abierta */
.site-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.site-nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/*|--------------------------------------------------------------------------
| ACCESSIBILITY
|--------------------------------------------------------------------------
*/

.site-nav a:focus-visible,
.site-logo a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 6px;
}

/*|--------------------------------------------------------------------------
| TABLET (900px)
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {
  .site-header .container {
    gap: 16px;
  }

  .site-nav ul {
    gap: 20px;
  }

  .site-nav a {
    font-size: 14px;
  }
}

/*|--------------------------------------------------------------------------
| MOBILE (<= 768px)
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {
  .site-header {
    padding: 10px 0;
    overflow-x: clip;
  }

  /* Contenedor en Grid de 2 filas:
     Fila 1: [Hamburguesa (40px)] [Logo (1fr)] [Idioma (auto)]
     Fila 2: [Menú desplegable de ancho completo] */
  .site-header .container {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  /* Hamburguesa */
  .site-nav-toggle {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    margin: 0;
  }

  /* Logo */
  .site-logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .site-logo .custom-logo {
    max-width: 135px;
    max-height: 42px;
  }

  .site-logo a {
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Idioma */
  .site-lang {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin: 0;
  }

  .site-lang .gt-current-lang {
    font-size: 13px !important;
  }

  .site-lang .gt-lang-code {
    font-size: 13px !important;
  }

  .site-lang .gt_float_switcher img {
    width: 18px !important;
  }

  /* Navegación desplegable */
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    border-top: 1px solid transparent;
    box-sizing: border-box;
    transition:
      max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.25s ease,
      visibility 0.35s ease,
      border-color 0.35s ease;
  }

  .site-nav.is-open {
    max-height: 80vh;
    overflow-y: auto;
    visibility: visible;
    opacity: 1;
    border-top-color: #e2e8f0;
    margin-top: 8px;
  }

  .site-nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 8px 0 16px;
    gap: 0;
    box-sizing: border-box;
  }

  .site-nav li {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 12px 6px;
    box-sizing: border-box;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav li:last-child a {
    border-bottom: none;
  }
}

/*|--------------------------------------------------------------------------
| SMALL MOBILE (<= 480px)
|--------------------------------------------------------------------------
*/

@media (max-width: 480px) {
  .site-header {
    padding: 8px 0;
  }

  .site-header .container {
    padding: 0 12px;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    column-gap: 8px;
  }

  .site-nav-toggle {
    width: 36px;
    height: 36px;
  }

  .site-logo .custom-logo {
    max-width: 110px;
    max-height: 36px;
  }

  .site-logo a {
    font-size: 18px;
  }

  .site-lang .gt-current-lang {
    font-size: 12px !important;
  }

  .site-lang .gt-lang-code {
    font-size: 12px !important;
  }

  .site-lang .gt_float_switcher img {
    width: 16px !important;
  }

  .site-lang .gt_options {
    top: 50px !important;
    right: 0px !important;
    max-width: calc(100vw - 24px) !important;
  }
}

/* components/footer/footer.css */
/* =========================================================
   SITE FOOTER - DISEÑO MODERNO PROFESIONAL
   ========================================================= */

.site-footer {
  padding: 48px 0 24px;
  background-color: #0b111e;
  color: #ffffff;
  font-family: inherit;
}

/* =========================================================
   CONTAINER
   ========================================================= */

.site-footer .container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* =========================================================
   1. LOGOS DE CONFIANZA / DISTINTIVOS (NOSOTROS)
   ========================================================= */

.site-footer__badges-strip {
  padding-bottom: 36px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.site-footer__badges-track {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 60px;
}

.site-footer__badge-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 95px;
}

.site-footer__badge-item img {
  display: block;
  height: 95px !important;
  min-height: 95px !important;
  max-height: 95px !important;
  width: auto !important;
  max-width: 300px;
  object-fit: contain;
  opacity: 0.95;
  filter: brightness(0.98) contrast(1.02);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.site-footer__badge-item:hover img {
  opacity: 1;
  transform: scale(1.06);
}

/* =========================================================
   2. CUADRÍCULA PRINCIPAL DE 4 COLUMNAS
   ========================================================= */

/* =========================================================
   2. CUADRÍCULA PRINCIPAL DE 4 COLUMNAS
   ========================================================= */

.site-footer__main-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.35fr 0.9fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  text-align: left;
}

.site-footer__col-title {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Columna 1 y 2: Contacto e Información */
.site-footer__contact-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__contact-items li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.site-footer__contact-svg {
  width: 18px;
  height: 18px;
  color: #ffffff;
  opacity: 0.92;
  flex-shrink: 0;
  margin-top: 2px;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.site-footer__contact-items li:hover .site-footer__contact-svg {
  opacity: 1;
  transform: scale(1.1);
}

.site-footer__contact-texts {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}

.site-footer__contact-texts span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer__contact-texts span.site-footer__contact-tag {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.site-footer__contact-texts a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.site-footer__contact-texts a:hover {
  color: var(--color-primary);
}

/* Mapa Interactivo de Ubicación */
.site-footer__map-box {
  margin-top: 10px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.site-footer__map-box iframe {
  display: block;
  width: 100%;
  height: 140px;
  border: 0;
  filter: contrast(1.04);
  transition: filter 0.3s ease;
}

.site-footer__contact-texts address {
  color: rgba(255, 255, 255, 0.85);
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
}

/* Columna 3: Navegación (Explora Perú) */
.site-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav-list a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.site-footer__nav-list a:hover {
  color: var(--color-primary);
}

/* Columna 4: Conecta */
.site-footer__connect-tag {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.site-footer__social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-footer__social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;

  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-footer__social-circle svg,
.site-footer__social-circle .icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.site-footer__social-circle:hover {
  color: #ffffff;
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--color-primary) 30%, transparent);
}

/* =========================================================
   3. BARRA INFERIOR / COPYRIGHT
   ========================================================= */

.site-footer__bottom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__bottom-bar p {
  margin: 0;
}

/* =========================================================
   RESPONSIVE (TABLET Y MÓVIL)
   ========================================================= */

@media (max-width: 1024px) {
  .site-footer__badges-track {
    gap: 45px;
  }

  .site-footer__badge-item {
    height: 75px;
  }

  .site-footer__badge-item img {
    height: 75px !important;
    min-height: 75px !important;
    max-height: 75px !important;
    max-width: 240px;
  }

  .site-footer__main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 680px) {
  .site-footer {
    padding: 36px 0 20px;
  }

  .site-footer__badges-strip {
    padding-bottom: 26px;
    margin-bottom: 30px;
  }

  .site-footer__badges-track {
    gap: 32px;
  }

  .site-footer__badge-item {
    height: 58px;
  }

  .site-footer__badge-item img {
    height: 58px !important;
    min-height: 58px !important;
    max-height: 58px !important;
    max-width: 180px;
  }

  .site-footer__main-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }

  .site-footer__bottom-bar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

/* components/hero/ac-hero.css */
/* ==========================================================================
   HERO
   ========================================================================== */

.ac__hero {
  position: relative;
  height: 55vh !important;
  min-height: 320px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

/* Overlay */

.ac__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9, 13, 22, 0.45) 0%,
    rgba(9, 13, 22, 0.4) 40%,
    rgba(9, 13, 22, 0.85) 100%
  );
  z-index: 1;
}

/* Contenido */

.ac__hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Título */

.ac__hero-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: left;
}

@media (max-width: 900px) {
  .ac__hero {
    height: 48vh !important;
  }
}

@media (max-width: 768px) {
  .ac__hero {
    height: 42vh !important;
    min-height: 280px;
  }

  .ac__hero-title {
    margin-left: 0;
    font-size: clamp(28px, 7vw, 40px);
  }
}

@media (max-width: 480px) {
  .ac__hero {
    height: 38vh !important;
    min-height: 240px;
  }

  .ac__hero-title {
    font-size: clamp(24px, 8vw, 32px);
  }
}

/* ==========================================================================
   CONTENIDO QUE SOBRESALE DEL HERO
   ========================================================================== */

.ac__hero-content {
  position: relative;
  z-index: 3;

  margin-top: -56px;

  background: #f8fafc;

  border-radius: 32px 32px 0 0;

  box-shadow: 0 -12px 30px -12px rgba(9, 13, 22, 0.12);

  padding: 42px 0 42px;
}

/* ==========================================================================
   TABLET / MÓVIL
   ========================================================================== */

@media (max-width: 768px) {
  .ac__hero-content {
    margin-top: -32px;

    padding: 32px 0 48px;

    border-radius: 24px 24px 0 0;
  }
}

/* ==========================================================================
   MÓVIL PEQUEÑO
   ========================================================================== */

@media (max-width: 480px) {
  .ac__hero-content {
    margin-top: -24px;

    padding: 26px 0 40px;

    border-radius: 20px 20px 0 0;
  }
}

/* components/buttons/ac-button.css */
/* ==========================================================================
   BOTÓN PRINCIPAL
========================================================================== */

.ac__button {
  --main-size: 15px;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  border: none;
  border-radius: calc(var(--main-size) * 100);
  background: var(--color-primary);
  color: #ffffff;
  font-family: inherit;
  font-size: var(--main-size);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 0.2em var(--color-primary);
  transition: 0.5s;
}

/* ==========================================================
   HOVER
========================================================== */

.ac__button:hover {
  outline: 0.1em solid transparent;
  outline-offset: 0.2em;
  box-shadow: 0 0 1em var(--color-primary);
  animation:
    ripple 1s linear infinite,
    colorize 1s infinite;
}

/* ==========================================================
   ACTIVE
========================================================== */

.ac__button:active {
  transform: scale(0.95);
}

/* ==========================================================
   TEXTO
========================================================== */

.ac__button span {
  margin-right: 0.3em;

  transition: 0.5s;
}
.ac__button:hover span {
  text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.25);
}
.ac__button:active span {
  text-shadow: none;
}

/* ==========================================================
   ICONO
========================================================== */

.ac__button svg {
  position: relative;
  height: 0.8em;
  margin-right: -0.16em;
  fill: #ffffff;
  transition: 0.5s;
}

.ac__button:hover svg {
  margin-right: 0.66em;
  filter: drop-shadow(5px 5px 2.5px rgba(0, 0, 0, 0.25));
  transition: 0.5s;
}

.ac__button:active svg {
  filter: none;
}

/* ==========================================================
   ANIMACIÓN DE POLÍGONOS
========================================================== */

.ac__button svg polygon:nth-child(1) {
  transform: translateX(-60%);
  transition: 0.4s;
}

.ac__button svg polygon:nth-child(2) {
  transform: translateX(-30%);
  transition: 0.5s;
}

.ac__button:hover svg polygon:nth-child(1) {
  transform: translateX(0%);
  animation: ac-button-opacity 1s infinite 0.6s;
}

.ac__button:hover svg polygon:nth-child(2) {
  transform: translateX(0%);
  animation: ac-button-opacity 1s infinite 0.4s;
}

.ac__button:hover svg polygon:nth-child(3) {
  animation: ac-button-opacity 1s infinite 0.2s;
}

/* ==========================================================
   ANIMACIONES DEL BOTÓN
========================================================== */

@keyframes ac-button-opacity {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes colorize {
  0% {
    background: var(--color-primary);
  }

  50% {
    background: color-mix(in srgb, var(--color-primary), black 10%);
  }

  100% {
    background: var(--color-primary);
  }
}

@keyframes ripple {
  0% {
    outline: 0 solid transparent;
    outline-offset: -0.1em;
  }

  50% {
    outline: 0.2em solid
      color-mix(in srgb, var(--color-primary), transparent 75%);

    outline-offset: 0.2em;
  }

  100% {
    outline: 0.4em solid transparent;
    outline-offset: 0.4em;
  }
}

/* components/whatsapp/whatsapp-float.css */
/* ==========================================================================
   ANIMACIÓN TIPO GOTA DE AGUA
   ========================================================================== */

.acv-whatsapp-float {
  --whatsapp-primary: #25d366;
  --whatsapp-primary-dark: color-mix(
    in srgb,
    var(--whatsapp-primary) 82%,
    black
  );

  --whatsapp-shadow: color-mix(
    in srgb,
    var(--whatsapp-primary) 28%,
    transparent
  );

  position: fixed;
  right: calc(32px + env(safe-area-inset-right, 0px));
  bottom: calc(36px + env(safe-area-inset-bottom, 0px));
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;

  border-radius: 50%;
  background: var(--whatsapp-primary);
  color: #fff;

  font-size: 30px;
  line-height: 1;
  text-decoration: none;

  box-shadow: 0 5px 16px var(--whatsapp-shadow);

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.acv-whatsapp-float svg,
.acv-whatsapp-float .icon {
  width: 32px;
  height: 32px;
  display: block;
  fill: currentColor;
}

/* ==========================================================================
   ONDA EXTERIOR
   ========================================================================== */

.acv-whatsapp-float::before,
.acv-whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: 50%;
  border: 2px solid var(--whatsapp-primary);

  pointer-events: none;

  animation: acv-whatsapp-ripple 2.8s ease-out infinite;
}

/* Segunda onda con retraso */

.acv-whatsapp-float::after {
  animation-delay: 1.4s;
}

/* ==========================================================================
   ANIMACIÓN DE GOTA / ONDA
   ========================================================================== */

@keyframes acv-whatsapp-ripple {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }

  70% {
    transform: scale(1.65);
    opacity: 0;
  }

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

/* ==========================================================================
   HOVER
   ========================================================================== */

.acv-whatsapp-float:hover {
  background: var(--whatsapp-primary-dark);
  color: #fff;

  transform: scale(1.06);

  box-shadow: 0 8px 24px var(--whatsapp-shadow);
}

/* Detener las ondas al pasar el mouse */

.acv-whatsapp-float:hover::before,
.acv-whatsapp-float:hover::after {
  animation-play-state: paused;
}

/* ==========================================================================
   ACTIVE
   ========================================================================== */

.acv-whatsapp-float:active {
  transform: scale(0.94);
}

/* ==========================================================================
   FOCUS
   ========================================================================== */

.acv-whatsapp-float:focus-visible {
  outline: 2px solid var(--whatsapp-primary);
  outline-offset: 4px;
}

/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 768px) {
  .acv-whatsapp-float {
    right: calc(24px + env(safe-area-inset-right, 0px));
    bottom: calc(28px + env(safe-area-inset-bottom, 0px));

    width: 56px;
    height: 56px;
  }

  .acv-whatsapp-float svg,
  .acv-whatsapp-float .icon {
    width: 30px;
    height: 30px;
  }
}

/* ==========================================================================
   MÓVIL
   ========================================================================== */

@media (max-width: 480px) {
  .acv-whatsapp-float {
    right: calc(20px + env(safe-area-inset-right, 0px));
    bottom: calc(24px + env(safe-area-inset-bottom, 0px));

    width: 52px;
    height: 52px;
  }

  .acv-whatsapp-float svg,
  .acv-whatsapp-float .icon {
    width: 28px;
    height: 28px;
  }
}

/* ==========================================================================
   REDUCIR MOVIMIENTO
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .acv-whatsapp-float::before,
  .acv-whatsapp-float::after {
    animation: none;
  }

  .acv-whatsapp-float {
    transition:
      background-color 0.2s ease,
      box-shadow 0.2s ease;
  }
}

