/* Caribbean Paradise Restaurant — shared stylesheet
   Palette + fonts mirror the live caribbeanparadiserestaurant.ca brand.
   Mobile-first, WCAG AA contrast, prefers-reduced-motion aware. */

:root {
  --cp-primary:       #CF392B;   /* brand red — hero, headings, identity */
  --cp-primary-dark:  #8C1E16;
  --cp-accent:        #FF9C0B;   /* brand orange — buttons + CTAs */
  --cp-accent-dark:   #D87E04;
  --cp-soft-cream:    #F2E9D1;   /* dish-table backdrop */
  --cp-deep-ink:      #2A1A0A;   /* contrast text on cream */
  --cp-blue:          #436EBF;   /* secondary blue */
  --cp-green:         #23A455;
  --cp-gold:          #E9B949;
  --cp-ink:           #191919;
  --cp-muted:         #555;
  --cp-bg:            #FFF8F0;   /* warm cream page background */
  --cp-card:          #ffffff;
  --cp-line:          #f0e0c8;
  --radius:      12px;
  --max:         1200px;
  --shadow:      0 4px 20px rgba(0,0,0,.08);
  --font-head:  "Josefin Sans", Georgia, serif;
  --font-body:  "Roboto", "Josefin Sans", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--cp-ink);
  background: var(--cp-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--cp-ink); font-weight: 600; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; color: var(--cp-muted); }

a { color: var(--cp-primary); text-decoration: underline; text-underline-offset: 2px; }
a:hover, a:focus { color: var(--cp-accent); }
a:focus-visible { outline: 3px solid var(--cp-accent); outline-offset: 2px; border-radius: 2px; }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--cp-ink); color: #fff; padding: .75rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,243,237,.97);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--cp-line);
}
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(to right, var(--cp-primary) 0 33.3%, var(--cp-gold) 33.3% 66.6%, var(--cp-green) 66.6% 100%);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--cp-ink); font-weight: 700; font-family: var(--font-head); font-size: 1.15rem; }
.brand__logo { width: 48px; height: 48px; object-fit: contain; display: block; }
.brand__mark { width: 40px; height: 40px; border-radius: 50%; background: var(--cp-primary); color: #fff; display: grid; place-items: center; font-weight: 800; }
.nav-toggle { background: none; border: 2px solid var(--cp-ink); border-radius: 8px; padding: .5rem .75rem; cursor: pointer; font-size: 1rem; font-family: var(--font-body); }
.nav-toggle[aria-expanded="true"] { background: var(--cp-ink); color: #fff; }

.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; align-items: center; }
.primary-nav a { color: var(--cp-ink); text-decoration: none; font-weight: 500; padding: .4rem .25rem; position: relative; font-family: var(--font-body); }
.primary-nav a[aria-current="page"] { color: var(--cp-primary); }
.primary-nav a[aria-current="page"]::after { content:""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--cp-accent); }
.primary-nav li.has-sub { position: relative; }
/* Submenu — hover OR .is-open class (JS-driven for tap/keyboard) */
.primary-nav .has-sub { position: relative; }
.primary-nav .has-sub > a {
  padding: .4rem .5rem .9rem .25rem;   /* extra bottom creates hover-bridge zone */
  cursor: pointer;
}
.primary-nav .has-sub > a::before {
  /* invisible hit-pad below parent link that keeps hover alive while moving to submenu */
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 12px;
}
.primary-nav .submenu {
  position: absolute;
  top: 100%; left: 0;
  margin-top: 6px;
  padding: .75rem .5rem;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  min-width: 230px;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.primary-nav .has-sub:hover > .submenu,
.primary-nav .has-sub:focus-within > .submenu,
.primary-nav .has-sub.is-open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
}
/* Visual pointer triangle connecting parent link to submenu card */
.primary-nav .submenu::before {
  content: "";
  position: absolute;
  top: -6px; left: 18px;
  width: 12px; height: 12px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgba(0,0,0,.06);
}
.primary-nav .submenu li { display: block; }
.primary-nav .submenu a { display: block; padding: .5rem .75rem; border-radius: 6px; }
.primary-nav .submenu a:hover { background: var(--cp-bg); }

@media (max-width: 820px) {
  /* Header row — brand left, toggle right, both on one tidy line */
  .nav-wrap {
    flex-wrap: wrap;
    padding: .6rem 0;
    row-gap: .5rem;
  }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand span { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand__logo { width: 40px; height: 40px; }

  .nav-toggle { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: 10px; flex-shrink: 0; }
  .nav-toggle::after { content: "☰"; font-size: 1.1rem; line-height: 1; }
  .nav-toggle[aria-expanded="true"]::after { content: "✕"; }

  /* Menu panel (collapsed by default) */
  .primary-nav {
    display: none;
    width: 100%;
    border-top: 1px solid var(--cp-line);
    margin-top: .5rem;
  }
  .primary-nav.is-open { display: block; padding: .75rem 0 1rem; }
  .primary-nav ul { flex-direction: column; gap: 0; align-items: stretch; }
  .primary-nav li { border-bottom: 1px solid var(--cp-line); }
  .primary-nav li:last-child { border-bottom: 0; }
  .primary-nav a {
    display: flex;
    align-items: center;
    padding: 1rem .25rem;
    font-size: 1.05rem;
    min-height: 48px;     /* WCAG touch-target */
  }

  /* Parent of submenu — add caret indicator that rotates when open */
  .primary-nav .has-sub > a { position: relative; padding-right: 2.5rem; }
  .primary-nav .has-sub > a::after {
    content: "";
    position: absolute;
    right: .5rem; top: 50%;
    width: 10px; height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-75%) rotate(45deg);
    transition: transform .25s ease;
  }
  .primary-nav .has-sub > a::before { display: none; }  /* disable desktop hover-bridge */
  .primary-nav .has-sub.is-open > a::after { transform: translateY(-25%) rotate(-135deg); }

  /* Submenu — collapsible accordion on mobile */
  .primary-nav .submenu {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin: 0;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height .28s ease, padding .28s ease;
    max-height: 0;
    overflow: hidden;
    border-left: 3px solid var(--cp-primary);
    margin-left: .5rem;
  }
  .primary-nav .submenu::before { display: none; }
  .primary-nav .has-sub.is-open > .submenu {
    max-height: 400px;
    padding: .25rem 0 .5rem 1.25rem;
  }
  .primary-nav .submenu li { border-bottom: 0; }
  .primary-nav .submenu a {
    padding: .7rem .5rem;
    font-size: .95rem;
    color: var(--cp-muted);
    min-height: 44px;
  }
  .primary-nav .submenu a:hover,
  .primary-nav .submenu a:focus { color: var(--cp-primary); }

  /* Reserve button full-width */
  .primary-nav .btn-primary {
    width: 100%;
    margin-top: .9rem;
    text-align: center;
    padding: .9rem 1rem !important;
    display: inline-flex; justify-content: center; align-items: center;
    min-height: 50px;
  }

  /* Language switcher — centered below the nav */
  .lang-switcher {
    margin: .75rem 0 0;
    align-self: stretch;
    justify-content: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 480px) {
  .brand span { font-size: .95rem; }
  .site-header { font-size: .95rem; }
}
@media (min-width: 821px) { .nav-toggle { display: none; } }

/* ---------- Buttons (3D raised) ---------- */
.btn {
  display: inline-block;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), box-shadow .18s ease, background .18s ease;
  font-family: var(--font-body);
  font-size: 1rem;
  position: relative;
}
.btn-primary {
  background: linear-gradient(180deg, #FFAE32 0%, #FF9C0B 55%, #D87E04 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    0 4px 0 #A66100,
    0 10px 22px rgba(255,156,11,.4);
}
.btn-primary:hover, .btn-primary:focus {
  color:#fff;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 6px 0 #A66100,
    0 16px 30px rgba(255,156,11,.5);
}
.btn-primary:active {
  transform: translateY(2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.25),
    0 1px 0 #A66100,
    0 4px 10px rgba(255,156,11,.35);
}
.btn-outline { background: transparent; color: var(--cp-ink); border-color: var(--cp-ink); box-shadow: 0 2px 0 rgba(0,0,0,.15); }
.btn-outline:hover, .btn-outline:focus { background: var(--cp-ink); color: #fff; transform: translateY(-2px); box-shadow: 0 5px 0 rgba(0,0,0,.25); }
.btn-blue {
  background: linear-gradient(180deg, #5A86D4 0%, #436EBF 55%, #2E4F8F 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 0 #1F3768, 0 10px 22px rgba(67,110,191,.35);
}
.btn-blue:hover { color:#fff; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 6px 0 #1F3768, 0 16px 30px rgba(67,110,191,.45); }

/* ---------- Hero (all pages) — brand red #CF392B ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(255,255,255,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(140,30,22,.55) 0%, transparent 55%),
    linear-gradient(135deg, #A82A1F 0%, #CF392B 50%, #8C1E16 100%);
  color: #fff;
  padding: 5rem 0 7rem;
  overflow: hidden;
  isolation: isolate;
}

/* Themed photo backdrop per page — blended into the brand red */
.hero[data-feature] {
  background-image:
    radial-gradient(ellipse at 85% 15%, rgba(255,255,255,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(140,30,22,.6) 0%, transparent 55%),
    linear-gradient(135deg, rgba(168,42,31,.88) 0%, rgba(207,57,43,.82) 50%, rgba(140,30,22,.92) 100%),
    var(--feature-img);
  background-size: cover, cover, cover, cover;
  background-position: center;
  background-blend-mode: normal, normal, multiply, normal;
}

/* Feature image per page (set via data-feature attr) */
.hero[data-feature="menu"]      { --feature-img: url('/assets/images/Menu_final.webp'); }
.hero[data-feature="catering"]  { --feature-img: url('/assets/images/banner.webp'); }
.hero[data-feature="hall"]      { --feature-img: url('/assets/images/PaRTY_HALL_mONTREAL-min.webp'); }
.hero[data-feature="weddings"]  { --feature-img: url('/assets/images/Montreal-Wedding-Venue.webp'); }
.hero[data-feature="events"]    { --feature-img: url('/assets/images/Events-At-Caribbean-paradise.webp'); }
.hero[data-feature="about"]     { --feature-img: url('/assets/images/banner2-min.webp'); }
.hero[data-feature="reviews"]   { --feature-img: url('/assets/images/Caribbean_Paradise_Restaurant_Entertainment-min.webp'); }
.hero[data-feature="contact"]   { --feature-img: url('/assets/images/Caribbean_paradise_restaurant_montreal-min.webp'); }

/* Contact — unique warm Caribbean treatment with sunset-style gradient + dual decoration */
.hero[data-feature="contact-warm"] {
  --feature-img: url('/assets/images/Caribbean_Entertainment_Montreal-min.webp');
  background-image:
    /* sunset orange glow from top */
    radial-gradient(ellipse at 50% -10%, rgba(255,192,100,.45) 0%, transparent 55%),
    /* warm gold shimmer bottom-right */
    radial-gradient(ellipse at 90% 90%, rgba(233,185,73,.35) 0%, transparent 55%),
    /* red overlay blended into photo */
    linear-gradient(135deg, rgba(181,35,32,.82) 0%, rgba(154,30,28,.88) 100%),
    var(--feature-img);
  background-size: cover, cover, cover, cover;
  background-position: center;
  background-blend-mode: normal, normal, multiply, normal;
}
/* Extra tropical palm fronds on contact hero */
.hero[data-feature="contact-warm"]::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><g transform='translate(120 120)'><g fill='%23FFE08A' fill-opacity='0.2' stroke='%23FFE08A' stroke-opacity='0.3' stroke-width='1.5'><path d='M0 -90 Q 30 -50 0 -10 Q -30 -50 0 -90 Z'/><path d='M70 -50 Q 90 -20 55 10 Q 30 -20 70 -50 Z' transform='rotate(45)'/><path d='M70 -50 Q 90 -20 55 10 Q 30 -20 70 -50 Z' transform='rotate(135)'/><path d='M70 -50 Q 90 -20 55 10 Q 30 -20 70 -50 Z' transform='rotate(225)'/><path d='M70 -50 Q 90 -20 55 10 Q 30 -20 70 -50 Z' transform='rotate(315)'/><circle r='8' fill='%23436EBF' fill-opacity='0.5'/></g></g></svg>");
  width: 240px; height: 240px; top: -40px; right: -40px;
}
/* Tropical leaf pattern overlay on every hero */
.hero::before {
  content:"";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280' viewBox='0 0 280 280'><g fill='none' stroke='%23E9B949' stroke-width='1.4' stroke-opacity='0.13'><path d='M20 240 Q50 160 110 140 Q170 120 190 60'/><ellipse cx='90' cy='180' rx='28' ry='5' transform='rotate(-30 90 180)' fill='%23E9B949' fill-opacity='0.09'/><ellipse cx='140' cy='110' rx='24' ry='5' transform='rotate(-15 140 110)' fill='%23E9B949' fill-opacity='0.09'/><path d='M230 40 Q220 100 180 120'/><ellipse cx='200' cy='80' rx='20' ry='4' transform='rotate(60 200 80)' fill='%23E9B949' fill-opacity='0.07'/></g></svg>");
  background-size: 320px;
  background-repeat: repeat;
  pointer-events: none;
}
/* Hibiscus corner accent (top-right, subtle) */
.hero::after {
  content:"";
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g transform='translate(100 100)' fill='%23E9B949' fill-opacity='0.16'><ellipse cx='0' cy='-60' rx='28' ry='52'/><ellipse cx='57' cy='-19' rx='28' ry='52' transform='rotate(72)'/><ellipse cx='35' cy='49' rx='28' ry='52' transform='rotate(144)'/><ellipse cx='-35' cy='49' rx='28' ry='52' transform='rotate(216)'/><ellipse cx='-57' cy='-19' rx='28' ry='52' transform='rotate(288)'/><circle r='14' fill='%23FFE08A' fill-opacity='0.55'/></g></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite;
}
.hero__inner { position: relative; max-width: 720px; z-index: 2; }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,.4); }
.hero h1 .accent {
  background: linear-gradient(180deg, #FFE896 0%, #F8D478 40%, #E9B949 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
.hero p  { color: rgba(255,255,255,.95); font-size: 1.15rem; }
.hero__cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; position: relative; z-index: 2; }

/* Breadcrumb inside hero — gold */
.hero [aria-label="Breadcrumb"] { color: rgba(255,224,138,.95) !important; position: relative; z-index: 2; }
.hero [aria-label="Breadcrumb"] a { color: inherit !important; }

/* Curvy wave at bottom of every inner hero */
.hero:not(.hero--home)::before {
  /* keep leaf pattern as ::before, waves via bottom SVG on section */
}
.hero-wave-bottom {
  position: absolute; left: 0; right: 0; bottom: -1px;
  width: 100%; height: 80px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'><path d='M0 0 C200 70 400 80 600 40 C800 0 1000 0 1200 50 L1200 80 L0 80 Z' fill='%23F7F3ED'/></svg>") bottom/100% 100% no-repeat;
  pointer-events: none;
  z-index: 1;
}

/* Homepage hero — warm Caribbean palette matching brand logo (red + gold) */
.hero--home {
  padding: 5rem 0 6rem;
  background:
    radial-gradient(ellipse at 85% 10%, rgba(255,255,255,.22) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 90%, rgba(140,30,22,.55) 0%, transparent 55%),
    linear-gradient(135deg, #A82A1F 0%, #CF392B 45%, #8C1E16 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
/* Tropical leaf pattern overlay — Caribbean flavor */
.hero--home .container::before {
  content:"";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'><g fill='none' stroke='%23E9B949' stroke-width='1.5' stroke-opacity='0.14'><path d='M20 260 Q50 180 110 160 Q170 140 190 80'/><path d='M40 280 Q70 220 120 210'/><ellipse cx='90' cy='200' rx='30' ry='6' transform='rotate(-35 90 200)' fill='%23E9B949' fill-opacity='0.1'/><ellipse cx='140' cy='130' rx='28' ry='5' transform='rotate(-20 140 130)' fill='%23E9B949' fill-opacity='0.1'/><ellipse cx='180' cy='95' rx='25' ry='5' transform='rotate(-10 180 95)' fill='%23E9B949' fill-opacity='0.1'/><path d='M250 40 Q240 100 200 120' stroke-opacity='0.1'/><ellipse cx='220' cy='80' rx='22' ry='5' transform='rotate(60 220 80)' fill='%23E9B949' fill-opacity='0.08'/></g></svg>");
  background-size: 360px;
  background-repeat: repeat;
  opacity: .9;
  pointer-events: none;
  z-index: 0;
}
/* Decorative hibiscus-like accent top-left */
.hero--home .container::after {
  content:"";
  position: absolute;
  top: -40px; left: -80px;
  width: 280px; height: 280px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g transform='translate(100 100)'><g fill='%23E9B949' fill-opacity='0.18'><ellipse cx='0' cy='-60' rx='28' ry='52'/><ellipse cx='57' cy='-19' rx='28' ry='52' transform='rotate(72)'/><ellipse cx='35' cy='49' rx='28' ry='52' transform='rotate(144)'/><ellipse cx='-35' cy='49' rx='28' ry='52' transform='rotate(216)'/><ellipse cx='-57' cy='-19' rx='28' ry='52' transform='rotate(288)'/><circle r='12' fill='%23436EBF' fill-opacity='0.4'/></g></g></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
  animation: drift 12s ease-in-out infinite;
}
@keyframes drift {
  0%,100% { transform: rotate(0) translate(0,0); }
  50% { transform: rotate(8deg) translate(10px,-10px); }
}
.hero--home::before { display: none; }
.hero--home::after {
  content:"";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--cp-bg));
  pointer-events: none; z-index: 1;
}
.hero--home .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative; z-index: 2;
}
.hero--home .hero__inner, .hero--home .hero__media { position: relative; z-index: 2; }
.hero--home .hero__inner { max-width: none; text-align: left; margin: 0; }
.hero--home .hero__cta { justify-content: flex-start; }
.hero--home h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.hero--home h1 .accent {
  color: #FFE08A;
  font-style: italic;
  background: linear-gradient(180deg, #FFE896 0%, #F8D478 40%, #E9B949 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 30px rgba(255,224,138,.5);
  position: relative;
  display: inline-block;
}
.hero--home h1 .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--cp-gold) 30%, var(--cp-gold) 70%, transparent);
  border-radius: 3px;
  opacity: .6;
}
.hero--home p { color: rgba(255,255,255,.88); font-size: 1.08rem; max-width: 520px; }
.hero--home .hero__features {
  margin-top: 2rem;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  letter-spacing: .03em;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.15);
  display: inline-block;
}

.hero__eyebrow {
  color: var(--cp-gold);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.hero__eyebrow::before { content:""; width:36px; height:2px; background: var(--cp-gold); display:inline-block; }

/* Photo showcase card with tilt + gold frame */
.hero__media {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 460px;
  margin-left: auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
  transform: rotate(1.5deg);
  transition: transform .5s ease;
}
.hero__media:hover { transform: rotate(0); }
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
}
.hero__frame {
  position: absolute;
  inset: -18px -18px 18px 18px;
  border: 2px solid var(--cp-gold);
  border-radius: 16px;
  z-index: -1;
  pointer-events: none;
  transform: rotate(-3deg);
}
.hero__tag {
  position: absolute;
  bottom: 20px; left: 20px; right: 20px;
  background: rgba(255,255,255,.97);
  color: var(--cp-ink);
  padding: .8rem 1.1rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
}
.hero__tag strong {
  color: var(--cp-primary);
  display: block;
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: .15rem;
}

@media (max-width: 820px) {
  .hero--home { padding: 3rem 0 4rem; }
  .hero--home .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { max-width: 100%; margin: 0 auto; transform: none; aspect-ratio: 4/3; }
  .hero__frame { inset: -10px; transform: none; }
}

/* Feature hero — inner pages get their own image backdrop */
.hero--feature {
  min-height: 44vh;
  display: flex;
  align-items: center;
  padding: 4rem 0 3.5rem;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero--feature::before {
  content:"";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(67,110,191,.85) 0%, rgba(25,25,25,.65) 100%);
}
.hero--feature .hero__inner { max-width: 820px; z-index: 2; }

.hero--menu      { background-image: url('../images/Menu_final.jpg'); }
.hero--catering  { background-image: url('../images/banner.jpg'); }
.hero--hall      { background-image: url('../images/PaRTY_HALL_mONTREAL-min.jpg'); }
.hero--weddings  { background-image: url('../images/Montreal-Wedding-Venue.jpg'); }
.hero--events    { background-image: url('../images/Events-At-Caribbean-paradise.jpg'); }
.hero--about     { background-image: url('../images/Rob_and_babita_caribbean_paradise_owners-min.jpg'); }
.hero--reviews   { background-image: url('../images/Caribbean_Paradise_Restaurant_Entertainment-min.jpg'); }
.hero--contact   { background-image: url('../images/Caribbean_paradise_restaurant_montreal-min.jpg'); }

/* ==========================================================
   SIGNATURE DISHES — gorgeous plate-on-table presentation
   ========================================================== */

/* The "table" — light blue backdrop matching brand */
.dish-table {
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,.5) 0%, transparent 70%),
    linear-gradient(135deg, #F8F1DD 0%, #F2E9D1 50%, #E8DCBA 100%);
  background-size: cover;
  border-radius: 32px;
  padding: 3.5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 4px 20px rgba(0,0,0,.05), 0 30px 80px rgba(207,57,43,.12);
}
.dish-table::before,
.dish-table::after {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><g fill='none' stroke='%2323A455' stroke-width='2' stroke-opacity='0.4'><path d='M50 180 Q60 120 100 100 Q140 80 150 30 M80 180 Q90 130 130 120' /><ellipse cx='100' cy='100' rx='40' ry='8' transform='rotate(-30 100 100)' fill='%2323A455' fill-opacity='0.35'/><ellipse cx='125' cy='70' rx='35' ry='7' transform='rotate(-15 125 70)' fill='%2323A455' fill-opacity='0.35'/></g></svg>");
  background-repeat: no-repeat;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}
.dish-table::before { top: -60px; left: -60px; transform: rotate(15deg); }
.dish-table::after  { bottom: -60px; right: -60px; transform: rotate(-160deg); }

.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem 2rem;
  perspective: 1400px;
  position: relative;
  z-index: 1;
}
/* Each dish is a transparent card — plate sits directly on the "table" */
.dish {
  background: transparent;
  border: none;
  padding: 0 0 2rem;
  text-align: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.dish:hover { transform: translateY(-10px); }

/* Sticker badge floating above the plate — readable on light blue table */
.dish__badge {
  position: absolute;
  top: -30px; right: 6%;
  background: #fff;
  color: var(--cp-primary);          /* brand orange text on white */
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .55rem 1.1rem;
  border-radius: 999px;
  transform: rotate(6deg);
  border: 2px solid var(--cp-primary);
  box-shadow:
    0 4px 0 rgba(0,0,0,.12),
    0 8px 18px rgba(26,65,128,.18),
    0 16px 32px rgba(26,65,128,.12);
  z-index: 5;
  white-space: nowrap;
}
.dish__badge--gold {
  color: #8a6315;
  border-color: var(--cp-gold);
  background: linear-gradient(180deg, #fff 0%, #fff8e3 100%);
}
.dish__badge--green {
  color: #156a37;
  border-color: var(--cp-green);
  background: linear-gradient(180deg, #fff 0%, #ecf9f1 100%);
}

/* Large ceramic plate visible behind a smaller centered food image */
.dish__plate {
  --plate-size: 320px;
  width: var(--plate-size);
  height: var(--plate-size);
  max-width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto 2.5rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, #ffffff 0%, #ffffff 60%, #f1ece1 100%);
  box-shadow:
    inset 0 6px 14px rgba(255,255,255,.95),
    inset 0 0 0 1px rgba(0,0,0,.04),
    inset 0 -16px 30px rgba(0,0,0,.06),
    0 10px 14px rgba(0,0,0,.14),
    0 36px 55px rgba(0,0,0,.25);
  display: grid;
  place-items: center;
  position: relative;
  transform: translateZ(30px);
  transition: transform .55s cubic-bezier(.2,.7,.3,1);
}
.dish:hover .dish__plate { transform: translateZ(55px) rotateZ(-4deg); }

/* subtle inner rim ring on the plate so it reads as ceramic */
.dish__plate::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.07);
  pointer-events: none;
  z-index: 1;
}

/* (rim styles defined inline above) */
/* Floor shadow that stays put when plate lifts */
.dish__plate-shadow {
  position: absolute;
  left: 50%; bottom: -8px;
  width: 78%; height: 28px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.25) 0%, transparent 70%);
  transform: translateX(-50%);
  filter: blur(6px);
  transition: opacity .45s ease, width .45s ease;
  opacity: .9;
  z-index: -1;
}
.dish:hover .dish__plate-shadow { opacity: .55; width: 62%; }

/* Food image — IDENTICAL size + shape for all 3 dishes (cover-cropped circle).
   72% of plate width so the white plate rim shows around each image uniformly. */
.dish__plate img {
  width: 72%;
  height: 72%;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  filter:
    drop-shadow(0 8px 14px rgba(0,0,0,.22))
    drop-shadow(0 3px 6px rgba(0,0,0,.12))
    saturate(1.12) contrast(1.05);
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
  position: relative;
  z-index: 2;
}
.dish:hover .dish__plate img { transform: scale(1.12) rotate(-4deg); }

.dish h3 {
  font-size: 1.85rem;
  margin: 2.25rem 0 .75rem;
  color: var(--cp-primary);       /* brand red on cream — strong identity + WCAG AAA */
  font-weight: 700;
  letter-spacing: .01em;
  position: relative;
  display: inline-block;
  padding-bottom: .6rem;
  z-index: 4;
}
.dish h3::after {
  content:"";
  position: absolute;
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  width: 70px; height: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 8'><path d='M0 4 Q17.5 0 35 4 T70 4' fill='none' stroke='%23E9B949' stroke-width='2.5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
.dish p {
  font-size: 1rem;
  color: var(--cp-deep-ink);
  margin: 1rem 0 0;
  opacity: .8;
}

@media (max-width: 820px) {
  .dish__plate { --plate-size: 260px; }
  .dish-grid { perspective: none; gap: 2.5rem 1.5rem; }
  .dish:hover { transform: translateY(-8px); }
  .dish-table { padding: 2.5rem 1rem 3rem; }
}
@media (max-width: 480px) {
  .dish__plate { --plate-size: 220px; }
  .dish__badge { font-size: .78rem; padding: .4rem .85rem; right: 12%; }
  .dish h3 { font-size: 1.4rem; }
}

/* ---------- Social icons (SVG) ---------- */
.socials a svg { width: 18px; height: 18px; fill: currentColor; }
.socials a { color: var(--cp-gold); }

/* ---------- Photo gallery — masonry-style showcase ---------- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}
.photo-gallery a {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  display: block;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  transition: transform .35s ease, box-shadow .35s ease;
}
.photo-gallery a:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.photo-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease, filter .35s ease;
  filter: saturate(1.05) contrast(1.04);
}
.photo-gallery a:hover img { transform: scale(1.08); }
.photo-gallery a::after {
  content:""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 50%);
  opacity: 0; transition: opacity .3s ease;
}
.photo-gallery a:hover::after { opacity: 1; }
.photo-gallery .span-2 { grid-column: span 2; }
.photo-gallery .span-row-2 { grid-row: span 2; }

@media (max-width: 820px) {
  .photo-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .photo-gallery .span-2 { grid-column: span 2; }
  .photo-gallery .span-row-2 { grid-row: auto; }
}

/* ---------- Testimonial strip ---------- */
.testimonial-strip {
  background:
    radial-gradient(ellipse at 10% 20%, rgba(233,185,73,.18) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(67,110,191,.08) 0%, transparent 55%),
    linear-gradient(135deg, #FFFBF1 0%, #FAF3DF 100%);
  border-top: 4px solid var(--cp-primary);
  border-bottom: 4px solid var(--cp-primary);
  padding: 4rem 0;
  position: relative;
}
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  perspective: 1400px;
}
.quote-card {
  background: linear-gradient(180deg, #fff 0%, #fdfaf3 100%);
  border-radius: 18px;
  padding: 2.25rem 1.75rem 1.5rem;
  position: relative;
  border: 1px solid var(--cp-line);
  box-shadow:
    0 2px 4px rgba(0,0,0,.04),
    0 12px 28px rgba(0,0,0,.08),
    0 30px 50px rgba(0,0,0,.06);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease;
}
.quote-card:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow:
    0 4px 8px rgba(0,0,0,.06),
    0 20px 40px rgba(0,0,0,.14),
    0 45px 70px rgba(67,110,191,.1);
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -10px; left: 18px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--cp-primary);
  font-weight: 700;
}
.quote-card p { font-style: italic; color: var(--cp-ink); font-size: 1rem; margin: .5rem 0 1rem; }
.quote-card .stars { color: #C99A1E; letter-spacing: 2px; font-size: 1.05rem; margin-bottom: .25rem; display:block; text-shadow: 0 1px 0 rgba(0,0,0,.05); }
.review-card .stars, .stars-big { color: #C99A1E !important; text-shadow: 0 1px 0 rgba(0,0,0,.08); }
.quote-card .author { font-weight: 600; color: var(--cp-ink); font-size: .95rem; }
.quote-card .source { font-size: .82rem; color: var(--cp-muted); }

/* ==========================================================
   CREATIVE / CURVY PATTERN SYSTEM
   Tropical motifs, wave dividers, blob shapes, sticker badges
   ========================================================== */

/* Subtle palm leaf / hibiscus pattern — sits behind sections */
.pattern-bg {
  position: relative;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='none' stroke='%23436EBF' stroke-opacity='0.06' stroke-width='1.5'><path d='M20 80 Q40 20 80 40 T140 80'/><path d='M40 120 Q60 60 100 80 T140 120'/><circle cx='120' cy='40' r='3'/><circle cx='40' cy='40' r='3'/></g></svg>");
  background-size: 220px;
}
.pattern-bg-gold {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'><g fill='none' stroke='%23E9B949' stroke-opacity='0.14' stroke-width='1.4'><path d='M0 70 Q35 30 70 70 T140 70'/><path d='M0 120 Q35 80 70 120 T140 120'/></g></svg>");
  background-size: 180px;
}

/* Wave divider between sections — sits at bottom of preceding section */
.wave {
  display: block; width: 100%; height: 80px;
  margin-bottom: -1px;
}
.wave-top { transform: rotate(180deg); }

/* Decorative organic blob shapes placed absolutely */
.blob {
  position: absolute;
  border-radius: 60% 40% 65% 35% / 50% 60% 40% 50%;
  filter: blur(30px);
  opacity: .5;
  pointer-events: none;
  z-index: 0;
  animation: blob-drift 18s ease-in-out infinite;
}
.blob--red   { background: var(--cp-primary); }
.blob--gold  { background: var(--cp-gold); }
.blob--green { background: var(--cp-green); }
@keyframes blob-drift {
  0%,100% { transform: translate(0,0) scale(1); border-radius: 60% 40% 65% 35% / 50% 60% 40% 50%; }
  50%     { transform: translate(20px,-15px) scale(1.1); border-radius: 40% 60% 35% 65% / 60% 50% 50% 40%; }
}

/* Sticker badge — hand-drawn, slightly rotated */
.badge-sticker {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--cp-gold);
  color: var(--cp-ink);
  padding: .5rem 1rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .03em;
  transform: rotate(-3deg);
  box-shadow: 0 6px 0 #8e6a24, 0 14px 24px rgba(0,0,0,.18);
  border: 2px solid #fff;
  position: relative;
}
.badge-sticker::before {
  content: "★"; color: var(--cp-primary);
}

/* Section with curved bottom edge (SVG used as background-image) */
.curved-section {
  position: relative;
  padding-bottom: 7rem;
}
.curved-section::after {
  content:"";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 80px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 80' preserveAspectRatio='none'><path d='M0 0 C200 80 400 80 600 40 C800 0 1000 0 1200 40 L1200 80 L0 80 Z' fill='%23F7F3ED'/></svg>") center/100% 100% no-repeat;
}

/* Curvy section title with decorative underline */
.curvy-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}
.curvy-title h2 {
  display: inline-block;
  position: relative;
  padding: 0 1.5rem;
}
.curvy-title h2::before,
.curvy-title h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px; height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 14'><path d='M0 7 Q15 0 30 7 T60 7' fill='none' stroke='%23436EBF' stroke-width='2'/><circle cx='30' cy='7' r='3' fill='%23E9B949'/></svg>");
  background-repeat: no-repeat;
}
.curvy-title h2::before { right: 100%; }
.curvy-title h2::after  { left: 100%; transform: scaleX(-1); }
.curvy-title p { max-width: 620px; margin: 1rem auto 0; }

/* Pretty scalloped / curvy container used for content blocks */
.curvy-card {
  --s: 24px;
  background: #fff;
  padding: 2.5rem 2rem;
  position: relative;
  border-radius: 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}
.curvy-card::before {
  content:"";
  position: absolute; inset: -8px;
  border-radius: 40px;
  background: linear-gradient(135deg, var(--cp-primary), var(--cp-gold), var(--cp-green));
  z-index: -1;
  opacity: .15;
  filter: blur(16px);
}

/* Floating star confetti accents (absolute positioning parent needed) */
.confetti {
  position: absolute;
  width: 20px; height: 20px;
  color: var(--cp-gold);
  pointer-events: none;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%,100% { transform: scale(1) rotate(0); opacity: .85; }
  50%     { transform: scale(1.15) rotate(20deg); opacity: 1; }
}

/* Section base — add overflow clipping so blobs don't scroll-jack */
section { position: relative; overflow-x: clip; }

/* Hero ends cleanly — no cream wave; red flows straight into next section */
.hero--home::after { display: none; }

/* ---------- Stat bar ---------- */
.stat-bar {
  background: var(--cp-ink);
  color: #fff;
  padding: 2.5rem 0;
}
.stat-bar .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2rem; text-align: center; }
.stat-bar .stat-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  color: var(--cp-gold);
  display: block;
  line-height: 1;
  text-shadow:
    0 1px 0 #b58835,
    0 2px 0 #a47a2d,
    0 3px 0 #8e6a24,
    0 4px 0 #78591c,
    0 6px 10px rgba(0,0,0,.45);
}
.stat-bar .stat-label { font-size: .95rem; opacity: .9; margin-top: .35rem; display:block; letter-spacing:.03em; }

/* ---------- Sections ---------- */
section { padding: 4rem 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title p { max-width: 620px; margin: 0 auto; }

/* ---------- Cards / Grid ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.grid { perspective: 1400px; }
.card {
  background: linear-gradient(180deg, #fff 0%, #fdfaf3 100%);
  border: 1px solid var(--cp-line);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 10px 24px rgba(0,0,0,.06), 0 24px 40px rgba(0,0,0,.05);
  transform-style: preserve-3d;
}
.card:hover {
  transform: translateY(-10px) rotateX(3deg);
  box-shadow:
    0 4px 8px rgba(0,0,0,.06),
    0 22px 45px rgba(0,0,0,.14),
    0 50px 80px rgba(67,110,191,.08);
}
.card__body { padding: 1.5rem; }
.card h3 { margin-top: 0; color: var(--cp-ink); }
.card__img-wrap { overflow: hidden; aspect-ratio: 16/10; }
.card__img-wrap img, .card img { width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform .6s ease; }
.card:hover img { transform: scale(1.06); }

/* Figures used for standalone images / galleries */
figure { margin: 0; }
.gallery-img { border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0,0,0,.1); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.gallery-img:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.16); }
.gallery-img img { transition: transform .6s ease; }
.gallery-img:hover img { transform: scale(1.05); }

/* ---------- Menu list ---------- */
.menu-section { margin-bottom: 2.5rem; }
.menu-section h2 { border-bottom: 3px solid var(--cp-accent); padding-bottom: .3rem; display: inline-block; }
.menu-item { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed var(--cp-line); }
.menu-item__name { font-weight: 600; color: var(--cp-ink); font-family: var(--font-head); font-size: 1.05rem; }
.menu-item__desc { color: var(--cp-muted); font-size: .95rem; margin: .25rem 0 0; }
.menu-item__price { font-weight: 700; color: var(--cp-accent); white-space: nowrap; font-family: var(--font-head); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cp-ink); color: #d9d9d9; padding: 3rem 0 1.5rem; margin-top: 4rem; }
.site-footer h2, .site-footer h3 { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.site-footer a { color: var(--cp-gold); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .25rem 0; }
.footer-brand { font-family: var(--font-head); font-size: 1.2rem; color: #fff; margin: 0 0 .5rem; }
.footer-logo {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  margin: 0 0 1rem;
  display: block;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.footer-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Remove underlines from every link inside the footer */
.site-footer a,
.site-footer a:hover,
.site-footer a:focus,
.site-footer a:visited { text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ---------- Language switcher ---------- */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: #fff;
  border: 1px solid var(--cp-line);
  border-radius: 999px;
  padding: .2rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  margin-left: .5rem;
}
.lang-switcher a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--cp-muted);
  text-decoration: none;
  padding: .35rem .7rem;
  border-radius: 999px;
  letter-spacing: .06em;
  transition: color .2s ease, background .2s ease;
}
.lang-switcher a[aria-current="true"] {
  background: var(--cp-primary);
  color: #fff;
}
.lang-switcher a:hover:not([aria-current="true"]) {
  color: var(--cp-primary);
}
.lang-switcher .flag {
  display: inline-block;
  width: 16px; height: 12px;
  vertical-align: middle;
  border-radius: 2px;
  background-size: cover;
}
.lang-switcher .flag-fr { background: linear-gradient(to right, #0055A4 0 33.3%, #fff 33.3% 66.6%, #EF4135 66.6% 100%); }
.lang-switcher .flag-en { background: linear-gradient(to bottom, #012169 0 40%, #fff 40% 60%, #C8102E 60% 100%); }

@media (max-width: 820px) {
  .lang-switcher { margin: .5rem 0 0; }
}

/* =====================================================
   REVIEWS PAGE — creative masonry + aggregate showcase
   ===================================================== */

.reviews-hero-stats {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #FAF3DF 100%);
  border-radius: 28px;
  padding: 2.5rem 3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.08);
  margin: -4rem auto 4rem;
  max-width: 960px;
  position: relative;
  z-index: 5;
  border: 1px solid rgba(233,185,73,.25);
}
.reviews-rating-big {
  text-align: center;
}
.reviews-rating-big .score {
  font-family: var(--font-head);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--cp-primary);
  line-height: 1;
  text-shadow: 0 3px 0 rgba(67,110,191,.15), 0 6px 20px rgba(67,110,191,.2);
}
.reviews-rating-big .stars-big {
  color: var(--cp-gold);
  font-size: 1.4rem;
  letter-spacing: 4px;
  display: block;
  margin: .35rem 0 .15rem;
}
.reviews-rating-big .count {
  font-size: .85rem;
  color: var(--cp-muted);
}
.reviews-stats-mid {
  border-left: 1px solid var(--cp-line);
  border-right: 1px solid var(--cp-line);
  padding: 0 2rem;
  text-align: center;
}
.reviews-stats-mid .big-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--cp-ink);
  font-weight: 700;
  display:block;
  line-height: 1;
}
.reviews-stats-mid .label { color: var(--cp-muted); font-size: .9rem; margin-top: .3rem; display: block; }
.reviews-platforms {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: flex-start;
}
.reviews-platforms a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--cp-line);
  border-radius: 999px;
  padding: .4rem .9rem .4rem .4rem;
  text-decoration: none;
  color: var(--cp-ink);
  font-size: .85rem;
  font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.reviews-platforms a:hover { transform: translateY(-2px); border-color: var(--cp-primary); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.reviews-platforms a .dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--cp-primary);
  display: grid; place-items: center;
  color: #fff;
  font-size: .75rem; font-weight: 700;
}

@media (max-width: 820px) {
  .reviews-hero-stats { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.75rem; text-align: center; }
  .reviews-stats-mid { border: none; padding: 0; }
  .reviews-platforms { align-items: center; }
}

/* Masonry card grid */
.review-masonry {
  column-count: 3;
  column-gap: 1.5rem;
  margin-top: 1rem;
}
.review-masonry .review-card {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--cp-line);
  box-shadow:
    0 2px 6px rgba(0,0,0,.04),
    0 14px 30px rgba(0,0,0,.06),
    0 30px 50px rgba(0,0,0,.05);
  position: relative;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease;
  overflow: hidden;
}
.review-masonry .review-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 4px 8px rgba(0,0,0,.06),
    0 22px 45px rgba(0,0,0,.14),
    0 50px 80px rgba(67,110,191,.1);
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: 10px; right: 20px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--cp-primary);
  opacity: .12;
  font-weight: 700;
  pointer-events: none;
}
.review-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(to right, var(--cp-primary), var(--cp-gold), var(--cp-green));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .4s ease;
}
.review-card:hover::after { transform: scaleX(1); }

.review-card .stars { color: var(--cp-gold); letter-spacing: 3px; font-size: 1rem; display: block; margin-bottom: .75rem; }
.review-card .quote { font-style: italic; color: var(--cp-ink); font-size: 1rem; margin: 0 0 1rem; line-height: 1.6; }
.review-card .meta { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--cp-line); }
.review-card .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cp-primary), var(--cp-gold));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.review-card .author { font-weight: 600; color: var(--cp-ink); font-size: .95rem; }
.review-card .source { font-size: .78rem; color: var(--cp-muted); }

/* Featured highlighted review — white card with red accent ribbon for readability */
.review-card--featured {
  background: #fff;
  color: var(--cp-ink);
  border: 1px solid var(--cp-line);
  padding: 2.25rem 2rem 1.75rem 2.5rem;
  position: relative;
}
.review-card--featured::after { transform: scaleX(1); height: 5px; }
.review-card--featured .quote {
  font-size: 1.1rem;
  color: var(--cp-ink);
  font-style: italic;
  line-height: 1.65;
}
.review-card--featured .stars { font-size: 1.15rem; }
/* Red ribbon down the left edge to mark this as the featured story */
.review-card--featured::before {
  content: "FEATURED";
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--cp-primary);
  color: #fff;
  font-family: var(--font-head);
  font-size: .65rem;
  letter-spacing: .2em;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 999px;
  opacity: 1;
  box-shadow: 0 4px 10px rgba(67,110,191,.4);
}
.review-card--featured .avatar { background: linear-gradient(135deg, var(--cp-primary), var(--cp-gold)); color: #fff; }

/* Leave-a-review CTA card within masonry */
.review-card--cta {
  background: linear-gradient(135deg, var(--cp-gold) 0%, #D4A637 100%);
  color: var(--cp-ink);
  text-align: center;
  border: none;
  padding: 2rem 1.5rem;
}
.review-card--cta::before { display: none; }
.review-card--cta h3 { color: var(--cp-ink); font-size: 1.35rem; margin-bottom: .5rem; }
.review-card--cta p { color: rgba(25,25,25,.75); margin-bottom: 1rem; }
.review-card--cta .btn { display: inline-block; }

@media (max-width: 900px) { .review-masonry { column-count: 2; } }
@media (max-width: 600px) { .review-masonry { column-count: 1; } }
.footer-bottom { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid #333; font-size: .9rem; color: #999; }

/* ---------- Silo / related links component ---------- */
.silo-related {
  background: linear-gradient(135deg, #fff 0%, #fdfaf3 100%);
  border: 1px solid var(--cp-line);
  border-radius: 20px;
  padding: 2rem;
  margin: 3rem auto 0;
  max-width: 960px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.silo-related h2 { font-size: 1.3rem; margin-top: 0; text-align: center; }
.silo-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.silo-related__card {
  background: #fff;
  border: 1px solid var(--cp-line);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--cp-ink);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: block;
}
.silo-related__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  border-color: var(--cp-primary);
  color: var(--cp-ink);
}
.silo-related__card strong {
  color: var(--cp-primary);
  display: block;
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: .25rem;
}
.silo-related__card span {
  font-size: .9rem;
  color: var(--cp-muted);
}
.socials { display: flex; gap: .75rem; flex-wrap: wrap; }
.socials a { display: inline-grid; place-items: center; width: 40px; height: 40px; background: #222; border-radius: 50%; text-decoration: none; color: var(--cp-gold); font-weight: 700; }
.socials a:hover { background: var(--cp-primary); color: #fff; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; max-width: 560px; }
.form label { display: block; font-weight: 600; margin-bottom: .25rem; color: var(--cp-ink); font-family: var(--font-body); }
.form input, .form textarea, .form select { width: 100%; padding: .75rem .9rem; border: 1px solid var(--cp-line); border-radius: 8px; font: inherit; background: #fff; color: var(--cp-ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid var(--cp-accent); outline-offset: 1px; border-color: var(--cp-primary); }
.form .required::after { content:" *"; color: var(--cp-accent); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.visually-hidden { position: absolute !important; clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; white-space: nowrap; }
