/* ==========================================================================
   Angela's Vacations · Cabecera y hero del inicio
   Contrato de aislamiento: ningún selector puede vivir fuera de body.av-site-2027.
   Fuera del scope solo se permiten @font-face y @keyframes.
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/791bf8c4bb753ed6-s.p.fb4c44d9.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/8010b10db0d5feb2-s.p.2927a788.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/f06bf9da926bae75-s.p.c68a79fb.woff2") format("woff2");
}

body.av-site-2027 {
  --av-navy: #122d3e;
  --av-navy-deep: #0b1d28;
  --av-blue: #006a91;
  --av-gold: #9c742b;
  --av-gold-action: #896320;
  --av-gold-action-hover: #77501a;
  --av-gold-light: #e5c58d;
  --av-bone: #f5f0e6;
  --av-cream: #fbf8f1;
  --av-ink: #241c15;
  --av-muted: #57493c;
  --av-line: #d3cab9;
  --av-ease: cubic-bezier(.22, 1, .36, 1);
}

/* La tipografía y los resets se limitan a la cabecera y al hero.
   El resto de la portada conserva los estilos de Divi. */
body.av-site-2027 :is(.av-header, .av-hero) {
  font-family: "Instrument Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.av-site-2027 :is(.av-header, .av-hero) *,
body.av-site-2027 :is(.av-header, .av-hero) *::before,
body.av-site-2027 :is(.av-header, .av-hero) *::after {
  box-sizing: border-box;
}

body.av-site-2027 :is(.av-header, .av-hero) img {
  display: block;
  max-width: 100%;
}

body.av-site-2027 :is(.av-header, .av-hero) h1,
body.av-site-2027 :is(.av-header, .av-hero) p {
  margin: 0;
}

body.av-site-2027 :is(.av-header, .av-hero) h1 {
  text-wrap: balance;
}

body.av-site-2027 :is(.av-header, .av-hero) p {
  text-wrap: pretty;
}

body.av-site-2027 :is(.av-header, .av-hero) a {
  color: inherit;
  text-underline-offset: 5px;
}

body.av-site-2027 :is(.av-header, .av-hero) button {
  font: inherit;
}

body.av-site-2027 :is(.av-header, .av-hero) svg {
  flex: none;
}

body.av-site-2027 :is(.av-header, .av-hero) a,
body.av-site-2027 :is(.av-header, .av-hero) button {
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color .3s var(--av-ease),
    border-color .3s var(--av-ease),
    color .3s var(--av-ease),
    transform .3s var(--av-ease);
}

body.av-site-2027 :is(.av-header, .av-hero) a:active,
body.av-site-2027 :is(.av-header, .av-hero) button:active {
  transform: translateY(1px);
}

body.av-site-2027 :is(.av-header, .av-hero) :focus-visible {
  outline: 3px solid var(--av-blue);
  outline-offset: 4px;
  border-radius: 2px;
}

body.av-site-2027 :is(.av-header, .av-hero) ::selection {
  background: var(--av-gold);
  color: white;
}

body.av-site-2027 .av-wrap {
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: 48px;
}

body.av-site-2027 .av-skip {
  position: absolute;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  background: var(--av-cream);
  color: var(--av-navy);
  transform: translateY(-200%);
}

body.av-site-2027 .av-skip:focus {
  transform: none;
}

body.av-site-2027 .av-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Cabecera ---------------------------------------------------------------- */

body.av-site-2027 .av-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 241, .94);
  border-bottom: 1px solid rgba(18, 45, 62, .12);
  color: var(--av-navy);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}

/* La cabecera global de Divi no se muestra en la portada. */
body.av-site-2027 header.et-l--header {
  display: none !important;
}

body.admin-bar.av-site-2027 .av-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar.av-site-2027 .av-header {
    top: 46px;
  }
}

body.av-site-2027 .av-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

body.av-site-2027 .av-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  text-decoration: none;
}

body.av-site-2027 .av-brand img {
  width: 60px;
  height: 60px;
}

body.av-site-2027 .av-brand-name {
  font: 560 1.375rem/1 "Fraunces", Georgia, serif;
  letter-spacing: -.022em;
}

body.av-site-2027 .av-brand-second {
  display: block;
  margin-top: 7px;
  font: 500 .6875rem/1 "Instrument Sans", system-ui, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
}

body.av-site-2027 .av-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

body.av-site-2027 .av-nav > a:not(.av-header-contact) {
  position: relative;
  padding: 10px 12px;
  text-decoration: none;
}

body.av-site-2027 .av-nav > a:not(.av-header-contact)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 1px;
  background: var(--av-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--av-ease);
}

body.av-site-2027 .av-nav > a:not(.av-header-contact):hover::after,
body.av-site-2027 .av-nav > a:not(.av-header-contact):focus-visible::after {
  transform: scaleX(1);
}

body.av-site-2027 .av-nav > a:hover {
  color: var(--av-gold);
}

body.av-site-2027 .av-header-contact {
  margin-left: 16px;
  padding: 11px 18px;
  border: 1px solid var(--av-navy);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

body.av-site-2027 .av-header-contact:hover {
  background: var(--av-navy);
  color: var(--av-cream) !important;
}

body.av-site-2027 .av-menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-width: 48px;
  min-height: 48px;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--av-navy);
  font: inherit;
  cursor: pointer;
}

body.av-site-2027 .av-menu-toggle[hidden] {
  display: none;
}

body.av-site-2027 .av-menu-lines {
  position: relative;
  display: block;
  width: 22px;
  height: 14px;
}

body.av-site-2027 .av-menu-lines::before,
body.av-site-2027 .av-menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--av-ease), top .3s var(--av-ease);
}

body.av-site-2027 .av-menu-lines::before {
  top: 3px;
}

body.av-site-2027 .av-menu-lines::after {
  top: 11px;
}

body.av-site-2027 .av-menu-toggle[aria-expanded="true"] .av-menu-lines::before {
  top: 7px;
  transform: rotate(45deg);
}

body.av-site-2027 .av-menu-toggle[aria-expanded="true"] .av-menu-lines::after {
  top: 7px;
  transform: rotate(-45deg);
}

/* Hero -------------------------------------------------------------------- */

body.av-site-2027 .av-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: 600px;
  height: min(740px, 80svh);
  overflow: hidden;
  background: var(--av-navy-deep);
  color: var(--av-cream);
}

body.av-site-2027 .av-hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 42%;
}

body.av-site-2027 .av-hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 22, 31, .84) 0%, rgba(8, 22, 31, .58) 38%, rgba(8, 22, 31, .12) 72%, rgba(8, 22, 31, .04) 100%),
    linear-gradient(0deg, rgba(8, 22, 31, .78) 0%, rgba(8, 22, 31, .18) 48%, rgba(8, 22, 31, 0) 72%);
}

body.av-site-2027 .av-hero-content {
  padding-block: 88px 80px;
}

body.av-site-2027 .av-hero h1 {
  max-width: 12ch;
  color: var(--av-cream);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3rem, 5.6vw, 5.25rem);
  font-weight: 540;
  line-height: .98;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 100;
  text-shadow: 0 1px 24px rgba(8, 22, 31, .18);
}

body.av-site-2027 .av-hero em {
  font-weight: 300;
  color: var(--av-gold-light);
}

body.av-site-2027 .av-hero-rule {
  display: block;
  width: 56px;
  height: 1px;
  margin-top: 28px;
  background: var(--av-gold-light);
  opacity: .8;
}

body.av-site-2027 .av-hero-subtitle {
  max-width: 46ch;
  margin-top: 20px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(251, 248, 241, .92);
}

body.av-site-2027 .av-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

body.av-site-2027 .av-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: .9375rem;
  line-height: 1.5rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

body.av-site-2027 .av-btn-gold {
  background: var(--av-gold-action);
  color: white;
  box-shadow: 0 10px 28px rgba(8, 22, 31, .22);
}

body.av-site-2027 .av-btn-gold:hover {
  background: var(--av-gold-action-hover);
}

body.av-site-2027 .av-btn-outline {
  background: rgba(251, 248, 241, .04);
  color: var(--av-cream);
  box-shadow: inset 0 0 0 1px rgba(251, 248, 241, .58);
}

body.av-site-2027 .av-btn-outline:hover {
  background: var(--av-cream);
  color: var(--av-navy);
}

body.av-site-2027 .av-review-link {
  display: inline-block;
  max-width: 52ch;
  margin-top: 28px;
  font-size: .8125rem;
  line-height: 1.5;
  letter-spacing: .01em;
  color: rgba(251, 248, 241, .86);
  text-decoration-color: rgba(251, 248, 241, .45);
}

body.av-site-2027 .av-review-link:hover {
  color: var(--av-gold-light);
  text-decoration-color: var(--av-gold-light);
}

body.av-site-2027 .av-hero :focus-visible {
  outline-color: var(--av-gold-light);
}

/* Adaptación -------------------------------------------------------------- */

@media (max-width: 1100px) {
  body.av-site-2027 .av-wrap {
    padding-inline: 32px;
  }

  body.av-site-2027 .av-header-inner {
    min-height: 80px;
  }

  body.av-site-2027 .av-brand img {
    width: 54px;
    height: 54px;
  }

  body.av-site-2027 .av-nav {
    font-size: .8125rem;
  }

  body.av-site-2027 .av-nav > a:not(.av-header-contact) {
    padding-inline: 9px;
  }

  body.av-site-2027 .av-nav > a:not(.av-header-contact)::after {
    left: 9px;
    right: 9px;
  }

  body.av-site-2027 .av-header-contact {
    margin-left: 8px;
    padding-inline: 14px;
  }

  body.av-site-2027 .av-hero h1 {
    font-size: 4.25rem;
  }
}

@media (max-width: 900px) {
  body.av-site-2027 .av-header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  body.av-site-2027 .av-menu-toggle:not([hidden]) {
    display: flex;
  }

  body.av-site-2027 .av-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 8px 20px;
    border-top: 1px solid rgba(18, 45, 62, .1);
    font-size: 1rem;
  }

  body.av-site-2027 .av-nav.is-open {
    display: flex;
  }

  body.av-site-2027 .av-nav > a:not(.av-header-contact) {
    padding: 14px 0;
    border-bottom: 1px solid rgba(18, 45, 62, .08);
  }

  body.av-site-2027 .av-nav > a:not(.av-header-contact)::after {
    display: none;
  }

  body.av-site-2027 .av-header-contact {
    margin: 16px 0 0;
    padding: 13px 18px;
    text-align: center;
  }

  body.av-site-2027 .av-hero {
    min-height: 640px;
    height: auto;
  }

  body.av-site-2027 .av-hero-photo {
    object-position: 42% center;
  }

  body.av-site-2027 .av-hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 22, 31, .78) 0%, rgba(8, 22, 31, .5) 55%, rgba(8, 22, 31, .2) 100%),
      linear-gradient(0deg, rgba(8, 22, 31, .82) 0%, rgba(8, 22, 31, .24) 58%, rgba(8, 22, 31, 0) 82%);
  }

  body.av-site-2027 .av-hero-content {
    padding-block: 64px;
  }

  body.av-site-2027 .av-hero h1 {
    font-size: 3.75rem;
  }
}

@media (max-width: 600px) {
  body.av-site-2027 .av-wrap {
    padding-inline: 24px;
  }

  body.av-site-2027 .av-brand img {
    width: 48px;
    height: 48px;
  }

  body.av-site-2027 .av-brand-name {
    font-size: 1.25rem;
  }

  body.av-site-2027 .av-brand-second {
    margin-top: 5px;
    font-size: .6875rem;
    letter-spacing: .16em;
  }

  body.av-site-2027 .av-hero {
    min-height: 620px;
  }

  body.av-site-2027 .av-hero-photo {
    object-position: 42% center;
  }

  body.av-site-2027 .av-hero-content {
    padding-block: 48px 40px;
  }

  body.av-site-2027 .av-hero h1 {
    max-width: 12ch;
    font-size: 3rem;
  }

  body.av-site-2027 .av-hero-rule {
    margin-top: 22px;
  }

  body.av-site-2027 .av-hero-subtitle {
    max-width: 34ch;
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.6;
  }

  body.av-site-2027 .av-hero-actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
  }

  body.av-site-2027 .av-btn {
    width: 100%;
    padding-inline: 12px;
  }

  body.av-site-2027 .av-review-link {
    margin-top: 22px;
    max-width: 36ch;
  }

  body.av-site-2027 .av-menu-toggle {
    padding-inline: 4px;
  }

  body.av-site-2027 .av-menu-label {
    font-size: .875rem;
  }
}

@media (min-width: 1500px) {
  body.av-site-2027 .av-hero-content {
    padding-bottom: 96px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  body.av-site-2027 .av-hero-content {
    animation: av-hero-arrival .9s var(--av-ease) both;
  }

  body.av-site-2027 .av-nav.is-open {
    animation: av-menu-in .3s var(--av-ease) both;
  }
}

@keyframes av-hero-arrival {
  from {
    clip-path: inset(0 0 6% 0);
    transform: translateY(14px);
  }
  to {
    clip-path: inset(0);
    transform: translateY(0);
  }
}

@keyframes av-menu-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.av-site-2027 :is(.av-header, .av-hero),
  body.av-site-2027 :is(.av-header, .av-hero) *,
  body.av-site-2027 :is(.av-header, .av-hero) *::before,
  body.av-site-2027 :is(.av-header, .av-hero) *::after {
    animation: none !important;
    transition: none !important;
  }
}




