:root {
  --brand: #248297;
  --brand-dark: #1e6c80;
  --brand-deep: #164e5c;
  --yellow: #ffe479;
  --yellow-hover: #ffda3d;
  --text: #27323a;
  --muted-text: #56636d;
  --surface: #ffffff;
  --surface-muted: #f6f9fa;
  --border: #dce5e8;
  --whatsapp: #168b4d;
  --whatsapp-hover: #10713d;
  --shadow-soft: 0 10px 28px rgb(23 51 61 / 10%);
  --shadow-medium: 0 14px 34px rgb(23 51 61 / 16%);
  --radius: 14px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.pixel-fallback {
  display: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--yellow);
  color: #173b4a;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container,
.container-wide,
.container-narrow {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 32px, 1280px);
}

.container-narrow {
  max-width: 850px;
}

.text-center {
  text-align: center;
}

.section {
  padding: 72px 0;
}

.section-muted,
.reviews-section {
  background: var(--surface-muted);
}

.anchor-section {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

.section h2 {
  margin: 0 0 34px;
  color: var(--brand);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
}

.section-intro {
  max-width: 820px;
  margin: -16px auto 32px;
  color: var(--muted-text);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid rgb(36 130 151 / 12%);
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 4px 18px rgb(17 45 55 / 9%);
  backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--brand);
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-menu {
  display: flex;
  gap: 28px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-menu a,
.mobile-menu a {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.desktop-menu a:hover,
.mobile-menu a:hover {
  color: var(--brand);
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.mobile-menu {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
  padding-bottom: 12px;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  display: block;
  padding: 12px 2px;
  border-bottom: 1px solid var(--border);
}

.hero {
  position: relative;
  display: grid;
  min-height: 72svh;
  padding: calc(var(--header-height) + 48px) 24px 54px;
  place-items: center;
  overflow: hidden;
  background-color: var(--brand);
  background-image: url("https://www.julietoursrd.com/hero-julie-tours.webp");
  background-position: center;
  background-size: cover;
  color: white;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(4 25 34 / 44%), rgb(4 25 34 / 62%));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 830px;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  text-wrap: balance;
}

.hero p {
  max-width: 670px;
  margin: 0 auto 30px;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-yellow {
  background: var(--yellow);
  color: #153b4b;
  box-shadow: 0 8px 22px rgb(0 0 0 / 20%);
}

.button-yellow:hover {
  background: var(--yellow-hover);
}

.button-brand {
  background: var(--brand);
  color: white;
}

.button-brand:hover {
  background: var(--brand-dark);
  box-shadow: 0 8px 20px rgb(36 130 151 / 24%);
}

.button-whatsapp {
  background: var(--whatsapp);
  color: white;
}

.button-whatsapp:hover {
  background: var(--whatsapp-hover);
}

.button-block {
  width: 100%;
}

.offer-group + .offer-group {
  margin-top: 62px;
}

.offer-group > h3 {
  margin: 0 0 26px;
  color: var(--brand);
  font-size: 1.45rem;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 26px;
}

.offer-group .card-grid {
  justify-items: center;
}

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

.card-grid-two-centered {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 740px;
  margin-inline: auto;
}

.offer-card,
.destination-card,
.service-card {
  overflow: hidden;
  border: 1px solid rgb(36 130 151 / 9%);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}

.offer-card {
  width: 100%;
  max-width: 320px;
}

.offer-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.offer-card:hover img {
  transform: scale(1.025);
}

.card-body {
  padding: 18px;
}

.reviews-section h2 {
  margin-bottom: 28px;
}

.reviews-button {
  margin-top: 34px;
}

.destination-grid,
.services-grid {
  margin-top: 34px;
}

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

.destination-card:hover {
  box-shadow: var(--shadow-medium);
  transform: translateY(-4px);
}

.destination-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.destination-body {
  padding: 20px;
}

.destination-body h3,
.service-card h3 {
  margin: 0 0 8px;
  color: var(--brand-deep);
  font-size: 1.15rem;
}

.destination-body p,
.service-card p {
  margin: 0;
  color: var(--muted-text);
}

.service-card {
  padding: 28px;
  text-align: center;
}

.site-footer {
  padding: 52px 0 24px;
  background: var(--brand);
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
  line-height: 1.25;
}

.site-footer h2 {
  font-size: 1.5rem;
}

.site-footer h3 {
  font-size: 1.15rem;
}

.site-footer p,
.site-footer address {
  margin: 0 0 12px;
  font-style: normal;
}

.site-footer a {
  text-decoration-color: rgb(255 255 255 / 60%);
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--yellow);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright {
  width: min(100% - 32px, 1120px);
  margin: 38px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 20%);
  color: rgb(255 255 255 / 82%);
  font-size: 0.86rem;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: var(--shadow-medium);
  color: white;
  cursor: pointer;
  font-size: 1.45rem;
  place-items: center;
}

.back-to-top:hover {
  background: var(--brand-dark);
}

.back-to-top[hidden] {
  display: none;
}

@media (max-width: 820px) {
  .desktop-menu {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .card-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 64px;
  }

  .section {
    padding: 56px 0;
  }

  .card-grid-three,
  .card-grid-two-centered,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 74svh;
    padding: calc(var(--header-height) + 38px) 20px 44px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .offer-group + .offer-group {
    margin-top: 50px;
  }

  .site-footer {
    padding-top: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
