/* Restaurant Argentina — documentary editorial system, 2026-07-15 */
:root {
  --ra-ink: #0c1421;
  --ra-ink-soft: #162131;
  --ra-paper: #f6f7f8;
  --ra-fog: #e9edf2;
  --ra-line: #cfd5dd;
  --ra-muted: #626975;
  --ra-blue: #254e9c;
  --ra-max: 1280px;
  --ra-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

body, .page { color: var(--ra-ink); background: var(--ra-paper); }

/* Quiet floating navigation */
.nav {
  position: fixed;
  inset: 18px max(18px, calc((100vw - var(--ra-max)) / 2)) auto;
  z-index: 1000;
  width: auto;
  height: 64px;
  padding: 0 10px 0 22px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(9,16,27,.62);
  box-shadow: 0 16px 46px rgba(0,0,0,.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: color .35s ease, background .35s ease, border-color .35s ease;
}
.nav .logo, .nav .nav-links a { color: #fff; }
.nav:not(.is-scrolled) .logo { filter: brightness(0) invert(1); opacity: .94; }
.nav .logo span { color: rgba(255,255,255,.62); }
.nav .nav-links { margin-inline: auto; }
.nav .nav-links a { position: relative; font-size: .82rem; }
.nav .nav-links a::after { content: ""; position: absolute; right: 100%; bottom: -7px; left: 0; height: 1px; background: currentColor; transition: right .25s ease; }
.nav .nav-links a:hover::after { right: 0; }
.nav .button { min-height: 44px; padding-inline: 20px; color: #fff; border-color: var(--ra-blue); background: var(--ra-blue); }
.nav.is-scrolled { color: var(--ra-ink); border-color: rgba(12,20,33,.14); background: rgba(246,247,248,.94); }
.nav.is-scrolled .logo, .nav.is-scrolled .nav-links a { color: var(--ra-ink); }
.nav.is-scrolled .logo span { color: var(--ra-blue); }

/* Documentary hero: the image establishes context, the type stays restrained */
.hero {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 100svh;
  max-width: none;
  margin: 0;
  padding: clamp(150px, 19vh, 220px) max(24px, calc((100vw - var(--ra-max)) / 2)) clamp(64px, 10vh, 106px);
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  background: var(--ra-ink);
}
.hero-media { position: absolute; z-index: -3; inset: -7%; background: url('/wp-content/themes/vault-child/landing/images/company/documentary-restaurant-v3.webp') center 53% / cover no-repeat; transform: scale(1.035); will-change: transform; }
.hero-shade { position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(7,12,20,.94) 0%, rgba(7,12,20,.76) 44%, rgba(7,12,20,.28) 76%, rgba(7,12,20,.43) 100%), linear-gradient(0deg, rgba(7,12,20,.8), transparent 50%); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: calc(100% / 6) 100%; opacity: .24; mask-image: linear-gradient(90deg, #000, transparent 72%); }
.hero-content { width: min(900px, 100%); margin: 0; padding: 0; }
.eyebrow { margin: 0 0 20px; color: #c8d6ef; font-size: .71rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 920px; margin: 0; color: #fff; font-size: clamp(3.35rem, 7vw, 6rem); font-weight: 590; line-height: .9; letter-spacing: -.04em; text-wrap: balance; }
.hero h1 span, .hero h1 em { display: block; color: #fff; }
.hero h1 em { margin-top: .08em; color: #fff; font-family: var(--ra-serif); font-size: .83em; font-weight: 400; line-height: .94; letter-spacing: -.035em; }
.hero .lede { max-width: 720px; margin: 32px 0 0; color: rgba(255,255,255,.75); font-size: clamp(1rem,1.5vw,1.2rem); line-height: 1.58; }
.hero .chips, .hero-brief, .hero-scroll { display: none; }
.hero .cta-row { margin-top: 30px; }
.hero .button { min-height: 53px; padding-inline: 24px; border-radius: 999px; }
.hero .button-gold { color: #fff; border-color: var(--ra-blue); background: var(--ra-blue); }
.hero .button-gold:hover { border-color: #315eae; background: #315eae; transform: translateY(-2px); }
.hero .ghost { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.04); }
.hero .ghost:hover { color: var(--ra-ink); background: #fff; }
.hero-microcopy { color: rgba(255,255,255,.52); font-size: .76rem; }

.social-proof-strip { max-width: none; padding: 21px max(24px, calc((100vw - var(--ra-max))/2)); color: #46505e; border: 0; background: var(--ra-fog); font-size: .78rem; }
.social-proof-strip strong { color: var(--ra-ink); }
.service-marquee { display: none; }

/* Editorial narrative */
.section { max-width: var(--ra-max); }
.section[aria-label="Qué es Restaurant Argentina"] { padding: 70px 24px !important; }
.section[aria-label="Qué es Restaurant Argentina"] p { max-width: 950px !important; color: #3e4652 !important; font-family: var(--ra-serif); font-size: clamp(1.3rem,2.3vw,2.05rem) !important; line-height: 1.44 !important; text-align: left !important; }
.visual-chapter { display: grid; grid-template-columns: minmax(260px,.7fr) minmax(0,1.55fr); gap: clamp(42px,8vw,120px); width: min(calc(100% - 48px),var(--ra-max)); margin: 0 auto; padding: clamp(80px,11vw,145px) 0; }
.visual-chapter-intro { position: sticky; top: 120px; align-self: start; }
.visual-chapter-intro .eyebrow, .section-head > p:first-child { color: var(--ra-blue) !important; }
.visual-chapter h2 { margin: 0; font-size: clamp(2.4rem,4.5vw,5.2rem); font-weight: 590; line-height: .96; letter-spacing: -.04em; }
.visual-chapter h2 em { font-family: var(--ra-serif); font-weight: 400; }
.visual-chapter-intro > p:not(.eyebrow) { margin: 26px 0; color: var(--ra-muted); line-height: 1.65; }
.text-link { display: inline-flex; gap: 16px; padding-bottom: 7px; color: var(--ra-ink); border-bottom: 1px solid currentColor; font-size: .86rem; }
.visual-story { display: grid; grid-template-columns: 1fr .72fr; gap: 20px; }
.story-frame { margin: 0; overflow: hidden; background: var(--ra-fog); }
.story-frame-wide { grid-column: 1/-1; }
.story-frame-tall { grid-row: 2/span 2; }
.story-frame-plan { align-self: end; }
.story-image { overflow: hidden; }
.story-frame-wide .story-image { aspect-ratio: 16/9; }
.story-frame-tall .story-image { aspect-ratio: 4/5; }
.story-frame-plan .story-image { aspect-ratio: 4/3; }
.story-frame img { display: block; width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--image-shift,-7%)) scale(1.02); transition: filter .5s ease, transform .2s linear; }
.story-frame:hover img { filter: contrast(1.025); }
.story-frame figcaption { padding: 20px 20px 23px; }
.story-frame figcaption span { color: var(--ra-blue); font-size: .66rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.story-frame figcaption strong { display: block; margin: 9px 0 7px; font-size: 1.1rem; }
.story-frame figcaption p { margin: 0; color: var(--ra-muted); font-size: .84rem; line-height: 1.55; }

/* Offers stay intact; presentation becomes technical and consistent */
.section-head { max-width: 920px; }
.section-head h2 { font-size: clamp(2.35rem,5.3vw,5.15rem); font-weight: 590; line-height: 1; letter-spacing: -.04em; }
.section-head .lede { max-width: 740px; font-size: 1.06rem; }
.segment.band-alt { max-width: none; padding-inline: max(24px, calc((100vw - var(--ra-max))/2)); color: #fff; background: var(--ra-ink); }
.segment.band-alt .section-head h2, .segment.band-alt .card-title { color: #fff; }
.segment.band-alt .section-head .lede, .segment.band-alt .card-copy { color: rgba(255,255,255,.62); }
.segment.band-alt .card-grid { gap: 1px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.14); }
.segment.band-alt .card { min-height: 270px; border: 0; border-radius: 0; background: var(--ra-ink-soft); transition: background .3s ease, transform .3s ease; }
.segment.band-alt .card:hover { background: #1d2a3c; transform: translateY(-3px); }
.segment.band-alt .tag { color: #c8d6ef; border-color: rgba(255,255,255,.2); background: transparent; }

#consultorias .segment-cards { gap: 1px; border: 1px solid var(--ra-line); background: var(--ra-line); }
#consultorias .segment-card { min-height: 570px; padding: clamp(28px,4vw,48px); border: 0; border-radius: 0; color: var(--ra-ink); background: #fff; }
#consultorias .segment-card:nth-child(2) { background: var(--ra-fog); }
#consultorias .segment-card h3 { color: var(--ra-ink); font-size: clamp(2rem,3.5vw,3.55rem); line-height: .98; }
#consultorias .segment-card p, #consultorias .kit-stack li { color: var(--ra-muted); }
#consultorias .segment-card strong { color: var(--ra-blue) !important; }
#consultorias .segment-card .segment-card-top > span { color: var(--ra-blue) !important; background: #e8eef9 !important; }
#consultorias .segment-card .button { color: #fff; border-color: var(--ra-blue); background: var(--ra-blue); }
.payment-note { margin: -8px 0 15px !important; font-size: .72rem; }

#como-trabajamos.band-alt { max-width: none; padding-inline: max(24px,calc((100vw - var(--ra-max))/2)); color: var(--ra-ink); background: var(--ra-fog); }
#como-trabajamos .timeline { counter-reset: ra-step; }
#como-trabajamos .step { position: relative; min-height: 260px; border-color: var(--ra-line); background: transparent; }
#como-trabajamos .step::after { counter-increment: ra-step; content: counter(ra-step,decimal-leading-zero); position: absolute; top: 12px; right: 18px; color: rgba(12,20,33,.12); font-family: var(--ra-serif); font-size: 4.7rem; }

.section[aria-label="Casos de muestra"] .segment-card { padding: 12px; border: 1px solid var(--ra-line); border-radius: 0; background: #fff; }
.section[aria-label="Casos de muestra"] .segment-card img { border-radius: 0 !important; filter: grayscale(1) contrast(1.04); transition: filter .4s ease; }
.section[aria-label="Casos de muestra"] .segment-card:hover img { filter: grayscale(.15) contrast(1.02); }
.section[aria-label="Casos de muestra"] .segment-card h3 { font-family: var(--ra-serif); font-size: 2rem; font-weight: 500; }

/* Homepage window into the national restaurant directory */
.home-featured-section { max-width: none; padding-inline: max(24px,calc((100vw - var(--ra-max))/2)); background: #edf0f4; }
.home-featured-heading { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 36px; align-items: end; margin-bottom: 40px; }
.home-featured-heading .eyebrow { margin-bottom: 12px; color: var(--ra-blue); }
.home-featured-heading h2 { max-width: 820px; margin: 0; font-size: clamp(2.6rem,5.2vw,5rem); font-weight: 590; line-height: .96; letter-spacing: -.04em; }
.home-featured-heading .lede { max-width: 760px; margin: 20px 0 0; color: var(--ra-muted); font-size: 1.03rem; line-height: 1.65; }
.home-featured-heading .button { white-space: nowrap; }
.home-featured-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 1px; border: 1px solid var(--ra-line); background: var(--ra-line); }
.home-featured-card { display: flex; flex-direction: column; min-width: 0; min-height: 245px; padding: 22px; color: var(--ra-ink); background: #fff; text-decoration: none; transition: color .25s ease, background .25s ease, transform .25s ease; }
.home-featured-card:hover { color: var(--ra-ink); background: #f9fafb; transform: translateY(-3px); }
.home-featured-card-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 28px; }
.home-featured-monogram { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; border: 1px solid var(--ra-line); border-radius: 50%; color: var(--ra-blue); font-size: .72rem; font-weight: 750; }
.home-featured-badge { padding: 5px 8px; border: 1px solid #d8c18e; border-radius: 999px; color: #725515; background: #fffaf0; font-size: .62rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.home-featured-card > strong { color: var(--ra-ink); font-family: var(--ra-serif); font-size: 1.35rem; font-weight: 550; line-height: 1.08; }
.home-featured-type { margin-top: 9px; color: var(--ra-blue); font-size: .65rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.home-featured-location { margin-top: 14px; color: var(--ra-muted); font-size: .82rem; line-height: 1.45; }
.home-featured-link { margin-top: auto; padding-top: 22px; color: var(--ra-ink); font-size: .78rem; font-weight: 700; }
.home-featured-footer { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-top: 28px; }
.home-featured-footer p { max-width: 620px; margin: 0; color: var(--ra-muted); font-size: .76rem; line-height: 1.5; }
.home-featured-fallback { grid-column: 1/-1; margin: 0; padding: 30px; color: var(--ra-muted); background: #fff; }

#recursos.band-alt { max-width: none; padding-inline: max(24px,calc((100vw - var(--ra-max))/2)); color: var(--ra-ink); background: #e7eaf0; }
#recursos .section-head h2, #recursos .card-title { color: var(--ra-ink); }
#recursos .section-head .lede, #recursos .card-copy { color: var(--ra-muted); }
#recursos .card { border-color: var(--ra-line); background: rgba(255,255,255,.55); }
#recursos .tag { color: var(--ra-blue); background: #dce5f5; }
#recursos a { color: var(--ra-blue); }
.faq-item { border-width: 0 0 1px; border-radius: 0; background: transparent; }
.faq-item summary { font-size: clamp(1rem,2vw,1.3rem); }
.cta { max-width: none; padding-inline: max(24px,calc((100vw - var(--ra-max))/2)); color: #fff; background: var(--ra-ink); }
.cta-inner { min-height: 410px; padding: 0; align-items: end; border: 0; border-radius: 0; background: transparent; }
.cta-title { max-width: 800px; color: #fff; font-size: clamp(3.2rem,7vw,6rem); font-weight: 600; line-height: .9; letter-spacing: -.04em; }
.cta-copy { color: rgba(255,255,255,.65); }
.cta .button-gold { color: #fff; border-color: var(--ra-blue); background: var(--ra-blue); }
.cta .ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.footer-new { background: #080e18; }

/* Restrained motion; content remains readable without JavaScript */
.js-motion .reveal-item, .js-motion .section-head, .js-motion .card, .js-motion .segment-card, .js-motion .step, .js-motion .faq-item { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.js-motion .is-visible { opacity: 1; transform: none; }
.js-motion .card:nth-child(2), .js-motion .segment-card:nth-child(2), .js-motion .step:nth-child(2) { transition-delay: .06s; }
.js-motion .card:nth-child(3), .js-motion .step:nth-child(3) { transition-delay: .12s; }
.js-motion .card:nth-child(4), .js-motion .step:nth-child(4) { transition-delay: .18s; }

@media (max-width: 980px) {
  .nav { inset-inline: 14px; }
  .nav-links, .desktop-cta { display: none !important; }
  .nav .hamburger { display: flex; margin-left: auto; color: #fff; }
  .nav.is-scrolled .hamburger { color: var(--ra-ink); }
  .hero { padding-inline: 24px; }
  .visual-chapter { grid-template-columns: 1fr; }
  .visual-chapter-intro { position: static; }
  .home-featured-heading { grid-template-columns: 1fr; align-items: start; }
  .home-featured-heading .button { width: fit-content; }
  .home-featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .nav { top: 10px; height: 56px; padding-left: 16px; }
  .hero { min-height: 880px; padding-top: 145px; padding-bottom: 58px; }
  .hero-media { background-position: 57% 50%; }
  .hero h1 { font-size: clamp(3rem,15vw,4.6rem); line-height: .9; }
  .hero .lede { margin-top: 27px; font-size: .97rem; }
  .hero .cta-row { display: grid; }
  .hero .button { width: 100%; }
  .social-proof-strip { justify-content: flex-start; overflow-x: auto; white-space: nowrap; }
  .visual-chapter { width: min(calc(100% - 28px),var(--ra-max)); }
  .visual-story { grid-template-columns: 1fr; }
  .story-frame-wide, .story-frame-tall { grid-column: auto; grid-row: auto; }
  .story-frame .story-image { aspect-ratio: 4/5; }
  .home-featured-heading { margin-bottom: 28px; }
  .home-featured-heading h2 { font-size: clamp(2.5rem,12vw,3.6rem); }
  .home-featured-heading .button { width: 100%; }
  .home-featured-grid { grid-template-columns: 1fr; }
  .home-featured-card { min-height: 220px; }
  .home-featured-footer { display: grid; }
  #consultorias .segment-card { min-height: 0; }
  .section-head h2 { font-size: clamp(2.3rem,11.7vw,3.6rem); }
  .cta-inner { min-height: 490px; }
  .cta-title { font-size: clamp(3rem,15vw,4.6rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media { transform: none !important; }
  .js-motion .reveal-item, .js-motion .section-head, .js-motion .card, .js-motion .segment-card, .js-motion .step, .js-motion .faq-item { opacity: 1; transform: none; }
}
