:root {
  --bg: #0f0e0f;
  --card: #211f20;
  --text: #f8f6f4;
  --muted: #bdb8b4;
  --red: #b5090c;
  --orange: #ff8912;
  --orange-light: #ffb11a;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --radius-large: 32px;
  --container: 1180px;
  --transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(181, 9, 12, 0.13), transparent 26%),
    linear-gradient(180deg, #121112 0%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.section {
  padding: 88px 0;
}

.section-kicker {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: #111;
  background: var(--orange);
  border-radius: 8px;
  font-weight: 800;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 14, 15, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-logo,
.footer-logo {
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

.brand-logo {
  width: 54px;
  height: 54px;
}

.footer-logo {
  width: 70px;
  height: 70px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 16px;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-call {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 17px;
  color: #161112;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(255, 137, 18, 0.2);
}

/* HERO */

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 76px 0 68px;
  background:
    radial-gradient(circle at 82% 30%, rgba(181, 9, 12, 0.12), transparent 30%),
    radial-gradient(circle at 18% 70%, rgba(255, 137, 18, 0.06), transparent 28%),
    linear-gradient(135deg, #191718 0%, #100f10 58%, #160d0f 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(
      90deg,
      rgba(15, 14, 15, 0.05),
      rgba(15, 14, 15, 0.24)
    ),
    url("../assets/img/textura-hormigon.jpg") center / cover no-repeat;
  opacity: 0.08;
  pointer-events: none;
}

.hero::after {
  position: absolute;
  top: 8%;
  right: 8%;
  width: 420px;
  height: 420px;
  content: "";
  border-radius: 50%;
  background: rgba(181, 9, 12, 0.08);
  filter: blur(90px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 76px;
  align-items: center;
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 9px 14px;
  color: #f4bd79;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.06em;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(181, 9, 12, 0.16);
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(50px, 5.7vw, 80px);
  line-height: 0.97;
  letter-spacing: -0.055em;
}

.hero h1 em {
  display: block;
  color: var(--orange);
  font-style: normal;
}

.hero-description {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
}

.hero-actions,
.hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.hero-benefits {
  gap: 16px 24px;
  margin-top: 30px;
}

.hero-benefits span {
  color: #d6d1ce;
  font-size: 13px;
  font-weight: 700;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #161112;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  box-shadow: 0 15px 35px rgba(255, 137, 18, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 20px 46px rgba(255, 137, 18, 0.34);
}

.btn-secondary,
.btn-icon {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.13);
}

.btn-icon {
  width: 52px;
  padding: 0;
  font-size: 25px;
}

.btn-icon svg{
    width:22px;
    height:22px;
    transition:.25s ease;
}

.btn-icon:hover svg{
    transform:scale(1.12);
}

.hero-visual {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-panel-clean {
  position: relative;
  width: min(100%, 470px);
  padding: 22px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.075),
      rgba(255, 255, 255, 0.025)
    );
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 30px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    0 0 50px rgba(181, 9, 12, 0.06);
}

.logo-panel-clean::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  border-radius: inherit;
  background:
    linear-gradient(
      135deg,
      rgba(255, 137, 18, 0.22),
      transparent 34%,
      transparent 66%,
      rgba(181, 9, 12, 0.22)
    );
  filter: blur(18px);
  opacity: 0.35;
}

.logo-panel-clean-inner {
  min-height: 390px;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(145deg, #5d5d5d, #454545);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
}

.hero-logo-clean {
  width: min(100%, 380px);
  max-height: 350px;
  object-fit: contain;
  background: transparent;
}

.logo-panel-clean-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-top: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.logo-panel-clean-footer i {
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}

.hero-fire-line {
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--red), var(--orange), var(--red), transparent);
}

/* SECCIONES */

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

.section-heading h2,
.location-content h2,
.contact-panel h2,
.social-panel h2 {
  margin: 9px 0 0;
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-heading p,
.location-content > p,
.contact-panel p,
.social-panel p {
  color: var(--muted);
  line-height: 1.7;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.specialty-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.32);
  transition: transform var(--transition), border-color var(--transition);
}

.specialty-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 137, 18, 0.35);
}

.specialty-card > img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.specialty-card > div {
  position: relative;
  padding: 25px;
}

.specialty-card > div > span {
  position: absolute;
  top: -18px;
  right: 22px;
  min-width: 46px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: #171314;
  background: var(--orange);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
}

.specialty-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.specialty-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.menu-note {
  display: flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  flex-wrap:wrap;
  margin-top: 18px;
  padding: 18px 20px;
  background: rgba(181, 9, 12, 0.09);
  border: 1px solid rgba(181, 9, 12, 0.22);
  border-radius: 18px;
}

.menu-note strong {
  color: var(--orange);
}

.menu-note-text{
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

.menu-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 22px;
    border-radius:999px;
    background:linear-gradient(135deg,#ff9d1a,#ff7a00);
    color:#111;
    font-weight:700;
    transition:.25s;
    box-shadow:0 10px 25px rgba(255,140,0,.25);
}

.menu-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 35px rgba(255,140,0,.45);
}

.location-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
}

.location-card {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.location-content > .location-card:first-of-type {
  margin-top: 30px;
}

.location-card > b {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: rgba(181, 9, 12, 0.16);
  border-radius: 15px;
}

.location-card > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.location-card small,
.location-card span {
  color: var(--muted);
}

.location-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 25px;
}

.text-link {
  font-size: 14px;
  font-weight: 850;
}

.hours-card {
  padding: 28px;
  background: linear-gradient(145deg, #242122, #191718);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.hours-card h3 {
  margin: 7px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 27px;
}

.hour-row {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  color: var(--muted);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.09);
}

.hour-row strong {
  color: var(--text);
}

.gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr;
  grid-template-rows: repeat(2, 280px);
  grid-template-areas:
    "mostrador fachada kebab"
    "mostrador barra pizza";
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}
.gallery{
    display:grid;
    grid-template-columns:1.6fr 1fr 1fr;
    grid-template-rows:repeat(3,220px);
    gap:18px;
}

.gallery img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:18px;
}

.gallery img:first-child{
    grid-row:1 / 4;
}
.gallery-mostrador { grid-area: mostrador; filter: saturate(0.85) brightness(0.95); }
.gallery-fachada { grid-area: fachada; }
.gallery-kebab { grid-area: kebab; }
.gallery-barra { grid-area: barra; }
.gallery-pizza { grid-area: pizza; }
.gallery-interior { display: none; }

.social-panel,
.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  align-items: center;
  padding: 44px;
  background:
    radial-gradient(circle at 15% 40%, rgba(255, 137, 18, 0.14), transparent 30%),
    linear-gradient(135deg, #292425, #171516);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow);
}

.contact-actions {
  display: flex;
  gap: 12px;
}

.footer {
  padding: 42px 0 30px;
}

.footer-top,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-top {
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-contact {
  display: flex;
  gap: 12px 22px;
}

.footer-bottom {
  padding-top: 19px;
  color: var(--muted);
  font-size: 13px;
}

/* ANIMACIONES */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal-delay {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    margin-inline: auto;
    text-align: center;
  }

  .hero-description {
    margin-inline: auto;
  }

  .eyebrow,
  .hero-actions,
  .hero-benefits {
    margin-inline: auto;
    justify-content: center;
  }

  .hero-visual {
    width: min(100%, 560px);
    margin-inline: auto;
  }

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

  .specialty-card:last-child {
    grid-column: span 2;
  }

  .location-layout {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 250px);
    grid-template-areas:
      "mostrador fachada"
      "mostrador kebab"
      "barra pizza";
  }
}

@media (max-width: 850px) {
  .nav-links {
    display: none;
  }

  .section-heading,
  .social-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .container {
    width: min(calc(100% - 26px), var(--container));
  }

  .section {
    padding: 65px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(44px, 13vw, 64px);
  }

  .logo-panel-clean {
    width: 100%;
    max-width: 470px;
  }

  .logo-panel-clean-inner {
    min-height: 320px;
  }

  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card:last-child {
    grid-column: auto;
  }

  .location-actions,
  .contact-actions,
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: none;
  }

  .gallery img,
  .gallery-interior {
    display: block;
    height: 250px;
    grid-area: auto;
  }

  .gallery-mostrador {
    height: 320px;
  }

  .footer-contact {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* =====================================================
   AJUSTES FINALES DE IDENTIDAD
===================================================== */

.logo-panel-clean {
  width: min(100%, 430px);
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.logo-panel-clean-inner {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(145deg, #666666, #494949);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  box-shadow:
    inset 0 0 45px rgba(0, 0, 0, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.logo-panel-clean-inner::before,
.logo-panel-clean-inner::after {
  position: absolute;
  bottom: -28px;
  content: "";
  width: 180px;
  height: 140px;
  background: url("../assets/img/flame-pattern.svg") center / contain no-repeat;
  opacity: 0.48;
  pointer-events: none;
}

.logo-panel-clean-inner::before {
  left: -18px;
  transform: rotate(-12deg);
}

.logo-panel-clean-inner::after {
  right: -18px;
  transform: scaleX(-1) rotate(-12deg);
}

.hero-logo-clean {
  position: relative;
  z-index: 2;
  width: min(100%, 355px);
  max-height: 325px;
  object-fit: contain;
  filter:
    drop-shadow(0 15px 22px rgba(0, 0, 0, 0.23))
    drop-shadow(0 0 10px rgba(255, 255, 255, 0.06));
}

/* Galería equilibrada: 50 % imagen principal + 50 % cuadrícula */
.gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.gallery-main {
  width: 100%;
  height: 576px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  filter: saturate(0.88) brightness(0.96);
}

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

.gallery-grid-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  transition: transform var(--transition), border-color var(--transition);
}

.gallery-grid-small img:hover,
.gallery-main:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 137, 18, 0.28);
}

.gallery-mobile-extra {
  display: none;
}

/* Detalles gastronómicos sutiles */
.specialty-card {
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.34),
    0 0 30px rgba(255, 137, 18, 0.025);
}

.section-heading h2,
.location-content h2,
.contact-panel h2,
.social-panel h2 {
  position: relative;
}

.section-heading h2::after,
.location-content h2::after {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 10px;
  vertical-align: middle;
  content: "";
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 137, 18, 0.55);
}

/* Instagram con fotografía de fondo oscurecida */
.social-panel {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(22, 18, 19, 0.98) 0%, rgba(22, 18, 19, 0.88) 55%, rgba(22, 18, 19, 0.62) 100%),
    url("../assets/img/hamburguesa.jpg") center 45% / cover no-repeat;
}

.social-panel::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 137, 18, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(181, 9, 12, 0.10), transparent 55%);
}

.social-content {
  max-width: 720px;
}

.social-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.social-benefits span {
  padding: 9px 13px;
  color: #e8e3df;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  backdrop-filter: blur(6px);
}

@media (max-width: 850px) {
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    height: 420px;
  }

  .gallery-grid-small {
    grid-template-rows: repeat(2, 240px);
  }
}

@media (max-width: 650px) {
  .logo-panel-clean-inner {
    min-height: 300px;
  }

  .gallery-main {
    height: 300px;
  }

  .gallery-grid-small {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-grid-small img,
  .gallery-mobile-extra {
    display: block;
    height: 250px;
  }

  .gallery-mobile-extra {
    width: 100%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
  }

  .social-panel {
    min-height: 340px;
    background-position: 65% center;
  }

  .social-benefits {
    flex-direction: column;
    align-items: flex-start;
  }
}




/* =====================================================
   LLAMAS VISIBLES BAJO EL BLOQUE DE TEXTO
===================================================== */

.hero {
  padding-bottom: 58px !important;
}

.hero-content {
  position: relative !important;
  z-index: 4 !important;
  overflow: visible !important;
}

.hero-fire-text {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 610px !important;
  height: 118px !important;
  margin-top: 14px !important;
  overflow: visible !important;
  line-height: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

.hero-fire-text img {
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 118px !important;
  max-width: none !important;
  min-height: 0 !important;
  object-fit: fill !important;
  object-position: center bottom !important;
  opacity: 0.9 !important;
  visibility: visible !important;
  filter:
    saturate(1.04)
    contrast(1.04)
    drop-shadow(0 -5px 12px rgba(255, 70, 0, 0.14)) !important;
}

/* Desactiva únicamente la versión antigua de ancho completo */
.hero > .hero-real-fire,
.hero-real-fire {
  display: none !important;
}

/* Mantiene el contenido por encima del fondo del hero */
.hero-grid {
  position: relative !important;
  z-index: 3 !important;
}

.hero-fire-line {
  z-index: 5 !important;
}

@media (max-width: 1050px) {
  .hero-fire-text {
    max-width: 610px !important;
    height: 108px !important;
    margin-inline: auto !important;
  }

  .hero-fire-text img {
    height: 108px !important;
  }
}

@media (max-width: 850px) {
  .hero {
    padding-bottom: 48px !important;
  }

  .hero-fire-text {
    max-width: 520px !important;
    height: 96px !important;
    margin-top: 12px !important;
  }

  .hero-fire-text img {
    height: 96px !important;
  }
}

@media (max-width: 650px) {
  .hero {
    padding-bottom: 40px !important;
  }

  .hero-fire-text {
    width: 100% !important;
    max-width: 100% !important;
    height: 78px !important;
    margin-top: 10px !important;
  }

  .hero-fire-text img {
    height: 78px !important;
  }
}

@media (max-width: 430px) {
  .hero-fire-text {
    height: 66px !important;
  }

  .hero-fire-text img {
    height: 66px !important;
  }
}


/* =====================================================
   VERSIÓN FINAL: FUEGO SOBRE EL LOGO
===================================================== */

.hero {
  padding-bottom: 68px !important;
}

.hero-content {
  position: relative;
  z-index: 4;
}

.hero-fire-text,
.hero > .hero-real-fire,
.hero-real-fire {
  display: none !important;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.logo-fire-wrap {
  position: relative;
  width: min(100%, 500px);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.logo-fire-image {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 100;
  width: 118%;
  max-width: none;
  height: 250px;
  object-fit: fill;
  object-position: center bottom;
  transform: translateX(-50%);
  opacity: 0.9;
  pointer-events: none;
  filter:
    saturate(1.05)
    contrast(1.05)
    drop-shadow(0 -8px 18px rgba(255, 70, 0, 0.16));
}

.logo-panel-clean {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.logo-panel-clean-inner {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 22px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(145deg, #666666, #494949);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  box-shadow:
    inset 0 0 45px rgba(0, 0, 0, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.logo-panel-clean-inner::before,
.logo-panel-clean-inner::after {
  display: none !important;
}

.hero-logo-clean {
  position: relative;
  z-index: 3;
  width: min(100%, 355px);
  max-height: 325px;
  object-fit: contain;
  filter:
    drop-shadow(0 15px 22px rgba(0, 0, 0, 0.26))
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.05));
}

.logo-panel-clean-footer {
  position: relative;
  z-index: 3;
}

@media (max-width: 1050px) {
  .logo-fire-wrap {
    width: min(100%, 520px);
  }

  .logo-fire-image {
    width: 112%;
    height: 220px;
    bottom: 30px;
  }
}

@media (max-width: 850px) {
  .hero-visual {
    min-height: 470px;
  }

  .logo-fire-wrap {
    min-height: 450px;
  }

  .logo-fire-image {
    width: 108%;
    height: 195px;
    bottom: 28px;
  }
}

@media (max-width: 650px) {
  .hero-visual {
    min-height: 390px;
  }

  .logo-fire-wrap {
    min-height: 370px;
  }

  .logo-panel-clean {
    width: min(100%, 360px);
    padding: 12px;
    border-radius: 22px;
  }

  .logo-panel-clean-inner {
    min-height: 285px;
    padding: 16px;
  }

  .logo-fire-image {
    width: 110%;
    height: 155px;
    bottom: 22px;
  }
}

@media (max-width: 430px) {
  .hero-visual {
    min-height: 345px;
  }

  .logo-fire-wrap {
    min-height: 330px;
  }

  .logo-panel-clean {
    width: min(100%, 320px);
  }

  .logo-panel-clean-inner {
    min-height: 250px;
  }

  .logo-fire-image {
    width: 112%;
    height: 132px;
    bottom: 20px;
  }
}

@media(max-width:768px){

    .menu-note{
        flex-direction:column;
        align-items:flex-start;
    }

    .menu-btn{
        width:100%;
        justify-content:center;
    }

}

.footer-links{
  display:flex;
  gap:80px;
  margin-top:40px;
  padding-top:35px;
  border-top:1px solid rgba(255,255,255,.08);

  flex-wrap:wrap;
}

.footer-column{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.footer-column h4{
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--color-primary);

  margin-bottom:6px;
}

.footer-column a{
  color:#bdbdbd;
  font-size:15px;

  transition:.25s;
}

.footer-column a:hover{
  color:#fff;
  padding-left:4px;
}
.footer-links{display:flex;gap:80px;flex-wrap:wrap;}
.footer-column{display:flex;flex-direction:column;gap:12px;}
.legal-page{padding:140px 0 90px;}


@media(max-width:768px){
  .footer-links{
    gap:40px;
  }
}

.legal-page{
  padding:140px 0 90px;
}

.legal-page h1{
  font-size:54px;
  margin-bottom:45px;
}

.legal-page h2{
  margin-top:45px;
  margin-bottom:15px;
  font-size:26px;
  color:var(--color-primary);
}

.legal-page p{
  line-height:1.9;
  color:#c7c7c7;
  margin-bottom:18px;
  max-width:900px;
}

.legal-page strong{
  color:#fff;
}

@media(max-width:768px){
  .legal-page{
  padding:110px 0 70px;
  }

  .legal-page h1{
    font-size:40px;
  }
}


/* =====================================================
   FOOTER PREMIUM — REDISEÑO DEFINITIVO
===================================================== */

.footer.footer-premium {
  position: relative;
  margin-top: 70px;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 137, 18, 0.08), transparent 28%),
    radial-gradient(circle at 95% 20%, rgba(181, 9, 12, 0.08), transparent 26%),
    #0b0a0b;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer.footer-premium::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    var(--red),
    var(--orange),
    var(--red),
    transparent
  );
  opacity: 0.78;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.7fr);
  gap: 80px;
  padding: 72px 0 54px;
}

.footer-about {
  max-width: 420px;
}

.footer-brand-premium {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.footer-logo-premium {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  padding: 4px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.07);
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-brand-copy strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1.1;
}

.footer-brand-copy small {
  color: var(--orange);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.45;
  text-transform: uppercase;
}

.footer-description {
  max-width: 390px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.footer-social {
  margin-top: 25px;
}

.footer-social a {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  color: #e8e3df;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.footer-social a:hover {
  transform: translateY(-2px);
  background: rgba(255, 137, 18, 0.08);
  border-color: rgba(255, 137, 18, 0.28);
}

.footer-social svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.footer-nav-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr 1fr;
  gap: 52px;
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-nav-column h2 {
  margin: 0 0 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-nav-column a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  transition:
    color var(--transition),
    transform var(--transition);
}

.footer-nav-column a:hover {
  color: var(--orange);
  transform: translateX(3px);
}

.footer-nav-column a strong {
  color: #ded9d6;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.footer-link-label {
  color: #777271;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-bottom-premium {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 24px 0 30px;
  color: #777271;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 12px;
}

.footer-credit a {
  color: #d5d0cd;
  font-weight: 800;
}

.footer-credit a:hover {
  color: var(--orange);
}

/* Oculta las reglas del footer anterior cuando se usa el nuevo */
.footer-premium .footer-top,
.footer-premium .footer-links,
.footer-premium .footer-bottom,
.footer-premium .footer-brand,
.footer-premium .footer-contact,
.footer-premium .footer-column {
  display: none !important;
}

/* =====================================================
   PÁGINAS LEGALES
===================================================== */

.legal-page {
  min-height: 70vh;
  padding: 110px 0 90px;
}

.legal-container {
  max-width: 980px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.legal-back:hover {
  color: var(--orange);
}

.legal-page h1 {
  margin: 10px 0 48px;
  font-size: clamp(46px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-content section {
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.legal-content h2 {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 22px;
}

.legal-content p,
.legal-content li,
.legal-content dd {
  color: var(--muted);
  line-height: 1.8;
}

.legal-content p {
  margin: 0;
}

.legal-content ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.legal-content a {
  color: #f0ece9;
  text-decoration: underline;
  text-decoration-color: rgba(255, 137, 18, 0.5);
  text-underline-offset: 4px;
}

.legal-data {
  display: grid;
  gap: 1px;
  margin: 22px 0 0;
  overflow: hidden;
  border-radius: 16px;
}

.legal-data > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
}

.legal-data dt {
  color: #817b78;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-data dd {
  margin: 0;
}

@media (max-width: 1050px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-about {
    max-width: 600px;
  }
}

@media (max-width: 780px) {
  .footer-main {
    padding: 58px 0 40px;
  }

  .footer-nav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 30px;
  }

  .footer-nav-column:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer.footer-premium {
    margin-top: 45px;
  }

  .footer-main {
    padding-top: 48px;
  }

  .footer-brand-premium {
    align-items: flex-start;
  }

  .footer-logo-premium {
    width: 72px;
    height: 72px;
  }

  .footer-brand-copy strong {
    font-size: 19px;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-nav-column:last-child {
    grid-column: auto;
  }

  .footer-bottom-premium {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .legal-page {
    padding: 80px 0 65px;
  }

  .legal-content section {
    padding: 23px 20px;
  }

  .legal-data > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}


/* =====================================================
   CONSENTIMIENTO DE COOKIES
===================================================== */

.cookie-modal-open {
  overflow: hidden;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.cookie-consent-overlay {
  inset: 0;
  align-items: center;
  padding: 24px;
  background: rgba(4, 4, 5, 0.76);
  backdrop-filter: blur(12px);
}

.cookie-dialog {
  position: relative;
  width: min(100%, 1180px);
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 137, 18, 0.10), transparent 28%),
    linear-gradient(145deg, #242122, #151415);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.cookie-dialog-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 25px 28px;
}

.cookie-dialog-copy {
  max-width: 760px;
}

.cookie-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cookie-dialog h2 {
  margin: 0 0 9px;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.cookie-dialog p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.cookie-dialog p a {
  color: #f3efec;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(255, 137, 18, 0.55);
  text-underline-offset: 4px;
}

.cookie-actions,
.cookie-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-btn {
  min-height: 44px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    color var(--transition);
}

.cookie-btn:hover {
  transform: translateY(-2px);
}

.cookie-btn-primary {
  color: #171314;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  box-shadow: 0 13px 30px rgba(255, 137, 18, 0.20);
}

.cookie-btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
}

.cookie-btn-link {
  color: var(--muted);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.08);
}

.cookie-dialog-settings {
  width: min(100%, 680px);
  max-height: min(90vh, 760px);
  overflow-y: auto;
  padding: 34px;
}

.cookie-close {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.cookie-settings-intro {
  max-width: 570px;
  margin-bottom: 25px !important;
}

.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.cookie-option > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cookie-option strong {
  font-size: 15px;
}

.cookie-option > div span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.cookie-switch {
  display: grid;
  grid-template-columns: 48px;
  gap: 5px;
  justify-items: center;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch > span {
  position: relative;
  width: 48px;
  height: 27px;
  background: #393536;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  transition: background var(--transition);
}

.cookie-switch > span::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  content: "";
  background: #aaa4a1;
  border-radius: 50%;
  transition:
    transform var(--transition),
    background var(--transition);
}

.cookie-switch input:checked + span {
  background: rgba(255, 137, 18, 0.82);
}

.cookie-switch input:checked + span::after {
  background: #171314;
  transform: translateX(21px);
}

.cookie-switch input:focus-visible + span {
  outline: 3px solid rgba(255, 137, 18, 0.32);
  outline-offset: 3px;
}

.cookie-switch em {
  color: #777271;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.cookie-switch-disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.cookie-settings-actions {
  margin-top: 25px;
  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
}

.footer-cookie-settings {
  padding: 0;
  color: #777271;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.footer-cookie-settings:hover {
  color: var(--orange);
}

@media (max-width: 800px) {
  .cookie-dialog-banner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cookie-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .cookie-consent {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

  .cookie-consent-overlay {
    padding: 12px;
  }

  .cookie-dialog-banner,
  .cookie-dialog-settings {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .cookie-actions,
  .cookie-settings-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-option {
    grid-template-columns: 1fr;
  }

  .cookie-switch {
    justify-items: start;
  }
}


/* =====================================================
   CORRECCIÓN DE VISIBILIDAD DEL BANNER DE COOKIES
===================================================== */

#cookie-notice:not([hidden]) {
  display: flex !important;
}

#cookie-settings:not([hidden]) {
  display: flex !important;
}

#cookie-notice[hidden],
#cookie-settings[hidden] {
  display: none !important;
}

/* El aviso se ve aunque cookies.js tarde en cargar */
#cookie-notice {
  visibility: visible;
  opacity: 1;
}
