@import url('https://fonts.googleapis.com/css2?family=Anton&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #14181a;
  --ink-soft: #232a2e;
  --ink-line: #3a4247;

  --paper: #f1e9d6;
  --paper-soft: #e3d8b8;

  --coral: #ff5b3c;
  --coral-dark: #e14526;
  --teal: #0e8074;
  --teal-light: #59b7ac;

  --text-on-paper: #14181a;
  --text-on-ink: #f1e9d6;
  --text-muted: #6f6a5c;
  --text-muted-on-ink: #b9b3a0;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --hard-shadow: 6px 6px 0 var(--ink);
  --hard-shadow-sm: 4px 4px 0 var(--ink);

  --container: 1100px;
  --gutter: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text-on-ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  touch-action: manipulation;
}

a, button, input[type="checkbox"] {
  touch-action: manipulation;
}

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

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  .nav__link:hover {
    color: var(--coral);
    border-color: var(--coral);
  }

  .icono-link:hover {
    background: var(--coral);
    border-color: var(--coral);
    color: var(--ink);
  }

  .btn_reserva:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0 var(--coral-dark);
  }

  .service-item:hover {
    background: var(--coral);
    border-color: var(--coral);
    transform: translateY(-2px);
  }

  .service-item:hover .service-name {
    color: var(--ink);
  }

  .gallery-btn:hover {
    background: var(--coral);
    color: var(--ink);
  }

  .submit-button:hover {
    background: var(--coral-dark);
    color: var(--paper);
    transform: translateY(-2px);
  }

  .close:hover {
    color: var(--coral);
  }

  .map-btn-float:hover {
    background: var(--coral);
    color: var(--ink);
  }

  .map-btn-bottom:hover {
    background: #0b665c;
  }

  .footer-phone-box:hover {
    background: var(--coral-dark);
    color: var(--paper);
  }
}

.header {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--gutter);
  background: linear-gradient(120deg, var(--ink) 0%, var(--ink-soft) 100%);
  border-bottom: none;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--coral) 0%, var(--teal) 100%);
  opacity: 0.7;
}

.header__logo-container {
  display: flex;
  align-items: center;
}

.header__logo {
  height: 52px;
  width: auto;
}

.header__checkbox {
  display: none;
}

.header__open-nav-button {
  display: block;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  cursor: pointer;
  z-index: 901;
}

.header__open-nav-button::before,
.header__open-nav-button::after {
  content: "";
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--coral);
  transition: transform 0.25s ease;
}

.header__open-nav-button::before {
  top: 15px;
}

.header__open-nav-button::after {
  top: 27px;
}

.header__checkbox:checked ~ .header__open-nav-button::before {
  transform: translateY(6px) rotate(45deg);
}

.header__checkbox:checked ~ .header__open-nav-button::after {
  transform: translateY(-6px) rotate(-45deg);
}

.header__nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: -100%;
  width: 100%;
  max-height: 75vh;
  overflow-y: auto;
  background:
    linear-gradient(160deg, rgba(255, 91, 60, 0.12) 0%, transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-soft) 100%);
  border-top: 3px solid var(--coral);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -14px 34px rgba(0, 0, 0, 0.4);
  transition: bottom 0.35s ease;
}

.header__checkbox:checked ~ .header__nav {
  bottom: 0;
}

.header__nav::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 13, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.header__checkbox:checked ~ .header__nav::before {
  opacity: 1;
  visibility: visible;
}

.header__nav-list {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 14px 24px 36px;
}

.header__nav-list::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  background: var(--coral);
  border-radius: 4px;
  margin: 4px auto 16px;
}

.header__nav-list li:has(.nav__link) {
  flex: 1 0 100%;
  text-align: center;
}

.header__nav-list li:has(.icono-link) {
  flex: 0 0 auto;
}

.nav__link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  color: var(--text-on-ink);
  padding: 4px 2px;
  border-bottom: 3px solid transparent;
  display: inline-block;
}

.icono-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--text-on-ink);
  font-size: 1.05rem;
  border-radius: 50%;
  border: 1px solid rgba(89, 183, 172, 0.4);
}

@media (min-width: 781px) {
  .header {
    padding: 14px 32px;
  }

  .header__logo {
    height: 60px;
  }

  .header__open-nav-button {
    display: none;
  }

  .header__nav {
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
    background: none;
    border-top: none;
    border-radius: 0;
    box-shadow: none;
    transition: none;
  }

  .header__nav::before {
    content: none;
  }

  .header__nav-list {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    padding: 0;
  }

  .header__nav-list::before {
    content: none;
  }

  .header__nav-list li:has(.nav__link),
  .header__nav-list li:has(.icono-link) {
    flex: 0 0 auto;
  }

  .nav__link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    padding: 6px 2px;
  }

  .icono-link {
    width: 34px;
    height: 34px;
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  background: var(--ink);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
  padding: 0 0 24px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/static/images/hero-fade.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 24, 26, 0.48) 0%, rgba(20, 24, 26, 0.82) 55%, rgba(20, 24, 26, 0.97) 100%),
    linear-gradient(0deg, rgba(20, 24, 26, 0.55) 0%, transparent 35%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0;
  padding: 0 var(--gutter);
  transform: translateY(-45px);
  text-align: right;
}

.hero__title {
  font-family: var(--font-display);
  color: var(--text-on-ink);
  font-size: clamp(5.5rem, 14vw, 9rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.hero__title br {
  display: block;
}

.hero__text {
  font-family: var(--font-body);
  color: var(--coral);
  font-size: clamp(1.4rem, 4.5vw, 2.3rem);
  margin-top: 16px;
}

.hero p {
  color: #c9c4b3;
  max-width: 26ch;
  margin-top: 10px;
  margin-left: auto;
  font-size: 0.95rem;
}

.btn_reserva {
  display: inline-block;
  width: auto;
  text-align: center;
  margin-top: 26px;
  padding: 14px 28px;
  background: var(--coral);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  box-shadow: var(--hard-shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 560px) {
  .hero {
    padding: 40px 0;
    justify-content: center;
    text-align: center;
  }

  .hero__content {
    margin: 0 auto;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero::before {
    background-image:
      repeating-linear-gradient(
        -8deg,
        rgba(255, 91, 60, 0.14) 0px,
        rgba(255, 91, 60, 0.14) 1px,
        transparent 1px,
        transparent 5px
      ),
      linear-gradient(155deg, var(--ink) 0%, var(--ink-soft) 100%);
    background-size: auto, cover;
    background-position: 0 0, center;
    -webkit-mask-image: linear-gradient(to right, black 0%, black 30%, transparent 75%, transparent 100%);
    mask-image: linear-gradient(to right, black 0%, black 30%, transparent 75%, transparent 100%);
  }

  .hero__title {
    font-size: clamp(4.5rem, 15vw, 13rem);
  }

  .btn_reserva {
    margin-top: 32px;
    padding: 18px 40px;
    font-size: 1rem;
    box-shadow: var(--hard-shadow);
  }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 8vw, 3rem);
  color: var(--text-on-ink);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  margin-bottom: 32px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 6px;
  background: var(--teal);
}

.gallery-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px var(--gutter) 50px;
  text-align: center;
}

.gallery-section .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.service-item {
  border: 2px solid var(--paper-soft);
  border-radius: 999px;
  padding: 10px 18px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
}

.service-name {
  font-weight: 600;
  font-size: 0.85rem;
}

.gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-container {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--teal) transparent;
}

.gallery-container::-webkit-scrollbar {
  height: 6px;
}

.gallery-container::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 4px;
}

.gallery-item {
  flex: 0 0 auto;
  width: 230px;
  aspect-ratio: 3 / 4;
  scroll-snap-align: center;
  border: 3px solid var(--paper-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink-soft);
  transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
  opacity: 0.6;
  transform: scale(0.94);
}

.gallery-item.is-centered {
  opacity: 1;
  transform: scale(1);
  border-color: var(--coral);
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-btn {
  display: none;
}

@media (min-width: 640px) {
  .gallery-section {
    padding: 40px var(--gutter) 60px;
  }

  .services-list {
    gap: 12px;
    margin-bottom: 46px;
  }

  .service-item {
    padding: 10px 22px;
  }

  .service-name {
    font-size: 0.9rem;
  }

  .gallery-item {
    width: 300px;
    scroll-snap-align: start;
    opacity: 1;
    transform: none;
  }

  .gallery-btn {
    display: flex;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    font-size: 1rem;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
  }
}

@media (min-width: 900px) {
  .gallery-section {
    padding: 48px var(--gutter) 70px;
  }

  .gallery-item {
    width: 340px;
  }
}

.form-section {
  background: var(--ink);
  padding: 60px var(--gutter);
}

.form-section .section-title {
  color: var(--text-on-ink);
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.form-section .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.form__form {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: 6px 6px 0 var(--coral);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form__input-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__input-container label {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-on-paper);
}

.form__input-container input[type="text"],
.form__input-container input[type="tel"],
.form__input-container input[type="date"],
.form__input-container input[type="time"],
.form__input-container select {
  font-family: var(--font-body);
  font-size: 16px;
  min-height: 48px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-on-paper);
  transition: border-color 0.2s ease;
}

.form__input-container select:disabled {
  background: #f1f1f1;
  color: var(--text-muted);
  cursor: not-allowed;
}

.form__input-container input:focus,
.form__input-container select:focus {
  border-color: var(--coral);
}

.form__input-container--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.form__input-container--checkbox input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--coral);
}

.form__input-container--checkbox label {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.form__input-container--checkbox label a {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

.submit-button {
  margin-top: 4px;
  padding: 16px;
  min-height: 52px;
  background: var(--coral);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, transform 0.15s ease;
}

@media (min-width: 640px) {
  .form-section {
    padding: 90px var(--gutter);
  }

  .form__form {
    padding: 36px 32px;
    gap: 20px;
    box-shadow: 8px 8px 0 var(--coral);
  }
}

#mensaje-exito,
#mensaje-error {
  display: none;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px;
  border-radius: var(--radius-sm);
}

#mensaje-exito.mostrar-mensaje {
  display: block;
  background: rgba(14, 128, 116, 0.15);
  color: var(--teal);
}

#mensaje-error.mostrar-mensaje {
  display: block;
  background: rgba(255, 91, 60, 0.15);
  color: var(--coral-dark);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(20, 24, 26, 0.72);
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  background: var(--paper);
  color: var(--text-on-paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--hard-shadow);
  padding: 28px 22px;
}

.modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.modal-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

@media (min-width: 640px) {
  .modal-content {
    padding: 32px 28px;
  }
}

.location-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px var(--gutter);
}

.location-text {
  font-size: 0.95rem;
  color: var(--text-muted-on-ink);
  max-width: 60ch;
  margin-bottom: 24px;
}

.map-card {
  position: relative;
  border: 2px solid var(--paper-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--coral);
}

.map-iframe-wrapper {
  width: 100%;
  height: 260px;
}

.map-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(15%) contrast(1.05);
}

.map-btn-float {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.map-btn-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  min-height: 52px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 0.2s ease;
}

@media (min-width: 640px) {
  .location-section {
    padding: 90px var(--gutter);
  }

  .location-text {
    margin-bottom: 30px;
  }

  .map-iframe-wrapper {
    height: 380px;
  }

  .map-btn-float {
    top: 16px;
    right: 16px;
    font-size: 0.82rem;
    padding: 9px 16px;
  }
}

.footer-nesker {
  background: var(--ink);
  color: var(--text-on-ink);
  text-align: center;
  padding: 50px var(--gutter) 36px;
}

.footer-nesker strong {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 16px;
}

.p__footer {
  font-size: 0.85rem;
  color: #b9b3a0;
  margin-bottom: 4px;
}

.footer-phone-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 13px 24px;
  min-height: 48px;
  background: var(--coral);
  color: var(--ink);
  font-weight: 700;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.redes-sociales {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}

.redes-sociales .icono-link {
  border-color: var(--ink-line);
}

@media (min-width: 640px) {
  .footer-nesker {
    padding: 60px var(--gutter) 40px;
  }

  .footer-nesker strong {
    font-size: 1.6rem;
    margin-bottom: 18px;
  }

  .redes-sociales {
    margin-top: 28px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
  }
}