/* =============================================
   Catering Website — Polished CSS + Multi-Theming
   Drop-in replacement for your current stylesheet.
   - Cleans up duplicate body backgrounds
   - Centralizes tokens
   - Adds 6 turnkey themes via [data-theme]
   - Improves a11y, focus states, and responsiveness
   ============================================= */

/* -------------------------
   1) Design Tokens (base)
   ------------------------- */
:root {
  /* Sizing */
  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, .25);

  /* Typography */
  --font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --leading-tight: 1.12;

  /* Color tokens (default = Golden Noir) */
  --bg: #0f0f0f;
  --bg2: #1c1917;
  --card: #262626;
  --text: #fef3c7;   /* soft gold */
  --muted: #d6d3d1;  /* stone */
  --brand: #facc15;  /* gold */
  --brand-2: #eab308;/* amber */
  --accent: #a855f7; /* royal purple */
  --danger: #dc2626; /* wine red */
  --ring: rgba(250, 204, 21, .55);

  /* Backdrops / overlays */
  --overlay-1: rgba(11, 15, 25, .84);
  --glass: rgba(255,255,255,.06);
  --glass-strong: rgba(0,0,0,.35);
}
/* FITS EVERYTHING TO SCREEN */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
html { overflow-anchor: none; }


iframe.form-embed {
  display: block;
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: hidden;
}

/* ----------
   2) Resets
   ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; transform: none !important; } /* ensure no root transforms */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background:
    linear-gradient(0deg, var(--overlay-1), var(--overlay-1)),
    url('https://images.unsplash.com/photo-1521337588520-64a28fd8c7fd?q=80&w=1920&auto=format&fit=crop') center/cover fixed;
}

img { max-width: 100%; height: auto; }
button, a { cursor: pointer; }

/* Focus visibility (a11y) */
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 12px;
}

/* Screen-reader utility */
.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;
}

/* -----------------------------
   3) Layout + Global Components
   ----------------------------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 25, .6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav { max-width: 1200px; margin: auto; display: flex; align-items: center; gap: 18px; padding: 14px 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .3px; }
.logo svg { width: 28px; height: 28px; }
.logo-img { height: 60px; width: auto; display: block; }
footer .logo .logo-img { height: 24px; }
.spacer { flex: 1; }

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
}
.nav a:hover { background: rgba(255,255,255,.06); color: var(--text); }

.cta {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #0b0f19 !important;
  padding: 10px 16px; border-radius: 12px; font-weight: 800;
  box-shadow: var(--shadow);
}

/* Sections */
section { display: none; }
section.active { display: block; }
.wrap { max-width: 1200px; margin: auto; padding: 40px 20px; }

/* Hero */
.hero { position: relative; min-height: 72vh; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(125,211,252,.15); border: 1px solid rgba(125,211,252,.35); color: #c7f9ff; padding: 8px 12px; border-radius: 999px; font-weight: 700; }
.headline { font-size: clamp(34px, 6vw, 60px); line-height: 1.02; margin: 18px 0; }
.sub { font-size: 18px; color: var(--muted); max-width: 56ch; }
.actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

.btn {
  border: 1px solid rgba(255,255,255,.12);
  padding: 12px 16px; border-radius: 12px; color: var(--text);
  text-decoration: none; font-weight: 700; background: rgba(255,255,255,.03);
}
.btn:hover { background: rgba(255,255,255,.07); }

.slideshow { position: relative; height: 460px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.08); }
.slide { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: 0; transition: opacity .8s ease; }
.slide.active { opacity: 1; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.0), rgba(0,0,0,.4)); }
.slide-caption { position: absolute; left: 18px; bottom: 18px; background: var(--glass-strong); backdrop-filter: blur(6px); padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.15); font-weight: 700; }

/* Feature cards */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card { grid-column: span 4; background: var(--card); border: 1px solid rgba(255,255,255,.08); padding: 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
.card h3 { margin: 6px 0 8px; line-height: var(--leading-tight); }
.icon { width: 28px; height: 28px; }

/* What we do */
.wwd { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.wwd .panel { background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.08); padding: 22px; border-radius: var(--radius); }
.chip { display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px; border-radius: 999px; border: 1px dashed rgba(255,255,255,.18); color: var(--muted); font-size: 13px; }

/* Forms pages */
.page { min-height: 70vh; }
.form-embed { width: 100%; height: 900px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: rgba(255,255,255,.03); }
.notice { background: rgba(134,239,172,.12); border: 1px solid rgba(134,239,172,.35); padding: 12px 14px; border-radius: 12px; color: #d2ffe1; margin: 12px 0; }

/* Testimonials */
.t-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.t { background: var(--card); border: 1px solid rgba(255,255,255,.08); padding: 18px; border-radius: var(--radius); }
.stars { letter-spacing: 2px; }

/* Footer */
footer { background: linear-gradient(0deg, rgba(255,255,255,.05), rgba(255,255,255,0)); border-top: 1px solid rgba(255,255,255,.1); }
.ft { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 20px; }
.small { font-size: 13px; color: var(--muted); }
.social a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); margin-right: 8px; text-decoration: none; color: var(--text); }

/* Utilities */
.kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: #a8b4e8; }
.title { font-size: clamp(26px, 5vw, 38px); margin: 0 0 6px; }
.muted { color: var(--muted); }
.sep { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); margin: 28px 0; }

/* Responsive */
@media (max-width: 980px){
  .hero { grid-template-columns: 1fr; gap: 12px; }
  .card { grid-column: span 6; }
  .t-wrap { grid-template-columns: 1fr; }
  .wwd { grid-template-columns: 1fr; }
  .ft { grid-template-columns: 1fr 1fr; }
  .form-embed { height: 1050px; }
}
@media (max-width: 620px){
  .card { grid-column: span 12; }
  .ft { grid-template-columns: 1fr; }
}

/* Simple fade-ins */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Section background helper */
.section-bg { position: relative; z-index: 0; }
.section-bg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(248,245,240,.9), rgba(248,245,240,.9)), url('https://www.transparenttextures.com/patterns/beige-paper.png') repeat, var(--bg-img) center/cover no-repeat;
  z-index: -1;
}

/* ------------------------
   4) Motion Preferences
   ------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: none; }
  .reveal { transition: none; }
}

/* =====================================================
   5) THEMES — switch with: <html data-theme="name">...
   ===================================================== */

/* 5.1 Golden Noir (default, dark luxe) */
:root,
:root[data-theme="golden-noir"] {
  --bg: #0f0f0f; --bg2: #1c1917; --card: #262626;
  --text: #fef3c7; --muted: #d6d3d1;
  --brand: #facc15; --brand-2: #eab308; --accent: #a855f7; --danger: #dc2626;
  --ring: rgba(250, 204, 21, .55);
  --overlay-1: rgba(11, 15, 25, .92);
}

/* Body wallpaper for Golden Noir */
:root[data-theme="golden-noir"] body,
:root body {
  background:
    radial-gradient(1200px 800px at 90% -10%, rgba(124,58,237,.20), transparent 60%),
    radial-gradient(1000px 700px at -10% 10%, rgba(34,211,238,.12), transparent 60%),
    linear-gradient(0deg, var(--overlay-1), var(--overlay-1)),
    url('https://images.unsplash.com/photo-1521337588520-64a28fd8c7fd?q=80&w=1920&auto=format&fit=crop') center/cover fixed;
}

/* 5.2 Garden Fresh (light, greens & herbals) */
:root[data-theme="garden-fresh"] {
  --bg: #f4f7f4; --bg2: #e8efe7; --card: #ffffff;
  --text: #1b3a2b; --muted: #4a5b50;
  --brand: #22c55e; --brand-2: #16a34a; --accent: #059669; --danger: #b91c1c;
  --ring: rgba(34,197,94,.5);
  --overlay-1: rgba(240, 248, 243, .84);
}
:root[data-theme="garden-fresh"] body {
  background:
    linear-gradient(0deg, var(--overlay-1), var(--overlay-1)),
    url('https://images.unsplash.com/photo-1505577058444-a3dab90d4253?q=80&w=1920&auto=format&fit=crop') center/cover fixed;
}
:root[data-theme="garden-fresh"] .nav a:hover,
:root[data-theme="garden-fresh"] .btn:hover { background: rgba(0,0,0,.06); }
:root[data-theme="garden-fresh"] .card,
:root[data-theme="garden-fresh"] .t { border-color: rgba(0,0,0,.06); box-shadow: var(--shadow-soft); }

/* 5.3 Coastal Breeze (light, sea salt & teal) */
:root[data-theme="coastal-breeze"] {
  --bg: #f5fbff; --bg2: #e6f3fb; --card: #ffffff;
  --text: #112235; --muted: #516a83;
  --brand: #38bdf8; --brand-2: #0ea5e9; --accent: #14b8a6; --danger: #be123c;
  --ring: rgba(56,189,248,.5);
  --overlay-1: rgba(238, 249, 255, .88);
}
:root[data-theme="coastal-breeze"] body {
  background:
    linear-gradient(0deg, var(--overlay-1), var(--overlay-1)),
    url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?q=80&w=1920&auto=format&fit=crop') center/cover fixed;
}

/* 5.4 Rose & Ivory (romantic events) */
:root[data-theme="rose-ivory"] {
  --bg: #fff9f9; --bg2: #fceff1; --card: #ffffff;
  --text: #3e2a2e; --muted: #71565b;
  --brand: #fb7185; --brand-2: #f43f5e; --accent: #d946ef; --danger: #b91c1c;
  --ring: rgba(244,63,94,.5);
  --overlay-1: rgba(255, 245, 246, .9);
}
:root[data-theme="rose-ivory"] body {
  background:
    linear-gradient(0deg, var(--overlay-1), var(--overlay-1)),
    url('https://images.unsplash.com/photo-1499636136210-6f4ee915583e?q=80&w=1920&auto=format&fit=crop') center/cover fixed;
}

/* 5.5 Minimal Light (clean corporate, neutral) */
:root[data-theme="minimal-light"] {
  --bg: #fafafa; --bg2: #f3f4f6; --card: #ffffff;
  --text: #0b1220; --muted: #6b7280;
  --brand: #111827; --brand-2: #374151; --accent: #1f2937; --danger: #b91c1c;
  --ring: rgba(17,24,39,.45);
  --overlay-1: rgba(253, 253, 253, .86);
}
:root[data-theme="minimal-light"] body {
  background:
    linear-gradient(0deg, var(--overlay-1), var(--overlay-1)),
    url('https://images.unsplash.com/photo-1523275335684-37898b6baf30?q=80&w=1920&auto=format&fit=crop') center/cover fixed;
}

/* 5.6 Autumn Harvest (warm, festive) */
:root[data-theme="autumn-harvest"] {
  --bg: #1b100b; --bg2: #2a1a12; --card: #2f221c;
  --text: #ffe7cc; --muted: #d9c3ad;
  --brand: #fb923c; --brand-2: #f97316; --accent: #d97706; --danger: #ef4444;
  --ring: rgba(251,146,60,.55);
  --overlay-1: rgba(20, 12, 8, .9);
}
:root[data-theme="autumn-harvest"] body {
  background:
    radial-gradient(1000px 700px at 90% -10%, rgba(249,115,22,.25), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(217,119,6,.18), transparent 60%),
    linear-gradient(0deg, var(--overlay-1), var(--overlay-1)),
    url('https://images.unsplash.com/photo-1448043552756-e747b7a2e18f?q=80&w=1920&auto=format&fit=crop') center/cover fixed;
}

/* Ensure component contrast adapts per theme */
[data-theme="garden-fresh"] .btn,
[data-theme="coastal-breeze"] .btn,
[data-theme="rose-ivory"] .btn,
[data-theme="minimal-light"] .btn { border-color: rgba(0,0,0,.08); }

/* ----------------------------------------------
   6) Optional: subtle card hover lift (safe)
   ---------------------------------------------- */
.card { transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(0,0,0,.32); }

/* Default (works for golden-noir as well) */
:root { --section-veil: rgba(0,0,0,.65); }

/* Dark themes = dark veil */
:root[data-theme="golden-noir"]   { --section-veil: rgba(0,0,0,.65); }
:root[data-theme="autumn-harvest"]{ --section-veil: rgba(0,0,0,.60); }

/* Light themes = light veil */
:root[data-theme="garden-fresh"]  { --section-veil: rgba(255,255,255,.55); }
:root[data-theme="coastal-breeze"]{ --section-veil: rgba(255,255,255,.55); }
:root[data-theme="rose-ivory"]    { --section-veil: rgba(255,255,255,.60); }
:root[data-theme="minimal-light"] { --section-veil: rgba(255,255,255,.60); }

/* Replace the beige paper overlay with a theme-driven veil + your image */
.section-bg::before{
  background:
    linear-gradient(0deg, var(--section-veil), var(--section-veil)),
    var(--bg-img) center/cover no-repeat !important;
}
/* Brand/logo sizing */
.brand-logo {
  max-height: 140px;
  width: auto;
  display: block;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  max-height: 100px;
  width: auto;
  display: block;
  background: transparent; 
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 620px) {
  .brand-logo { max-height: 48px; }
}

/* ======================
   Extra Animations
   ====================== */
/* (no body animation here — avoids breaking position: fixed) */


@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Glow pulse on CTA buttons */
.cta { position: relative; overflow: hidden; }
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,.3), transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.cta:hover::after { opacity: 1; }

/* Fade-up cards on hover */
.card { transform: translateY(0); transition: transform .3s ease, box-shadow .3s ease; }
.card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 50px rgba(0,0,0,.35); }

/* Slide-in panels */
.panel { opacity: 0; transform: translateX(40px); transition: all .6s ease; }
.panel.visible { opacity: 1; transform: none; }

/* Gallery hover zoom */
#gallery .card { transition: transform .4s ease, filter .4s ease; }
#gallery .card:hover { transform: scale(1.05); filter: brightness(1.15); }

/* Our Work Page Animations */
#gallery .card {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: opacity .6s ease, transform .6s ease;
}
#gallery .card.visible { opacity: 1; transform: none; }
#gallery .card:hover {
  transform: scale(1.05) rotate3d(1, 1, 0, 3deg);
  filter: brightness(1.1);
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
}

/* Mobile gallery grid */
@media (max-width: 768px) {
  #gallery .grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
  #gallery .card { grid-column: span 1 !important; height: 200px !important; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid .card { grid-column: span 1; height: 200px; }
}

section.active { animation: fadeSectionIn 0.6s ease; }
@keyframes fadeSectionIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; } /* clamp to valid 1 */
}

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

/* Ultra small phones */
@media (max-width: 420px) { .nav { padding: 10px 12px; } }

/* ===== Mobile Fancy Dropdown Nav ===== */
:root { --gold: #d4af37; --gold-2: #f1d27a; }

.nav-dd { display:none; position:relative; margin-left:auto; }
.nav-dd__button{
  display:flex; align-items:center; gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(212,175,55,.6);
  background: radial-gradient(120% 120% at 10% 0%, rgba(241,210,122,.25), rgba(212,175,55,.12) 50%, rgba(0,0,0,.15) 100%);
  color: var(--gold);
  backdrop-filter: blur(8px);
  font-weight:800; letter-spacing:.2px;
  cursor:pointer;
}
.nav-dd__icon{ display:inline-flex; color: var(--gold); }
.nav-dd__label{ color: var(--gold-2); }

.nav-dd__menu{
  list-style:none;
  padding:8px;
  margin:8px 0 0 0;
  position:absolute;
  right:0; top:100%;
  min-width: min(92vw, 360px);
  background: linear-gradient(180deg, rgba(22,16,6,.96), rgba(12,9,4,.96));
  border:1px solid rgba(212,175,55,.35);
  border-radius:16px;
  box-shadow: 0 18px 46px rgba(0,0,0,.45);
  transform-origin: 90% 0%;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: transform .25s, opacity .2s;
}
.nav-dd[data-open="true"] .nav-dd__menu{ display: block; opacity: 1; pointer-events: auto; transform: none; }

/* Anchors inside dropdown */
.nav-dd__menu li a{
  display:flex; align-items:center; gap:10px; width:100%;
  padding:12px 12px; border-radius:12px; color: #f9f3df; text-decoration: none;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.06);
  margin: 4px 0; cursor: pointer; animation: dd-stagger .28s ease forwards;
}
.nav-dd__menu li a:hover{
  background: linear-gradient(180deg, rgba(212,175,55,.25), rgba(212,175,55,.12));
  color: var(--gold-2); border-color: rgba(212,175,55,.55);
}

/* Show gold dropdown only on mobile; hide desktop links */
@media (max-width: 900px) {
  .nav .nav-links { display: none !important; }
  .nav-dd { display: block; }
  .nav { gap: 10px; padding: 12px 14px; }
}
.nav-dd__menu { z-index: 1000; }

/* Contact section layout */
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.contact-info { grid-column: span 7; order: 1; }
.contact-map  { grid-column: span 5; order: 2; }

@media (max-width: 768px) {
  .contact-info, .contact-map { grid-column: span 12 !important; }
  .contact-info { order: 1; }
  .contact-map  { order: 2; }
}

/* Cascade keyframes */
@keyframes dd-stagger { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.nav-dd[data-open="true"] .nav-dd__menu li a { opacity: 0; animation: dd-stagger 0.28s ease forwards; }
.nav-dd[data-open="true"] .nav-dd__menu li:nth-child(1) a { animation-delay: 0.05s; }
.nav-dd[data-open="true"] .nav-dd__menu li:nth-child(2) a { animation-delay: 0.10s; }
.nav-dd[data-open="true"] .nav-dd__menu li:nth-child(3) a { animation-delay: 0.15s; }
.nav-dd[data-open="true"] .nav-dd__menu li:nth-child(4) a { animation-delay: 0.20s; }
.nav-dd[data-open="true"] .nav-dd__menu li:nth-child(5) a { animation-delay: 0.25s; }

/* Box pop */
@keyframes dd-box { from { opacity: 0; transform: scale(0.95) translateY(-6px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.nav-dd[data-open="true"] .nav-dd__menu { display: block; pointer-events: auto; animation: dd-box 0.25s ease forwards; }
.nav-dd[data-open="true"] .nav-dd__menu li:nth-child(1) a { animation-delay: 0.10s; }
.nav-dd[data-open="true"] .nav-dd__menu li:nth-child(2) a { animation-delay: 0.20s; }
.nav-dd[data-open="true"] .nav-dd__menu li:nth-child(3) a { animation-delay: 0.30s; }
.nav-dd[data-open="true"] .nav-dd__menu li:nth-child(4) a { animation-delay: 0.40s; }
.nav-dd[data-open="true"] .nav-dd__menu li:nth-child(5) a { animation-delay: 0.50s; }

/* Logo click animation */
@keyframes logo-bounce {
  0% { transform: scale(1) rotate(0); }
  30% { transform: scale(1.15) rotate(-3deg); }
  60% { transform: scale(0.95) rotate(3deg); }
  100% { transform: scale(1) rotate(0); }
}
.brand-logo.animate, .brand-name.animate { animation: logo-bounce 0.6s ease; }

/* Page load fade-in + slide-up */
.page-wrapper {
  opacity: 0; transform: translateY(20px);
  animation: pageFadeIn 1s ease forwards;
}
@keyframes pageFadeIn { to { opacity: 1; transform: none; } }

/* Floating Contact Us button (mobile) */
.sticky-contact {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #0b0f19;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  text-decoration: none;
  z-index: 9999;
  opacity: 0;
  animation: fadeContact 1s ease forwards;
  animation-delay: 1s;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
          transform: translateZ(0);
}

/* Mobile only */
@media (min-width: 901px) {
  .sticky-contact { display: none; }
}

@keyframes fadeContact {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}


/* Bounce animation on click */
@keyframes button-bounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(0.85); }
  50%  { transform: scale(1.15); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.sticky-contact.bouncing {
  animation: button-bounce 0.45s ease forwards;
}


/* Testimonials fade-in */
.t {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.t.visible {
  opacity: 1;
  transform: none;
}

/* Testimonials stagger fade-in */
.t {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.t.visible {
  opacity: 1;
  transform: none;
}

/* Star hover animation */
@keyframes star-twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); color: var(--brand); }
  25% { transform: scale(1.2) rotate(-10deg); color: var(--brand-2); }
  50% { transform: scale(0.9) rotate(10deg); color: var(--accent); }
  75% { transform: scale(1.1) rotate(-5deg); color: var(--brand); }
}

.t:hover .stars {
  display: inline-block;
  animation: star-twinkle 0.8s ease-in-out;
}