@font-face {
  font-family: "Delaproza";
  src: url("fonts/Delaproza.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/WorkSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/WorkSans-Italic-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Austin Pen";
  src: url("fonts/AustinPen-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Austin Pen";
  src: url("fonts/AustinPen-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0F1D35;
  --white: #E7E6E4;
  --soft-white: rgba(231,230,228,.78);
  --muted: rgba(231,230,228,.52);
  --line: rgba(231,230,228,.20);
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; }
body {
  margin: 0;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  font-family: "Work Sans", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.page-shell {
  width: 100%;
  height: 100svh;
  min-height: 600px;
  padding: clamp(22px, 2.5vw, 42px) clamp(24px, 4vw, 72px) clamp(18px, 2vw, 30px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  position: relative;
  isolation: isolate;
}

.page-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 49.94%, rgba(231,230,228,.06) 50%, transparent 50.06%);
  z-index: -1;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  opacity: 0;
  transform: translateY(-10px);
  animation: reveal .9s .1s ease forwards;
}

.wordmark {
  font-family: "Work Sans", Arial, sans-serif;
  font-size: clamp(18px, 1.45vw, 25px);
  letter-spacing: .36em;
  white-space: nowrap;
}

.header-note,
.rumours-label,
.site-footer,
.signup-form input,
.signup-form button {
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: .18em;
}

.header-note,
.site-footer { color: var(--muted); }
.rumours-label { color: rgba(231,230,228,.72); }

.main-layout {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(300px, .88fr) minmax(0, 1.22fr);
  gap: clamp(58px, 7vw, 132px);
  padding: clamp(36px, 5.5vh, 78px) 0 clamp(22px, 3vh, 40px);
}

.story {
  min-height: 0;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: clamp(8px, 1.4vw, 24px);
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 1s .45s ease forwards;
}


.story-copy {
  width: min(100%, 585px);
  margin: 0 auto;
  font-weight: 300;
  font-size: clamp(15px, 1.06vw, 20px);
  line-height: 1.38;
  color: var(--soft-white);
  position: relative;
  z-index: 1;
}
.story-copy p { margin: 0 0 1.05em; }
.story-copy .statement {
  margin: 1.35em 0;
  font-size: clamp(22px, 1.75vw, 31px);
  line-height: 1.08;
  font-weight: 400;
  color: var(--white);
}
.story-copy .signoff {
  margin-bottom: 0;
  font-weight: 400;
  color: var(--white);
}

.rumours {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 1s .8s ease forwards;
}

.rumours-label { margin: 0; }

.carousel {
  min-height: 0;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(28px, 4vh, 52px) clamp(18px, 2vw, 30px);
}

.quote-mark {
  position: absolute;
  font-family: "Delaproza", Georgia, serif;
  font-size: clamp(118px, 12vw, 230px);
  line-height: 1;
  color: rgba(231,230,228,.20);
  z-index: -1;
  transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity 1s ease;
}
.quote-open { left: 0; top: 6%; }
.quote-close { right: 1%; bottom: -4%; }
.carousel.is-changing .quote-open { transform: translate(-4px, -6px) rotate(-2deg); opacity: .30; }
.carousel.is-changing .quote-close { transform: translate(4px, 6px) rotate(2deg); opacity: .30; }

.slide {
  grid-area: 1 / 1;
  margin: 0;
  max-width: 900px;
  font-family: "Delaproza", Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.25vw, 98px);
  line-height: .96;
  font-weight: 400;
  letter-spacing: -.035em;
  color: var(--white);
  opacity: 0;
  transform: translateY(48px) rotate(.6deg);
  filter: blur(12px);
  clip-path: inset(0 0 100% 0);
  transition: opacity .7s ease, transform 1s cubic-bezier(.2,.72,.2,1), filter .8s ease, clip-path 1s cubic-bezier(.2,.72,.2,1);
  pointer-events: none;
}
.slide.is-active {
  opacity: 1;
  transform: translateY(0) rotate(0);
  filter: blur(0);
  clip-path: inset(0 0 0 0);
}
.slide.is-leaving {
  opacity: 0;
  transform: translateY(-38px) rotate(-.45deg);
  filter: blur(8px);
  clip-path: inset(100% 0 0 0);
}

.signup {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, .9fr);
  gap: clamp(36px, 6vw, 112px);
  align-items: end;
  padding: clamp(52px, 6vh, 78px) 0 clamp(16px, 2vh, 24px);
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: reveal 1s 1.05s ease forwards;
}
.signup-copy {
  max-width: 720px;
  margin: 0;
  font-size: clamp(18px, 1.45vw, 26px);
  line-height: 1.15;
  font-weight: 400;
}

.signup-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: 24px;
}
.field-wrap { position: relative; }
.signup-form input {
  width: 100%;
  min-width: 0;
  padding: 12px 0 13px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
}
.signup-form input::placeholder { color: rgba(231,230,228,.46); }
.field-wrap::after,
.field-line {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
}
.field-wrap::after { background: rgba(231,230,228,.38); }
.field-line {
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  z-index: 1;
}
.field-wrap:focus-within .field-line { transform: scaleX(1); }

.signup-form button {
  padding: 12px 0 13px;
  border: 0;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  white-space: nowrap;
}
.signup-form button span {
  display: inline-block;
  transition: transform .25s ease;
}
.signup-form button:hover span { transform: translateX(6px); }
.form-message {
  grid-column: 1 / -1;
  margin: 7px 0 0;
  min-height: 14px;
  font-size: 11px;
  color: rgba(231,230,228,.62);
}

.site-footer {
  gap: 24px;
  opacity: 0;
  animation: reveal .8s 1.2s ease forwards;
}
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: var(--white); }


/* Grupo La Murga pre-footer */
.group-footer {
  margin: 0 calc(clamp(24px, 4vw, 72px) * -1);
  padding: clamp(54px, 7vw, 92px) clamp(24px, 4vw, 72px) clamp(58px, 7vw, 94px);
  background: var(--white);
  color: #040810;
  border-top: 1px solid rgba(4,8,16,.08);
}

.group-footer-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(28px, 3.4vw, 44px);
  text-align: center;
}

.group-footer-overline {
  margin: 0;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .25em;
  color: rgba(4,8,16,.62);
}

.group-footer-logo {
  display: block;
  width: clamp(150px, 13vw, 220px);
  height: auto;
  max-height: 64px;
}

.group-restaurants {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, .85vw, 15px);
  width: min(100%, 1520px);
  margin: 0 auto;
}

.group-card {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 150px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 14px;
  background-color: #040810;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
}

.group-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(4,8,16,.52);
  pointer-events: none;
}

.group-card--el-carnicero { background-image: url("assets/group/el-carnicero.png"); }
.group-card--casa-naval { background-image: url("assets/group/casa-naval.png"); }
.group-card--italian-restaurant { background-image: url("assets/group/italian-restaurant.png"); }
.group-card--new-year-venue { background-image: url("assets/group/new-year-venue.png"); }
.group-card--italo-american { background-image: url("assets/group/italo-american.png"); }
.group-card--restaurante-escuela { background-image: url("assets/group/restaurante-escuela.png"); }

.group-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.group-card-kicker,
.group-card-status {
  font-family: "Work Sans", Arial, sans-serif;
  font-size: clamp(7px, .5vw, 9px);
  line-height: 1.2;
  letter-spacing: .18em;
  color: rgba(231,230,228,.66);
}

.group-card-name {
  font-family: "Work Sans", Arial, sans-serif;
  font-size: clamp(10px, .82vw, 14px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: .07em;
}

.group-card-arrow {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 13px;
  height: 13px;
  object-fit: contain;
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 980px) {
  .page-shell { min-height: 560px; }
  .main-layout { grid-template-columns: .95fr 1.05fr; gap: 38px; }
  .story-copy { font-size: 14px; }
  .story-copy .statement { font-size: 20px; }
  .slide { font-size: clamp(36px, 5.6vw, 62px); }
  .signup { grid-template-columns: 1fr 1fr; gap: 32px; }
  .signup-copy { font-size: 17px; }
}

@media (max-width: 700px) {
  html, body { height: auto; min-height: 100%; }
  body { overflow-y: auto; overflow-x: hidden; }

  .page-shell {
    height: auto;
    min-height: 100svh;
    padding: 24px 20px 18px;
    display: block;
  }

  .page-shell::after { display: none; }
  .header-note { display: none; }
  .wordmark { font-size: 22px; letter-spacing: .30em; }

  .main-layout {
    display: block;
    padding: 42px 0 34px;
  }

  .story {
    display: block;
    padding-left: 0;
  }

  .story-copy {
    width: 100%;
    max-width: none;
    margin: 0;
    columns: 1;
    font-size: 18px;
    line-height: 1.46;
  }

  .story-copy p { margin: 0 0 1.15em; }
  .story-copy .statement {
    margin: 1.4em 0;
    font-size: 30px;
    line-height: 1.08;
  }

  .rumours {
    display: block;
    margin-top: 48px;
  }

  .rumours-label {
    display: block;
    margin-bottom: 18px;
    font-size: 11px;
  }

  .carousel {
    min-height: 320px;
    padding: 34px 16px 28px;
    overflow: hidden;
  }

  .slide {
    max-width: 100%;
    font-size: clamp(46px, 13vw, 68px);
    line-height: .96;
  }

  .quote-mark { font-size: 128px; }
  .quote-open { top: 0; }
  .quote-close { bottom: -10px; }

  .signup {
    display: block;
    margin-top: 18px;
    padding: 28px 0 24px;
  }

  .signup-copy {
    max-width: none;
    margin-bottom: 24px;
    font-size: 22px;
    line-height: 1.18;
  }

  .signup-form {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .signup-form input,
  .signup-form button {
    font-size: 11px;
    letter-spacing: .14em;
  }

  .signup-form button {
    justify-self: start;
    padding-top: 6px;
  }

  .site-footer {
    margin-top: 28px;
    padding-top: 18px;
    font-size: 9px;
  }
}

@media (max-height: 720px) and (min-width: 701px) {
  .page-shell { padding-top: 20px; padding-bottom: 16px; }
  .main-layout { padding-top: 28px; padding-bottom: 18px; }
  .story-copy { font-size: 14px; line-height: 1.3; }
  .story-copy .statement { font-size: 21px; margin: 1em 0; }
  .slide { font-size: clamp(40px, 4.8vw, 76px); }
  .signup { padding-top: 14px; padding-bottom: 12px; }
  .signup-copy { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Hero / wallpaper de apertura */
body {
  overflow-x: hidden;
  overflow-y: auto;
}

.hero {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--navy);
  background-image: url("assets/background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 29, 53, .58);
  pointer-events: none;
  z-index: 1;
}

.hero-overline {
  position: absolute;
  top: clamp(24px, 4vh, 48px);
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .22em;
  color: var(--white);
  white-space: nowrap;
  opacity: .72;
  z-index: 2;
}

.hero-logo {
  position: relative;
  z-index: 2;
  display: block;
  width: min(68vw, 760px);
  height: auto;
  object-fit: contain;
}

/* El bloque anterior se mantiene intacto como siguiente sección por ahora. */
.page-shell {
  min-height: 100vh;
  min-height: 100svh;
}

@media (max-width: 700px) {
  .hero {
    min-height: 520px;
    background-position: center;
  }

  .hero-overline {
    top: 28px;
    font-size: 9px;
    letter-spacing: .18em;
  }

  .hero-logo {
    width: min(86vw, 560px);
  }
}

/* Segundo bloque / Qué es Casa Naval */
.about-section {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(56px, 8vh, 110px) clamp(24px, 6vw, 96px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E7E6E4;
  color: #040810;
}

.about-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-symbol {
  display: block;
  width: clamp(46px, 4.2vw, 72px);
  height: auto;
  margin: 0 0 clamp(14px, 1.8vh, 22px);
}

.about-overline {
  margin: 0 0 clamp(22px, 3vh, 36px);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: clamp(9px, .72vw, 11px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .22em;
  color: #040810;
}

.about-title {
  margin: 0;
  font-family: "Delaproza", Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7.3vw, 126px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.025em;
  color: #487ECC;
}

.about-title span {
  display: block;
}

.about-title span + span {
  margin-top: .06em;
}

.about-subtitle {
  margin: clamp(28px, 4vh, 46px) 0 0;
  font-family: "Work Sans", Arial, sans-serif;
  font-size: clamp(10px, .9vw, 14px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #040810;
}

.about-copy {
  width: min(100%, 760px);
  margin-top: clamp(30px, 4.5vh, 52px);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: clamp(14px, 1vw, 17px);
  font-weight: 400;
  line-height: 1.55;
  color: #040810;
}

.about-copy p {
  margin: 0;
}

.about-copy p + p {
  margin-top: 1.1em;
}

.about-copy strong {
  font-weight: 650;
}

@media (max-width: 700px) {
  .about-section {
    min-height: 100svh;
    padding: 64px 22px;
  }

  .about-overline {
    margin-bottom: 26px;
    font-size: 9px;
    letter-spacing: .18em;
  }

  .about-title {
    font-size: clamp(46px, 14vw, 72px);
    line-height: .92;
  }

  .about-subtitle {
    margin-top: 28px;
    font-size: 10px;
    line-height: 1.65;
    letter-spacing: .16em;
  }

  .about-copy {
    margin-top: 30px;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.55;
  }
}

/* Tercer bloque / Foto + frases */
.page-shell {
  height: auto;
  min-height: 0;
  padding: 0;
  display: block;
}

.page-shell::after {
  display: none;
}

.main-layout {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  background: var(--navy);
}

.photo-panel {
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: block;
  overflow: hidden;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  background: #D9D8D5;
  color: rgba(4, 8, 16, .42);
  font-family: "Work Sans", Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .24em;
}

.rumours {
  min-width: 0;
  min-height: 0;
  padding: clamp(48px, 6vh, 82px) clamp(42px, 5vw, 92px);
  background: var(--navy);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.rumours .carousel {
  padding-left: 0;
  padding-right: 0;
}

.signup,
.site-footer {
  margin-left: clamp(24px, 4vw, 72px);
  margin-right: clamp(24px, 4vw, 72px);
}

.site-footer {
  padding-bottom: clamp(18px, 2vw, 30px);
}

@media (max-width: 700px) {
  .main-layout {
    height: auto;
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 50svh minmax(50svh, auto);
    padding: 0;
  }

  .photo-panel {
    height: 50svh;
    min-height: 360px;
  }

  .rumours {
    margin-top: 0;
    min-height: 50svh;
    padding: 42px 22px 48px;
  }

  .rumours .carousel {
    min-height: 360px;
  }

  .signup,
  .site-footer {
    margin-left: 20px;
    margin-right: 20px;
  }
}


.section3-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 980px) {
  .group-restaurants {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .group-card { aspect-ratio: 1 / 1; }
}

@media (max-width: 700px) {
  .group-footer {
    margin: 0 -20px;
    padding: 46px 20px 52px;
  }
  .group-footer-heading { margin-bottom: 28px; }
  .group-footer-logo { width: min(52vw, 190px); }
  .group-restaurants {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(148px, 44vw);
    grid-template-columns: none;
    overflow-x: auto;
    gap: 10px;
    padding: 0 1px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .group-restaurants::-webkit-scrollbar { display: none; }
  .group-card {
    aspect-ratio: 1 / 1;
    scroll-snap-align: start;
  }
}

/* V18: logo real de El Carnicero */
.group-card-logo {
  display: block;
  width: auto;
  max-width: 72%;
  max-height: 42%;
  object-fit: contain;
}
.group-card-logo--el-carnicero {
  width: min(72%, 190px);
}

/* V20 external links */
.group-footer-logo-link {
  display: inline-block;
  line-height: 0;
}

.group-card[href] {
  color: inherit;
  text-decoration: none;
}
