:root {
  --ink: #1f2b2c;
  --muted: #5b6667;
  --accent: #3a4134;
  --accent-dark: #3a4134;
  --accent-soft: #e4eff0;
  --surface: #ffffff;
  --background: linear-gradient(180deg, #f8fbfb 0%, #eef4f5 50%, #dbe7ea 100%);
  --border-subtle: #e2e8ea;
  --card-border: rgba(255, 255, 255, 0.7);
  --footer-bg: linear-gradient(120deg, #1c3e4b 0%, #2d5865 100%);
  --toggle-border: #d6e2e5;
  --nav-card-shadow: 0 16px 30px rgba(15, 22, 26, 0.18);
  --shadow: 0 14px 30px rgba(17, 31, 33, 0.14);
  --radius: 18px;
  --square-radius: 12px;
  --font-display: "Playfair Display", serif;
  --font-body: "Sora", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--background);
}

.page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 80px 5vw 16px;
  position: relative;
}

.nav-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.lang-corner {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  position: absolute;
  right: 6vw;
  top: 24px;
}

.lang-btn {
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  color: var(--muted);
  font-weight: 600;
  padding: 8px 12px;
  min-width: 44px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.lang-btn:active {
  transform: scale(0.96);
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  min-width: 150px;
  min-height: 88px;
  border-radius: 0;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  color: var(--muted);
  font-weight: 500;
  font-size: 20px;
  font-family: var(--font-display);
  box-shadow: var(--nav-card-shadow);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.nav-btn .btn-icon {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.nav-btn svg {
  width: 20px;
  height: 20px;
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(20, 30, 30, 0.18);
}

.nav-btn:active {
  transform: scale(0.98);
  box-shadow: 0 6px 14px rgba(20, 30, 30, 0.12);
}

.nav-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 18px 32px rgba(22, 58, 68, 0.35);
}

.nav-btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  background: rgba(58, 65, 52, 0.35);
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

.nav-btn.active .btn-icon {
  color: #fff;
}

.content {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 420px);
  gap: 60px;
  padding: 48px 8vw 80px;
  align-items: center;
}

.content.section-visitar {
  grid-template-columns: 1fr;
  align-items: start;
}

.content.section-visitar .content-text {
  max-width: 100%;
}

.content.section-visitar .visit-slider {
  margin-top: 0;
}

.content-wrapper {
  background: var(--background);
}

.content-text {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--muted);
  margin: 0;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3vw, 3.5rem);
  margin: 0;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
  min-width: 100%;
}

.feature-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--accent-dark);
  font-weight: 500;
}

.feature-list li::marker {
  color: var(--accent);
}

.cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.primary-cta,
.secondary-cta {
  padding: 14px 22px;
  border-radius: var(--square-radius);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-cta {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 14px 28px rgba(19, 44, 53, 0.24);
}

.secondary-cta {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--toggle-border);
}

.primary-cta:active,
.secondary-cta:active {
  transform: scale(0.97);
}

.content-media {
  display: grid;
  gap: 18px;
}

.media-card {
  width: 100%;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  border: none;
}

.media-card.large {
  height: 360px;
}

.media-card.small {
  height: 260px;
}

.visit-slider {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  background: #cfe0e2;
  padding: 32px 24px;
}

.visit-card {
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(260px, 1fr);
  gap: 28px;
  align-items: center;
}

.visit-media {
  width: 100%;
  height: clamp(260px, 40vh, 420px);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.visit-body {
  max-width: 420px;
}

.visit-caption {
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  color: #2f3b33;
}

.visit-arrow {
  width: 56px;
  height: 56px;
  border: none;
  background: #ffffff;
  color: #5c6a5f;
  font-size: 30px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(15, 22, 26, 0.18);
  transition: transform 0.2s ease;
}

.visit-arrow:active {
  transform: scale(0.95);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 980px) {
  .content {
    grid-template-columns: 1fr;
  }

  .content-media {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .media-card.large,
  .media-card.small {
    height: 300px;
  }

  .visit-card {
    grid-template-columns: 1fr;
  }

  .content.section-visitar .content-text {
    max-width: none;
  }

  .visit-slider {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .visit-body {
    max-width: none;
  }

  .visit-media {
    height: 320px;
  }
}

@media (max-width: 600px) {
  .toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .lang-corner {
    position: static;
  }

  .nav-btn {
    min-width: 140px;
    min-height: 84px;
    font-size: 18px;
  }

  .media-card.large,
  .media-card.small {
    height: 240px;
  }

  .visit-media {
    height: 240px;
  }

  .visit-slider {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .visit-arrow {
    width: 48px;
    height: 48px;
  }
}
