:root {
  --bg: #f6f4ef;
  --surface: #fffdf8;
  --ink: #1f2a2a;
  --muted: #55635d;
  --accent: #0f766e;
  --accent-2: #0b5b56;
  --line: #d9d3c6;
  --warm: #eadfc8;
  --radius: 16px;
  --shadow: 0 14px 36px rgba(20, 35, 32, 0.11);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1300px 400px at 90% -20%, rgba(15, 118, 110, 0.16), transparent 65%),
    radial-gradient(800px 300px at -10% 0%, rgba(234, 223, 200, 0.65), transparent 55%),
    var(--bg);
  line-height: 1.55;
}

a {
  color: var(--accent);
}

.phone-link {
  color: inherit;
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
}

.mail-link {
  color: inherit;
  text-decoration: none;
}

.mail-link:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(246, 244, 239, 0.88);
  border-bottom: 1px solid var(--line);
}

.topbar-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo-h {
  height: 36px;
  width: auto;
  display: block;
}

.brand-title {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  background: rgba(255, 253, 248, 0.86);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.slogan-strip {
  width: 100%;
  border-top: 0;
  padding: 14px 14px 10px;
  text-align: center;
}

.top-slogan {
  font-family: "Cinzel", "Times New Roman", serif;
  margin: 0;
  font-size: 1.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  white-space: normal;
}

.version-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.85rem;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.86);
}

.top-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-radius: 20px;
  padding: 6px 10px;
}

.top-contact .phone-link {
  white-space: nowrap;
}

.messenger-links {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.messenger-icon-link {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.messenger-icon-link svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.messenger-icon-link:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.hero {
  padding: 60px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: start;
}

.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.lead {
  color: var(--muted);
  max-width: 58ch;
  margin: 0;
}

.cta-row {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-2);
}

.btn-soft {
  background: #efe9dc;
  color: #22302b;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 20px;
  text-align: center;
}

.hero-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.brand-logo-v {
  width: min(220px, 100%);
  height: auto;
}

.latin-slogan {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-panel h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.hero-panel .hero-list {
  max-width: 580px;
  margin: 0 auto;
  padding-left: 0;
  list-style-position: inside;
  text-align: center;
}

.hero-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

section {
  padding: 26px 0;
}

h2.section-title {
  font-size: 1.4rem;
  margin: 0 0 14px;
}

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

.grid-3 .card,
.grid-2 .card {
  padding: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #efebe1;
}

.plan img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.media-card {
  padding: 16px;
}

.carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 1rem;
}

.carousel-btn:hover {
  background: #f3efe7;
}

.carousel-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
}

.carousel-slide {
  margin: 0;
  flex: 0 0 100%;
  scroll-snap-align: start;
}

.carousel-slide img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #efebe1;
  cursor: zoom-in;
}

.carousel-slide img.is-portrait {
  height: 620px;
}

.carousel-slide figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  background: #d6d0c2;
  padding: 0;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--accent);
}

.benefits-card .carousel-track {
  padding-bottom: 0;
}

.benefit-slide {
  min-height: 165px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fdfaf3;
  padding: 14px 16px;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 7px;
  text-align: center;
}

.benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  background: #efe6d4;
  border: 1px solid #ded2bc;
}

.benefit-slide figcaption {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.4;
  text-align: center;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.charter-form {
  display: grid;
  gap: 10px;
}

.charter-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.charter-form input,
.charter-form textarea {
  border: 1px solid #d6d0c2;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
}

.charter-form textarea {
  resize: vertical;
}

.form-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note.is-success {
  color: #0b6e4f;
}

.form-note.is-error {
  color: #b42318;
}

.rates-card {
  padding: 16px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.rates-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.rates-table th,
.rates-table td {
  border-bottom: 1px solid #ece6d8;
  padding: 10px 12px;
  text-align: left;
  white-space: nowrap;
}

.rates-table th {
  position: sticky;
  top: 0;
  background: #f7f1e4;
  z-index: 1;
}

.rates-notes {
  margin-top: 12px;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding: 20px 0 32px;
  color: var(--muted);
  font-size: 0.95rem;
}

.lang-switch {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-switch a {
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.lang-switch a[aria-current="page"] {
  background: var(--warm);
}

.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;
}

.reveal {
  animation: rise 0.7s ease both;
}

.reveal:nth-child(2) {
  animation-delay: 0.1s;
}

.reveal:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 230px;
  }
}

@media (max-width: 560px) {
  .topbar-row {
    min-height: 62px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px 0;
    text-align: center;
  }

  .topbar-row > * {
    justify-self: center;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }

  .topbar-row > *:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .top-contact {
    min-width: 250px;
  }

  .hero {
    padding-top: 34px;
  }

  .brand-logo-h {
    height: 30px;
  }

  .brand-title {
    font-size: 0.96rem;
  }

  .slogan-strip {
    padding: 11px 10px 9px;
  }

  .top-slogan {
    font-size: 1.22rem;
    letter-spacing: 0.08em;
    white-space: normal;
  }

  .carousel-slide img {
    height: 300px;
  }

  .carousel-slide img.is-portrait {
    height: 460px;
  }

  .benefits-card .carousel-head {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 10px;
  }

  .benefits-card .carousel-dots {
    padding-top: 8px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 15, 18, 0.88);
  z-index: 60;
  padding: 20px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: min(1200px, 96vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: #0d1315;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}
