:root {
  --ink: #08090a;
  --coal: #111316;
  --graphite: #1b1f24;
  --paper: #f5f0e8;
  --muted: #b9b2a8;
  --line: rgba(245, 240, 232, 0.16);
  --gold: #f1c443;
  --red: #e62020;
  --blue: #1b4f8f;
  --green: #0f7a5b;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

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

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(8, 9, 10, 0.36);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 9, 10, 0.88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(241, 196, 67, 0.45);
}

.brand span {
  display: grid;
  gap: 0;
  min-width: 0;
}

.brand strong {
  color: var(--white);
  font-size: 0.98rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2.4vw, 28px);
  color: rgba(245, 240, 232, 0.82);
  font-size: 0.92rem;
}

.main-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
}

.nav-action {
  padding: 0 16px;
  border: 1px solid rgba(241, 196, 67, 0.72);
  border-radius: var(--radius);
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  display: grid;
  align-items: end;
  padding: 136px clamp(18px, 5vw, 72px) 54px;
  border-bottom: 1px solid var(--line);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 9, 10, 0.96) 0%, rgba(8, 9, 10, 0.72) 40%, rgba(8, 9, 10, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 9, 10, 0.92) 0%, rgba(8, 9, 10, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  display: flex;
  flex-wrap: nowrap;
  font-size: clamp(4.2rem, 11vw, 9rem);
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
  overflow-wrap: normal;
}

.hero h1 span:first-child {
  color: var(--red);
}

.hero h1 span:last-child {
  color: var(--gold);
}

.hero-copy {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(245, 240, 232, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible,
.service-pick:hover,
.service-pick:focus-visible,
.floating-action:hover,
.floating-action:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--gold);
  color: #15100a;
  box-shadow: 0 16px 38px rgba(241, 196, 67, 0.22);
}

.button-outline {
  border-color: rgba(245, 240, 232, 0.38);
  color: var(--paper);
  background: rgba(8, 9, 10, 0.26);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: rgba(245, 240, 232, 0.78);
}

.hero-facts span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-left: 3px solid var(--red);
  padding: 0 12px;
  background: rgba(8, 9, 10, 0.45);
}

.section,
.section-band {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px);
}

.section-band {
  background: var(--paper);
  color: var(--ink);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

#servicios,
#trabajos,
#experiencia,
#reservas,
#ubicacion {
  scroll-margin-top: 96px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.66fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: end;
}

.intro h2,
.section-heading h2,
.studio h2,
.booking h2 {
  font-size: clamp(2rem, 5vw, 4.1rem);
}

.intro p:not(.section-kicker) {
  margin: 0;
  color: rgba(8, 9, 10, 0.72);
  font-size: 1.05rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.45fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading p:last-child,
.studio-copy p,
.booking-copy p {
  margin: 0;
  color: rgba(245, 240, 232, 0.68);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 292px;
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.service-number {
  color: var(--gold);
  font-weight: 900;
  font-size: 0.82rem;
}

.service-card h3 {
  font-size: 1.32rem;
}

.service-card p {
  margin: 0;
  color: rgba(245, 240, 232, 0.64);
}

.service-pick {
  align-self: end;
  justify-self: start;
  min-height: 42px;
  border-radius: var(--radius);
  border: 1px solid rgba(241, 196, 67, 0.5);
  padding: 0 14px;
  background: transparent;
  color: var(--gold);
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease;
}

.gallery-section {
  background:
    linear-gradient(90deg, rgba(230, 32, 32, 0.12), transparent 36%),
    var(--coal);
}

.gallery-heading {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.gallery-item {
  position: relative;
  grid-column: span 3;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--graphite);
  border: 1px solid rgba(245, 240, 232, 0.12);
}

.gallery-large {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 532px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.gallery-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 6px;
  background: rgba(8, 9, 10, 0.76);
  color: var(--paper);
  font-size: 0.84rem;
  font-weight: 800;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.studio .section-kicker {
  color: var(--red);
}

.studio-copy p {
  color: rgba(8, 9, 10, 0.7);
  margin-top: 18px;
}

.studio-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.studio-list li {
  min-height: 44px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(8, 9, 10, 0.14);
  color: rgba(8, 9, 10, 0.78);
}

.studio-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 12px;
  background: var(--gold);
  border-radius: 2px;
  box-shadow: 12px 0 0 var(--red);
}

.studio-media {
  min-height: 620px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.studio-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking {
  background:
    linear-gradient(180deg, rgba(27, 79, 143, 0.14), transparent 28%),
    var(--ink);
}

.booking-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(300px, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.booking-copy {
  position: sticky;
  top: 110px;
}

.phone-button {
  margin-top: 28px;
}

.booking-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 34px);
  background: rgba(245, 240, 232, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  color: rgba(245, 240, 232, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(245, 240, 232, 0.2);
  border-radius: var(--radius);
  background: rgba(8, 9, 10, 0.42);
  color: var(--paper);
  min-height: 48px;
  padding: 11px 12px;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 112px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(241, 196, 67, 0.16);
}

input::placeholder,
textarea::placeholder {
  color: rgba(245, 240, 232, 0.42);
}

.form-submit {
  width: 100%;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: rgba(245, 240, 232, 0.66);
  font-size: 0.9rem;
}

.location {
  border-top: 1px solid rgba(8, 9, 10, 0.1);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 62px);
  align-items: center;
}

.location .section-kicker {
  color: var(--red);
}

.location h2 {
  font-size: clamp(2rem, 4.2vw, 3.35rem);
}

.location-copy p {
  margin: 18px 0 0;
  color: rgba(8, 9, 10, 0.72);
  font-size: 1.05rem;
}

.location-link {
  width: fit-content;
  margin-top: 28px;
  border-color: rgba(8, 9, 10, 0.28);
  color: var(--ink);
  background: transparent;
}

.map-frame {
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(8, 9, 10, 0.14);
  box-shadow: var(--shadow);
  background: rgba(8, 9, 10, 0.08);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.floating-action {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 16px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 24px));
  transition: transform 160ms ease, opacity 160ms ease;
}

.floating-action.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-action.is-visible:hover,
.floating-action.is-visible:focus-visible {
  transform: translateY(-2px);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050607;
  color: rgba(245, 240, 232, 0.72);
  padding: 30px clamp(18px, 5vw, 72px);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-grid strong {
  color: var(--white);
}

.footer-grid p {
  margin: 4px 0 0;
}

.footer-grid a {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 980px) {
  #servicios,
  #trabajos,
  #experiencia,
  #reservas,
  #ubicacion {
    scroll-margin-top: 148px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 82vh;
    padding-top: 154px;
  }

  .intro-grid,
  .section-heading,
  .gallery-heading,
  .studio-grid,
  .booking-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-large {
    grid-column: span 12;
  }

  .gallery-item {
    grid-column: span 6;
  }

  .booking-copy {
    position: static;
  }

  .studio-media {
    min-height: 480px;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 6px 10px;
    overflow-x: visible;
    font-size: 0.8rem;
  }

  .main-nav a {
    min-height: 34px;
  }

  .nav-action {
    padding: 0 10px;
  }

  .hero {
    min-height: 78vh;
    padding-bottom: 34px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 9, 10, 0.94), rgba(8, 9, 10, 0.66)),
      linear-gradient(0deg, rgba(8, 9, 10, 0.88), rgba(8, 9, 10, 0.04));
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .hero-actions,
  .hero-facts,
  .footer-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .form-split {
    grid-template-columns: 1fr;
  }

  .gallery-item,
  .gallery-large {
    grid-column: span 12;
    min-height: 360px;
  }

  .studio-media {
    min-height: 420px;
  }

  .location-link {
    width: 100%;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 320px;
  }

  .floating-action {
    left: 18px;
    right: 18px;
  }
}
