/* =========================================================
   ZGZWEB - DISEÑO WEB RESTAURANTES ZARAGOZA
   Página con lenguaje visual de carta/ticket
   ========================================================= */

body:has(.zgz-rest) {
  padding-top: 0 !important;
}

body:has(.zgz-rest) #page,
body:has(.zgz-rest) .site,
body:has(.zgz-rest) .site-content,
body:has(.zgz-rest) .content-area,
body:has(.zgz-rest) #primary,
body:has(.zgz-rest) main#main,
body:has(.zgz-rest) .site-main,
body:has(.zgz-rest) article.page,
body:has(.zgz-rest) .inside-article,
body:has(.zgz-rest) .entry-content,
body:has(.zgz-rest) .elementor,
body:has(.zgz-rest) .elementor-section,
body:has(.zgz-rest) .elementor-container,
body:has(.zgz-rest) .elementor-widget,
body:has(.zgz-rest) .elementor-widget-wrap,
body:has(.zgz-rest) .elementor-widget-container {
  max-width: none !important;
  width: 100% !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.zgz-rest {
  --zgz-rest-ink: #101010;
  --zgz-rest-dark: #0B1B3A;
  --zgz-rest-blue: #145CFF;
  --zgz-rest-cyan: #00C2FF;
  --zgz-rest-warm: #FFB86C;
  --zgz-rest-muted: #667085;
  --zgz-rest-line: rgba(11, 27, 58, 0.12);
  --zgz-rest-soft: #f5f8ff;
  --zgz-rest-cream: #fff8f2;
  --zgz-rest-container: 1180px;
  --zgz-rest-spot-x: 50%;
  --zgz-rest-spot-y: 42%;

  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: clip;
  color: var(--zgz-rest-ink);
  background: #ffffff;
  text-rendering: geometricPrecision;
}

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

.zgz-rest-container {
  width: min(100% - 44px, var(--zgz-rest-container));
  margin-inline: auto;
}

.zgz-rest-eyebrow {
  margin: 0;
  color: var(--zgz-rest-blue);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.zgz-rest-section-head {
  max-width: 860px;
  margin-bottom: clamp(34px, 5vw, 66px);
}

.zgz-rest-section-head h2 {
  margin: 13px 0 0;
  color: var(--zgz-rest-ink);
  font-size: clamp(2.35rem, 5.1vw, 5.7rem);
  line-height: 0.93;
  letter-spacing: -0.078em;
}

.zgz-rest-section-head p:not(.zgz-rest-eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--zgz-rest-muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

/* HERO */

.zgz-rest-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(116px, 10vw, 164px) 0 clamp(76px, 8vw, 124px);
  background:
    radial-gradient(circle at var(--zgz-rest-spot-x) var(--zgz-rest-spot-y), rgba(255, 184, 108, 0.20), transparent 34%),
    radial-gradient(circle at 82% 16%, rgba(20, 92, 255, 0.15), transparent 30%),
    linear-gradient(135deg, #fff8f2 0%, #ffffff 46%, #f4f8ff 100%);
}

.zgz-rest-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(20, 92, 255, 0.20), rgba(255, 184, 108, 0.28), transparent);
}

.zgz-rest-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.55fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.zgz-rest-hero h1 {
  max-width: 920px;
  margin: 16px 0 20px;
  color: var(--zgz-rest-ink);
  font-size: clamp(3rem, 5.9vw, 6.7rem);
  line-height: 0.91;
  letter-spacing: -0.084em;
}

.zgz-rest-lead {
  max-width: 700px;
  margin: 0;
  color: #334155;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.72;
}

.zgz-rest-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.zgz-rest-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 15px 23px;
  border: 0;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.23s ease, color 0.23s ease, box-shadow 0.23s ease, background 0.23s ease;
}

.zgz-rest-btn span,
.zgz-rest-case-card i {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.23s ease;
}

.zgz-rest-btn:hover span,
.zgz-rest-btn:focus-visible span,
.zgz-rest-case-card a:hover i,
.zgz-rest-case-card a:focus-visible i {
  transform: translateX(4px) rotate(45deg);
}

.zgz-rest-btn--primary {
  color: #0B1B3A;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(11, 27, 58, 0.12);
}

.zgz-rest-btn--primary::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: -2;
  border-radius: inherit;
  background: linear-gradient(45deg, #145CFF, #00C2FF, #6C5CFF, #FF4FD8, #FFB86C, #145CFF);
  background-size: 420%;
  filter: blur(6px);
  opacity: 0.92;
  animation: zgzRestButtonGlow 16s linear infinite;
}

.zgz-rest-btn--primary::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: #ffffff;
}

.zgz-rest-btn--primary:hover,
.zgz-rest-btn--primary:focus-visible {
  color: var(--zgz-rest-blue);
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(20, 92, 255, 0.16);
}

.zgz-rest-btn--secondary {
  color: #0B1B3A;
  border: 1px solid rgba(11, 27, 58, 0.10);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.zgz-rest-btn--secondary:hover,
.zgz-rest-btn--secondary:focus-visible {
  color: var(--zgz-rest-blue);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.92);
}

@keyframes zgzRestButtonGlow {
  0% { background-position: 0 0; }
  100% { background-position: 420% 0; }
}

/* Ticket */

.zgz-rest-ticket {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(11, 27, 58, 0.10);
  box-shadow: 0 26px 78px rgba(11, 27, 58, 0.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.zgz-rest-ticket::before,
.zgz-rest-ticket::after {
  content: "";
  position: absolute;
  top: 84px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff8f2;
  border: 1px solid rgba(11, 27, 58, 0.08);
}

.zgz-rest-ticket::before { left: -15px; }
.zgz-rest-ticket::after { right: -15px; }

.zgz-rest-ticket__top,
.zgz-rest-ticket__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  color: #0B1B3A;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.zgz-rest-ticket__top {
  border-bottom: 1px dashed rgba(11, 27, 58, 0.18);
}

.zgz-rest-ticket__body {
  padding: 26px 24px 22px;
}

.zgz-rest-ticket__body p {
  margin: 0 0 18px;
  color: #0B1B3A;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.zgz-rest-ticket ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zgz-rest-ticket li {
  display: flex;
  gap: 10px;
  color: #42526b;
  font-size: 0.98rem;
  line-height: 1.45;
}

.zgz-rest-ticket li::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--zgz-rest-blue);
  box-shadow: 0 0 16px rgba(20, 92, 255, 0.35);
}

.zgz-rest-ticket__bottom {
  border-top: 1px dashed rgba(11, 27, 58, 0.18);
  color: var(--zgz-rest-blue);
}

/* INTENT */

.zgz-rest-intent,
.zgz-rest-includes,
.zgz-rest-faq {
  padding: clamp(74px, 8vw, 122px) 0;
  background: #ffffff;
}

.zgz-rest-intent__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.zgz-rest-intent-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(11, 27, 58, 0.10);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 46px rgba(11, 27, 58, 0.055);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.zgz-rest-intent-card:hover {
  border-color: rgba(20, 92, 255, 0.24);
  box-shadow: 0 24px 66px rgba(11, 27, 58, 0.09);
}

.zgz-rest-intent-card span {
  display: block;
  margin-bottom: 54px;
  color: rgba(20, 92, 255, 0.84);
  font-size: 0.8rem;
  font-weight: 950;
}

.zgz-rest-intent-card h3 {
  margin: 0 0 12px;
  color: #101010;
  font-size: clamp(1.6rem, 2.6vw, 2.8rem);
  line-height: 0.96;
  letter-spacing: -0.064em;
}

.zgz-rest-intent-card p {
  margin: 0;
  color: var(--zgz-rest-muted);
  font-size: 0.98rem;
  line-height: 1.66;
}

/* MENU SECTION */

.zgz-rest-menu {
  padding: clamp(78px, 8vw, 130px) 0;
  background:
    radial-gradient(circle at var(--zgz-rest-spot-x) var(--zgz-rest-spot-y), rgba(20, 92, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #f5f8ff 0%, #ffffff 50%, #fff8f2 100%);
}

.zgz-rest-menu__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 0.95fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.zgz-rest-menu__sticky {
  position: sticky;
  top: 120px;
}

.zgz-rest-menu__sticky h2 {
  margin: 14px 0 16px;
  color: #101010;
  font-size: clamp(2.25rem, 4.9vw, 5.1rem);
  line-height: 0.94;
  letter-spacing: -0.078em;
}

.zgz-rest-menu__sticky p:not(.zgz-rest-eyebrow) {
  margin: 0;
  color: var(--zgz-rest-muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.zgz-rest-menu-list {
  display: grid;
  gap: 16px;
}

.zgz-rest-menu-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(11, 27, 58, 0.10);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.70);
  box-shadow: 0 18px 54px rgba(11, 27, 58, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.zgz-rest-menu-item span {
  color: var(--zgz-rest-blue);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zgz-rest-menu-item h3 {
  grid-column: 2;
  margin: 0 0 10px;
  color: #101010;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 0.96;
  letter-spacing: -0.066em;
}

.zgz-rest-menu-item p {
  grid-column: 2;
  margin: 0;
  color: var(--zgz-rest-muted);
  font-size: 1rem;
  line-height: 1.66;
}

/* INCLUDES */

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

.zgz-rest-plate {
  position: relative;
  min-height: 240px;
  padding: 28px;
  border: 1px solid rgba(11, 27, 58, 0.10);
  border-radius: 999px 999px 32px 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 184, 108, 0.14), transparent 38%),
    #ffffff;
  box-shadow: 0 18px 50px rgba(11, 27, 58, 0.06);
}

.zgz-rest-plate strong {
  display: block;
  color: rgba(20, 92, 255, 0.82);
  font-size: 0.8rem;
  margin-bottom: 70px;
}

.zgz-rest-plate span {
  display: block;
  color: #101010;
  font-size: clamp(1.7rem, 2.7vw, 2.8rem);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: -0.064em;
}

.zgz-rest-plate p {
  margin: 12px 0 0;
  color: var(--zgz-rest-muted);
  font-size: 0.98rem;
  line-height: 1.66;
}

/* CASES */

.zgz-rest-cases {
  padding: clamp(74px, 8vw, 122px) 0;
  background: var(--zgz-rest-soft);
}

.zgz-rest-case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.zgz-rest-case-card {
  overflow: hidden;
  border: 1px solid rgba(11, 27, 58, 0.10);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(11, 27, 58, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.zgz-rest-case-card:hover {
  border-color: rgba(20, 92, 255, 0.24);
  box-shadow: 0 30px 86px rgba(11, 27, 58, 0.12);
}

.zgz-rest-case-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.zgz-rest-case-card figure {
  overflow: hidden;
  margin: 0;
  background: #eaf0f8;
}

.zgz-rest-case-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.zgz-rest-case-card:hover img {
  transform: scale(1.035);
}

.zgz-rest-case-card div {
  padding: clamp(24px, 3vw, 34px);
}

.zgz-rest-case-card span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--zgz-rest-blue);
  font-size: 0.84rem;
  font-weight: 950;
}

.zgz-rest-case-card h3 {
  margin: 0 0 12px;
  color: #101010;
  font-size: clamp(1.9rem, 3.4vw, 3.8rem);
  line-height: 0.92;
  letter-spacing: -0.073em;
}

.zgz-rest-case-card p {
  margin: 0 0 18px;
  color: var(--zgz-rest-muted);
  font-size: 1rem;
  line-height: 1.66;
}

.zgz-rest-case-card strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0B1B3A;
  font-weight: 900;
}

.zgz-rest-case-card a:hover strong,
.zgz-rest-case-card a:focus-visible strong {
  color: var(--zgz-rest-blue);
}

/* FIT */

.zgz-rest-fit {
  padding: clamp(74px, 8vw, 122px) 0;
  background: #ffffff;
}

.zgz-rest-fit__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.zgz-rest-fit__block {
  padding: clamp(28px, 4vw, 48px);
  border-radius: 34px;
  border: 1px solid rgba(11, 27, 58, 0.10);
  box-shadow: 0 22px 68px rgba(11, 27, 58, 0.07);
}

.zgz-rest-fit__block--yes {
  background:
    radial-gradient(circle at 90% 8%, rgba(20, 92, 255, 0.13), transparent 34%),
    #ffffff;
}

.zgz-rest-fit__block--no {
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 184, 108, 0.18), transparent 34%),
    #fffaf5;
}

.zgz-rest-fit__block h2 {
  margin: 14px 0 24px;
  color: #101010;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.074em;
}

.zgz-rest-fit__block ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.zgz-rest-fit__block li {
  display: flex;
  gap: 12px;
  color: #42526b;
  font-size: 1rem;
  line-height: 1.6;
}

.zgz-rest-fit__block li::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--zgz-rest-blue);
}

/* FAQ */

.zgz-rest-faq-list {
  max-width: 1040px;
  margin-left: auto;
  border-top: 1px solid rgba(11, 27, 58, 0.14);
}

.zgz-rest-faq-list details {
  border-bottom: 1px solid rgba(11, 27, 58, 0.14);
}

.zgz-rest-faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 22px;
  align-items: center;
  padding: 26px 0;
  cursor: pointer;
  color: #101010;
  list-style: none;
}

.zgz-rest-faq-list summary::-webkit-details-marker {
  display: none;
}

.zgz-rest-faq-list summary span {
  font-size: clamp(1.28rem, 2.2vw, 2.35rem);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.058em;
}

.zgz-rest-faq-list summary::after {
  content: "+";
  display: block;
  width: 28px;
  color: var(--zgz-rest-blue);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.zgz-rest-faq-list details[open] summary::after {
  content: "−";
}

.zgz-rest-faq-list p {
  max-width: 760px;
  margin: 0;
  padding: 0 54px 28px 0;
  color: var(--zgz-rest-muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

/* FINAL */

.zgz-rest-final {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 8vw, 132px) 0 clamp(96px, 9vw, 150px);
  background:
    radial-gradient(circle at var(--zgz-rest-spot-x) var(--zgz-rest-spot-y), rgba(255, 184, 108, 0.18), transparent 38%),
    linear-gradient(135deg, #ffffff 0%, #fff8f2 45%, #f4fbff 100%);
}

.zgz-rest-final__box {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(11, 27, 58, 0.10);
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 10%, rgba(20, 92, 255, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 32px 94px rgba(11, 27, 58, 0.10);
}

.zgz-rest-final__box h2 {
  max-width: 1040px;
  margin: 16px 0 18px;
  color: #101010;
  font-size: clamp(2.45rem, 5.5vw, 6.1rem);
  line-height: 0.91;
  letter-spacing: -0.08em;
}

.zgz-rest-final__box p:not(.zgz-rest-eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--zgz-rest-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* JS */

.zgz-rest-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

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

[data-zgz-rest-tilt] {
  will-change: transform;
}

/* RESPONSIVE */

@media (max-width: 1060px) {
  .zgz-rest-hero__grid,
  .zgz-rest-menu__layout,
  .zgz-rest-fit__grid {
    grid-template-columns: 1fr;
  }

  .zgz-rest-menu__sticky {
    position: relative;
    top: auto;
  }

  .zgz-rest-intent__grid,
  .zgz-rest-includes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .zgz-rest-container {
    width: min(100% - 32px, var(--zgz-rest-container));
  }

  .zgz-rest-hero {
    padding-top: 112px;
  }

  .zgz-rest-hero h1 {
    font-size: clamp(2.75rem, 12vw, 4.55rem);
  }

  .zgz-rest-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .zgz-rest-btn {
    width: 100%;
  }

  .zgz-rest-intent__grid,
  .zgz-rest-includes__grid,
  .zgz-rest-case-grid {
    grid-template-columns: 1fr;
  }

  .zgz-rest-menu-item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .zgz-rest-menu-item h3,
  .zgz-rest-menu-item p {
    grid-column: 1;
  }

  .zgz-rest-plate {
    border-radius: 30px;
  }

  .zgz-rest-faq-list p {
    padding-right: 0;
  }
}

@media (max-width: 540px) {
  .zgz-rest-container {
    width: min(100% - 28px, var(--zgz-rest-container));
  }

  .zgz-rest-ticket,
  .zgz-rest-case-card,
  .zgz-rest-fit__block,
  .zgz-rest-final__box {
    border-radius: 24px;
  }

  .zgz-rest-section-head h2,
  .zgz-rest-menu__sticky h2,
  .zgz-rest-final__box h2 {
    font-size: clamp(2.25rem, 11vw, 4.1rem);
  }
}

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

  .zgz-rest-reveal {
    opacity: 1;
    transform: none;
  }
}
