/* Íntimo Coffee — landing estática (paleta monocroma: negros, grises y blancos) */

:root {
  --black: #0a0a0a;
  --gray-950: #141414;
  --gray-900: #1f1f1f;
  --gray-800: #2a2a2a;
  --gray-700: #404040;
  --gray-600: #525252;
  --gray-500: #737373;
  --gray-400: #a3a3a3;
  --gray-300: #d4d4d4;
  --gray-200: #e5e5e5;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --text: var(--gray-900);
  --text-muted: rgba(20, 20, 20, 0.68);
  --text-on-dark: rgba(255, 255, 255, 0.88);
  --text-on-dark-muted: rgba(255, 255, 255, 0.65);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-sm);
}

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

a {
  color: var(--gray-800);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--black);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  max-width: 720px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 44px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nav {
  display: none;
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: min(52vw, 520px);
}

.nav a {
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
}

.nav a:hover {
  color: var(--black);
}

.header-cta {
  display: none;
}

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

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 1px;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 1rem 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.nav-mobile a {
  padding: 0.75rem 0;
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 500;
}

.nav-mobile[hidden] {
  display: none;
}

@media (min-width: 960px) {
  .nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--black);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--gray-800);
  color: var(--white);
}

.btn--outline {
  border-color: var(--gray-900);
  color: var(--gray-900);
  background: transparent;
}

.btn--outline:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  padding: 4rem 0 5rem;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 50%, rgba(30, 30, 30, 0.65) 100%),
    url("https://images.unsplash.com/photo-1495474472887-2367f5cb8824?auto=format&fit=crop&w=2000&q=80&sat=-100") center / cover no-repeat;
  filter: contrast(1.05);
}

.hero-inner {
  position: relative;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-400);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--gray-300);
}

.hero-lead {
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--text-on-dark);
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Galería — cuadrícula a ancho de viewport */
.section--gallery {
  background: var(--gray-100);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-intro--gallery {
  margin-bottom: 2rem;
}

.photo-gallery-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 max(1rem, env(safe-area-inset-left)) 0 max(1rem, env(safe-area-inset-right));
  box-sizing: border-box;
}

.photo-gallery {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1600px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .photo-gallery {
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .photo-gallery {
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.photo-gallery__cell {
  margin: 0;
  min-width: 0;
  aspect-ratio: 4 / 5;
}

.photo-gallery__cell--hero {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  max-height: min(52vh, 620px);
}

@media (min-width: 1024px) {
  .photo-gallery__cell--hero {
    aspect-ratio: 2.35 / 1;
    max-height: min(48vh, 640px);
  }
}

.photo-gallery__tile {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--gray-950);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-gallery__tile:hover {
  transform: scale(1.02);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

.photo-gallery__tile:focus-visible {
  outline: 3px solid var(--gray-900);
  outline-offset: 3px;
}

.photo-gallery__tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
  .photo-gallery__tile {
    transition: none;
  }

  .photo-gallery__tile:hover {
    transform: none;
  }
}

.gallery-dialog {
  width: 100%;
  max-width: 100vw;
  height: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-sizing: border-box;
}

.gallery-dialog::backdrop {
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.gallery-dialog__shell {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
  box-sizing: border-box;
  cursor: pointer;
}

.gallery-dialog__box {
  position: relative;
  width: min(100%, 1080px);
  max-height: 100%;
  background: var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.gallery-dialog__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(86vh, 880px);
  max-height: min(86dvh, 880px);
  object-fit: contain;
  margin: 0 auto;
}

.gallery-dialog__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.gallery-dialog__close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
}

.gallery-dialog__close:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--dark {
  background: var(--gray-950);
  color: var(--white);
}

.section--dark a {
  color: var(--gray-300);
}

.section--dark a:hover {
  color: var(--white);
}

.section--cream {
  background: var(--gray-100);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.section-title.center {
  text-align: center;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0 0 2.5rem;
}

.section--dark .section-intro {
  color: var(--text-on-dark-muted);
}

.section-intro.center {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.section-intro--tight {
  margin-bottom: 1.5rem;
}

.lead-strong {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--gray-900);
  margin: 0 0 1.25rem;
}

.closing-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 1.75rem 0 0;
  color: var(--gray-900);
}

.section-outro {
  margin: 2rem 0 0;
  max-width: 40rem;
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
}

.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 42rem;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-on-dark);
  font-size: 1.02rem;
}

.icon-list__mark {
  flex-shrink: 0;
  width: 1.75rem;
  text-align: center;
  opacity: 0.9;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.75rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--text-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gray-900);
}

/* Feature grid */
.feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .feature-grid.feature-grid--two {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: var(--gray-900);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-on-dark-muted);
  font-size: 0.98rem;
}

.feature-icon {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

/* Split */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.split-text p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.split-visual {
  min-height: 280px;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(45deg, var(--gray-700) 0%, var(--gray-950) 45%, var(--black) 100%);
  box-shadow: var(--shadow);
}

/* Menu */
.menu-columns {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .menu-columns {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (min-width: 900px) {
  .menu-columns--three {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.menu-block h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
  color: var(--black);
}

.menu-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-block li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--text-muted);
}

.menu-note {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Band quote */
.section--band {
  background: var(--black);
  color: var(--white);
  padding: 3.5rem 0;
}

.band-inner {
  text-align: center;
}

.band-inner blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  font-style: italic;
  margin: 0 0 0.75rem;
  line-height: 1.45;
  color: var(--gray-100);
}

.band-inner cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--gray-400);
}

.band-cta {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 1.5rem;
  line-height: 1.4;
  color: var(--gray-100);
}

.band-cta-btn {
  margin-top: 0.25rem;
}

.section--band .btn--outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.section--band .btn--outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section--quotes {
  background: var(--gray-100);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}

.quotes-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .quotes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.quote-card {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--gray-800);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--gray-200);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto 1.5rem;
}

@media (min-width: 560px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--white);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.contact-card:hover {
  border-color: var(--gray-400);
  transform: translateY(-2px);
}

.contact-card__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}

.contact-card__value {
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-900);
}

.contact-mail {
  text-align: center;
  margin: 0;
  font-size: 0.98rem;
}

.contact-mail a {
  font-weight: 600;
}

.map-embed {
  min-height: 260px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px dashed var(--gray-300);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.map-embed__hint {
  margin: 0;
  max-width: 28rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.map-embed__actions {
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.map-embed__btn {
  text-decoration: none;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  border-radius: var(--radius);
}

.map-embed:has(iframe) {
  display: block;
  padding: 0;
  border-style: solid;
  border-color: var(--gray-200);
  overflow: hidden;
}

.visit--single {
  align-items: stretch;
}

/* Visit */
.visit {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .visit {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.visit-lead {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.visit-dl {
  margin: 1.5rem 0 0;
}

.visit-dl dt {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-700);
  margin-top: 1.25rem;
}

.visit-dl dt:first-child {
  margin-top: 0;
}

.visit-dl dd {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
}

.visit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
}

.visit-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.visit-card p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

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

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--gray-400);
  padding: clamp(2.75rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-extended {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.footer-top {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 720px) {
  .footer-top {
    grid-template-columns: auto 1fr;
    gap: 3rem;
  }
}

.footer-brand-link {
  display: inline-flex;
  align-self: start;
  text-decoration: none;
}

.footer-brand-link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
  border-radius: 10px;
}

.footer-brand__logo {
  display: block;
  height: 48px;
  width: auto;
  border-radius: 8px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  max-width: 28rem;
}

.footer-heading {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li {
  margin: 0 0 0.65rem;
}

.footer-list li:last-child {
  margin-bottom: 0;
}

.footer-list a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer-list a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.footer-social__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.footer-social__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.footer-social__btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.footer-legal {
  text-align: center;
}

.footer-legal-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
}

.footer-legal-list a {
  color: var(--gray-400);
  text-decoration: none;
  padding: 0.15rem 0;
}

.footer-legal-list a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal-sep {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
}

.footer-copyright {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-300);
}

.footer-fineprint {
  margin: 0.75rem auto 0;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
  max-width: 40rem;
}

/* Páginas legales (privacidad, términos) */
.legal-page {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(4rem, 10vw, 5rem);
  background: var(--gray-100);
  min-height: 50vh;
}

.legal-page .container.narrow {
  max-width: 760px;
}

.legal-hero {
  margin-bottom: 2rem;
}

.legal-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--black);
}

.legal-meta {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-alert {
  background: #fff8e6;
  border: 1px solid #e6d08a;
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: var(--gray-900);
  line-height: 1.5;
}

.legal-prose {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  color: var(--black);
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--gray-800);
}

.legal-prose p,
.legal-prose li {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin: 0 0 0.85rem;
}

.legal-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-prose a {
  font-weight: 600;
}

.legal-placeholder {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: rgba(234, 88, 12, 0.12);
  color: #9a3412;
  font-weight: 600;
  font-size: 0.9em;
}

.data-systems-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
}

.data-systems-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 520px;
}

.data-systems-table th,
.data-systems-table td {
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-200);
}

.data-systems-table th {
  background: var(--gray-100);
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.data-systems-table tr:last-child td {
  border-bottom: none;
}

.data-systems-table td:first-child {
  font-weight: 600;
  color: var(--gray-900);
  white-space: nowrap;
}
