/* Branded social and contact controls — Andes VIP Experience */
/* Hide the old duplicate contact widget so it cannot cover WhatsApp. */
#av-contact-btn,
#av-welcome,
#av-contact-panel {
  display: none !important;
}

.social-callout a[href*="instagram.com"] svg {
  color: #fff;
  background:
    radial-gradient(circle at 31% 102%, #ffd600 0 20%, #ff7a00 38%, #ff0169 62%, #d300c5 78%, #7638fa 100%);
  border: 0;
  fill: none;
  stroke: #fff;
  box-shadow: 0 5px 16px rgba(211, 0, 197, 0.28);
}

.social-callout a[href*="facebook.com"] svg {
  color: #fff;
  background: #1877f2;
  border: 0;
  fill: #fff;
  stroke: none;
  box-shadow: 0 5px 16px rgba(24, 119, 242, 0.28);
}

.social-callout a[href*="instagram.com"]:hover,
.social-callout a[href*="instagram.com"]:focus-visible {
  border-color: #d62976;
}

.social-callout a[href*="facebook.com"]:hover,
.social-callout a[href*="facebook.com"]:focus-visible {
  border-color: #1877f2;
}

.footer-socials a[href*="instagram.com"] {
  color: #fff;
  border: 0;
  background:
    radial-gradient(circle at 31% 102%, #ffd600 0 20%, #ff7a00 38%, #ff0169 62%, #d300c5 78%, #7638fa 100%);
  box-shadow: 0 8px 22px rgba(211, 0, 197, 0.25);
}

.footer-socials a[href*="facebook.com"] {
  color: #fff;
  border: 0;
  background: #1877f2;
  box-shadow: 0 8px 22px rgba(24, 119, 242, 0.25);
}

.footer-socials a[href*="instagram.com"]:hover,
.footer-socials a[href*="instagram.com"]:focus-visible,
.footer-socials a[href*="facebook.com"]:hover,
.footer-socials a[href*="facebook.com"]:focus-visible {
  color: #fff;
  filter: brightness(1.1);
  transform: translateY(-3px) scale(1.04);
}

.footer-socials a[href*="instagram.com"] svg {
  fill: none;
  stroke: #fff;
}

.footer-socials a[href*="facebook.com"] svg {
  fill: #fff;
  stroke: none;
}

.advisor-fab {
  width: 70px;
  min-width: 70px;
  height: 70px;
  padding: 4px;
  border: 2px solid #dcc6a3;
  border-radius: 50%;
  display: block;
  overflow: visible;
  background: #fffdfa;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.34), 0 0 0 5px rgba(220, 198, 163, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.advisor-fab:hover,
.advisor-fab:focus-visible,
.advisor-fab.is-open {
  background: #fffdfa;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.40), 0 0 0 6px rgba(220, 198, 163, 0.22);
  outline: none;
}

.advisor-fab > span {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 50%;
  display: block;
  font-size: 0;
  background: url("/andes-vip-concierge.webp") center 38% / cover no-repeat;
}

.advisor-fab > strong {
  display: none;
}

.advisor-fab::after {
  content: "";
  width: 15px;
  height: 15px;
  border: 3px solid #fffdfa;
  border-radius: 50%;
  background: #25d366;
  position: absolute;
  right: 1px;
  bottom: 3px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.advisor-avatar {
  color: transparent;
  border: 2px solid #dcc6a3;
  background: url("/andes-vip-concierge.webp") center 38% / cover no-repeat;
}

/* Improve AI assistant readability on desktop and mobile. */
.advisor-panel {
  width: min(460px, calc(100vw - 44px));
  max-height: min(680px, calc(100vh - 175px));
}

.advisor-header {
  grid-template-columns: 48px 1fr;
  gap: 14px;
  min-height: 88px;
  padding: 18px 68px 18px 20px;
}

.advisor-header .advisor-avatar {
  width: 48px;
  height: 48px;
}

.advisor-header strong {
  font-size: 18px;
  line-height: 1.25;
}

.advisor-header span {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.025em;
}

.advisor-messages {
  gap: 15px;
  min-height: 210px;
  padding: 20px;
}

.advisor-message {
  grid-template-columns: 34px 1fr;
  gap: 11px;
}

.advisor-message > span {
  width: 34px;
  height: 34px;
  font-size: 10px;
}

.advisor-message p {
  padding: 13px 15px;
  font-size: 15px;
  line-height: 1.55;
}

.advisor-message.user {
  grid-template-columns: 1fr 34px;
}

.advisor-quick {
  gap: 8px;
  padding: 0 20px 15px;
}

.advisor-quick button {
  min-height: 38px;
  padding: 9px 12px;
  font-size: 12px;
  line-height: 1.3;
}

.advisor-input {
  grid-template-columns: 1fr 46px;
  gap: 9px;
  padding: 15px 20px;
}

.advisor-input input {
  min-height: 46px;
  padding: 11px 13px;
  font-size: 15px;
}

.advisor-input button {
  min-width: 46px;
  font-size: 20px;
}

.advisor-call {
  margin: 0 20px 11px;
  font-size: 12px;
  line-height: 1.5;
}

.advisor-note {
  padding: 0 20px 16px;
  font-size: 11px;
  line-height: 1.45;
}

.floating-whatsapp {
  width: 62px;
  min-width: 62px;
  height: 62px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.32), 0 0 0 5px rgba(37, 211, 102, 0.14);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  background: #20bd5a;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.38), 0 0 0 6px rgba(37, 211, 102, 0.18);
  outline: none;
}

.floating-whatsapp::before {
  content: "";
  width: 34px;
  height: 34px;
  background: url("/whatsapp-mark.svg") center / contain no-repeat;
}

.floating-whatsapp span,
.floating-whatsapp strong {
  display: none;
}

@media (max-width: 560px) {
  .advisor-panel {
    top: calc(76px + env(safe-area-inset-top, 0px));
    right: 8px;
    bottom: calc(142px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 16px);
    max-height: none;
  }

  .advisor-header {
    grid-template-columns: 44px 1fr;
    min-height: 82px;
    padding: 14px 62px 14px 15px;
  }

  .advisor-header .advisor-avatar {
    width: 44px;
    height: 44px;
  }

  .advisor-header strong {
    font-size: 17px;
  }

  .advisor-header span {
    font-size: 10px;
  }

  .advisor-messages {
    min-height: 150px;
    padding: 15px;
  }

  .advisor-message p {
    padding: 12px 13px;
    font-size: 15px;
    line-height: 1.5;
  }

  .advisor-quick {
    padding: 0 15px 12px;
  }

  .advisor-quick button {
    min-height: 40px;
    font-size: 12px;
  }

  .advisor-input {
    padding: 12px 15px;
  }

  .advisor-input input {
    font-size: 16px;
  }

  .advisor-call {
    margin-inline: 15px;
    font-size: 12px;
  }

  .advisor-note {
    padding-inline: 15px;
    font-size: 11px;
  }

  .advisor-fab {
    width: 58px;
    min-width: 58px;
    height: 58px;
    padding: 3px;
    right: 14px;
    bottom: 82px;
  }

  .advisor-fab::after {
    width: 13px;
    height: 13px;
    border-width: 2px;
  }

  .floating-whatsapp {
    width: 56px;
    min-width: 56px;
    height: 56px;
    right: 14px;
    bottom: 14px;
  }

  .floating-whatsapp::before {
    width: 31px;
    height: 31px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .advisor-fab,
  .floating-whatsapp,
  .footer-socials a {
    transition: none;
  }
}

/* Andes VIP natural luxury palette: lake, volcanic stone, copper and sand. */
:root {
  --ink: #1d211f;
  --charcoal: #252725;
  --ivory: #f5f1e8;
  --sand: #d2b892;
  --andean-green: #203b49;
  --copper: #a7653f;
  --white: #fffdf9;
  --line: rgba(210, 184, 146, 0.25);
}

body {
  background: var(--ivory);
  color: var(--ink);
}

.packages-section {
  background: radial-gradient(circle at 78% 22%, rgba(32, 59, 73, 0.25), transparent 30%), var(--ink);
}

.seller-travel-inline,
.deposit-access {
  background: linear-gradient(90deg, rgba(210, 184, 146, 0.13), rgba(32, 59, 73, 0.12));
}

.itinerary-note,
.hotel-signatures {
  background: #203b49;
}

.advisor-header {
  background: rgba(32, 59, 73, 0.28);
}

.music-toggle.is-playing {
  background: #252725f5;
}

.site-header.is-scrolled {
  background: rgba(245, 241, 232, 0.97);
  border-color: rgba(32, 59, 73, 0.14);
  box-shadow: 0 8px 28px rgba(29, 33, 31, 0.08);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .main-nav a,
.site-header.is-scrolled .language-switcher button {
  color: #203b49;
}

.site-header.is-scrolled .header-cta {
  background: #a7653f;
  border-color: #a7653f;
  color: #fffdf9;
}

.site-header.is-scrolled .language-switcher {
  background: #fffdf9;
  border-color: rgba(32, 59, 73, 0.18);
}

.av-galapagos-section {
  background: linear-gradient(180deg, #f5f1e8 0%, #fffdf9 50%, #eee8de 100%);
  color: #1d211f;
}

.av-galapagos-heading h2,
.av-fleet-title h3,
.av-yacht-body h4,
.av-yacht-price strong {
  color: #203b49;
}

.av-galapagos-heading > p:last-child,
.av-fleet-title p,
.av-yacht-summary,
.av-yacht-price small,
.av-yacht-price span,
.av-galapagos-note {
  color: #656964;
}

.av-galapagos-eyebrow,
.av-yacht-kicker,
.av-yacht-price .av-cruise-only {
  color: #a7653f;
}

/* Square experience tiles, inspired by refined hotel amenity menus. */
.av-journey-options {
  grid-template-columns: repeat(3, minmax(160px, 220px));
  justify-content: center;
}

.av-journey-option {
  aspect-ratio: 1 / 1;
  background: #fffdf9;
  border: 1px solid #d2b892;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  padding: 24px;
  position: relative;
  box-shadow: 0 10px 30px rgba(29, 33, 31, 0.07);
}

.av-journey-option::before {
  background: #203b49;
  content: "";
  height: 38px;
  left: 24px;
  position: absolute;
  top: 24px;
  width: 38px;
  -webkit-mask: var(--journey-icon) center / contain no-repeat;
  mask: var(--journey-icon) center / contain no-repeat;
}

.av-journey-option:nth-child(1) {
  --journey-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 18 9 8l3 5 2-3 7 8M3 18h18M6 18c2-2 4-2 6 0' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.av-journey-option:nth-child(2) {
  --journey-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 17c2-2 4-2 6 0s4 2 6 0 4-2 6 0M5 12l4-6 3 4 2-2 5 7' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.av-journey-option:nth-child(3) {
  --journey-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 14h16l-2 4H7l-3-4Zm4 0V9h7l3 5M12 9V5M5 21c2-1 3-1 5 0s3 1 5 0 3-1 5 0' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.av-journey-option.is-featured {
  background: #203b49;
  border-color: #203b49;
  box-shadow: 0 14px 34px rgba(32, 59, 73, 0.2);
}

.av-journey-option.is-featured::before {
  background: #d2b892;
}

.av-journey-option span {
  color: #656964;
}

.av-yacht-card {
  border-color: rgba(210, 184, 146, 0.55);
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(29, 33, 31, 0.09);
}

.av-yacht-facts span {
  background: #f0ebe2;
  border-radius: 8px;
  color: #4f5960;
}

.av-yacht-price {
  border-color: #e2d8ca;
}

/* Square icon controls inside every yacht card. */
.av-yacht-links {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.av-yacht-links a,
.av-yacht-links a.av-payment-visible {
  --tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M12 10v7M12 7h.01' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
  align-items: center;
  aspect-ratio: 1 / 1;
  background: #f5f1e8;
  border: 1px solid #d2b892;
  border-radius: 12px;
  color: #203b49;
  display: flex;
  flex-direction: column;
  font-size: 0.76rem;
  gap: 9px;
  justify-content: center;
  line-height: 1.3;
  min-height: 108px;
  padding: 12px 9px;
  white-space: normal;
  box-shadow: none;
}

.av-yacht-links a::before {
  background: currentColor;
  content: "";
  flex: 0 0 30px;
  height: 30px;
  width: 30px;
  -webkit-mask: var(--tile-icon) center / contain no-repeat;
  mask: var(--tile-icon) center / contain no-repeat;
}

.av-yacht-links a:nth-child(2) {
  --tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='16' rx='2' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M8 3v4M16 3v4M3 10h18M8 14h2M14 14h2M8 18h2' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.av-yacht-links a:nth-child(3) {
  --tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='6' width='18' height='13' rx='2' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M3 10h18M7 15h4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E");
}

.av-yacht-links a:nth-child(4) {
  --tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h10l4 4v14H5V3Zm10 0v5h4M8 12h8M8 16h8' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.av-yacht-links a:nth-child(5) {
  --tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 5c3-1 5-1 8 1v14c-3-2-5-2-8-1V5Zm16 0c-3-1-5-1-8 1v14c3-2 5-2 8-1V5Z' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.av-yacht-links a:nth-child(6) {
  --tile-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 4h6v6M20 4l-9 9M18 13v6H5V6h6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.av-yacht-links a:hover,
.av-yacht-links a:focus-visible {
  background: #203b49;
  border-color: #203b49;
  color: #fffdf9;
  transform: translateY(-2px);
}

.av-yacht-links a.av-primary-action {
  background: #203b49;
  border-color: #203b49;
  color: #fffdf9;
}

.av-yacht-links a:nth-child(2) {
  background: #a7653f;
  border-color: #a7653f;
  color: #fffdf9;
}

.av-yacht-links a.av-primary-action:hover,
.av-yacht-links a.av-primary-action:focus-visible,
.av-yacht-links a:nth-child(2):hover,
.av-yacht-links a:nth-child(2):focus-visible {
  background: #884d31;
  border-color: #884d31;
}

@media (max-width: 700px) {
  .av-journey-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .av-journey-option {
    min-height: 165px;
  }

  .av-journey-option:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 220px);
  }

  .av-yacht-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .av-yacht-links a,
  .av-yacht-links a.av-payment-visible {
    min-height: 116px;
  }
}

/* Readability pass: generous type sizes and clear contrast on every screen. */
.packages-section {
  color: var(--white);
}

.packages-section .section-heading h2 {
  color: var(--ivory);
}

.packages-section .section-heading > p:last-child {
  color: rgba(255, 253, 249, 0.84);
}

.packages-section .eyebrow {
  color: var(--sand);
}

.packages-section .seller-travel-inline > strong {
  color: var(--white);
}

.packages-section .seller-travel-inline > p {
  color: rgba(255, 253, 249, 0.78);
}

body {
  font-size: 17px;
  line-height: 1.65;
}

.main-nav a,
.header-cta,
.button,
.text-link,
.form-submit {
  font-size: 0.72rem;
}

.eyebrow,
.av-galapagos-eyebrow {
  font-size: 0.78rem;
  line-height: 1.55;
}

.hero-copy,
.experience-intro-copy > p:first-child,
.section-heading > p:last-child,
.itinerary-heading > p:last-child,
.hotel-hero-copy > p:last-child,
.hotel-story-heading > p:not(.eyebrow),
.rooms-heading > p:last-child,
.gallery-intro p,
.inquire-heading > p:last-child,
.av-galapagos-heading > p:last-child {
  font-size: 1rem;
  line-height: 1.75;
}

.owner-note,
.package-description,
.itinerary-day p,
.itinerary-note p,
.stay-rhythm p,
.room-category-copy p,
.why-card p,
.owner-card p,
.us-card p,
.contact-panel p,
.response-note p {
  font-size: 0.9rem;
  line-height: 1.72;
}

.package-card li,
.presidential-copy li,
.contact-list strong,
.form-grid input,
.form-grid select,
.form-grid textarea {
  font-size: 0.88rem;
}

.journey-strip span,
.seller-travel-inline > p,
.package-topline p,
.package-topline span,
.package-price small,
.package-price span,
.package-actions > span,
.deposit-access div span,
.deposit-access > a,
.deposit-access > small,
.day-number span,
.stay-rhythm article > span,
.form-grid label > span,
.form-heading p,
.footer-links a,
.footer-place small,
.footer-bottom {
  font-size: 0.72rem;
  line-height: 1.55;
}

.advisor-message p,
.advisor-input input,
.advisor-quick button,
.advisor-call,
.advisor-note {
  font-size: 0.84rem;
}

@media (max-width: 560px) {
  body {
    font-size: 18px;
  }

  .experience-intro h2,
  .section-heading h2,
  .itinerary-heading h2,
  .rooms-heading h2,
  .gallery-heading h2,
  .inquire-heading h2 {
    font-size: clamp(2.75rem, 13vw, 3.45rem);
    line-height: 1.04;
  }

  .hero-copy,
  .experience-intro-copy > p:first-child,
  .section-heading > p:last-child,
  .itinerary-heading > p:last-child,
  .hotel-hero-copy > p:last-child,
  .hotel-story-heading > p:not(.eyebrow),
  .rooms-heading > p:last-child,
  .gallery-intro p,
  .inquire-heading > p:last-child,
  .av-galapagos-heading > p:last-child,
  .owner-note,
  .package-description,
  .itinerary-day p,
  .itinerary-note p,
  .stay-rhythm p,
  .room-category-copy p,
  .why-card p,
  .owner-card p,
  .us-card p,
  .contact-panel p,
  .response-note p,
  .package-card li,
  .presidential-copy li,
  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    font-size: 1rem;
    line-height: 1.7;
  }

  .eyebrow,
  .av-galapagos-eyebrow,
  .package-topline p,
  .package-topline span,
  .package-price small,
  .package-price span,
  .package-actions > span,
  .journey-strip span,
  .seller-travel-inline > p,
  .deposit-access div span,
  .deposit-access > a,
  .deposit-access > small,
  .day-number span,
  .stay-rhythm article > span,
  .form-grid label > span,
  .form-heading p,
  .footer-links a,
  .footer-place small,
  .footer-bottom {
    font-size: 0.78rem;
  }

  .button,
  .header-cta,
  .text-link,
  .form-submit,
  .av-yacht-links a {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .advisor-message p,
  .advisor-input input,
  .advisor-quick button,
  .advisor-call,
  .advisor-note {
    font-size: 0.95rem;
    line-height: 1.55;
  }
}
