:root {
  --bg: #0d0f12;
  --bg-alt: #14171c;
  --surface: #1a1e24;
  --surface-hover: #21262e;
  --line: #2a3038;
  --text: #f2f4f6;
  --text-dim: #9aa3ad;
  --accent: #f5a623;
  --accent-strong: #ffb830;
  --accent-dark: #c77e00;
  --success: #2fbf71;
  --error: #ff6b6b;
  --radius: 14px;
  --font-head: 'Bebas Neue', 'Archivo', sans-serif;
  --font-body: 'Archivo', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
iframe {
  max-width: 100%;
  display: block;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
    color 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-dark));
  color: #171205;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 166, 35, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding: 1rem 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.nav--solid {
  background: rgba(13, 15, 18, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
  padding: 0.6rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--text);
  text-decoration: none;
}

.nav__logo-accent {
  color: var(--accent);
  margin-left: 0.35rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav__links a:not(.btn) {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav__links a:not(.btn):hover {
  color: var(--accent);
}

.nav__cta {
  padding: 0.5rem 1.2rem;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background:
    radial-gradient(ellipse 70% 55% at 70% 20%, rgba(245, 166, 35, 0.14), transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 80%, rgba(47, 191, 113, 0.08), transparent 60%),
    var(--bg);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: saturate(1.1);
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(13, 15, 18, 0.96) 25%,
    rgba(13, 15, 18, 0.55) 60%,
    rgba(13, 15, 18, 0.75)
  );
}

.hero__stripes {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.02) 0 2px,
    transparent 2px 14px
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.4rem;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.02;
}

.hero__title-accent {
  color: var(--accent);
}

.hero__sub {
  max-width: 34rem;
  margin: 1.4rem 0 2.2rem;
  color: var(--text-dim);
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.hero__stats div {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-size: 1.6rem;
  color: var(--accent);
}

.hero__stats span {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ---------- Sections ---------- */
.section {
  padding: 5.5rem 0;
}

.section--alt {
  background: var(--bg-alt);
}

.section__head {
  max-width: 38rem;
  margin-bottom: 3rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section h2 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  margin-bottom: 0.8rem;
}

.section__lead {
  color: var(--text-dim);
}

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.2rem;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.5);
  background: var(--surface-hover);
}

/* Reserve a separate badge row so labels never cover titles or prices. */
.card__badge-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 1.55rem;
  margin-bottom: 0.65rem;
}

.card__tag {
  display: inline-block;
  max-width: 100%;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #171205;
  background: var(--accent);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.3rem;
}

.card h3 {
  min-width: 0;
  overflow-wrap: break-word;
  font-size: 1.25rem;
}

.card__price {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--accent);
  white-space: nowrap;
}

.card__time {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.card__desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.card__link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: letter-spacing 0.2s ease;
}

.card__link:hover {
  letter-spacing: 0.04em;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}

.gallery__item figcaption {
  margin-top: 0.5rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  line-height: 1.4;
}

.gallery__tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery__item:hover .gallery__tile img {
  transform: scale(1.05);
}

.gallery__label {
  position: absolute;
  left: 0.9rem;
  bottom: 0.7rem;
  font-family: var(--font-head);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* ---------- Why us ---------- */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.why__item {
  border-left: 3px solid var(--accent);
  padding-left: 1.2rem;
}

.why__num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--accent);
  opacity: 0.6;
}

.why__item h3 {
  margin: 0.3rem 0 0.5rem;
  font-size: 1.1rem;
}

.why__item p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ---------- Booking ---------- */
.booking__wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.booking__intro p {
  color: var(--text-dim);
  margin-top: 0.6rem;
}

.booking__points {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.7rem;
}

.booking__points li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--text);
  font-size: 0.95rem;
}

.booking__points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ---------- Form ---------- */
.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form__field {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.form__optional {
  font-weight: 400;
  color: var(--text-dim);
}

.form input,
.form select,
.form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}

.form input::placeholder,
.form textarea::placeholder {
  color: #5d6772;
}

.form input[type='date']::-webkit-calendar-picker-indicator {
  filter: invert(0.8);
  cursor: pointer;
}

.form textarea {
  resize: vertical;
}

.form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa3ad' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}

.form__error {
  color: var(--error);
  font-size: 0.9rem;
  font-weight: 500;
}

.form__submit {
  justify-self: start;
}

.form--success {
  align-content: start;
  justify-items: start;
  gap: 0.8rem;
  border-color: rgba(47, 191, 113, 0.5);
}

.form__check {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(47, 191, 113, 0.15);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 700;
}

.form--success h3 {
  font-size: 1.4rem;
}

.form--success p {
  color: var(--text-dim);
}

/* ---------- Visit ---------- */
.visit {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.visit__address {
  font-style: normal;
  color: var(--text-dim);
  margin: 1rem 0;
}

.visit__hours {
  margin-bottom: 1.5rem;
}

.visit__hours strong {
  color: var(--success);
}

.visit__card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}

.visit__card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.visit__card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 15, 18, 0.95) 20%,
    rgba(13, 15, 18, 0.35) 70%,
    rgba(13, 15, 18, 0.15)
  );
}

.visit__card-body {
  position: relative;
  z-index: 1;
  padding: 1.8rem;
  display: grid;
  gap: 0.55rem;
  justify-items: start;
}

.visit__card-body h3 {
  font-size: 1.3rem;
}

.visit__card-body p {
  color: var(--text-dim);
  font-size: 0.95rem;
  max-width: 26rem;
}

.visit__pin {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent-dark));
  color: #171205;
  display: grid;
  place-items: center;
  margin-bottom: 0.3rem;
}

.visit__badge {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--success);
  background: rgba(47, 191, 113, 0.12);
  border: 1px solid rgba(47, 191, 113, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .booking__wrap,
  .visit {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .booking__wrap .booking__intro {
    order: -1;
  }
}

@media (max-width: 720px) {
  .nav__burger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 3.4rem;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(13, 15, 18, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 0 4%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
  }

  .nav__links--open {
    max-height: 320px;
    padding: 1rem 4%;
  }

  .nav__links a:not(.btn) {
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid var(--line);
  }

  .nav__cta {
    margin: 1rem 0;
    text-align: center;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 7rem;
  }

  .hero__stats {
    gap: 1.5rem;
  }

  .section {
    padding: 4rem 0;
  }
}

/* Keep narrow mobile cards comfortable without horizontal overflow. */
@media (max-width: 380px) {
  .cards .card {
    padding: 1.15rem;
  }

  .card__top {
    flex-wrap: wrap;
    column-gap: 0.5rem;
    row-gap: 0.2rem;
  }
}

/* PHP version: navigation anchors, form accessibility and small screens. */
section[id] {
    scroll-margin-top: 5rem;
}

.honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form__field {
    min-width: 0;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (max-width: 720px) {
    .nav__links:not(.nav__links--open) {
        visibility: hidden;
    }
    .nav__links--open {
        max-height: calc(100dvh - 4rem);
        overflow-y: auto;
    }
}

@media (max-width: 380px) {
    .gallery {
        grid-template-columns: 1fr;
    }
    .form {
        padding: 1.15rem;
    }
}
