/* -------------------------------------------------------
   IL CAMINETTO — Static landing (HTML + CSS only)
   Inspired by the provided layout (soft beige, editorial type,
   big food photography, centered reservation bar, dark footer)
-------------------------------------------------------- */

:root{
  --bg: #f2ede4;
  --paper: #f7f2ea;
  --ink: #161616;
  --muted: #6d6a63;
  --accent: #8a775a;   /* warm taupe */
  --accent-dark: #6f5f47;
  --footer: #0d0f0f;
  --border: rgba(22,22,22,.14);
  --shadow: 0 18px 40px rgba(0,0,0,.14);
  --radius: 14px;
  --container: 1100px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: "Sora", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(138,119,90,.12), transparent 42%),
    radial-gradient(circle at 90% 20%, rgba(22,22,22,.10), transparent 45%),
    var(--bg);
  line-height:1.6;
}

/* ---------------- Intro Flame ---------------- */
.intro-flame{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(244,239,230,.92);
  z-index:200;
  pointer-events:none;
}
.intro-flame-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  animation:introRise 1.2s ease both;
}
.intro-flame-svg{
  width:90px;
  height:132px;
  animation:flameFloat 2.6s ease-in-out infinite;
  transform-origin:50% 80%;
}
.intro-flame-text{
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  letter-spacing:.3em;
  font-size:14px;
  color:var(--accent-dark);
  text-transform:uppercase;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.container{
  width:min(var(--container), calc(100% - 48px));
  margin-inline:auto;
}

/* ---------------- Header ---------------- */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--bg);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:18px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  letter-spacing:.28em;
  font-weight:600;
  font-size:12px;
}

.brand-logo{
  display:inline-flex;
  width:28px;
  height:40px;
  align-items:center;
  justify-content:center;
}

.flame{
  width:26px;
  height:40px;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
  animation:flameFloat 2.6s ease-in-out infinite;
  transform-origin:50% 80%;
}
.flame-base{
  fill:#d9a45b;
  stroke:#6f3f1d;
  stroke-width:2.2;
}
.flame-core{
  fill:#fbe1a0;
  stroke:#b56b2b;
  stroke-width:1.6;
  animation:flameFlicker 1.4s ease-in-out infinite;
  transform-origin:50% 70%;
}

.brand-mark{
  font-family:"Cormorant Garamond", serif;
  letter-spacing:.22em;
  font-weight:600;
}

.nav{
  display:flex;
  align-items:center;
  gap:22px;
  font-size:13px;
  color:var(--muted);
}
.nav a{
  position:relative;
  padding:8px 2px;
}
.nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:4px;
  width:0%;
  height:1px;
  background:var(--accent);
  transition:width .22s ease;
}
.nav a:hover::after{ width:100%; }
.nav a.active::after{ width:100%; }

.nav-toggle{
  display:none;
  width:44px;
  height:40px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px;
  background:transparent;
  padding:10px 12px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  height:2px;
  background:rgba(0,0,0,.65);
  margin:5px 0;
  border-radius:2px;
}

/* ---------------- Buttons ---------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.15);
  background:var(--accent);
  color:#fff;
  font-weight:600;
  font-size:13px;
  letter-spacing:.02em;
  box-shadow:0 10px 22px rgba(0,0,0,.10);
  transition:transform .15s ease, background .2s ease;
}
.btn:hover{ transform:translateY(-1px); background:var(--accent-dark); }
.btn:active{ transform:translateY(0); }

.btn-small{ padding:10px 14px; font-size:12px; }
.btn-wide{ padding:13px 18px; }

.btn-ghost{
  background:transparent;
  color:var(--ink);
  box-shadow:none;
}
.btn-ghost:hover{
  background:rgba(0,0,0,.05);
  transform:translateY(-1px);
}

/* ---------------- Internal Pages ---------------- */
.page-hero{
  padding:80px 0 36px;
}
.page-hero h1{
  font-family:"Cormorant Garamond", serif;
  font-size:48px;
  margin:0 0 12px;
}
.page-hero p{
  max-width:720px;
  margin:0;
  color:var(--muted);
}
.page-section{
  padding:42px 0;
}
.page-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:22px;
}
.page-card{
  background:var(--paper);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:0 12px 26px rgba(0,0,0,.08);
}
.page-card h3{ margin-top:0; }
.page-list{
  margin:12px 0 0;
  padding-left:18px;
  color:var(--muted);
}
.page-media{
  min-height:260px;
  border-radius:var(--radius);
  background:
    linear-gradient(135deg, rgba(138,119,90,.18), rgba(22,22,22,.08)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.7), transparent 55%),
    var(--paper);
  border:1px solid rgba(0,0,0,.08);
  overflow:hidden;
}
.page-map{
  width:100%;
  height:100%;
  min-height:260px;
  border:0;
  display:block;
}
.contact-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:26px;
  align-items:start;
}
.contact-card{
  background:var(--paper);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
}
.contact-card p{ margin:8px 0; }

/* ---------------- Hero ---------------- */
.hero-section{
  padding:20px 0 36px;
}

.hero-frame{
  position:relative;
}

.hero{
  position:relative;
  width:100%;
  max-width:none;
  height:380px;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.10);
  box-shadow:var(--shadow);
  animation:fadeUp .8s ease both;
  overflow:hidden;
  margin-inline:auto;
}
.hero img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 80%;
  display:block;
}
.hero video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 50%;
  display:block;
}
.hero-overlay{
  position:absolute;
  top:-99px;
  width:100%;
  text-align:center;
  color:#f5f0e8;
  padding-top:0;
}
.logo{
  height:80px;
  margin-bottom:10px;
}
.hero-overlay h1{
  margin:6px 0 0;
  font-size:32px;
  line-height:1.1;
  text-shadow:0 2px 10px rgba(0,0,0,.45);
}

.hero-side{
  position:absolute;
  right:-34px;
  top:24px;
  height:calc(100% - 48px);
  width:72px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-side-inner{
  height:100%;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
  color:rgba(22,22,22,.72);
  font-size:12px;
  letter-spacing:.08em;
}

.hero-side-line{
  width:1px;
  height:35%;
  background:rgba(0,0,0,.18);
}

.hero-side-text{
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  display:flex;
  gap:10px;
  align-items:center;
}
.hero-side-text .dot{ opacity:.6; }
.hero-side-date{
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  font-size:11px;
  opacity:.6;
}

/* ---------------- Split ---------------- */
/* ---------------- Intro ---------------- */
.intro{
  padding:18px 0 40px;
}
.intro-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:30px;
  align-items:stretch;
}
.intro-copy{
  padding:28px 26px;
  background:var(--paper);
  border:1px solid rgba(0,0,0,.10);
  border-radius:20px;
  box-shadow:var(--shadow);
  animation:fadeUp .8s ease .08s both;
}
.intro-copy h1{
  margin:8px 0 14px;
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  font-size:42px;
  line-height:1.12;
}
.intro-copy p{
  margin:0 0 18px;
  color:var(--muted);
  font-size:15px;
}
.intro-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.eyebrow{
  margin:0;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--accent-dark);
}
.intro-card{
  padding:26px 24px;
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:20px;
  box-shadow:var(--shadow);
  animation:fadeUp .8s ease .18s both;
}
.intro-card h3{
  margin:0 0 12px;
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  font-size:24px;
}
.intro-card ul{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
}
.intro-card li{ margin-bottom:8px; }
.intro-card li:last-child{ margin-bottom:0; }

/* ---------------- Split ---------------- */
.split{
  padding:28px 0 40px;
}

.split-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:34px;
  align-items:center;
}

.split-copy{
  padding:34px 28px;
  background:var(--paper);
  border:1px solid rgba(0,0,0,.10);
  border-radius:18px;
  animation:fadeUp .8s ease .08s both;
}

.split-copy h2{
  margin:0 0 14px;
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  font-size:38px;
  line-height:1.12;
}

.split-copy p{
  margin:0 0 18px;
  color:var(--muted);
  font-size:15px;
}

.split-media{
  height:360px;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.10);
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.28)),
    url("../assets/image/header.png");
  background-size:cover;
  background-position:center;
  box-shadow:var(--shadow);
  animation:fadeUp .8s ease .12s both;
}

/* ---------------- Video Section ---------------- */
.video-section{
  padding:10px 0 56px;
}
.video-grid{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:32px;
  align-items:center;
}
.video-copy h2{
  margin:0 0 14px;
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  font-size:36px;
  line-height:1.15;
}
.video-copy p{
  margin:0 0 16px;
  color:var(--muted);
  font-size:15px;
}
.video-media{
  position:relative;
  border-radius:18px;
  border:1px solid rgba(0,0,0,.10);
  overflow:hidden;
  box-shadow:var(--shadow);
  height:520px;
}
.room-video{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:50% 50%;
  display:block;
  transform:rotate(90deg) scaleY(-1);
  transform-origin:center;
}

/* ---------------- Banner ---------------- */
.banner{
  position:relative;
  padding:0 0 52px;
}

.banner-media{
  height:340px;
  border-top:1px solid rgba(0,0,0,.10);
  border-bottom:1px solid rgba(0,0,0,.10);
  background:
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.35)),
    url("https://images.unsplash.com/photo-1529692236671-f1f6cf9683ba?auto=format&fit=crop&w=2000&q=80");
  background-size:cover;
  background-position:center;
}

.banner-card-wrap{
  position:relative;
  margin-top:-82px;
  display:flex;
  justify-content:center;
}

.banner-card{
  width:min(560px, 100%);
  background:var(--paper);
  border:1px solid rgba(0,0,0,.12);
  border-radius:18px;
  padding:26px 26px 22px;
  box-shadow:var(--shadow);
  text-align:center;
  animation:fadeUp .8s ease .08s both;
}

.banner-card h3{
  margin:0 0 10px;
  font-family:"Cormorant Garamond", serif;
  font-weight:600;
  font-size:30px;
  line-height:1.15;
}

.banner-card p{
  margin:0 0 18px;
  color:var(--muted);
  font-size:14.5px;
}

.banner-actions{
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

/* ---------------- Highlights ---------------- */
.highlights{
  padding:34px 0 38px;
  background:linear-gradient(135deg, rgba(138,119,90,.12), rgba(244,239,230,.4));
  border-top:1px solid rgba(0,0,0,.06);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.highlights-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:20px;
}
.highlights article{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:16px;
  padding:20px 18px;
  box-shadow:var(--shadow);
  animation:fadeUp .8s ease .1s both;
}
.highlights h3{
  margin:0 0 8px;
  font-family:"Cormorant Garamond", serif;
  font-size:24px;
  font-weight:600;
}
.highlights p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}

/* ---------------- Gallery ---------------- */
.gallery{
  padding:36px 0 42px;
}
.gallery-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.gallery-head h3{
  margin:0;
  font-family:"Cormorant Garamond", serif;
  font-size:30px;
  font-weight:600;
}
.gallery-head p{
  margin:0;
  color:var(--muted);
  max-width:520px;
  font-size:14.5px;
}
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.gallery-item{
  height:220px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.10);
  background-size:cover;
  background-position:center;
  box-shadow:var(--shadow);
  animation:fadeUp .8s ease .12s both;
}
.gallery-item.featured{
  grid-column:span 2;
  grid-row:span 2;
  height:auto;
  min-height:454px;
  background-position:center 56%;
}
.gallery-link{ cursor:zoom-in; }
.gallery-link:focus-visible{
  outline:2px solid var(--accent-dark);
  outline-offset:2px;
}
.gallery-item:nth-child(1){
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.32)),
    url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1600&q=80");
}
.gallery-item:nth-child(2){
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.32)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1600&q=80");
}
.gallery-item:nth-child(3){
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.32)),
    url("https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=1600&q=80");
}
.gallery-item:nth-child(4){
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.32)),
    url("https://images.unsplash.com/photo-1478145046317-39f10e56b5e9?auto=format&fit=crop&w=1600&q=80");
}

/* ---------------- Phone CTA ---------------- */
.cta-phone{
  padding:36px 0 50px;
}
.cta-phone-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:26px 24px;
  background:var(--paper);
  border:1px solid rgba(0,0,0,.10);
  border-radius:20px;
  box-shadow:var(--shadow);
}
.cta-phone h3{
  margin:0 0 6px;
  font-family:"Cormorant Garamond", serif;
  font-size:28px;
  font-weight:600;
}
.cta-phone p{
  margin:0;
  color:var(--muted);
  font-size:14.5px;
}
.cta-phone-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.center{ text-align:center; }
.small-note{
  margin-top:12px;
  color:rgba(22,22,22,.55);
  font-size:12px;
}

.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;
}

/* ---------------- Footer ---------------- */
.site-footer{
  background:var(--footer);
  color:rgba(255,255,255,.86);
  padding:44px 0 18px;
  margin-top:10px;
}

.footer-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:28px;
  padding-bottom:26px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.site-footer h4{
  margin:0 0 10px;
  font-size:13px;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:rgba(255,255,255,.78);
}

.site-footer p{
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:13px;
  line-height:1.7;
}

.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding-top:16px;
  color:rgba(255,255,255,.55);
  font-size:12px;
}

.social{
  display:flex;
  gap:10px;
}
.social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  color:rgba(255,255,255,.75);
  font-weight:600;
  letter-spacing:.02em;
}
.social a svg{
  width:16px;
  height:16px;
  fill:currentColor;
  display:block;
}
.social a:hover{
  background:rgba(255,255,255,.06);
}

.site-footer a{
  color:rgba(255,255,255,.86);
}
.site-footer a:hover{
  color:#fff;
}

/* ---------------- Floating WhatsApp ---------------- */
.whatsapp-float{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:80;
  padding:12px 16px;
  border-radius:999px;
  background:#25d366;
  color:#fff;
  font-weight:600;
  font-size:13px;
  box-shadow:0 14px 28px rgba(0,0,0,.22);
  letter-spacing:.02em;
  transition:transform .15s ease, box-shadow .2s ease;
}
.whatsapp-float:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 32px rgba(0,0,0,.24);
}

/* ---------------- Motion ---------------- */
@keyframes fadeUp{
  from{ opacity:0; transform:translateY(18px); }
  to{ opacity:1; transform:translateY(0); }
}

@keyframes introRise{
  from{ opacity:0; transform:translateY(16px) scale(.96); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}

body.is-loaded .intro-flame{
  animation:introFade .8s ease forwards;
}

@keyframes introFade{
  to{ opacity:0; visibility:hidden; }
}

@keyframes flameFlicker{
  0%{ transform:scale(1) rotate(0deg); opacity:.85; }
  45%{ transform:scale(1.04) rotate(-1.5deg); opacity:1; }
  75%{ transform:scale(.98) rotate(1deg); opacity:.9; }
  100%{ transform:scale(1) rotate(0deg); opacity:.85; }
}

@keyframes flameFloat{
  0%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-3px) rotate(-1deg); }
  100%{ transform:translateY(0) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
  .intro-flame{ display:none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px){
  .hero-side{ display:none; }
  .intro-grid{ grid-template-columns:1fr; }
  .intro-copy h1{ font-size:38px; }
  .split-grid{ grid-template-columns:1fr; }
  .split-media{ order:-1; height:320px; }
  .split-copy h2{ font-size:34px; }
  .video-grid{ grid-template-columns:1fr; }
  .video-media{ height:420px; }
  .video-copy h2{ font-size:32px; }
  .highlights-grid{ grid-template-columns:1fr; }
  .gallery-head{ flex-direction:column; align-items:flex-start; }
  .gallery-grid{ grid-template-columns:1fr 1fr; }
  .gallery-item.featured{
    grid-column:1 / -1;
    grid-row:auto;
    min-height:320px;
  }
  .cta-phone-inner{ flex-direction:column; align-items:flex-start; }
  .footer-grid{ grid-template-columns:1fr; }
  .page-grid{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
}

@media (max-width: 760px){
  .nav{ display:none; }
  .nav.open{
    display:flex;
    position:absolute;
    left:0; right:0;
    top:66px;
    background:var(--bg);
    padding:14px 24px 18px;
    border-bottom:1px solid rgba(0,0,0,.08);
    flex-direction:column;
    gap:12px;
  }
  .nav-toggle{ display:block; }
  .hero{ height:320px; }
  .hero-overlay{ top:-20px; }
  .hero-overlay h1{ display:none; }
  .banner-media{ height:300px; }
}

@media (max-width: 520px){
  .header-inner{ padding:14px 0; }
  .brand-mark{ letter-spacing:.18em; }
  .intro-copy{ padding:22px 18px; }
  .intro-copy h1{ font-size:32px; }
  .split-copy{ padding:26px 20px; }
  .split-copy h2{ font-size:30px; }
  .gallery-grid{ grid-template-columns:1fr; }
  .gallery-item.featured{ min-height:260px; }
  .whatsapp-float{ right:14px; bottom:14px; }
}
