/* =========================================================
   Yaarana Restaurant & Cafe — custom styles
   Palette: ink #1a140f · ivory #fbf6ec · marigold #f4a521
            terracotta #c4562e · pista #6f9a3f
   Type: Fraunces (display) + Plus Jakarta Sans (body)
   ========================================================= */

:root {
  --ink: #1a140f;
  --ivory: #fbf6ec;
  --marigold: #f4a521;
  --terracotta: #c4562e;
  --pista: #6f9a3f;
}

* { -webkit-tap-highlight-color: transparent; }

body { font-feature-settings: "ss01"; }

::selection { background: var(--marigold); color: var(--ink); }

/* Font-weight helpers to match Tailwind config tokens used in HTML */
.font-400 { font-weight: 400; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }
.font-900 { font-weight: 900; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #efe6d3; }
::-webkit-scrollbar-thumb { background: #c9b48a; border-radius: 20px; border: 3px solid #efe6d3; }
::-webkit-scrollbar-thumb:hover { background: var(--marigold); }

/* =============== TYPOGRAPHY HELPERS =============== */
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow .dot {
  width: 26px; height: 2px; background: var(--terracotta); border-radius: 2px;
}
.eyebrow-dark { color: var(--marigold); }
.eyebrow-dark .dot { background: var(--marigold); }

/* =============== BUTTONS =============== */
.btn-primary, .btn-dark, .btn-ghost, .btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.72rem 1.4rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.9rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  cursor: pointer; white-space: nowrap;
}
.btn-primary {
  background: var(--marigold); color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(244,165,33,.8);
}
.btn-primary:hover { background: #ffb833; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(244,165,33,.9); }
.btn-dark { background: var(--ink); color: var(--ivory); }
.btn-dark:hover { background: #2f2419; transform: translateY(-2px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1.5px solid rgba(26,20,15,.2);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); transform: translateY(-2px); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1eb959; transform: translateY(-2px); }

.btn-link {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-weight: 600; color: var(--ink); font-size: 0.9rem;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: color .2s, gap .2s, border-color .2s;
}
.btn-link:hover { color: var(--terracotta); gap: 0.7rem; border-color: var(--terracotta); }

.btn-mini {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: 999px;
  background: var(--ink); color: var(--ivory);
  transition: background .2s, transform .2s;
}
.btn-mini:hover { background: var(--marigold); color: var(--ink); transform: translateY(-1px); }

.link-underline { color: var(--terracotta); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* =============== HEADER / NAV =============== */
.nav-shell {
  background: transparent;
}
#site-header.scrolled .nav-shell {
  background: rgba(251,246,236,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px -18px rgba(26,20,15,.4);
  border: 1px solid rgba(26,20,15,.06);
}
#site-header.scrolled .nav-shell { padding-top: .55rem; padding-bottom: .55rem; }

.nav-link {
  position: relative; padding: 0.5rem 0.9rem; border-radius: 999px;
  color: var(--ink); transition: color .2s, background .2s;
}
.nav-link::after {
  content: ''; position: absolute; left: 50%; bottom: 6px;
  width: 0; height: 2px; background: var(--marigold);
  transform: translateX(-50%); transition: width .25s ease;
}
.nav-link:hover { color: var(--terracotta); }
.nav-link.active { color: var(--terracotta); }
.nav-link.active::after { width: 18px; }

/* keep nav readable over the light hero even before scroll */
.nav-title, .nav-sub { transition: color .3s; }

.logo-mark { transition: transform .4s cubic-bezier(.34,1.56,.64,1); }
a:hover > .logo-mark { transform: rotate(-12deg) scale(1.05); }

/* Mobile menu */
#mobile-menu.open { visibility: visible; opacity: 1; }
#mobile-menu.open #mobile-panel { transform: translateX(0); }
.mobile-link {
  display: block; padding: 0.75rem 0; border-bottom: 1px solid rgba(26,20,15,.07);
  color: var(--ink); transition: color .2s, padding-left .2s;
}
.mobile-link:hover, .mobile-link:focus { color: var(--terracotta); padding-left: 0.5rem; }

/* =============== HERO =============== */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 55% at 78% 22%, rgba(244,165,33,.28), transparent 60%),
    radial-gradient(50% 50% at 12% 78%, rgba(111,154,63,.16), transparent 60%),
    radial-gradient(70% 60% at 50% 0%, rgba(196,86,46,.10), transparent 55%),
    var(--ivory);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 0; opacity: .35; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

.hero-plate { position: relative; display: grid; place-items: center; }
.plate-glow {
  position: absolute; width: 118%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(244,165,33,.35) 0%, rgba(244,165,33,.10) 45%, transparent 68%);
  animation: spin-slow 24s linear infinite;
}
.hero-img {
  position: relative;
  width: min(78%, 460px); aspect-ratio: 1; object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 40px 70px -25px rgba(26,20,15,.55), inset 0 0 0 10px rgba(251,246,236,.85);
  animation: float-y 6s ease-in-out infinite;
}

/* dashed decorative ring around plate */
.hero-plate::before {
  content: ''; position: absolute; width: min(88%, 520px); aspect-ratio: 1;
  border: 2px dashed rgba(196,86,46,.35); border-radius: 50%;
  animation: spin-slow 40s linear infinite reverse;
}

.float-card, .float-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 0.7rem;
  background: rgba(251,246,236,.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(26,20,15,.06);
  border-radius: 18px; padding: 0.7rem 0.95rem;
  box-shadow: 0 18px 40px -18px rgba(26,20,15,.35);
  animation: float-y 5s ease-in-out infinite;
}
.float-chip { border-radius: 999px; padding: 0.45rem 0.9rem 0.45rem 0.5rem; }
.float-a { top: 6%; left: -2%; animation-delay: .3s; }
.float-b { bottom: 14%; right: 0%; animation-delay: 1.2s; }
.float-c { bottom: 2%; left: 12%; animation-delay: .8s; }

@media (max-width: 640px) {
  .float-a { top: 2%; left: 0; transform: scale(.85); }
  .float-b { bottom: 8%; right: -2%; transform: scale(.85); }
  .float-c { display: none; }
}

.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pista); position: relative; }
.pulse-dot::after {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--pista); animation: pulse-ring 1.8s ease-out infinite;
}

.scroll-cue {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(26,20,15,.55); z-index: 4;
}
.scroll-mouse {
  width: 22px; height: 34px; border: 2px solid rgba(26,20,15,.4); border-radius: 12px;
  display: flex; justify-content: center; padding-top: 6px;
}
.scroll-wheel { width: 3px; height: 7px; border-radius: 3px; background: var(--terracotta); animation: wheel 1.6s ease-in-out infinite; }

/* =============== MARQUEE =============== */
.marquee { overflow: hidden; width: 100%; }
.marquee-track {
  display: flex; align-items: center; gap: 1.6rem; width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.mq-sep { color: var(--marigold); opacity: .7; }

/* =============== HIGHLIGHT CARDS =============== */
.hl-card {
  background: #fff; border-radius: 22px; padding: 2rem 1.6rem;
  border: 1px solid rgba(26,20,15,.06);
  box-shadow: 0 20px 40px -30px rgba(26,20,15,.3);
  transition: transform .35s ease, box-shadow .35s ease;
}
.hl-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(26,20,15,.4); }
.hl-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-size: 1.35rem;
  background: linear-gradient(135deg, rgba(244,165,33,.18), rgba(196,86,46,.14));
  color: var(--terracotta);
}
.hl-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.25rem; margin-top: 1.1rem; }
.hl-text { color: rgba(26,20,15,.6); margin-top: 0.5rem; font-size: 0.92rem; line-height: 1.55; }

/* =============== ABOUT =============== */
.deco-blob {
  position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none;
}
.deco-blob-1 { width: 380px; height: 380px; background: rgba(244,165,33,.16); top: -80px; right: -80px; }

.about-img-main {
  position: relative; z-index: 1; border-radius: 28px; overflow: hidden;
  aspect-ratio: 4/5; box-shadow: 0 40px 70px -30px rgba(26,20,15,.5);
  max-width: 440px;
}
.about-img-sub {
  position: absolute; z-index: 2; bottom: -28px; right: 0;
  width: 44%; max-width: 190px; aspect-ratio: 1;
  border-radius: 22px; overflow: hidden; border: 6px solid var(--ivory);
  box-shadow: 0 24px 45px -22px rgba(26,20,15,.5);
}
.about-stamp {
  position: absolute; z-index: 3; top: -22px; left: -22px;
  width: 108px; height: 108px; border-radius: 50%;
  background: var(--ink); color: var(--ivory);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 20px 40px -18px rgba(26,20,15,.6);
  text-align: center;
}
@media (max-width: 500px) {
  .about-stamp { width: 84px; height: 84px; top: -14px; left: -6px; }
  .about-stamp span:nth-child(1) { font-size: 1.2rem; }
  .about-stamp span:nth-child(2) { font-size: 1.6rem; }
}

.stat-num {
  font-family: 'Fraunces', serif; font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--ink); line-height: 1;
}
.stat-label { font-size: 0.78rem; color: rgba(26,20,15,.55); margin-top: 0.35rem; }

/* =============== MENU =============== */
.filter-btn {
  padding: 0.55rem 1.15rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
  background: #fff; color: var(--ink); border: 1.5px solid rgba(26,20,15,.12);
  transition: all .25s ease; cursor: pointer;
}
.filter-btn:hover { border-color: var(--marigold); color: var(--terracotta); }
.filter-btn.is-active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.menu-card {
  background: #fff; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(26,20,15,.06);
  box-shadow: 0 18px 40px -30px rgba(26,20,15,.3);
  display: flex; flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}
.menu-card:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(26,20,15,.4); }
.menu-media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.menu-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.menu-card:hover .menu-media img { transform: scale(1.07); }
.menu-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.menu-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; }
.menu-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.15rem; line-height: 1.15; }
.menu-desc { color: rgba(26,20,15,.6); font-size: 0.85rem; margin-top: 0.4rem; line-height: 1.5; flex: 1; }
.menu-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.price { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.25rem; color: var(--terracotta); }

/* veg / non-veg indicator */
.veg-dot, .nonveg-dot {
  width: 16px; height: 16px; border-radius: 4px; display: inline-grid; place-items: center; flex-shrink: 0;
  border: 1.6px solid var(--pista);
}
.veg-dot::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--pista); }
.nonveg-dot { border-color: #b23b2e; }
.nonveg-dot::after { content: ''; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-bottom: 7px solid #b23b2e; }

/* badges */
.badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.28rem 0.7rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.badge-hot { background: var(--marigold); color: var(--ink); }
.badge-spicy { background: var(--terracotta); color: #fff; }
.badge-new { background: var(--pista); color: #fff; }
.badge-veg { background: rgba(111,154,63,.15); color: var(--pista); }

/* =============== CHEF SPECIALS =============== */
.deco-ring {
  position: absolute; width: 480px; height: 480px; border-radius: 50%;
  border: 1px solid rgba(244,165,33,.14); top: -160px; right: -120px; pointer-events: none;
}
.deco-ring::after {
  content: ''; position: absolute; inset: 60px; border-radius: 50%;
  border: 1px solid rgba(244,165,33,.1);
}
.special-rail {
  display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 1rem; scroll-behavior: smooth;
  scrollbar-width: none;
}
.special-rail::-webkit-scrollbar { display: none; }
.special-card {
  scroll-snap-align: start; flex: 0 0 auto;
  width: 300px; background: var(--ivory); color: var(--ink);
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 55px -30px rgba(0,0,0,.6);
}
@media (min-width: 640px) { .special-card { width: 330px; } }
.special-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.special-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.special-card:hover .special-media img { transform: scale(1.08); }
.special-body { padding: 1.2rem 1.3rem 1.4rem; }
.special-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.3rem; }
.special-desc { color: rgba(26,20,15,.62); font-size: 0.87rem; margin-top: 0.45rem; line-height: 1.5; min-height: 2.6em; }
.special-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.1rem; }

.slider-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid rgba(26,20,15,.15); background: #fff; color: var(--ink);
  transition: all .25s ease;
}
.slider-btn:hover { background: var(--marigold); border-color: var(--marigold); }
.slider-btn.light { border-color: rgba(251,246,236,.25); background: transparent; color: var(--ivory); }
.slider-btn.light:hover { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }

/* =============== OFFERS =============== */
.offer-card {
  position: relative; overflow: hidden;
  background: #fff; border-radius: 24px; padding: 1.8rem;
  border: 1px solid rgba(26,20,15,.06);
  box-shadow: 0 18px 40px -30px rgba(26,20,15,.3);
  transition: transform .35s ease, box-shadow .35s ease;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -30px rgba(26,20,15,.4); }
.offer-feature {
  background: linear-gradient(155deg, #241a12 0%, #1a140f 70%);
  color: var(--ivory); display: flex; flex-direction: column; justify-content: center;
}
.offer-feature:hover { box-shadow: 0 40px 60px -30px rgba(26,20,15,.7); }
.offer-tag {
  display: inline-block; align-self: flex-start;
  background: var(--marigold); color: var(--ink);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem; border-radius: 999px;
}
.offer-ghost-icon {
  position: absolute; right: -20px; bottom: -20px; font-size: 9rem; color: rgba(244,165,33,.08);
}
.offer-mini-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.25rem; color: var(--terracotta);
  background: linear-gradient(135deg, rgba(244,165,33,.16), rgba(196,86,46,.12));
}
.offer-title { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.2rem; margin-top: 1rem; }
.offer-text { color: rgba(26,20,15,.62); font-size: 0.9rem; margin-top: 0.5rem; line-height: 1.5; }
.offer-note { display: inline-block; margin-top: 0.9rem; font-size: 0.72rem; font-weight: 600; color: var(--pista); text-transform: uppercase; letter-spacing: 0.05em; }

/* =============== WHY CHOOSE US =============== */
.why-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border-radius: 18px; padding: 1.2rem 1.3rem;
  border: 1px solid rgba(26,20,15,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.why-item:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(26,20,15,.4); }
.why-ic {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.1rem;
  background: var(--ink); color: var(--marigold);
}
.why-t { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem; }
.why-p { color: rgba(26,20,15,.6); font-size: 0.85rem; margin-top: 0.2rem; line-height: 1.45; }

/* =============== GALLERY =============== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px; gap: 0.9rem;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1.1rem; } }
.gal-item {
  position: relative; overflow: hidden; border-radius: 18px; cursor: pointer;
  background: #e9dfca; display: block;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gal-item:hover img { transform: scale(1.09); }
.gal-tall { grid-row: span 2; }
@media (min-width: 640px) { .gal-wide { grid-column: span 2; } }
.gal-overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(to top, rgba(26,20,15,.55), transparent 60%);
  color: var(--ivory); font-size: 1.3rem; opacity: 0; transition: opacity .3s ease;
}
.gal-item:hover .gal-overlay, .gal-item:focus-visible .gal-overlay { opacity: 1; }

/* Lightbox */
#lightbox.open { display: flex; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(251,246,236,.1); color: var(--ivory);
  display: grid; place-items: center; cursor: pointer; transition: background .2s;
}
.lb-nav:hover { background: rgba(251,246,236,.22); }

/* =============== REVIEWS =============== */
.deco-quote {
  position: absolute; top: -40px; left: 20px; font-family: 'Fraunces', serif;
  font-size: 22rem; line-height: 1; color: rgba(244,165,33,.06); pointer-events: none; z-index: 0;
}
.review-viewport { overflow: hidden; }
.review-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.review-slide { flex: 0 0 100%; padding: 0 0.5rem; }
.review-card {
  background: rgba(251,246,236,.04);
  border: 1px solid rgba(251,246,236,.1);
  border-radius: 26px; padding: 2.5rem 2rem;
  text-align: center; max-width: 720px; margin: 0 auto;
}
.review-stars { color: var(--marigold); font-size: 1rem; letter-spacing: 0.15em; }
.review-quote {
  font-family: 'Fraunces', serif; font-weight: 500; font-style: italic;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem); line-height: 1.45; margin-top: 1.2rem; color: var(--ivory);
}
.review-person { display: flex; align-items: center; justify-content: center; gap: 0.8rem; margin-top: 1.8rem; }
.review-avatar {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 1.05rem; color: var(--ink);
  background: var(--marigold);
}
.review-name { font-weight: 600; color: var(--ivory); }
.review-plat { font-size: 0.8rem; color: rgba(251,246,236,.55); }

.rev-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(251,246,236,.25); transition: all .3s; cursor: pointer; border: 0; padding: 0; }
.rev-dot.active { width: 26px; border-radius: 6px; background: var(--marigold); }

/* =============== RESERVE =============== */
.reserve-shell {
  background: #fff; border-radius: 30px;
  box-shadow: 0 40px 80px -40px rgba(26,20,15,.4);
  border: 1px solid rgba(26,20,15,.05);
}
.reserve-visual { min-height: 100%; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.75rem 0.9rem; border-radius: 12px;
  border: 1.5px solid rgba(26,20,15,.14); background: #fdfbf6;
  font-size: 0.92rem; color: var(--ink); transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--marigold);
  box-shadow: 0 0 0 3px rgba(244,165,33,.18);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d1483b; box-shadow: 0 0 0 3px rgba(209,72,59,.14); }
.err { font-size: 0.74rem; color: #d1483b; min-height: 0; opacity: 0; transition: opacity .2s; }
.field.invalid .err { opacity: 1; }

.form-note {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.9rem 1rem; border-radius: 14px; font-size: 0.9rem;
}
.form-note.success { background: rgba(111,154,63,.12); color: var(--pista); border: 1px solid rgba(111,154,63,.3); }
.form-note i { margin-top: 0.15rem; }

/* =============== CONTACT =============== */
.contact-row {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.1rem; border-radius: 16px; background: #fff;
  border: 1px solid rgba(26,20,15,.06); transition: transform .25s, box-shadow .25s;
}
.contact-row:not(.no-hover):hover { transform: translateX(4px); box-shadow: 0 18px 34px -26px rgba(26,20,15,.4); }
.contact-ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 1.05rem;
  background: linear-gradient(135deg, rgba(244,165,33,.18), rgba(196,86,46,.12)); color: var(--terracotta);
}
.contact-row span:last-child { display: flex; flex-direction: column; font-size: 0.9rem; color: rgba(26,20,15,.7); line-height: 1.45; }
.contact-row strong { color: var(--ink); font-weight: 600; margin-bottom: 0.15rem; }
.contact-map { border-radius: 24px; overflow: hidden; min-height: 380px; box-shadow: 0 30px 55px -35px rgba(26,20,15,.5); border: 1px solid rgba(26,20,15,.06); }
.contact-map iframe { display: block; filter: saturate(1.05); min-height: 380px; }

/* =============== FOOTER =============== */
.footer-h { font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem; margin-bottom: 1rem; color: var(--ivory); }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(251,246,236,.72); font-size: 0.9rem; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--marigold); padding-left: 4px; }
.social {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(251,246,236,.06); color: var(--ivory); transition: all .25s;
}
.social:hover { background: var(--marigold); color: var(--ink); transform: translateY(-3px); }
.newsletter-input {
  flex: 1; padding: 0.7rem 0.9rem; border-radius: 12px; font-size: 0.88rem;
  background: rgba(251,246,236,.07); border: 1px solid rgba(251,246,236,.15); color: var(--ivory);
}
.newsletter-input::placeholder { color: rgba(251,246,236,.4); }
.newsletter-input:focus { outline: none; border-color: var(--marigold); }
.newsletter-btn {
  width: 46px; border-radius: 12px; background: var(--marigold); color: var(--ink);
  display: grid; place-items: center; transition: background .2s, transform .2s; flex-shrink: 0;
}
.newsletter-btn:hover { background: #ffb833; transform: translateX(2px); }

/* =============== MOBILE ACTION BAR =============== */
.mobile-bar {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 45;
  display: flex; justify-content: space-around; align-items: center;
  background: rgba(26,20,15,.96); backdrop-filter: blur(10px);
  padding: 0.5rem 0.4rem calc(0.5rem + env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px -12px rgba(0,0,0,.5);
}
.mbar-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  color: rgba(251,246,236,.7); font-size: 0.65rem; font-weight: 600;
  padding: 0.35rem 0.5rem; border-radius: 12px; transition: color .2s;
}
.mbar-item i { font-size: 1.1rem; }
.mbar-item:active { color: var(--marigold); }
.mbar-center {
  background: var(--marigold); color: var(--ink); transform: translateY(-14px);
  width: 58px; height: 58px; border-radius: 50%; justify-content: center; gap: 0.1rem;
  box-shadow: 0 12px 24px -8px rgba(244,165,33,.7);
}
.mbar-center i { font-size: 1.3rem; }
.mbar-center span { font-size: 0.58rem; }

/* =============== SCROLL REVEAL =============== */
.reveal, .reveal-scale {
  opacity: 0; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: var(--d, 0s); will-change: transform, opacity;
}
.reveal { transform: translateY(28px); }
.reveal-scale { transform: scale(.94); }
.reveal.in, .reveal-scale.in { opacity: 1; transform: none; }

/* =============== KEYFRAMES =============== */
@keyframes float-y { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse-ring { 0% { transform: scale(.7); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(8px); opacity: 0; } 100% { opacity: 0; } }

/* =============== ACCESSIBILITY =============== */
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal, .reveal-scale { opacity: 1 !important; transform: none !important; }
}
