/* ==========================================================================
   Navaja Negra Barber Studio — hoja única, sin dependencias externas
   Paleta: negro/grafito, dorado cálido y acero pulido.
   ========================================================================== */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-var.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #08090a;
  --bg-2: #0b0c0e;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --gold: #d6ab5f;
  --gold-bright: #f1d196;
  --gold-deep: #a97c33;
  --gold-line: rgba(214, 171, 95, 0.28);
  --steel: #b9c1c9;
  --text: #f2ede4;
  --muted: #a6a19a;
  --danger: #e07a6a;
  --radius: 22px;
  --radius-sm: 12px;
  --header-h: 76px;
  --pad: clamp(18px, 4vw, 36px);
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Cormorant Garamond", "Iowan Old Style", Palatino, Georgia, serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(214, 171, 95, 0.32);
  color: #fff;
}

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

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

h1,
h2,
h3,
p,
figure,
dl,
dd,
ul,
address {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Fondo ambiental -------------------------------------------------------- */

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 82% -5%, rgba(214, 171, 95, 0.13), transparent 62%),
    radial-gradient(760px 540px at -10% 28%, rgba(185, 193, 201, 0.07), transparent 60%),
    radial-gradient(700px 700px at 55% 108%, rgba(169, 124, 51, 0.09), transparent 65%),
    linear-gradient(180deg, #08090a 0%, #0a0b0d 48%, #08090a 100%);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: #161006;
  font-weight: 700;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1180px, calc(100% - (var(--pad) * 2)));
  margin-inline: auto;
}

/* Cabecera --------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(8, 9, 10, 0.42);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(8, 9, 10, 0.9);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 1px solid var(--gold-line);
  border-radius: 11px;
  background: linear-gradient(150deg, rgba(214, 171, 95, 0.16), rgba(214, 171, 95, 0.03));
  color: var(--gold-bright);
}

.brand-mark svg {
  width: 26px;
  height: 26px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-name {
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.brand-sub {
  margin-top: 4px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.main-nav > a:not(.btn) {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}

.main-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav > a:not(.btn):hover {
  color: var(--text);
}

.main-nav > a:not(.btn):hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

.menu-toggle .icon-close {
  display: none;
}

.site-header.menu-open .menu-toggle .icon-open {
  display: none;
}

.site-header.menu-open .menu-toggle .icon-close {
  display: block;
}

/* Botones ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    color 0.25s ease, border-color 0.25s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 48%, #c29749 100%);
  color: #171106;
  box-shadow: 0 12px 32px -14px rgba(214, 171, 95, 0.7);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(214, 171, 95, 0.8);
  filter: brightness(1.04);
}

.btn-line {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.btn-line:hover {
  border-color: var(--gold-line);
  background: rgba(214, 171, 95, 0.08);
  transform: translateY(-2px);
}

.btn-ghost {
  min-height: 42px;
  padding: 10px 18px;
  border-color: var(--gold-line);
  background: rgba(214, 171, 95, 0.07);
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-ghost:hover {
  background: rgba(214, 171, 95, 0.14);
  border-color: var(--gold);
}

.btn-sm {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 0.82rem;
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(64px, 8vw, 110px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow > span {
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero h1 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(3.3rem, 7.6vw, 6rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.hero h1 em,
h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-bright);
}

.hero-lead {
  max-width: 46ch;
  margin-top: 24px;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.trust-row dt {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.trust-row dd {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--gold);
}

.stars svg {
  width: 13px;
  height: 13px;
}

.hero-figure {
  position: relative;
  min-width: 0;
}

.hero-frame {
  position: relative;
  padding: 10px;
  border: 1px solid var(--gold-line);
  border-radius: 28px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.4) inset,
    0 20px 80px -50px rgba(214, 171, 95, 0.55);
}

.hero-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 48%;
  border-radius: 19px;
}

.hero-glow {
  position: absolute;
  inset: auto 12% -22px 12%;
  height: 44px;
  border-radius: 50%;
  background: rgba(214, 171, 95, 0.35);
  filter: blur(28px);
  z-index: -1;
}

.glass-badge {
  position: absolute;
  left: 20px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 40px);
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background: rgba(10, 11, 12, 0.62);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 16px 34px -18px rgba(0, 0, 0, 0.9);
}

.glass-badge .dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #6fce8f;
  box-shadow: 0 0 0 4px rgba(111, 206, 143, 0.14);
}

.glass-badge span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: 0.72rem;
  color: var(--muted);
}

.glass-badge strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

/* Cinta de servicios ----------------------------------------------------- */

.ticker {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  padding: 15px 0;
  animation: ticker 46s linear infinite;
}

.ticker-track span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-track i {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  background: var(--gold);
  transform: rotate(45deg);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Secciones -------------------------------------------------------------- */

.section {
  padding: clamp(74px, 9vw, 120px) 0;
}

.section-tight {
  padding-top: clamp(58px, 7vw, 92px);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(32px, 4.5vw, 54px);
}

.section-head h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.015em;
}

.section-note {
  max-width: 38ch;
  padding-left: 18px;
  border-left: 1px solid var(--gold-line);
  font-size: 0.9rem;
  color: var(--muted);
}

/* Tarjetas de cristal ---------------------------------------------------- */

.glass-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.016) 62%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 60px -38px rgba(0, 0, 0, 0.85);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  pointer-events: none;
}

/* Servicios -------------------------------------------------------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 24px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-line);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border: 1px solid var(--gold-line);
  border-radius: 13px;
  background: rgba(214, 171, 95, 0.07);
  color: var(--gold-bright);
}

.service-icon svg {
  width: 23px;
  height: 23px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
}

.service-card p {
  margin-top: 10px;
  font-size: 0.86rem;
  color: var(--muted);
}

.service-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-bright);
  line-height: 1;
}

.duration {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.25s ease;
}

.service-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.service-link:hover {
  color: var(--gold-bright);
}

.service-link:hover svg {
  transform: translateX(4px);
}

.service-card.featured {
  border-color: var(--gold-line);
  background:
    linear-gradient(158deg, rgba(214, 171, 95, 0.14), rgba(255, 255, 255, 0.02) 70%),
    rgba(20, 17, 12, 0.55);
}

.featured-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 9px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(214, 171, 95, 0.08);
}

/* Galería ---------------------------------------------------------------- */

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  grid-template-rows: 232px 232px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-tall {
  grid-row: span 2;
}

.gallery-tall img {
  object-position: 50% 38%;
}

.gallery-wide img {
  object-position: 50% 55%;
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 44px 20px 16px;
  background: linear-gradient(0deg, rgba(7, 8, 9, 0.86), transparent);
}

.gallery-item figcaption span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.gallery-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-color: var(--gold-line);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(214, 171, 95, 0.12), transparent 55%),
    linear-gradient(158deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
}

.tile-title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 0.98;
}

.tile-title em {
  font-style: italic;
  color: var(--gold-bright);
}

.tile-copy {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}

.tile-list {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--steel);
}

.tile-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tile-list svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: var(--gold);
}

/* Horario y ubicación ---------------------------------------------------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.info-card {
  padding: 28px 26px;
}

.info-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  background: rgba(214, 171, 95, 0.07);
  color: var(--gold-bright);
}

.info-icon svg {
  width: 21px;
  height: 21px;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

.hours {
  margin-top: 16px;
}

.hours li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: var(--muted);
}

.hours li:last-child {
  border-bottom: 0;
}

.hours strong {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.hours .closed {
  color: var(--muted);
  font-weight: 500;
}

.info-foot {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
}

.info-card address {
  margin-top: 14px;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.inline-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.inline-link:hover svg {
  transform: translateX(4px);
}

.contact-line {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
}

.contact-line a:hover {
  color: var(--gold-bright);
}

.contact-line.muted {
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-actions {
  margin-top: 20px;
}

.contact-actions .btn {
  width: 100%;
}

/* Reserva ---------------------------------------------------------------- */

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}

.booking-copy h2 {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.015em;
}

.booking-copy > p {
  max-width: 42ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.95rem;
}

.booking-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.booking-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--steel);
}

.booking-points svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--gold);
}

.booking-form {
  padding: clamp(22px, 3.4vw, 34px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field label span {
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
  color: rgba(166, 161, 154, 0.7);
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background-color: rgba(0, 0, 0, 0.34);
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.field input::placeholder {
  color: rgba(166, 161, 154, 0.55);
}

.field select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d6ab5f' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(0, 0, 0, 0.45);
  box-shadow: 0 0 0 3px rgba(214, 171, 95, 0.13);
}

.field.invalid input,
.field.invalid select {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(224, 122, 106, 0.12);
}

.field input[type="date"] {
  color-scheme: dark;
}

.btn-submit {
  width: 100%;
  margin-top: 20px;
  min-height: 52px;
}

.form-status {
  min-height: 1.3em;
  margin-top: 12px;
  font-size: 0.82rem;
  text-align: center;
  color: var(--gold-bright);
}

/* Pie -------------------------------------------------------------------- */

.site-footer {
  margin-top: clamp(40px, 6vw, 70px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 32px;
  padding: 54px 0 38px;
}

.footer-copy {
  max-width: 36ch;
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.footer-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s ease;
}

.footer-nav a:hover {
  color: var(--gold-bright);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 6px;
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-contact a:hover {
  color: var(--gold-bright);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--steel);
  transition: color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.socials a:hover {
  color: var(--gold-bright);
  border-color: var(--gold-line);
  transform: translateY(-2px);
}

.socials svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(166, 161, 154, 0.75);
}

/* Adaptación ------------------------------------------------------------- */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-card {
    grid-column: 1 / -1;
  }

  .contact-card .btn {
    width: auto;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px 0 18px;
  }

  .site-header.menu-open .main-nav {
    display: flex;
  }

  .main-nav > a:not(.btn) {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.86rem;
  }

  .main-nav > a:not(.btn)::after {
    display: none;
  }

  .main-nav > a:not(.btn):hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gold-bright);
  }

  .nav-cta {
    margin-top: 10px;
    justify-content: center;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .hero-copy {
    max-width: 640px;
  }

  .hero-figure {
    max-width: 560px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-note {
    max-width: 52ch;
    padding-left: 16px;
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 380px 230px auto;
  }

  .gallery-tall {
    grid-row: auto;
  }

  .booking-layout {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card {
    grid-column: auto;
  }

  .contact-card .btn {
    width: 100%;
  }

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

  .field-full {
    grid-column: auto;
  }

  .hero-actions .btn {
    flex: 1 1 160px;
  }

  .trust-row {
    gap: 16px 24px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .footer-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px 22px;
  }
}

@media (max-width: 430px) {
  .brand-name {
    font-size: 0.86rem;
    letter-spacing: 0.13em;
  }

  .brand-sub {
    font-size: 0.54rem;
    letter-spacing: 0.28em;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-mark svg {
    width: 23px;
    height: 23px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14vw, 3.5rem);
  }

  .gallery-grid {
    grid-template-rows: 330px 210px auto;
  }

  .glass-badge {
    left: 14px;
    bottom: 14px;
    padding: 10px 13px;
  }
}

/* Accesibilidad y movimiento --------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ticker-track {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy {
    animation: rise 0.9s cubic-bezier(0.2, 0.65, 0.2, 1) both;
  }

  .hero-figure {
    animation: rise 1.05s 0.12s cubic-bezier(0.2, 0.65, 0.2, 1) both;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header,
  .glass-card,
  .glass-badge {
    background-color: rgba(14, 15, 17, 0.94);
  }
}
