/* RAGUSA — marketing site. "Mediterranean Warm" brand. */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --cream: #FBF6EE;
  --card: #FFFFFF;
  --ink: #2B2118;
  --terracotta: #C0532B;
  --terracotta-d: #A4441F;
  --olive: #5F6233;
  --sand: #EFE3CE;
  --muted: #8A7A66;
  --stone: #6B5D4F;
  --border: rgba(43, 33, 24, 0.10);
  --shadow: 0 10px 40px rgba(43, 33, 24, 0.12);
  --shadow-sm: 0 4px 16px rgba(43, 33, 24, 0.08);
  --radius: 18px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, system-ui, sans-serif;
  --maxw: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.serif { font-family: var(--serif); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 13px 22px; border-radius: 999px; border: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 6px 18px rgba(192,83,43,.3); }
.btn-primary:hover { background: var(--terracotta-d); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--terracotta); border: 1.5px solid var(--terracotta); }
.btn-ghost:hover { background: rgba(192,83,43,.06); }

/* Nav */
header.nav { position: sticky; top: 0; z-index: 100; background: rgba(251,246,238,.85); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 28px; letter-spacing: 3px; color: var(--ink); }
.brand small { display: block; font-family: var(--sans); font-size: 9px; letter-spacing: 3px; color: var(--terracotta); font-weight: 700; margin-top: -6px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--stone); }
.nav-links a:hover { color: var(--terracotta); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--ink); cursor: pointer; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,246,238,.86), rgba(251,246,238,.96)); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 80px 0 90px; }
.eyebrow { color: var(--terracotta); font-weight: 700; letter-spacing: 3px; font-size: 13px; text-transform: uppercase; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(42px, 6vw, 68px); line-height: 1.05; margin: 14px 0 18px; }
.hero p.lead { font-size: 19px; color: var(--stone); max-width: 520px; }
.store-badges { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.soon-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* Store badge */
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 12px; transition: transform .15s ease, opacity .15s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; fill: #fff; }
.store .s-sm { font-size: 10px; opacity: .85; line-height: 1; }
.store .s-lg { font-size: 17px; font-weight: 600; line-height: 1.1; }

/* Phone mockup */
.phone { width: 270px; margin: 0 auto; border-radius: 38px; background: #1d1713; padding: 12px; box-shadow: var(--shadow); }
.phone .screen { border-radius: 28px; overflow: hidden; background: var(--cream); aspect-ratio: 9/19.5; }
.phones { display: flex; justify-content: center; gap: -40px; }

/* Sections */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .eyebrow { display: block; margin-bottom: 10px; }
.section-head h2 { font-family: var(--serif); font-size: clamp(32px, 4.5vw, 46px); line-height: 1.1; }
.section-head p { color: var(--stone); font-size: 17px; margin-top: 14px; }
.alt { background: #fff; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: transform .18s ease, box-shadow .18s ease; }
.alt .feature { background: var(--cream); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(192,83,43,.12); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature p { color: var(--stone); font-size: 15px; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img, .split .media { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 42px); line-height: 1.12; margin-bottom: 16px; }
.split p { color: var(--stone); font-size: 17px; margin-bottom: 14px; }
.split ul { list-style: none; margin-top: 18px; }
.split li { padding: 8px 0 8px 30px; position: relative; color: var(--stone); }
.split li::before { content: '✦'; position: absolute; left: 0; color: var(--terracotta); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; }
.plan.featured { border: 2px solid var(--terracotta); position: relative; }
.plan.featured .tag { position: absolute; top: -12px; right: 24px; background: var(--terracotta); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 22px; }
.plan .price { font-family: var(--serif); font-size: 44px; font-weight: 700; margin: 12px 0; color: var(--terracotta); }
.plan .price small { font-family: var(--sans); font-size: 15px; color: var(--muted); font-weight: 500; }
.plan ul { list-style: none; margin: 18px 0; }
.plan li { padding: 7px 0 7px 26px; position: relative; color: var(--stone); }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--olive); font-weight: 700; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.q { background: #fff; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 12px; overflow: hidden; }
.q button { width: 100%; text-align: left; background: none; border: none; padding: 20px 22px; font-size: 17px; font-weight: 600; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-family: var(--sans); }
.q .a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.q .a p { padding: 0 22px 20px; color: var(--stone); }
.q.open .a { max-height: 320px; }
.q .chev { transition: transform .3s; color: var(--terracotta); }
.q.open .chev { transform: rotate(180deg); }

/* CTA band */
.cta-band { background: var(--terracotta); color: #fff; border-radius: 28px; text-align: center; padding: 60px 30px; }
.cta-band h2 { font-family: var(--serif); font-size: clamp(30px,4vw,44px); }
.cta-band p { opacity: .9; margin: 12px 0 26px; font-size: 18px; }
.cta-band .store { background: #fff; color: var(--ink); }
.cta-band .store svg { fill: var(--ink); }

/* Footer */
footer.ft { background: var(--ink); color: #d9cdbd; padding: 60px 0 30px; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
footer.ft .brand { color: #fff; }
footer.ft h4 { color: #fff; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
footer.ft a { display: block; color: #c3b6a4; padding: 5px 0; font-size: 15px; }
footer.ft a:hover { color: var(--sand); }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; color: #9c8e7d; }

/* Contact / legal pages */
.page { padding: 60px 0 80px; }
.page h1 { font-family: var(--serif); font-size: clamp(34px,5vw,52px); margin-bottom: 8px; }
.page .sub { color: var(--stone); font-size: 18px; margin-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 14px; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 12px; font-family: var(--sans); font-size: 15px; background: #fff; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.contact-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.contact-card .row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.contact-card .row:last-child { border: none; }
.contact-card .ico { width: 40px; height: 40px; border-radius: 11px; background: rgba(192,83,43,.12); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.legal { max-width: 800px; }
.legal h2 { font-family: var(--serif); font-size: 26px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--stone); margin-bottom: 10px; }
.legal ul { padding-left: 22px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-links.show { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 18px 24px; gap: 14px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .hero-inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner .phones { margin-top: 20px; }
  .features { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}

/* ============================================================
   CINEMATIC v2 — scroll reveals, parallax hero, journey, history
   ============================================================ */

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--terracotta); z-index: 200; transition: width .1s linear; }

/* Reveal-on-scroll (only hides when JS is active) */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .85s cubic-bezier(.2,.7,.2,1), transform .85s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--i, 0) * 80ms); will-change: opacity, transform; }
.js [data-reveal="left"] { transform: translateX(-44px); }
.js [data-reveal="right"] { transform: translateX(44px); }
.js [data-reveal="scale"] { transform: scale(.92); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* Nav over the dark hero */
header.nav.over-hero { background: transparent; backdrop-filter: none; border-color: transparent; }
header.nav.over-hero .brand, header.nav.over-hero .brand small, header.nav.over-hero .nav-links a, header.nav.over-hero .nav-toggle { color: #fff; }
header.nav.over-hero .brand small { color: var(--sand); }
header.nav.over-hero .nav-links a.btn-primary { color: #fff; }
header.nav { transition: background .4s ease, border-color .4s ease; }

/* CINEMATIC HERO */
.hero-cine { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-cine .kenburns { position: absolute; inset: -6%; background-size: cover; background-position: center; animation: kb 26s ease-in-out infinite alternate; will-change: transform; }
@keyframes kb { from { transform: scale(1.02) translateY(0); } to { transform: scale(1.16) translateY(-2%); } }
.hero-cine .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,14,10,.55) 0%, rgba(20,14,10,.35) 40%, rgba(20,14,10,.7) 100%); }
.hero-cine .wrap { position: relative; z-index: 2; color: #fff; padding: 120px 24px 90px; }
.hero-cine .eyebrow { color: var(--sand); }
.hero-cine h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(46px, 8vw, 92px); line-height: 1.0; margin: 16px 0 20px; max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.3); }
.hero-cine p.lead { font-size: clamp(17px, 2.4vw, 22px); color: rgba(255,255,255,.92); max-width: 560px; }
.hero-cine .store-badges { margin-top: 34px; }
.hero-cine .soon-note { color: rgba(255,255,255,.75); }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: #fff; opacity: .85; font-size: 12px; letter-spacing: 2px; text-align: center; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.7); border-radius: 13px; margin: 0 auto 8px; position: relative; }
.scroll-cue .mouse::after { content: ''; position: absolute; top: 7px; left: 50%; width: 4px; height: 7px; background: #fff; border-radius: 2px; transform: translateX(-50%); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; top: 6px; } 30% { opacity: 1; } 100% { opacity: 0; top: 16px; } }

/* STATS band */
.stats { background: var(--ink); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: clamp(38px, 6vw, 60px); font-weight: 700; color: var(--sand); line-height: 1; }
.stat .lab { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #b9aa97; margin-top: 8px; }

/* Pro SVG feature icons */
.feature .ico svg { width: 26px; height: 26px; stroke: var(--terracotta); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature .ico { background: rgba(192,83,43,.10); }

/* CINEMATIC JOURNEY (pinned scroll) */
.journey { position: relative; background: #120d0a; }
.journey-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.j-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.j-slide.active { opacity: 1; }
.j-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); transition: transform 6s ease; }
.j-slide.active .bg { transform: scale(1.16); }
.j-slide .grad { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,13,10,.85) 0%, rgba(18,13,10,.45) 45%, rgba(18,13,10,.15) 100%); }
.j-content { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; }
.j-text { color: #fff; max-width: 540px; }
.j-step { color: var(--sand); letter-spacing: 3px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.j-text h3 { font-family: var(--serif); font-size: clamp(40px, 7vw, 76px); line-height: 1; margin: 12px 0 16px; }
.j-text p { font-size: clamp(16px, 2.2vw, 20px); color: rgba(255,255,255,.9); max-width: 460px; }
.j-text .tag { display: inline-block; margin-top: 18px; background: var(--terracotta); padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.j-dots { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); z-index: 4; display: flex; flex-direction: column; gap: 14px; }
.j-dots .d { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.35); transition: all .3s; }
.j-dots .d.on { background: var(--sand); height: 26px; border-radius: 6px; }
.journey-intro { text-align: center; color: #fff; padding: 90px 24px 0; position: relative; z-index: 5; }
.journey-intro .eyebrow { color: var(--sand); }
.journey-intro h2 { font-family: var(--serif); font-size: clamp(32px, 5vw, 52px); margin-top: 10px; }

/* HISTORY timeline */
.history { background: var(--cream); }
.timeline { max-width: 820px; margin: 40px auto 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--terracotta), var(--sand)); transform: translateX(-50%); }
.era { position: relative; width: 50%; padding: 18px 40px; margin-bottom: 18px; }
.era:nth-child(odd) { left: 0; text-align: right; }
.era:nth-child(even) { left: 50%; }
.era .dot { position: absolute; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--terracotta); border: 3px solid var(--cream); box-shadow: 0 0 0 2px var(--terracotta); }
.era:nth-child(odd) .dot { right: -8px; }
.era:nth-child(even) .dot { left: -8px; }
.era .yr { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--terracotta); }
.era h3 { font-size: 19px; margin: 4px 0 6px; }
.era p { color: var(--stone); font-size: 15px; }

/* GALLERY */
.gallery { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; }
.gallery .phone { width: 230px; }

@media (max-width: 760px) {
  .stats .wrap { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .timeline::before { left: 18px; }
  .era, .era:nth-child(even) { width: 100%; left: 0; text-align: left; padding-left: 46px; padding-right: 8px; }
  .era:nth-child(odd) { text-align: left; }
  .era:nth-child(odd) .dot, .era:nth-child(even) .dot { left: 10px; right: auto; }
  .j-dots { display: none; }
  .j-slide .grad { background: linear-gradient(180deg, rgba(18,13,10,.4) 0%, rgba(18,13,10,.8) 100%); }
}

/* ============================================================
   ULTRA v3 — auto-playing cinematic trailer + place reel
   ============================================================ */
.trailer { position: relative; background: #0f0b08; overflow: hidden; }
.trailer-stage { position: relative; height: 80vh; min-height: 540px; }
.t-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.t-slide.on { opacity: 1; }
.t-slide .bg { position: absolute; inset: -3%; background-size: cover; background-position: center; transform: scale(1.04); transition: transform 6.5s ease; }
.t-slide.on .bg { transform: scale(1.16); }
.t-slide .grad { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,11,8,.9) 0%, rgba(15,11,8,.15) 55%, rgba(15,11,8,.55) 100%); }
.t-title { position: absolute; top: 30px; left: 0; right: 0; text-align: center; color: #fff; z-index: 3; letter-spacing: 4px; font-size: 12px; opacity: .8; text-transform: uppercase; }
.t-cap { position: absolute; left: 0; right: 0; bottom: 13%; text-align: center; color: #fff; z-index: 2; padding: 0 20px; }
.t-cap .nm { font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 8vw, 92px); line-height: 1; text-shadow: 0 2px 40px rgba(0,0,0,.45); }
.t-cap .ds { color: var(--sand); letter-spacing: 2px; margin-top: 12px; font-size: clamp(13px,1.6vw,16px); text-transform: uppercase; }
.t-slide.on .t-cap .nm { animation: capIn 1s cubic-bezier(.2,.7,.2,1) both; }
.t-slide.on .t-cap .ds { animation: capIn 1s .15s cubic-bezier(.2,.7,.2,1) both; }
@keyframes capIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.t-bars { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.t-bars i { width: 30px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.28); overflow: hidden; cursor: pointer; }
.t-bars i.on::after { content: ''; display: block; height: 100%; background: var(--sand); transform-origin: left; animation: fillbar 2.8s linear forwards; }
@keyframes fillbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Auto-scrolling place reel */
.reel { background: var(--ink); padding: 22px 0; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.reel .track { display: inline-flex; gap: 12px; white-space: nowrap; animation: reelscroll 36s linear infinite; }
.reel:hover .track { animation-play-state: paused; }
.reel .chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 9px 16px; color: #e6dccb; font-size: 14px; font-weight: 500; }
.reel .chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); }
@keyframes reelscroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 760px) { .trailer-stage { height: 70vh; } }
@media (prefers-reduced-motion: reduce) {
  .kenburns, .t-slide.on .bg { animation: none; transform: none; }
  .reel .track { animation: none; }
}
