:root {
  --bg: #0e1317;
  --bg-soft: #141b21;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #f4efe7;
  --text-soft: #b7b9bd;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #d4a574;
  --accent-strong: #b97d45;
  --white: #ffffff;
  --success: #63d297;
  --danger: #ff8f8f;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(212, 165, 116, 0.1), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.04), transparent 18%),
    linear-gradient(180deg, #0d1216 0%, #11181d 50%, #0d1216 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  padding: 0.8rem 1rem;
  background: #fff;
  color: #111;
  border-radius: 12px;
  z-index: 9999;
}

.skip-link:focus {
  top: 1rem;
}

.topbar {
  background: #0a0f13;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar__inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar p,
.topbar a {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(12, 18, 22, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header__inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand__name {
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand__sub {
  color: var(--text-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.main-nav {
  justify-self: center;
}

.main-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #f2d3b1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 6px auto;
  transition: var(--transition);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button--header,
.button--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #17110d;
  box-shadow: 0 18px 36px rgba(185, 125, 69, 0.2);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
}

.button--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.14);
}

.button--block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 128px);
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__media {
  background:
    url("assets/images/hero-costa-azul.jpg") center/cover no-repeat;
  transform: scale(1.04);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(9, 12, 15, 0.9) 0%, rgba(9, 12, 15, 0.68) 45%, rgba(9, 12, 15, 0.84) 100%);
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 390px);
  gap: 2rem;
  align-items: end;
  min-height: calc(100svh - 128px);
  padding: 2rem 0 3rem;
}

.hero__content {
  padding: 5rem 0 2rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero h1,
.intro-card h2,
.story h2,
.section-heading h2,
.hero-card h2,
.specialties__feature-copy h3,
.dish-card h3,
.visit h2,
.visit__panel h3,
.faq-item summary,
.site-footer h3 {
  font-family: "Fraunces", serif;
}

.hero h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.98;
}

.hero__intro {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.hero__actions,
.visit__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__actions {
  margin-top: 2rem;
}

.hero__highlights {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hero__highlights li,
.hero-card,
.intro-card,
.story__stats div,
.specialties__feature,
.dish-card,
.visit__panel,
.faq-item {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__highlights li {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
}

.hero__highlights strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.hero__highlights span {
  color: var(--text);
  font-size: 0.95rem;
}

.hero-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(17, 23, 28, 0.88), rgba(16, 22, 27, 0.94));
}

.hero-card h2 {
  margin: 0;
  font-size: 2rem;
}

.hero-card > p:not(.eyebrow) {
  color: var(--text-soft);
  margin: 0.8rem 0 0;
}

.hero-card__list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 1.4rem;
  display: grid;
  gap: 0.95rem;
}

.hero-card__list li {
  display: grid;
  gap: 0.18rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-card__list span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  font-weight: 700;
}

.hero-card__list a,
.hero-card__list p {
  margin: 0;
  color: var(--white);
}

.hero-card__actions {
  display: grid;
  gap: 0.8rem;
}

.section {
  padding: 6rem 0;
}

.intro-strip {
  padding-top: 3rem;
}

.intro-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.intro-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.intro-card__number {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.16em;
}

.intro-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  line-height: 1.08;
}

.intro-card p,
.story p,
.section-heading p,
.specialties__feature-copy p,
.dish-card p,
.visit__list,
.booking-note,
.faq-item p,
.site-footer__text,
.site-footer__bottom {
  color: var(--text-soft);
}

.story__layout,
.visit__layout,
.faq__layout,
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.story h2,
.section-heading h2,
.visit h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  max-width:40ch;
  line-height: 1.02;
}

.story p {
  margin: 1rem 0 0;
  max-width: 62ch;
}

.story__stats {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.story__stats div {
  padding: 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.story__stats strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--white);
}

.story__stats span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.story__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story__media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.4rem;
}

.specialties__feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  margin-bottom: 1rem;
}

.specialties__feature-image img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.specialties__feature-copy {
  padding: 1.8rem;
  display: grid;
  align-content: center;
}

.specialties__feature-copy h3 {
  margin: 0 0 0.7rem;
  font-size: 2.2rem;
  line-height: 1.04;
}

.specialties__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dish-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.dish-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.dish-card__copy {
  padding: 1.2rem;
}

.dish-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.6rem;
}

.gallery {
  overflow: hidden;
}

.gallery__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: min(calc(100% - 2rem), 1320px);
  margin-inline: auto;
}

.gallery-item {
  padding: 0;
  border: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  aspect-ratio: 4 / 5;
  background: #111;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit__content {
  align-self: start;
}

.visit__list {
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
}

.visit__list li {
  margin-bottom: 0.7rem;
}

.visit__actions {
  margin-top: 1.6rem;
}

.visit__panel {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.05);
}

.visit__panel h3 {
  margin: 0;
  font-size: 2rem;
}

.booking-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field span {
  font-weight: 700;
  font-size: 0.92rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 12, 15, 0.65);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8e9398;
}

.field input:focus,
.field textarea:focus,
.faq-item summary:focus {
  border-color: rgba(212, 165, 116, 0.6);
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.14);
}

.booking-note {
  margin: -0.1rem 0 0;
  font-size: 0.92rem;
}

.booking-status {
  min-height: 1.5rem;
  font-weight: 700;
}

.booking-status.is-success {
  color: var(--success);
}

.booking-status.is-error {
  color: var(--danger);
}

.faq__list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.faq-item summary {
  cursor: pointer;
  outline: none;
  font-size: 1.1rem;
}

.faq-item p {
  margin: 0.8rem 0 0;
}

.site-footer {
  padding: 3.2rem 0 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__text {
  max-width: 40ch;
  margin-top: 1rem;
}

.site-footer h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

.scroll-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #18110d;
  box-shadow: 0 18px 40px rgba(185, 125, 69, 0.24);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 2rem;
  background: rgba(4, 6, 8, 0.92);
  z-index: 2000;
}

.lightbox.is-open {
  display: grid;
}

.lightbox__image {
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal--delay {
  transition-delay: 0.14s;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero__layout,
  .story__layout,
  .visit__layout,
  .faq__layout,
  .site-footer__grid,
  .specialties__feature {
    grid-template-columns: 1fr;
  }

  .intro-strip__grid,
  .specialties__grid,
  .gallery__strip,
  .story__stats,
  .hero__highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    grid-template-columns: auto auto;
  }

  .button--header {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    inset: 84px 0 auto 0;
    padding: 1rem;
    background: rgba(12, 18, 22, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform var(--transition);
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .topbar__inner {
    flex-direction: column;
    justify-content: center;
    padding: 0.65rem 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__layout {
    min-height: auto;
  }

  .hero__content {
    padding: 4rem 0 0;
  }

  .hero h1,
  .story h2,
  .section-heading h2,
  .visit h2 {
    max-width: 100%;
  }

  .field-grid,
  .intro-strip__grid,
  .specialties__grid,
  .gallery__strip,
  .story__stats,
  .hero__highlights {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.8rem 0;
  }

  .hero__actions,
  .visit__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card,
  .visit__panel {
    padding: 1.15rem;
  }

  .specialties__feature-copy h3 {
    font-size: 1.9rem;
  }
}