/* =====================================================
   THE BAKERY BANÚS — Premium Artisan Bakery
   Marbella, Spain
   ===================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --cream: #f8f3ea;
  --cream-deep: #efe6d6;
  --white: #ffffff;
  --brown: #3a2e26;
  --brown-800: #2e241d;
  --brown-900: #241b15;
  --gold: #c9a66b;
  --gold-dark: #b0894c;
  --gold-soft: #e2cfa8;

  --text: #3a2e26;
  --muted: #6e6055;
  --muted-light: #8a7d70;
  --line: rgba(58, 46, 38, 0.12);
  --line-strong: rgba(58, 46, 38, 0.2);

  --shadow-sm: 0 2px 10px rgba(58, 46, 38, 0.06);
  --shadow: 0 18px 40px -18px rgba(58, 46, 38, 0.28);
  --shadow-lg: 0 34px 70px -28px rgba(58, 46, 38, 0.42);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --radius: 16px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  color: var(--brown);
  letter-spacing: 0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.2rem, 4vw, 2.4rem);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
  position: relative;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--brown);
  color: var(--cream);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 500;
  color: var(--gold-dark);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
}
.eyebrow--light { color: var(--gold-soft); }
.eyebrow--light::before { background: var(--gold-soft); }

.section__title {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
  letter-spacing: 0.005em;
}
.section__title em { font-style: italic; color: var(--gold-dark); }

.section__head {
  max-width: 640px;
  margin: 0 auto clamp(2.6rem, 5vw, 4rem);
  text-align: center;
}
.section__head .eyebrow { justify-content: center; }
.section__intro {
  color: var(--muted);
  margin: 1.1rem 0 0;
  font-size: 1.08rem;
}
.section__head--light .section__title,
.section__head--light .section__intro { color: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gold);
  --btn-fg: var(--brown-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.95rem 1.8rem;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease), color 0.35s var(--ease);
  will-change: transform;
  position: relative;
  isolation: isolate;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -12px rgba(176, 137, 76, 0.7); }
.btn:active { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; }

.btn--primary { background: var(--gold); color: var(--brown-900); }
.btn--primary:hover { background: var(--gold-dark); color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  box-shadow: inset 0 0 0 1.5px rgba(248, 243, 234, 0.55);
}
.btn--ghost:hover { background: var(--cream); color: var(--brown); box-shadow: inset 0 0 0 1.5px var(--cream); }

.btn--outline {
  background: transparent;
  color: var(--brown);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--outline:hover { background: var(--brown); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--brown); }

.btn--outline-dark {
  background: transparent;
  color: var(--brown);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.btn--lg { padding: 1.1rem 2.3rem; font-size: 0.95rem; }
.btn--sm { padding: 0.7rem 1.35rem; font-size: 0.8rem; }
.btn--block { width: 100%; }

/* =====================================================
   HEADER / NAV
   ===================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease),
    height 0.45s var(--ease);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.header.scrolled {
  background: rgba(248, 243, 234, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(58, 46, 38, 0.5);
  height: 70px;
}

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--cream); }
.header.scrolled .brand { color: var(--brown); }
.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--gold);
  box-shadow: inset 0 0 0 1.5px rgba(201, 166, 107, 0.5);
  transition: transform 0.4s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
}
.brand__sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-top: 2px;
}

/* Nav */
.nav__list { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  position: relative;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.92;
  padding: 0.4rem 0;
  transition: color 0.3s, opacity 0.3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }
.header.scrolled .nav__link { color: var(--brown); }
.header.scrolled .nav__link.active { color: var(--gold-dark); }

.header__actions { display: flex; align-items: center; gap: 1.2rem; }
/* Compact, non-shrinking header CTA so "Order Now" never wraps */
.header__cta { flex-shrink: 0; padding: 0.58rem 1.25rem; font-size: 0.78rem; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--cream);
  opacity: 0.9;
  transition: color 0.3s, opacity 0.3s;
}
.header__phone:hover { opacity: 1; color: var(--gold); }
.header.scrolled .header__phone { color: var(--brown); }
.header.scrolled .header__phone:hover { color: var(--gold-dark); }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s, background 0.3s;
}
.header.scrolled .nav-toggle span { background: var(--brown); }
body.menu-open .nav-toggle span { background: var(--cream); }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: linear-gradient(160deg, var(--brown-900), var(--brown));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
}
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  letter-spacing: 0.02em;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease), color 0.3s;
}
.mobile-menu__link:hover { color: var(--gold); }
body.menu-open .mobile-menu__link {
  transform: translateY(0);
  opacity: 1;
  transition-delay: calc(0.06s * var(--i, 0) + 0.1s);
}
.mobile-menu__call, .mobile-menu__order { margin-top: 0.4rem; }
.mobile-menu__call { color: var(--cream); box-shadow: inset 0 0 0 1.5px rgba(248,243,234,.4); }
.mobile-menu__call:hover { background: var(--cream); color: var(--brown); }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cream);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 16s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(36, 27, 21, 0.86) 0%, rgba(36, 27, 21, 0.55) 45%, rgba(36, 27, 21, 0.2) 100%),
    linear-gradient(0deg, rgba(36, 27, 21, 0.75), rgba(36, 27, 21, 0) 40%);
}
.hero__content { position: relative; max-width: 760px; padding-block: 7rem 4rem; }
.hero__title {
  font-size: clamp(3rem, 8.5vw, 6.4rem);
  color: var(--cream);
  line-height: 0.98;
  letter-spacing: 0.01em;
  margin: 0.4rem 0 1.4rem;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.35);
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__subtitle {
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 300;
  max-width: 540px;
  color: rgba(248, 243, 234, 0.9);
  margin: 0 0 2.3rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.2rem;
  margin-top: 3rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(248, 243, 234, 0.2);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(248, 243, 234, 0.85);
}
.hero__meta li { display: flex; align-items: center; gap: 0.5rem; }
.hero__meta li:not(:last-child)::after {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  margin-left: 1.4rem;
}
.hero__meta span { color: var(--gold-soft); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(248, 243, 234, 0.75);
}
.hero__scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--cream);
  animation: scrollDot 2.2s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { top: -50%; }
  100% { top: 120%; }
}

/* =====================================================
   ABOUT
   ===================================================== */
.about { background: var(--cream); }
.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.about__media { position: relative; }
.about__img { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.about__media:hover .about__img img { transform: scale(1.05); }
.about__img--main { aspect-ratio: 4 / 5; }
.about__img--sub {
  position: absolute;
  right: -8%;
  bottom: -12%;
  width: 52%;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--cream);
  box-shadow: var(--shadow-lg);
}
.about__badge {
  position: absolute;
  top: -22px;
  left: -22px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--gold);
  display: grid;
  place-content: center;
  text-align: center;
  line-height: 1.1;
  box-shadow: var(--shadow);
  border: 1px solid rgba(201, 166, 107, 0.4);
  z-index: 2;
}
.about__badge-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; display: block; }
.about__badge-text {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  display: block;
  margin-top: 3px;
}

.about__body .section__title { margin-bottom: 1.3rem; }
.about__lead { font-size: 1.2rem; color: var(--brown); font-weight: 400; }
.about__body p { color: var(--muted); margin: 0 0 1.2rem; }
.about__list { margin: 1.6rem 0 2.2rem; display: grid; gap: 0.85rem; }
.about__list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--brown);
  font-weight: 400;
}
.about__list svg { color: var(--gold-dark); flex-shrink: 0; }

.about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: block;
  line-height: 1;
}
.stat__label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-light);
  margin-top: 0.5rem;
  display: block;
}

/* =====================================================
   BEST SELLERS
   ===================================================== */
.menu { background: var(--white); }
.menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 2.6vw, 2rem);
}
.product {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product__media { position: relative; aspect-ratio: 9 / 7; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.product:hover .product__media img { transform: scale(1.08); }
.product__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(36, 27, 21, 0.82);
  color: var(--gold-soft);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.product__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.product__row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.product__name { font-size: 1.55rem; }
.product__price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-dark);
  white-space: nowrap;
}
.product__desc { color: var(--muted); font-size: 0.98rem; margin: 0.5rem 0 1.2rem; flex: 1; }
.product__link {
  align-self: flex-start;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 500;
  display: inline-flex;
  gap: 0.5rem;
  transition: color 0.3s, gap 0.3s;
}
.product__link span { transition: transform 0.3s var(--ease); }
.product__link:hover { color: var(--gold-dark); }
.product__link:hover span { transform: translateX(5px); }

.product--cta {
  background: linear-gradient(160deg, var(--brown), var(--brown-900));
  border: none;
  color: var(--cream);
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 240px;
}
.product--cta:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product__cta-inner { padding: 2rem; }
.product--cta .product__name { color: var(--cream); margin-bottom: 0.6rem; }
.product--cta .product__desc { color: rgba(248, 243, 234, 0.75); flex: none; margin-bottom: 1.4rem; }

/* =====================================================
   WHY CHOOSE US
   ===================================================== */
.why {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201, 166, 107, 0.12), transparent 60%),
    linear-gradient(160deg, var(--brown) 0%, var(--brown-900) 100%);
  color: var(--cream);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.feature { text-align: center; padding: 1rem 0.5rem; }
.feature__icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(201, 166, 107, 0.1);
  box-shadow: inset 0 0 0 1px rgba(201, 166, 107, 0.35);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), color 0.4s;
}
.feature:hover .feature__icon {
  transform: translateY(-6px) rotate(-6deg);
  background: var(--gold);
  color: var(--brown-900);
}
.feature__title { color: var(--cream); font-size: 1.5rem; margin-bottom: 0.6rem; }
.feature__text { color: rgba(248, 243, 234, 0.72); font-size: 0.96rem; margin: 0; }

/* =====================================================
   GALLERY
   ===================================================== */
.gallery { background: var(--cream); }
.gallery__grid {
  column-count: 3;
  column-gap: 1.1rem;
}
.gallery__item {
  display: block;
  width: 100%;
  margin-bottom: 1.1rem;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  break-inside: avoid;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.gallery__item img { width: 100%; height: auto; display: block; transition: transform 0.9s var(--ease); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(36, 27, 21, 0.4), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery__item::before {
  content: "＋";
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(248, 243, 234, 0.92);
  color: var(--brown);
  font-size: 1.6rem;
  transform: scale(0.6);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.4s;
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover::before { transform: scale(1); opacity: 1; }

/* =====================================================
   REVIEWS
   ===================================================== */
.reviews {
  background:
    radial-gradient(900px 400px at 15% 10%, rgba(201, 166, 107, 0.1), transparent 55%),
    linear-gradient(160deg, var(--brown-900), var(--brown));
  color: var(--cream);
}
.reviews__rating {
  margin-top: 1.3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: rgba(248, 243, 234, 0.82);
}
.reviews__stars, .review__stars { color: var(--gold); letter-spacing: 0.12em; }
.reviews__slider { max-width: 820px; margin: 0 auto; text-align: center; }
.reviews__track { position: relative; min-height: 220px; }
.review {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), visibility 0.6s;
}
.review.is-active { opacity: 1; visibility: visible; transform: translateY(0); position: relative; }
.review__stars { font-size: 1.1rem; }
.review__text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.4;
  font-style: italic;
  color: var(--cream);
  margin: 0;
  max-width: 720px;
}
.review__author { display: flex; align-items: center; gap: 0.9rem; }
.review__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--brown-900);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.review__author span:last-child { text-align: left; display: flex; flex-direction: column; line-height: 1.3; }
.review__author strong { font-weight: 500; color: var(--cream); }
.review__author small { color: var(--gold-soft); font-size: 0.78rem; letter-spacing: 0.06em; }

.reviews__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 2.6rem;
}
.reviews__btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--cream);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1.5px rgba(248, 243, 234, 0.3);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.reviews__btn:hover { background: var(--gold); color: var(--brown-900); transform: scale(1.06); }
.reviews__dots { display: flex; gap: 0.6rem; }
.reviews__dots button {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(248, 243, 234, 0.3);
  transition: background 0.3s, transform 0.3s;
}
.reviews__dots button.active { background: var(--gold); transform: scale(1.25); }

/* =====================================================
   INSTAGRAM
   ===================================================== */
.instagram { background: var(--white); }
.instagram__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
}
.ig-tile {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.ig-tile__icon {
  position: absolute;
  inset: 0;
  background: rgba(36, 27, 21, 0.55);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.4s;
}
.ig-tile__icon::after {
  content: "";
  width: 26px; height: 26px;
  border: 2px solid var(--cream);
  border-radius: 8px;
  box-shadow: 0 0 0 0 var(--cream);
  position: relative;
}
.ig-tile:hover img { transform: scale(1.1); }
.ig-tile:hover .ig-tile__icon { opacity: 1; }
.instagram__cta { text-align: center; margin-top: 2.4rem; }

/* =====================================================
   CONTACT
   ===================================================== */
.contact { background: var(--cream); }
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact__list { display: grid; gap: 1.6rem; margin-bottom: 2.2rem; }
.contact__list li { display: flex; gap: 1.1rem; }
.contact__ico {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.contact__list strong {
  display: block;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
  color: var(--brown);
}
.contact__list p { margin: 0; color: var(--muted); }
.contact__list a:hover { color: var(--gold-dark); }

.contact__hours {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.contact__hours h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--brown);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.contact__hours h3 svg { color: var(--gold-dark); }
.contact__hours ul { display: grid; gap: 0.7rem; }
.contact__hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.96rem;
  color: var(--muted);
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed var(--line);
  white-space: nowrap;
}
.contact__hours li:last-child { border-bottom: none; padding-bottom: 0; }
.contact__hours li span:last-child { color: var(--brown); font-weight: 400; }
.contact__open-note {
  margin: 1rem 0 0;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.contact__open-note.is-open { color: #3f7d4e; }
.contact__open-note.is-closed { color: #a8583f; }
.contact__open-note::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px currentColor;
  opacity: 0.9;
}
.contact__open-note.is-open::before { box-shadow: 0 0 0 4px rgba(63,125,78,.2); }
.contact__open-note.is-closed::before { box-shadow: 0 0 0 4px rgba(168,88,63,.2); }

.contact__socials { display: flex; gap: 0.8rem; margin-top: 1.6rem; }
.contact__socials a {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brown);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, background 0.3s, color 0.3s;
}
.contact__socials a:hover { background: var(--gold); color: var(--brown-900); transform: translateY(-3px); }

/* Form */
.contact__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.contact__form-title { font-size: 1.7rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-weight: 500;
}
.field input, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--cream);
  color: var(--brown);
  font-size: 0.98rem;
  font-weight: 300;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-light); opacity: 0.7; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 166, 107, 0.14);
}
.field.invalid input, .field.invalid textarea { border-color: #c0623f; background: #fbf1ec; }
.field__error {
  display: block;
  font-size: 0.76rem;
  color: #c0623f;
  margin-top: 0.35rem;
  min-height: 0;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.3s, transform 0.3s;
}
.field.invalid .field__error { opacity: 1; transform: translateY(0); }
.form__success {
  margin: 1.2rem 0 0;
  padding: 0.9rem 1.1rem;
  background: rgba(63, 125, 78, 0.1);
  border: 1px solid rgba(63, 125, 78, 0.3);
  border-radius: 12px;
  color: #3f7d4e;
  font-size: 0.92rem;
  text-align: center;
}

.contact__map {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  line-height: 0;
  filter: saturate(0.92);
}
.contact__map iframe { display: block; width: 100%; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background: var(--brown-900); color: rgba(248, 243, 234, 0.72); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}
.brand--footer { color: var(--cream); margin-bottom: 1.2rem; }
.brand--footer .brand__name { color: var(--cream); }
.footer__blurb { margin: 0 0 1.5rem; font-size: 0.95rem; max-width: 340px; }
.footer__socials { display: flex; gap: 0.7rem; }
.footer__socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--cream);
  box-shadow: inset 0 0 0 1px rgba(248, 243, 234, 0.2);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.footer__socials a:hover { background: var(--gold); color: var(--brown-900); transform: translateY(-3px); }
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.footer__col ul { display: grid; gap: 0.7rem; }
.footer__col a { transition: color 0.3s, padding-left 0.3s; font-size: 0.95rem; }
.footer__col a:hover { color: var(--cream); padding-left: 4px; }
.footer__address { font-style: normal; font-size: 0.95rem; line-height: 1.8; margin-bottom: 0.8rem; }
.footer__phone { color: var(--gold); font-size: 1.05rem; letter-spacing: 0.02em; }
.footer__phone:hover { color: var(--cream); }
.footer__hours { display: grid; gap: 0.6rem; }
.footer__hours li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.92rem; white-space: nowrap; }
.footer__hours span:last-child { color: var(--cream); }

.footer__bottom { border-top: 1px solid rgba(248, 243, 234, 0.12); padding: 1.5rem 0; }
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
}
.footer__bottom p { margin: 0; }

/* =====================================================
   FLOATING ACTION BUTTONS
   ===================================================== */
.fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow);
  z-index: 900;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, opacity 0.35s;
}
.fab:hover { transform: translateY(-4px) scale(1.05); }
.fab--whatsapp { bottom: calc(clamp(1rem, 3vw, 1.8rem) + 68px); background: #25d366; }
.fab--whatsapp .fab__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}
.fab--top {
  bottom: clamp(1rem, 3vw, 1.8rem);
  background: var(--brown);
  color: var(--gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
}
.fab--top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.fab--top:hover { background: var(--gold); color: var(--brown-900); }

/* =====================================================
   LIGHTBOX
   ===================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(20, 15, 11, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
  backdrop-filter: blur(4px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: 90vw;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.94);
  transition: transform 0.4s var(--ease);
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 1.4rem;
  right: 1.8rem;
  color: var(--cream);
  font-size: 2.6rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  transition: transform 0.3s, color 0.3s;
}
.lightbox__close:hover { transform: rotate(90deg); color: var(--gold); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cream);
  font-size: 1.6rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(248, 243, 234, 0.3);
  transition: background 0.3s, color 0.3s;
}
.lightbox__nav:hover { background: var(--gold); color: var(--brown-900); }
.lightbox__nav--prev { left: 1.4rem; }
.lightbox__nav--next { right: 1.4rem; }

/* =====================================================
   SCROLL REVEAL
   ===================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
/* Medium screens: keep the nav on one clean line, hide the
   header phone (still in contact, footer, mobile menu & FAB). */
@media (max-width: 1200px) {
  .header__phone { display: none; }
  .nav__list { gap: 1.2rem; }
  .nav__link { font-size: 0.78rem; letter-spacing: 0.1em; }
}

@media (max-width: 1080px) {
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav, .header__phone { display: none; }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin: 0 auto 1.5rem; }
  .about__img--main { aspect-ratio: 16 / 12; }
  .contact__grid { grid-template-columns: 1fr; }
  .instagram__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  :root { --header-h: 72px; }
  .gallery__grid { column-count: 2; column-gap: 0.8rem; }
  .gallery__item { margin-bottom: 0.8rem; }
  .menu__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero__meta { gap: 0.8rem 1.4rem; }
  .hero__meta li:not(:last-child)::after { display: none; }
  .about__stats { gap: 1.6rem; }
  .stat__num { font-size: 2rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .footer__bottom-inner { flex-direction: column; text-align: center; gap: 0.4rem; }
  .about__img--sub { display: none; }
  .about__badge { width: 88px; height: 88px; top: -14px; left: -10px; }
}

@media (max-width: 400px) {
  .instagram__grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* =====================================================
   KEYBOARD FOCUS (desktop usability)
   Shows only during keyboard navigation — never on mouse
   click — so mouse users see no visual change.
   ===================================================== */
:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 3px;
  border-radius: 6px;
}
/* Lighter ring on dark backgrounds for contrast */
:where(.hero, .why, .reviews, .mobile-menu, .footer, .lightbox) a:focus-visible,
:where(.hero, .why, .reviews, .mobile-menu, .footer, .lightbox) button:focus-visible {
  outline-color: var(--gold-soft);
}

/* =====================================================
   HERO — warm morning light
   ===================================================== */
.hero__light {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(58% 48% at 80% 16%, rgba(255, 234, 183, 0.45), rgba(255, 234, 183, 0) 60%),
    radial-gradient(40% 36% at 94% 4%, rgba(255, 249, 227, 0.55), rgba(255, 249, 227, 0) 58%);
  mix-blend-mode: screen;
  animation: heroLight 13s var(--ease) infinite alternate;
}
@keyframes heroLight {
  0%   { opacity: 0.7;  transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: 1;    transform: translate3d(-2.2%, 1.6%, 0) scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__light { animation: none; }
}

/* =====================================================
   MAP FACADE — click-to-load (privacy + performance)
   The Google Maps embed (and its third-party cookies) is
   only fetched when a visitor asks for it.
   ===================================================== */
.map-facade {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
  height: 440px;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  text-align: left;
  color: var(--brown);
  background:
    radial-gradient(130% 120% at 100% 0%, rgba(201, 166, 107, 0.22), transparent 55%),
    linear-gradient(160deg, var(--cream) 0%, var(--cream-deep) 100%);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease);
}
.map-facade__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(58, 46, 38, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58, 46, 38, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(115% 115% at 100% 0%, #000, transparent 72%);
  mask-image: radial-gradient(115% 115% at 100% 0%, #000, transparent 72%);
  pointer-events: none;
}
.map-facade__pin {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}
.map-facade__body { position: relative; z-index: 1; }
.map-facade__body strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 600;
  color: var(--brown);
  line-height: 1.15;
  margin-bottom: 0.2rem;
}
.map-facade__body small { color: var(--muted); font-size: 0.92rem; }
.map-facade__cta {
  margin-left: auto;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  background: var(--gold);
  color: var(--brown-900);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.map-facade:hover { box-shadow: inset 0 0 0 2px rgba(201, 166, 107, 0.45); }
.map-facade:hover .map-facade__cta { background: var(--gold-dark); color: #fff; transform: translateY(-2px); }
.contact__map iframe { display: block; width: 100%; border: 0; }
@media (max-width: 560px) {
  .map-facade { flex-wrap: wrap; height: auto; min-height: 300px; align-content: center; }
  .map-facade__cta { margin-left: 0; }
}

/* =====================================================
   FULL MENU CTA BAND — drives visitors to the full menu
   ===================================================== */
.menu-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  color: var(--brown-900);
  background:
    radial-gradient(120% 150% at 0% 0%, rgba(255, 255, 255, 0.28), transparent 55%),
    linear-gradient(135deg, var(--gold-soft) 0%, var(--gold) 46%, var(--gold-dark) 100%);
}
.menu-cta__inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.menu-cta .eyebrow { justify-content: center; color: var(--brown-800); }
.menu-cta .eyebrow::before { background: var(--brown-800); }
.menu-cta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.05;
  color: var(--brown-900);
  margin: 0 0 1rem;
}
.menu-cta__text {
  font-size: 1.1rem;
  color: var(--brown-800);
  margin: 0 auto 2rem;
  max-width: 620px;
}
.menu-cta__btn { background: var(--brown-900); color: var(--cream); }
.menu-cta__btn:hover { background: var(--brown); color: #fff; }
.menu-cta__note {
  margin: 1.4rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown-800);
  opacity: 0.92;
}

/* =====================================================
   ART GALLERY CROSS-PROMO — Galería Marbella
   ===================================================== */
.gallery-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 82% 0%, rgba(201, 166, 107, 0.14), transparent 60%),
    linear-gradient(160deg, var(--brown-900) 0%, #1b130e 100%);
  color: var(--cream);
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.gallery-cta__inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.4rem);
  border: 1px solid rgba(201, 166, 107, 0.38);
  border-radius: var(--radius);
}
.gallery-cta .eyebrow { justify-content: center; }
.gallery-cta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.08;
  color: var(--cream);
  margin: 0 0 1.1rem;
}
.gallery-cta__title em { font-style: italic; color: var(--gold); }
.gallery-cta__text {
  color: rgba(248, 243, 234, 0.82);
  font-size: 1.06rem;
  margin: 0 auto 2rem;
  max-width: 560px;
}
.gallery-cta__note {
  margin: 1.4rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
