/* ============================================================
   Páginas internas · estética trattoria turquesa
   Reusa tokens de index.css (.ilt-*) — añade primitivas para subpáginas
   ============================================================ */

body{ background: var(--cream); }
body.ilp-page--carta,
body.ilp-page--reservar,
body.ilp-page--contacto,
body.ilp-page--sobre,
body.ilp-page--galeria,
body.ilp-page--aviso-legal,
body.ilp-page--privacidad,
body.ilp-page--cookies{
  background: var(--cream);
}

/* Nav coherente para subpáginas */
.ilp-nav{ background: rgba(255, 255, 255, .85); }
.ilp-nav.is-scrolled{ background: rgba(255, 255, 255, .96); }

/* ==== PAGE HERO ==== */
.ilp-page-hero{
  position: relative;
  padding: clamp(60px, 10vw, 120px) var(--gutter) clamp(50px, 7vw, 80px);
  text-align: center;
  background: var(--cream);
  overflow: hidden;
}
.ilp-page-hero::before{
  /* tinte sutil teal */
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 20% 25%, rgba(79, 184, 176, 0.08) 0, transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(31, 94, 92, 0.06) 0, transparent 45%);
}
.ilp-page-hero > *{ position: relative; z-index: 1; }

.ilp-page-hero .ilp-eyebrow{
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--script);
  font-size: 26px;
  color: var(--teal);
  text-transform: none;
  letter-spacing: 0;
  transform: rotate(-1.5deg);
  margin-bottom: 18px;
}
.ilp-page-hero .ilp-eyebrow::after{ display: none; }
.ilp-page-hero .ilp-eyebrow .num{
  font-family: var(--script); color: var(--teal-deep);
  font-size: 22px;
}
.ilp-page-hero .ilp-eyebrow::before,
.ilp-page-hero .ilp-eyebrow::after{
  content: '~'; color: var(--teal); font-family: var(--script); font-size: 28px;
  display: inline; width: auto; height: auto; background: none; opacity: 1;
}
.ilp-page-hero .ilp-eyebrow::after{ display: inline; }

.ilp-page-hero h1{
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1; color: var(--navy);
  margin: 0 0 22px;
  letter-spacing: -.005em;
  font-style: italic;
}
.ilp-page-hero h1 em{ font-style: italic; color: var(--teal-deep); font-weight: 400; }
.ilp-page-hero .ilp-page-sub{
  max-width: 600px; margin: 0 auto;
  font-size: clamp(15px, 1.4vw, 17px); color: var(--teal-deep); line-height: 1.65;
}

/* ==== FORMS ==== */
.ilp-form{ display: grid; gap: 18px; }
.ilp-field{ display: flex; flex-direction: column; gap: 6px; }
.ilp-field-label{
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-deep);
  font-weight: 600;
}
.ilp-field-input,
.ilp-field-select,
.ilp-field-textarea{
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink-warm);
  background: #fff;
  border: 1px solid var(--cream-deep);
  border-radius: var(--radius-sm);
  transition: border-color .25s, box-shadow .25s;
}
.ilp-field-textarea{ min-height: 130px; resize: vertical; }
.ilp-field-input:focus,
.ilp-field-select:focus,
.ilp-field-textarea:focus{
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(79, 184, 176, .18);
}

.ilp-form-row{ display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.ilp-form-row-3{ display: grid; gap: 18px; grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px){
  .ilp-form-row, .ilp-form-row-3{ grid-template-columns: 1fr; }
}

/* Buttons re-skin */
.ilp-btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 32px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500;
  background: var(--teal); color: #fff;
  border: 1px solid var(--teal);
  border-radius: 999px;
  transition: all .25s;
  box-shadow: 0 6px 20px -8px rgba(79, 184, 176, .55);
}
.ilp-btn:hover{ background: var(--teal-deep); border-color: var(--teal-deep); transform: translateY(-1px); }
.ilp-btn-outline{
  background: transparent; color: var(--teal-deep);
  border: 1px solid var(--teal-deep); box-shadow: none;
}
.ilp-btn-outline:hover{ background: var(--teal-deep); color: #fff; }

/* Flashes */
.ilp-flash{
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14px; margin-bottom: 24px;
  font-family: var(--serif); font-style: italic; font-size: 17px;
}
.ilp-flash--ok{
  background: rgba(79, 184, 176, .15);
  border: 1px solid rgba(79, 184, 176, .4);
  color: var(--teal-deep);
}
.ilp-flash--err{
  background: rgba(212, 100, 80, .12);
  border: 1px solid rgba(212, 100, 80, .35);
  color: #8a3324;
}

/* Link genérico */
.ilp-link{
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--script);
  font-size: 22px;
  color: var(--teal-deep);
  border-bottom: 1px solid var(--teal);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.ilp-link:hover{ color: var(--teal); }

/* ==== LEGAL PAGES ==== */
.ilp-legal{
  max-width: 760px; margin: 0 auto;
  padding: 60px var(--gutter) 100px;
  font-size: 15.5px; line-height: 1.78;
  color: var(--ink-warm);
  background: var(--cream);
  position: relative;
}
.ilp-legal::before{
  /* sutil tinte teal */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(79, 184, 176, .04), transparent 60%);
  pointer-events: none; z-index: 0;
}
.ilp-legal > *{ position: relative; z-index: 1; }
.ilp-legal h2{
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: 34px;
  margin: 56px 0 18px;
  color: var(--navy);
  letter-spacing: -.005em;
}
.ilp-legal h2:first-of-type{ margin-top: 0; }
.ilp-legal h3{
  font-family: var(--serif); font-style: italic;
  font-size: 22px;
  margin: 30px 0 10px;
  color: var(--teal-deep);
}
.ilp-legal p{ margin: 0 0 16px; }
.ilp-legal a{
  color: var(--teal-deep);
  text-decoration: underline;
  text-decoration-color: rgba(79, 184, 176, .5);
  text-underline-offset: 4px;
}
.ilp-legal a:hover{ color: var(--teal); }
.ilp-legal ul{
  padding: 0; margin: 0 0 20px;
  list-style: none;
}
.ilp-legal ul li{
  padding: 8px 0 8px 26px;
  position: relative;
  border-bottom: 1px dashed var(--cream-deep);
}
.ilp-legal ul li:last-child{ border-bottom: 0; }
.ilp-legal ul li::before{
  content: '~';
  position: absolute; left: 4px; top: 4px;
  font-family: var(--script); color: var(--teal); font-size: 20px;
}
.ilp-legal strong{ color: var(--navy); font-weight: 600; }

/* Foot date stamp */
.ilp-legal-foot{
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px dashed var(--cream-deep);
  text-align: center;
  font-family: var(--script);
  font-size: 18px;
  color: var(--teal);
}

/* ==== Re-skin scoped: el .ilp-eyebrow original sólo en subpáginas, override .num ==== */
.ilp-page-hero .ilp-eyebrow .num{ display: none; }
