:root {
  --paper: #faf8f2;
  --surface: #ffffff;
  --ink: #20282a;
  --muted: #657172;
  --line: #dfe5df;
  --teal: #0f6466;
  --teal-dark: #0b3f42;
  --gold: #bd9147;
  --shadow: 0 18px 45px rgba(23, 36, 38, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.landing {
  min-height: 100vh;
  min-height: 100svh;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0;
  display: grid;
  place-items: center;
}

.landing-card {
  position: relative;
  width: 100%;
  min-height: min(760px, calc(100vh - 56px));
  min-height: min(760px, calc(100svh - 56px));
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  background: var(--teal-dark);
  box-shadow: var(--shadow);
}

.landing-card img,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-shade,
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 28, 31, .92), rgba(4, 28, 31, .58) 52%, rgba(4, 28, 31, .2)),
    linear-gradient(0deg, rgba(4, 28, 31, .76), rgba(4, 28, 31, 0) 62%);
}

.landing-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: clamp(42px, 8vw, 86px);
}

.landing-topbar {
  position: relative;
  z-index: 3;
  width: calc(100% - 48px);
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.language-grid a {
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.language-grid strong {
  color: var(--gold);
  font-size: .82rem;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-grid a,
.hero__actions a,
.button,
.review a,
.trip-card a,
.floating-whatsapp,
.mini-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 850;
}

.hero__actions a {
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}

.language-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}

.language-select span {
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.language-select select {
  min-height: 40px;
  max-width: 180px;
  border: 1px solid var(--line);
  outline: 0;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  padding: 8px 32px 8px 10px;
  font: inherit;
  font-weight: 750;
}

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
  background: var(--teal-dark);
}

.topbar {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-weight: 900;
  letter-spacing: .01em;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 128px 0 88px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: .96;
}

.hero__content p:not(.eyebrow),
.landing-content p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255,255,255,.9);
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

main:not(.landing) {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 54px;
}

.quick-card {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  position: relative;
  z-index: 4;
}

.quick-card article,
.panel,
.review,
.trip-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quick-card article { padding: 18px; }
.quick-card span,
.credentials span,
.trip-card span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 5px;
}

.quick-card strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.15rem;
}

.quick-card a {
  display: inline-block;
  margin-top: 6px;
  color: var(--teal);
  font-weight: 850;
}

.quick-card p { margin: 6px 0 0; color: var(--muted); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.contact-actions a {
  margin-top: 0;
}

.mini-whatsapp {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border-radius: 8px;
  color: #fff !important;
  background: #1c7d5b;
  font-size: .9rem;
}

.section-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.panel {
  padding: 24px;
  scroll-margin-top: 18px;
}

.panel--wide { grid-column: 1 / -1; }

.panel h2,
.section-title h2,
.review h2 {
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.panel p,
.review p {
  color: var(--muted);
  line-height: 1.6;
}

ul {
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
}

li {
  position: relative;
  padding: 9px 0 9px 28px;
  border-top: 1px solid var(--line);
}

li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 900;
}

.credentials {
  margin-top: 14px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(15,100,102,.08);
}

.credentials strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.1rem;
  overflow-wrap: anywhere;
}

.credentials strong + strong { margin-top: 7px; }

.emergency-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0;
}

.emergency-grid a {
  padding: 14px;
  border-radius: 8px;
  background: rgba(15,100,102,.08);
}

.emergency-grid strong {
  display: block;
  color: var(--teal-dark);
  font-size: 1.6rem;
}

.emergency-grid span {
  color: var(--muted);
  font-size: .9rem;
}

.button,
.review a,
.trip-card a {
  color: #fff;
  background: var(--teal);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: #1c7d5b;
  box-shadow: 0 16px 38px rgba(12, 72, 50, .24);
}

.trips { margin-top: 46px; scroll-margin-top: 18px; }
.section-title { margin-bottom: 18px; }

.trip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.trip-card {
  overflow: hidden;
}

.trip-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.trip-card div {
  padding: 16px;
}

.trip-card h3 {
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.1;
}

.trip-card a {
  min-height: 38px;
  width: 100%;
  font-size: .9rem;
}

.review {
  margin-top: 46px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

@media (max-width: 920px) {
  .language-grid,
  .trip-grid,
  .emergency-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .landing {
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
    padding: 0;
    display: block;
  }
  .landing-card {
    min-height: 100vh;
    min-height: 100svh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .landing-shade {
    background:
      linear-gradient(180deg, rgba(4, 28, 31, .56), rgba(4, 28, 31, .72) 42%, rgba(4, 28, 31, .94)),
      linear-gradient(90deg, rgba(4, 28, 31, .88), rgba(4, 28, 31, .54) 58%, rgba(4, 28, 31, .36));
  }
  .landing-topbar {
    display: none;
  }
  .language-select {
    gap: 0;
    padding: 0;
  }
  .language-select span { display: none; }
  .language-select select {
    min-width: 132px;
    padding: 9px 28px 9px 10px;
  }
  .landing-content {
    width: 100%;
    max-width: none;
    padding: max(22px, env(safe-area-inset-top)) 22px calc(30px + env(safe-area-inset-bottom));
  }
  .landing-content .eyebrow {
    margin-bottom: 12px;
    font-size: .72rem;
    letter-spacing: .16em;
  }
  .landing-content h1 {
    max-width: 340px;
    margin-bottom: 12px;
    font-size: 3rem;
    line-height: .98;
  }
  .language-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
  }
  .language-grid a {
    min-height: 48px;
    padding: 9px 12px;
    border-radius: 16px;
    font-size: .92rem;
    background: rgba(255,255,255,.14);
  }
  .language-grid strong {
    font-size: .72rem;
  }
  .hero { min-height: 560px; }
  .hero__content { padding: 86px 0 62px; }
  h1 { font-size: 3.05rem; }
  .hero__content p:not(.eyebrow),
  .landing-content p:not(.eyebrow) { font-size: 1rem; }
  .topbar {
    align-items: flex-start;
  }
  .topbar__links {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
  .quick-card,
  .section-grid,
  .trip-grid,
  .review {
    grid-template-columns: 1fr;
  }
  .quick-card { margin-top: 14px; }
  .panel { padding: 20px; }
  .emergency-grid { grid-template-columns: repeat(2, 1fr); }
  .review a { width: 100%; }
}

@media (max-width: 360px) {
  .landing-content { padding-left: 16px; padding-right: 16px; }
  .landing-content h1 { font-size: 2.65rem; }
  .language-grid { gap: 8px; }
  .language-grid a {
    min-height: 46px;
    padding: 8px 10px;
    font-size: .84rem;
  }
}
