/* Menorca Group — hub one-page. Design tokens e misure dal README del handoff. */
:root {
  --navy-700: #2C3E52;
  --navy-900: #22313F;
  --navy-500: #3F5570;
  --accent: #9A6A35;
  --accent-dk: #85592B;
  --sand-100: #F3ECE1;
  --sand-btn: #F3EEE6;
  --cream-50: #FAF7F2;
  --text: #1F2D3D;
  --text-2: #3A4757;
  --muted: #55606E;
  --meta: #6B7684;
  --line: #E6DFD3;
  --line-2: #EDE6DA;
  --star: #F2B33D;
  --whatsapp: #25D366;

  --m4y-sea: #4E9A9F; --m4y-sand: #D9C4A9; --m4y-tint: #EAF3F3; --m4y-ink: #2F6B72;
  --map-main: #2CB6B9; --map-tint: #E3F6F6; --map-ink: #127A7D;
  --mc-main: #C13B3B; --mc-tint: #FAECEC; --mc-ink: #A12F2F;

  --sh-sm: 0 1px 2px rgba(44, 62, 82, .06);
  --sh-card: 0 1px 2px rgba(44, 62, 82, .06), 0 12px 32px -8px rgba(44, 62, 82, .12);
  --sh-card-sm: 0 1px 2px rgba(44, 62, 82, .05), 0 8px 24px -10px rgba(44, 62, 82, .10);
  --sh-lg: 0 24px 48px -16px rgba(44, 62, 82, .22);
  --sh-btn: 0 6px 16px -6px rgba(154, 106, 53, .6);

  --pad-x: clamp(16px, 4vw, 40px);
  --sec-y: clamp(72px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream-50); color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.5;
}
img { max-width: 100%; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--accent); }
input, textarea, button { font-family: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(44, 62, 82, .45); outline-offset: 2px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-700); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }

.container { max-width: 1280px; margin: 0 auto; padding-inline: var(--pad-x); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-size: 16px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--sh-btn); }
.btn--primary:hover { background: var(--accent-dk); color: #fff; }
.btn--light { background: rgba(255, 255, 255, .94); color: var(--navy-700); }
.btn--light:hover { background: #fff; color: var(--navy-700); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(44, 62, 82, .08);
}
.header__bar {
  max-width: 1280px; margin: 0 auto; padding-inline: var(--pad-x);
  height: clamp(72px, 6vw, 88px); display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: clamp(8px, 1vw, 12px); min-width: 0; color: var(--navy-700); }
.brand img { height: clamp(40px, 4.4vw, 64px); width: auto; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: clamp(16px, 1.7vw, 24px); font-weight: 800; letter-spacing: -.02em; color: var(--navy-700); white-space: nowrap; }
.brand__tag { display: none; font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--meta); margin-top: 6px; white-space: nowrap; }

.nav { display: none; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.nav a { font-size: 15px; font-weight: 500; color: var(--navy-700); white-space: nowrap; }
.nav a:hover { color: var(--accent); }

.header__right { display: flex; align-items: center; gap: 12px; }
.lang {
  display: none; align-items: center; gap: 2px; padding: 3px; background: #fff; border-radius: 999px;
  box-shadow: 0 1px 2px rgba(44, 62, 82, .08), inset 0 0 0 1px rgba(44, 62, 82, .08);
}
.lang a {
  padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  color: var(--muted); background: transparent;
}
.lang a:hover { color: var(--navy-700); }
.lang a[aria-current="true"] { background: var(--navy-700); color: #fff; }

.header__cta {
  display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 14px; font-weight: 600;
}
.header__cta:hover { background: var(--accent-dk); color: #fff; }

.menu-btn {
  width: 44px; height: 44px; border: 0; border-radius: 999px; background: #fff; color: var(--navy-700);
  box-shadow: inset 0 0 0 1px rgba(44, 62, 82, .1); display: flex; align-items: center; justify-content: center;
}
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  padding: 8px var(--pad-x) 20px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid rgba(44, 62, 82, .08);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { padding: 14px 4px; font-size: 17px; font-weight: 600; color: var(--navy-700); border-bottom: 1px solid rgba(44, 62, 82, .08); }
.mobile-menu > a:last-of-type { border-bottom: 0; }
.mobile-menu__langs { display: flex; gap: 6px; margin-top: 8px; }
.mobile-menu__langs a {
  flex: 1; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 12px;
  font-size: 14px; font-weight: 600; color: var(--muted); background: transparent; box-shadow: inset 0 0 0 1px rgba(44, 62, 82, .1);
}
.mobile-menu__langs a[aria-current="true"] { background: var(--navy-700); color: #fff; }

@media (min-width: 820px) {
  .brand__tag { display: block; }
  .nav { display: flex; }
  .lang { display: flex; }
  .header__cta { height: 44px; padding: 0 22px; font-size: 15px; box-shadow: var(--sh-btn); }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: clamp(620px, 50vw, 720px); display: flex; align-items: center;
  overflow: hidden; background: #3B6A75; color: #fff;
}
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.hero__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(28, 42, 58, .62) 0%, rgba(28, 42, 58, .38) 45%, rgba(28, 42, 58, .08) 80%); }
.hero__inner { position: relative; width: 100%; max-width: 1280px; margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(20px, 4vw, 40px); }
.hero__content { max-width: 760px; display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em;
  text-wrap: balance; text-shadow: 0 2px 24px rgba(20, 30, 42, .25);
}
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 600px; color: rgba(255, 255, 255, .94); text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__cta .btn--primary { box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 14px; font-weight: 500;
}

/* ---------- Stats ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line-2); padding: clamp(40px, 5vw, 64px) var(--pad-x); }
.stats__grid {
  max-width: 1120px; margin: 0 auto; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(45%, 170px), 1fr)); gap: clamp(24px, 3vw, 40px) 16px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 8px; }
.stat__n {
  display: flex; align-items: baseline; gap: 4px; font-size: clamp(40px, 4.4vw, 60px); font-weight: 800;
  letter-spacing: -.04em; line-height: 1; color: var(--navy-700); white-space: nowrap;
}
.stat__n { font-variant-numeric: tabular-nums; }
.stat__n small { font-size: .5em; }
.stat__n svg { width: .5em; height: .5em; align-self: center; }
.stat--accent .stat__n { color: var(--accent); }
.stat__l { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }

/* ---------- Section heads ---------- */
.section { padding: var(--sec-y) var(--pad-x); }
.section--flush-top { padding-top: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; color: var(--navy-700); }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head .h2 { margin-bottom: 14px; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }

/* ---------- Activities ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 24px;
  overflow: hidden; box-shadow: var(--sh-card);
}
.card__bar { display: flex; height: 6px; }
.card__bar > i { display: block; }
.card__head { padding: 24px 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 104px; }
.card__logo { display: block; width: auto; }
.card__logo--m4y { height: 68px; margin-left: -6px; }
.card__logo--map { height: 50px; max-width: 62%; object-fit: contain; }
.card__logo--mc { height: 42px; max-width: 62%; object-fit: contain; }
.tag {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; white-space: nowrap;
}
.card__photo { padding: 20px 24px 0; }
.card__photo > div { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__body { padding: 24px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.card__desc { font-size: 16.5px; line-height: 1.55; color: var(--text-2); text-wrap: pretty; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--navy-700); }
.checks i { width: 22px; height: 22px; border-radius: 999px; display: flex; align-items: center; justify-content: center; flex: none; }
.visit {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 20px;
  border-radius: 14px; background: var(--sand-btn); color: var(--navy-700); font-size: 15.5px; font-weight: 600;
  transition: background .15s, color .15s;
}
.visit:hover { background: var(--navy-700); color: #fff; }
.visit__t { display: flex; flex-direction: column; line-height: 1.2; }
.visit__t small { font-size: 12.5px; font-weight: 500; opacity: .7; }

.card--m4y .tag, .card--m4y .checks i { background: var(--m4y-tint); color: var(--m4y-ink); }
.card--m4y .card__photo > div { background: #EEF4F3; }
.card--map .tag, .card--map .checks i { background: var(--map-tint); color: var(--map-ink); }
.card--map .card__photo > div { background: #E9F5F5; }
.card--mc .tag, .card--mc .checks i { background: var(--mc-tint); color: var(--mc-ink); }
.card--mc .card__photo > div { background: #F6EFEC; }

/* ---------- Reviews ---------- */
.reviews { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(32px, 4vw, 48px); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.reviews__head > div:first-child { max-width: 640px; }
.score { display: flex; align-items: center; gap: 16px; padding: 14px 20px; background: #fff; border-radius: 18px; box-shadow: var(--sh-card-sm); }
.score__n { font-size: 40px; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--navy-700); }
.score__r { display: flex; flex-direction: column; gap: 5px; }
.score__t { font-size: 13.5px; font-weight: 500; color: var(--muted); }
.stars { display: flex; gap: 2px; }
.stars svg { display: block; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -16px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 500; color: var(--text-2); white-space: nowrap;
}
.pill b { font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; flex: none; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.review { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: #fff; border-radius: 20px; box-shadow: var(--sh-card-sm); }
.review__top { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 999px; color: #fff; font-size: 18px; font-weight: 600; display: flex; align-items: center; justify-content: center; flex: none; }
.review__who { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.review__who strong { font-size: 16px; font-weight: 600; color: var(--text); }
.review__who span { font-size: 13.5px; color: var(--meta); }
.review__g { font-size: 12px; font-weight: 600; color: var(--meta); padding: 4px 8px; border-radius: 8px; background: var(--sand-btn); }
.review__text { font-size: 15.5px; line-height: 1.6; color: var(--text-2); flex: 1; text-wrap: pretty; }
.review__foot { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid #EFE9DF; font-size: 13px; font-weight: 600; }

/* ---------- Why ---------- */
.why { background: var(--sand-100); padding: clamp(72px, 8vw, 112px) var(--pad-x); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.tile { background: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--sh-card-sm); }
.tile__i { width: 48px; height: 48px; border-radius: 14px; background: var(--navy-700); color: #fff; display: flex; align-items: center; justify-content: center; }
.tile h3 { font-size: 19px; font-weight: 700; letter-spacing: -.015em; color: var(--navy-700); }
.tile p { font-size: 15.5px; line-height: 1.55; color: var(--muted); }

/* ---------- About ---------- */
.about { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(36px, 5vw, 72px); align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 24px; }
.about__text .eyebrow { margin: 0; }
.about__p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--text-2); max-width: 560px; text-wrap: pretty; }
.about__photo { position: relative; aspect-ratio: 5 / 4; border-radius: 24px; overflow: hidden; background: #E9E1D3; box-shadow: var(--sh-lg); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; display: block; }

/* ---------- Contact ---------- */
.contact {
  max-width: 1280px; margin: 0 auto; background: #fff; border-radius: 28px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(44, 62, 82, .05), 0 16px 40px -12px rgba(44, 62, 82, .14);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}
.contact__form { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 24px; }
.contact__intro { display: flex; flex-direction: column; gap: 12px; }
.contact__intro .eyebrow { margin: 0; }
.contact__intro h2 { font-size: clamp(30px, 3.2vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--navy-700); }
.contact__intro p { font-size: 17px; line-height: 1.55; color: var(--muted); }
form { display: flex; flex-direction: column; gap: 14px; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy-700); }
input[type=text], input[type=email], textarea {
  padding: 0 16px; height: 50px; border-radius: 12px; border: 1px solid #E2DACD; background: #FCFBF8;
  font-size: 16px; color: var(--text); outline: none; width: 100%;
}
textarea { height: auto; padding: 14px 16px; line-height: 1.5; resize: vertical; }
input:focus, textarea:focus { border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(44, 62, 82, .12); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { align-self: flex-start; box-shadow: 0 8px 20px -8px rgba(154, 106, 53, .6); cursor: pointer; }
.form__submit[disabled] { opacity: .7; cursor: progress; }
.form__note { font-size: 13px; color: var(--meta); }
.form__note a { color: var(--navy-700); text-decoration: underline; }
.form__msg { padding: 28px; border-radius: 20px; background: var(--sand-100); display: flex; flex-direction: column; gap: 8px; }
.form__msg[hidden] { display: none; }
.form__msg strong { font-size: 19px; color: var(--navy-700); }
.form__msg span { font-size: 15.5px; color: var(--muted); }
.form__msg--error { background: #FBECEC; }
.form__msg--error a { text-decoration: underline; }

.contact__side { background: var(--navy-700); color: #fff; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 28px; }
.contact__list { display: flex; flex-direction: column; gap: 18px; }
.contact__item { display: flex; align-items: center; gap: 14px; color: #fff; }
.contact__item:hover { color: #fff; }
.contact__ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: flex; align-items: center; justify-content: center; flex: none; }
.contact__item small { display: block; font-size: 13px; color: rgba(255, 255, 255, .7); margin-bottom: 2px; }
.contact__item span.v { font-size: 17px; font-weight: 600; line-height: 1.4; }
.map { flex: 1; min-height: 260px; border-radius: 18px; overflow: hidden; position: relative; background: var(--navy-500); border: 1px solid rgba(255, 255, 255, .14); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; }
.map__ph button {
  height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: #fff; color: var(--navy-700); font-size: 15px; font-weight: 600;
}
.map__ph button:hover { background: var(--sand-100); }
.map__ph small { font-size: 13px; color: rgba(255, 255, 255, .75); max-width: 280px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: #fff; padding: clamp(56px, 6vw, 80px) var(--pad-x) 32px; }
.footer__in { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__mark { width: 52px; height: 52px; border-radius: 14px; background: #fff; display: flex; align-items: center; justify-content: center; }
.footer__mark img { height: 38px; width: auto; display: block; }
.footer__brand span.n { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.footer__tag { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .72); max-width: 300px; }
.footer__h { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.footer__link { display: flex; align-items: center; gap: 12px; color: #fff; font-size: 15.5px; font-weight: 500; }
.footer__link:hover { color: var(--m4y-sand); }
.footer__ico { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex: none; }
.footer__langs { display: flex; gap: 6px; }
.footer__langs a {
  width: 48px; height: 44px; border-radius: 12px; font-size: 14px; font-weight: 600; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .85);
}
.footer__langs a[aria-current="true"] { background: #fff; color: var(--navy-900); }
.footer__bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer__bar > span { font-size: 14px; color: rgba(255, 255, 255, .7); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__legal a, .footer__legal button { font-size: 14px; color: rgba(255, 255, 255, .8); background: none; border: 0; padding: 0; }
.footer__legal a:hover, .footer__legal button:hover { color: #fff; }

/* ---------- Floating: cookies + WhatsApp ---------- */
.float { position: fixed; inset: 0; pointer-events: none; z-index: 60; }
.cookie {
  position: absolute; left: clamp(12px, 2vw, 24px); right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px);
  max-width: 440px; pointer-events: auto; padding: 22px; border-radius: 20px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 20px 48px -12px rgba(44, 62, 82, .28);
  display: flex; flex-direction: column; gap: 14px;
}
.cookie[hidden] { display: none; }
.cookie strong { font-size: 17px; font-weight: 700; color: var(--navy-700); }
.cookie p { font-size: 14px; line-height: 1.55; color: var(--text-2); }
.cookie p a { text-decoration: underline; }
.cookie__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cbtn { height: 44px; padding: 0 20px; border: 0; border-radius: 999px; font-size: 14.5px; font-weight: 600; }
.cbtn--dark { background: var(--navy-700); color: #fff; }
.cbtn--dark:hover { background: var(--navy-900); }
.cbtn--ghost { background: #fff; color: var(--navy-700); box-shadow: inset 0 0 0 1px rgba(44, 62, 82, .16); }
.cbtn--link { background: transparent; color: var(--navy-700); padding: 0 14px; text-decoration: underline; text-underline-offset: 3px; }
.cookie-panel { position: absolute; inset: 0; pointer-events: auto; background: rgba(28, 42, 58, .45); display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.cookie-panel[hidden] { display: none; }
@media (min-width: 640px) { .cookie-panel { align-items: center; } }
.cookie-panel__box {
  width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: 28px;
  box-shadow: 0 30px 60px -20px rgba(20, 30, 42, .5); display: flex; flex-direction: column; gap: 18px;
}
.cookie-panel h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--navy-700); }
.cookie-panel p { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.cat { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 16px; background: var(--cream-50); box-shadow: inset 0 0 0 1px var(--line); }
.cat > div { flex: 1; }
.cat b { display: block; font-size: 15.5px; color: var(--navy-700); margin-bottom: 2px; }
.cat span { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.switch { position: relative; width: 46px; height: 28px; flex: none; margin-top: 2px; }
.switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: #CFC7B8; transition: background .15s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 999px; background: #fff; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.switch input:checked + i { background: var(--navy-700); }
.switch input:checked + i::after { transform: translateX(18px); }
.switch input:disabled { cursor: not-allowed; }
.switch input:disabled + i { opacity: .6; }
.switch input:focus-visible + i { outline: 3px solid rgba(44, 62, 82, .45); outline-offset: 2px; }
.cookie-panel__btns { display: flex; flex-wrap: wrap; gap: 8px; }

.wa {
  position: absolute; right: clamp(16px, 2vw, 24px); bottom: clamp(16px, 2vw, 24px); pointer-events: auto;
  width: 60px; height: 60px; border-radius: 999px; background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px -8px rgba(20, 90, 50, .55);
}
.wa:hover { background: #1EBE5A; color: #fff; }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--pad-x) clamp(72px, 9vw, 120px); }
.legal h1 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; color: var(--navy-700); margin-bottom: 8px; }
.legal__upd { font-size: 14px; color: var(--meta); margin-bottom: 36px; }
.legal h2 { font-size: 22px; font-weight: 700; letter-spacing: -.015em; color: var(--navy-700); margin: 36px 0 10px; }
.legal p, .legal li { font-size: 16.5px; line-height: 1.7; color: var(--text-2); }
.legal p { margin-bottom: 14px; }
.legal ul { list-style: disc; padding-left: 22px; margin-bottom: 14px; }
.legal a { text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--navy-700); background: var(--sand-100); }
.todo { background: #FFF3CD; color: #6B4E00; padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.legal__back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin-bottom: 28px; }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal].reveal-pending { opacity: 0; transform: translateY(18px); }
.js [data-reveal].reveal-pending.is-in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal].reveal-pending { opacity: 1; transform: none; }
}
