/* Copia de web/app/globals.css @theme — segunda materialización, ver web-travel/0001 */
:root {
  --uc-blue: #2995fc;
  --uc-ink: #000000;
  --uc-white: #ffffff;
  --uc-ink-soft: #666666;
  --uc-border: #e6e6e6;
  --uc-white-soft: #b3b3b3;

  --uc-font-display: "Kumbh Sans", sans-serif;
  --uc-font-body: "Montserrat", sans-serif;

  --uc-radius-card: 16px;
  --uc-radius-pill: 999px;
  --uc-radius-photo: 16px;
  --uc-rule-width: 120px;

  --uc-shell-width: min(80dvw, 1440px);
  --uc-measure: 65ch;
  --uc-section-gap: clamp(4rem, 8vw, 8rem);

  /* breakpoints (referencia): tablet 768px, desktop 1280px */

  --uc-motion-hover-translate: -2px;
  --uc-motion-hover-duration: 160ms;
  --uc-motion-press-translate: 1px;
  --uc-motion-press-duration: 80ms;
}

@font-face {
  font-family: "Kumbh Sans";
  src: url("/fonts/kumbh-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--uc-white);
  color: var(--uc-ink);
  font-family: var(--uc-font-body);
  font-size: 1rem;
  line-height: 1.6;
}
h1, h2, h3, p, ul { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--uc-ink); outline-offset: 3px; }

.shell { width: var(--uc-shell-width); margin-inline: auto; }
.section { margin-top: var(--uc-section-gap); }

/* Header */
.header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.5rem; }
.header .logo img { height: 2rem; width: auto; }

/* Selector de idioma */
.lang { position: relative; font-family: var(--uc-font-display); font-weight: 600; font-size: 0.875rem; }
.lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.5rem 0.75rem; border-radius: var(--uc-radius-pill); letter-spacing: 0.08em;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 1rem; height: 1rem; }
.lang[open] summary svg { transform: rotate(180deg); }
.lang ul {
  list-style: none; position: absolute; right: 0; top: 100%; z-index: 10; min-width: 100%;
  background: var(--uc-white); border: 1px solid var(--uc-border); border-radius: var(--uc-radius-card);
  padding: 0.25rem;
}
.lang li a { display: block; padding: 0.5rem 0.75rem; text-decoration: none; border-radius: 12px; letter-spacing: 0.08em; }
.lang li a:hover { background: var(--uc-border); }

/* Hero con foto a sangre + velo blanco (color.md: un solo color, de opaco a transparente) */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-block: 3rem; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: right center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0.92), rgb(255 255 255 / 0.7));
}

/* Tipografía */
.eyebrow {
  font-family: var(--uc-font-display); font-weight: 700; font-size: 0.875rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--uc-ink); margin-bottom: 1rem;
}
.headline { font-family: var(--uc-font-display); font-size: clamp(2.25rem, 7vw, 4.5rem); line-height: 1.1; }
.headline .l1 { display: block; font-weight: 700; color: var(--uc-ink); }
.headline .l2 { display: block; font-weight: 400; font-style: italic; color: var(--uc-ink-soft); }
.headline .l2::after { content: ""; display: block; width: var(--uc-rule-width); height: 2px; background: var(--uc-ink); margin-top: 1rem; }
.body { max-width: var(--uc-measure); color: var(--uc-ink-soft); margin-top: 1.5rem; }
.title { font-family: var(--uc-font-display); font-weight: 700; font-size: clamp(1.5rem, 3.5vw, 2rem); line-height: 1.2; color: var(--uc-ink); }

/* CTA primario */
.cta {
  display: inline-block; margin-top: 2rem; padding: 0.875rem 2rem; white-space: nowrap;
  background: var(--uc-ink); color: var(--uc-blue); border-radius: var(--uc-radius-pill);
  font-family: var(--uc-font-display); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
  transition: transform var(--uc-motion-hover-duration) ease-out;
}
.cta:hover { transform: translateY(var(--uc-motion-hover-translate)); }
.cta:active { transform: translateY(var(--uc-motion-press-translate)); transition-duration: var(--uc-motion-press-duration); }

/* Marcas */
.brands ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; margin-top: 1.5rem; }
.brands img { height: 2.5rem; width: auto; }

/* Cards sueltas */
.cards { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.card { text-align: center; }
.card .icon {
  width: 4rem; height: 4rem; margin: 0 auto 1.25rem; display: grid; place-items: center;
  border: 2px solid var(--uc-blue); border-radius: 50%; color: var(--uc-blue);
}
.card .icon svg { width: 1.75rem; height: 1.75rem; }
.card h3 { font-family: var(--uc-font-display); font-weight: 600; font-size: 1.25rem; color: var(--uc-ink); }
.card p { color: var(--uc-ink-soft); margin-top: 0.5rem; }

/* Cierre */
.closing .frame { color: var(--uc-ink-soft); margin-top: 1.5rem; }

/* Footer */
.footer { margin-top: var(--uc-section-gap); padding-block: 2rem; border-top: 1px solid var(--uc-border); font-size: 0.875rem; color: var(--uc-ink-soft); display: flex; flex-direction: column; gap: 1rem; }
.footer img { height: 1.5rem; width: auto; }
.footer a { color: var(--uc-ink); }

@media (min-width: 768px) {
  .hero { min-height: 70svh; display: flex; align-items: center; padding-block: 5rem; }
  .hero-inner { margin-inline: auto; }
  .hero::before { background: linear-gradient(to right, rgb(255 255 255 / 1) 0%, rgb(255 255 255 / 1) 55%, rgb(255 255 255 / 0) 100%); }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .brands img { height: 3rem; }
  .footer { flex-direction: row; align-items: center; justify-content: space-between; }
}
