/* Atacama Contact — palette & type matched to the original Wix site */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --aq-navy: #0C3C60;
  --aq-blue: #39729B;
  --aq-blue-light: #6EA4CA;
  --aq-bg-light: #D1E0EB;
}

/* Always reserve space for the scrollbar so centered content doesn't shift
   left/right depending on whether a given page happens to scroll. */
html {
  scrollbar-gutter: stable;
}

body, p, li, a, input, textarea, button {
  font-family: 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.entry-title, .page-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: var(--aq-navy);
}

/* Header */
.ast-primary-header-bar, .site-header, #masthead {
  background-color: #ffffff;
}
.site-title, .site-title a, .ast-site-title a {
  font-family: 'Raleway', sans-serif;
  color: var(--aq-navy) !important;
  font-weight: 700;
}
/* The logo image already contains the brand name, no need for the text title too */
.site-branding .site-title,
.ast-site-identity .site-title {
  display: none;
}
.custom-logo-link img {
  max-height: 54px;
  width: auto;
}
.main-header-menu, .ast-header-navigation-holder {
  flex-wrap: nowrap !important;
}
/* Center the main menu on desktop, independent of the logo's width */
.site-primary-header-wrap .ast-builder-grid-row-has-sides {
  position: relative;
}
@media (min-width: 921px) {
  .site-header-primary-section-right {
    position: absolute !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    justify-content: center !important;
  }
}
.main-header-menu > .menu-item {
  margin: 0 !important;
}
.main-header-menu .menu-link, .ast-header-navigation-holder .menu-link {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--aq-navy) !important;
  letter-spacing: .01em;
  padding-left: 12px !important;
  padding-right: 12px !important;
  white-space: nowrap;
}
.main-header-menu .menu-link:hover {
  color: var(--aq-blue-light) !important;
}
.atacama-lang-switcher {
  background-color: #f4f8fa;
  border-bottom: 1px solid #e2e9ed;
  text-align: right;
  padding: 6px 30px;
  font-size: 13px;
}
.atacama-lang-switcher a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--aq-blue);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  text-decoration: none;
  margin-left: 16px;
  white-space: nowrap;
  vertical-align: middle;
}
.atacama-lang-switcher a svg { flex-shrink: 0; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.atacama-lang-switcher a:hover,
.atacama-lang-switcher a.current { color: var(--aq-navy); }

/* Hero / featured image */
.ast-featured-img, .post-thumb-img-content {
  margin-bottom: 2.5em;
}
.ast-featured-img img, .post-thumb-img-content img {
  max-height: 520px;
  width: 100%;
  object-fit: cover;
}

/* Body copy */
.entry-content p {
  color: var(--aq-blue);
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 1.1em;
}
.entry-content h3 {
  color: var(--aq-navy);
  margin-top: 1.6em;
}

/* Links & buttons */
a { color: var(--aq-blue-light); }
a:hover { color: var(--aq-navy); }

.wpcf7-submit, button, input[type="submit"] {
  background-color: var(--aq-navy) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  padding: 12px 32px !important;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background-color .2s ease;
}
.wpcf7-submit:hover, button:hover, input[type="submit"]:hover {
  background-color: var(--aq-blue) !important;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  border: 1px solid var(--aq-bg-light);
  border-radius: 4px;
  padding: 9px 12px;
  width: 100%;
  margin-bottom: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92em;
  box-sizing: border-box;
}
.wpcf7-form textarea { min-height: 90px; }
.wpcf7-form .wpcf7-submit { padding: 10px 28px !important; font-size: 0.9em; }

/* Home page: two-column contact section (info + compact form) */
.atacama-contact-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 820px;
  margin: 0 auto 5em auto;
  padding: 40px;
  border: 1px solid var(--aq-bg-light);
  border-radius: 10px;
  align-items: flex-start;
}
.atacama-contact-info { flex: 0 1 320px; padding-top: 8px; }
.atacama-contact-info h3 { margin-top: 0; margin-bottom: 10px; }
.atacama-contact-tagline {
  color: var(--aq-blue);
  margin-bottom: 22px;
  max-width: 340px;
}
.atacama-contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--aq-bg-light);
  padding-top: 18px;
}
.atacama-contact-details li {
  margin-bottom: 10px;
  color: var(--aq-navy);
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
}
.atacama-contact-details a { color: var(--aq-navy); text-decoration: none; }
.atacama-contact-details a:hover { color: var(--aq-blue-light); }
.atacama-contact-form {
  flex: 1 1 360px;
  max-width: 420px;
  background: var(--aq-bg-light);
  padding: 28px;
  border-radius: 8px;
}
.atacama-contact-form .wpcf7-form input,
.atacama-contact-form .wpcf7-form textarea {
  border-color: #b9cfdd;
  background: #fff;
}
@media (max-width: 700px) {
  .atacama-contact-section { flex-direction: column; }
  .atacama-contact-form { max-width: 100%; box-sizing: border-box; }
}

/* Footer — light background with navy links, matching the original site */
.site-footer, #colophon, .ast-small-footer, .site-below-footer-wrap {
  background-color: #ffffff !important;
  color: var(--aq-navy);
}
.site-footer a, .ast-small-footer a, .ast-footer-copyright a {
  color: var(--aq-navy) !important;
}
.atacama-footer-wrap {
  border-top: 1px solid #e2e9ed;
  padding: 40px 20px;
}
.atacama-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.atacama-footer-col { flex: 0 0 auto; }
.atacama-footer-brand .atacama-footer-logo {
  max-height: 60px;
  width: auto;
  margin-bottom: 14px;
  display: block;
}
.atacama-footer-contact {
  font-family: 'Raleway', sans-serif;
  color: var(--aq-navy);
  line-height: 1.9;
}
.atacama-footer-contact a { color: var(--aq-navy); text-decoration: none; }
.atacama-footer-social {
  display: grid;
  grid-template-columns: repeat(2, 44px);
  gap: 14px;
  align-content: start;
  justify-content: center;
  margin: 0 auto;
}
.atacama-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.atacama-footer-social img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.atacama-footer-links-col { flex: 0 0 auto; }
.atacama-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.atacama-footer-links a {
  color: var(--aq-navy) !important;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  text-decoration: none;
}
.atacama-footer-links a:hover { color: var(--aq-blue-light) !important; }
@media (max-width: 700px) {
  .atacama-footer-grid { text-align: center; }
  .atacama-footer-brand .atacama-footer-logo { margin: 0 auto 14px; }
  .atacama-footer-social { justify-content: center; margin: 0 auto; }
  .atacama-footer-links-col { text-align: center; }
  .atacama-footer-links { align-items: center; }
}
.ast-footer-copyright, .ast-footer-copyright a {
  color: #7a95a5 !important;
}

/* Gallery images */
.gallery-item img { border-radius: 4px; }

/* Map page: full-width static map image, shown uncropped */
.atacama-map-image {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  margin-bottom: 2.5em;
}
.atacama-map-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* About Us page: single full-width static hero image */
.atacama-hero-image {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 400px;
  overflow: hidden;
  margin-bottom: 2.5em;
}
.atacama-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* Home page: full-width image carousel */
.atacama-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 560px;
  overflow: hidden;
  background: #000;
  margin-bottom: 2.5em;
}
.atacama-carousel-track {
  display: flex;
  height: 100%;
  transition: transform .6s ease;
}
.atacama-carousel-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
}
.atacama-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.atacama-carousel-caption {
  position: absolute;
  top: 18%;
  right: 8%;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 3.6em;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-shadow: 0 1px 3px rgba(0,0,0,.35), 0 6px 20px rgba(0,0,0,.35);
}
@media (max-width: 700px) {
  .atacama-carousel-caption { font-size: 1.9em; top: 12%; right: 6%; }
}
.atacama-carousel-caption--left {
  right: auto;
  left: 8%;
}
@media (max-width: 700px) {
  .atacama-carousel-caption--left { left: 6%; }
}
.atacama-carousel-caption--center {
  top: auto;
  bottom: 14%;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}
.atacama-carousel-caption-sub {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.34em;
  letter-spacing: .1em;
  margin-top: 10px;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,.35), 0 4px 14px rgba(0,0,0,.3);
}
@media (max-width: 700px) {
  .atacama-carousel-caption--center { bottom: 10%; white-space: normal; width: 90%; }
  .atacama-carousel-caption-sub { white-space: normal; }
}
.atacama-carousel-arrow {
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,.85) !important;
  color: var(--aq-navy) !important;
  border: none !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  font-size: 16px;
  line-height: 1;
  padding: 0 !important;
  cursor: pointer;
  z-index: 2;
}
.atacama-carousel-arrow.prev { left: 20px; }
.atacama-carousel-arrow.next { right: 20px; }
.atacama-carousel-arrow:hover { background-color: #fff !important; }
.atacama-carousel-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}
.atacama-carousel-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  border: 2px solid #fff !important;
  background-color: transparent !important;
  margin: 0 5px !important;
  padding: 0 !important;
  cursor: pointer;
  display: inline-block !important;
}
.atacama-carousel-dot.is-active { background-color: #fff !important; }
.atacama-intro-title {
  text-align: center;
  letter-spacing: .12em;
  font-size: 1.6em;
  margin-bottom: 1.5em;
}
.atacama-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 90px;
  margin: 0 0 3em 0;
  text-decoration: none;
}
.atacama-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 180px;
  text-decoration: none !important;
}
.atacama-card-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(12,60,96,.18);
  margin-bottom: 14px;
}
.atacama-card-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atacama-card-title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--aq-navy);
  margin-bottom: 4px;
}
.atacama-card-sub {
  color: var(--aq-blue);
  font-size: .92em;
}
.atacama-tours-section {
  background-color: var(--aq-bg-light);
  padding: 2.5em;
  border-radius: 6px;
  margin-bottom: 2.5em;
}
.atacama-tours-section h2 {
  margin-top: 0;
}
.atacama-chips-lead {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--aq-navy);
  margin-top: 1.4em;
  margin-bottom: .8em;
}
.atacama-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.6em;
}
.atacama-chip {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--aq-navy);
  border: 1px solid var(--aq-blue-light);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: .92em;
  white-space: nowrap;
}
.atacama-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aq-blue-light);
  margin-right: 8px;
  flex-shrink: 0;
}
.atacama-chip--sm {
  background: transparent;
  padding: 4px 12px;
  font-size: .82em;
}
a.atacama-chip {
  text-decoration: none;
  color: var(--aq-navy);
  transition: background-color .15s ease, color .15s ease;
}
a.atacama-chip:hover {
  background: var(--aq-navy);
  color: #fff !important;
}
a.atacama-chip:hover::before { background: #fff; }

.atacama-th-link {
  display: inline-block;
  color: var(--aq-navy) !important;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--aq-blue-light);
  padding-bottom: 2px;
  margin: .4em 0 1em;
}
.atacama-th-link:hover { color: var(--aq-blue-light) !important; }

.atacama-itin-lead {
  margin-top: 1.6em;
  margin-bottom: 1em;
}
.atacama-itin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.atacama-itin-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(12,60,96,.08);
  display: flex;
  flex-direction: column;
}
.atacama-itin-photo {
  height: 180px;
}
.atacama-itin-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.atacama-itin-body {
  padding: 22px;
}
.atacama-itin-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--aq-navy);
  font-size: 1.1em;
  margin-bottom: 10px;
}
.atacama-itin-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.atacama-itin-pdf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--aq-navy);
  color: #fff !important;
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: .85em;
  padding: 9px 14px;
  border-radius: 4px;
  text-align: center;
  transition: background-color .2s ease;
}
.atacama-itin-pdf-btn:hover { background: var(--aq-blue); }

.atacama-exc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 1em;
}
.atacama-exc-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(12,60,96,.06);
}
.atacama-exc-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--aq-navy);
  margin-bottom: 10px;
}
.atacama-exc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.atacama-exc-meta .atacama-chip {
  border-color: var(--aq-bg-light);
  font-size: .78em;
  padding: 4px 10px;
  /* These chips hold full field labels ("Difficulty and Altitude: Easy,
     2400 meters"), not short badges — the base .atacama-chip's
     white-space: nowrap made long ones overflow the card. Let them wrap. */
  white-space: normal;
  max-width: 100%;
}
.atacama-exc-desc p {
  color: var(--aq-blue);
  font-size: .9em;
  line-height: 1.55;
  margin: 0 0 .6em;
}
.atacama-itin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.atacama-itin-meta .atacama-chip {
  border-color: var(--aq-bg-light);
}
.atacama-itin-desc {
  color: var(--aq-blue);
  font-size: .92em;
  line-height: 1.6;
  margin: 0;
}
.atacama-day-list {
  color: var(--aq-blue);
  font-size: .88em;
  line-height: 1.6;
  margin: .8em 0 0;
  padding-left: 1.2em;
}
.atacama-day-list li { margin-bottom: 3px; }

.atacama-equip-list {
  color: var(--aq-blue);
  font-size: .95em;
  line-height: 1.65;
  margin: .8em 0 0;
  padding-left: 1.2em;
}
.atacama-equip-list li { margin-bottom: 8px; }

.atacama-notice {
  background: #fff;
  border-left: 4px solid var(--aq-navy);
  border-radius: 4px;
  padding: 14px 18px;
  color: var(--aq-navy);
  font-style: italic;
  margin: 1em 0 1.6em;
}

.atacama-photo-grid {
  column-count: 3;
  column-gap: 16px;
}
.atacama-photo-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(12,60,96,.1);
}
.atacama-photo-item img {
  width: 100%;
  display: block;
  transition: transform .3s ease;
}
.atacama-photo-item:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .atacama-photo-grid { column-count: 2; } }
@media (max-width: 600px) { .atacama-photo-grid { column-count: 1; } }

/* Transfer & Hotel page */
.atacama-th-section {
  margin-bottom: 2.5em;
}
.atacama-th-section h2 {
  border-bottom: 2px solid var(--aq-bg-light);
  padding-bottom: 10px;
  margin-bottom: .6em;
}
.atacama-th-section h3 {
  margin-top: 1.4em;
  margin-bottom: .4em;
}
.atacama-th-note {
  color: var(--aq-blue);
  font-style: italic;
  margin-bottom: 1em;
}
.atacama-th-subhead {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--aq-navy);
  margin-bottom: .3em;
}
.atacama-th-list {
  list-style: none;
  margin: 0 0 1.2em 0;
  padding: 0;
}
.atacama-th-list li {
  padding: 10px 16px;
  border-left: 3px solid var(--aq-blue-light);
  background: #f7fafc;
  margin-bottom: 8px;
  color: var(--aq-blue);
}
.atacama-th-list li strong a {
  color: var(--aq-navy);
  text-decoration: none;
}
.atacama-th-list li strong a:hover { color: var(--aq-blue-light); }

.atacama-hotel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
}
.atacama-hotel-card {
  background: #fff;
  border: 1px solid var(--aq-bg-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(12,60,96,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.atacama-hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(12,60,96,.14);
}
.atacama-hotel-photo {
  height: 170px;
  overflow: hidden;
}
.atacama-hotel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atacama-hotel-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--aq-navy);
  padding: 14px 16px 4px;
}
.atacama-hotel-desc {
  color: var(--aq-blue);
  font-size: .92em;
  padding: 0 16px 16px;
  line-height: 1.5;
}
