:root {
  color-scheme: light;
  --teal: #2f6f6d;
  --deep-teal: #1f5251;
  --sand: #cbbf9a;
  --ink: #111111;
  --soft: #f7f5f0;
  --white: #ffffff;
  --radius-pill: 999px;
  --teal-alpha-08: rgba(47, 111, 109, 0.08);
  --teal-alpha-10: rgba(47, 111, 109, 0.1);
  --teal-alpha-12: rgba(47, 111, 109, 0.12);
  --teal-alpha-15: rgba(47, 111, 109, 0.15);
  --teal-alpha-20: rgba(47, 111, 109, 0.2);
  --teal-alpha-25: rgba(47, 111, 109, 0.25);
  --teal-alpha-30: rgba(47, 111, 109, 0.3);
  --teal-alpha-55: rgba(47, 111, 109, 0.55);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--teal-alpha-55);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--teal-alpha-12);
  z-index: 10;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--deep-teal);
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  padding: 6px 8px;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease;
}

.nav-links a:hover {
  background: var(--teal-alpha-12);
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-switch button {
  border: 1px solid var(--teal-alpha-30);
  background: transparent;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  cursor: pointer;
}

.lang-switch button.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 72px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(47, 111, 109, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cpath fill='%232f6f6d' transform='translate(83 83) scale(0.6)' d='m12 2 2.7 6.1 6.7.6-5 4.2 1.5 6.4L12 15.8 6.1 19.3 7.6 12.9 2.6 8.7l6.7-.6z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cpath fill='%231f5251' transform='translate(113 113) scale(0.6)' d='m12 2 2.7 6.1 6.7.6-5 4.2 1.5 6.4L12 15.8 6.1 19.3 7.6 12.9 2.6 8.7l6.7-.6z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300' viewBox='0 0 300 300'%3E%3Cpath fill='%232f6f6d' transform='translate(143 143) scale(0.6)' d='m12 2 2.7 6.1 6.7.6-5 4.2 1.5 6.4L12 15.8 6.1 19.3 7.6 12.9 2.6 8.7l6.7-.6z'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px, 240px 240px, 300px 300px;
  background-position: 0 0, 90px 60px, 140px 110px;
  opacity: 0.5;
  animation: twinkle 6s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cpath fill='%232f6f6d' transform='translate(173 173) scale(0.6)' d='m12 2 2.7 6.1 6.7.6-5 4.2 1.5 6.4L12 15.8 6.1 19.3 7.6 12.9 2.6 8.7l6.7-.6z'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='440' height='440' viewBox='0 0 440 440'%3E%3Cpath fill='%231f5251' transform='translate(213 213) scale(0.6)' d='m12 2 2.7 6.1 6.7.6-5 4.2 1.5 6.4L12 15.8 6.1 19.3 7.6 12.9 2.6 8.7l6.7-.6z'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 360px 360px, 440px 440px;
  background-position: 50px 30px, 190px 160px;
  opacity: 0.15;
  animation: drift 14s ease-in-out infinite;
  pointer-events: none;
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
    background-position: 0 0, 90px 60px, 140px 110px;
  }
  50% {
    opacity: 0.75;
    transform: translateY(-4px);
    background-position: 14px 10px, 104px 72px, 158px 122px;
  }
}

@keyframes drift {
  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0);
    background-position: 50px 30px, 190px 160px;
  }
  50% {
    opacity: 0.35;
    transform: translateY(-6px);
    background-position: 72px 44px, 214px 178px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
  .hero::after {
    animation: none;
  }
}

.hero-content h1 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
  color: var(--deep-teal);
}

.hero-text {
  font-size: 18px;
  margin-bottom: 24px;
}

.lead-text {
  max-width: 720px;
}

.lead-assist {
  margin: 8px 0 0;
  font-weight: 600;
  color: var(--deep-teal);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 12px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.primary,
.ghost {
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  border: 1px solid transparent;
}

.primary {
  background: var(--teal);
  color: var(--white);
}

.ghost {
  border-color: var(--teal);
  color: var(--teal);
}

.hero-card {
  background: var(--soft);
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--teal-alpha-15);
}

.hero-card-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-badges span {
  background: var(--teal-alpha-10);
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
}

.section {
  padding: 72px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section.soft {
  background: var(--soft);
  border-radius: 32px;
  margin: 0 auto 40px;
}

.section-header {
  margin-bottom: 32px;
}

.section-header h2 {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--deep-teal);
}

.two-col {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step {
  background: var(--white);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--teal-alpha-15);
}

.step-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
}

.step h3 {
  margin: 8px 0 12px;
}

.step ul {
  list-style: disc;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  border: 1px solid var(--teal-alpha-15);
  border-radius: 20px;
  padding: 20px;
  background: var(--white);
}

.card-list {
  list-style: disc;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  margin-top: 12px;
  color: rgba(0, 0, 0, 0.75);
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-weight: 600;
  color: var(--teal);
}

.gallery-text {
  max-width: 720px;
  color: rgba(0, 0, 0, 0.65);
}

.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 24px;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--teal-alpha-15);
  display: grid;
}

.gallery-item picture {
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 12px 16px 16px;
  font-weight: 600;
  color: var(--deep-teal);
}

.destinations {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.destinations span {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  background: var(--teal-alpha-10);
  font-weight: 500;
}

.catalog-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.catalog-groups {
  display: grid;
  gap: 24px;
}

.catalog-group h3 {
  margin-bottom: 12px;
  color: var(--deep-teal);
}

.catalog {
  border: 1px solid var(--teal-alpha-20);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease;
  background: var(--white);
}

.catalog-request {
  border-style: solid;
}

.catalog:hover {
  transform: translateY(-2px);
}

.catalog small {
  color: rgba(0, 0, 0, 0.6);
}

.catalog span {
  font-weight: 600;
}

.catalog-note {
  margin-top: 16px;
  color: rgba(0, 0, 0, 0.6);
}

.contact {
  text-align: center;
}

.lead-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 24px;
}

.lead-actions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.lead-actions-group {
  display: none;
  gap: 12px;
  flex-wrap: wrap;
}

html[lang="es"] .lang-only[data-lang="es"],
html[lang="en"] .lang-only[data-lang="en"],
html[lang="pt"] .lang-only[data-lang="pt"] {
  display: flex;
}

.field {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--teal-alpha-25);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
}

.field textarea {
  resize: vertical;
}

.field-full {
  grid-column: 1 / -1;
}

.lead-note {
  margin-top: 16px;
  color: rgba(0, 0, 0, 0.6);
}

.contact-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 24px;
}

.contact-card {
  border: 1px solid var(--teal-alpha-20);
  border-radius: 20px;
  padding: 20px;
  background: var(--white);
  display: grid;
  gap: 12px;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-link {
  border: 1px solid var(--teal);
  color: var(--teal);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 14px;
}

.contact-email {
  margin-top: 24px;
}

.contact-phone {
  margin-top: 8px;
  font-weight: 600;
  color: var(--deep-teal);
}

.site-footer {
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid var(--teal-alpha-12);
  background: var(--soft);
}

.site-footer img {
  width: 60px;
  margin: 0 auto 12px;
}

.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal-alpha-25);
  color: var(--teal);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-link:hover {
  transform: translateY(-2px);
  background: var(--teal-alpha-08);
}

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  z-index: 20;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .nav {
    padding: 12px 16px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    font-size: 13px;
  }

  .hero {
    padding: 56px 16px 48px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta a {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 56px 16px;
  }

  .section.soft {
    border-radius: 24px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .site-footer {
    padding-bottom: 96px;
  }
}

@media (max-width: 520px) {
  .logo span {
    font-size: 14px;
  }

  .hero-text {
    font-size: 16px;
  }

  .cards,
  .catalog-list,
  .gallery-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .destinations {
    justify-content: center;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
  }
}
