/* =============================================================
   TORNAREM TELECOM — Prestige Catalan (dark + gold)
   1. Tokens · 2. Reset · 3. Utilities · 4. Typography
   5. Components · 6. Sections · 7. Effects · 8. Responsive
   9. Reduced-motion
   ============================================================= */

/* ============ 1. TOKENS ============ */
:root {
  --bg:        #131313;   /* midnight base, never pure black */
  --bg-2:      #181817;
  --surface:   #1c1b1b;   /* card base */
  --surface-2: #232221;
  --surface-3: #2a2a29;

  --ink:       #efece6;   /* headings on dark */
  --ink-2:     #cfc9bd;   /* body */
  --mute:      #9c9484;   /* metadata */
  --silver:    #e5e5e7;

  --gold:      #ffd600;   /* vibrant gold — the single accent */
  --gold-soft: #ffe170;
  --gold-dim:  #e9c400;
  --gold-deep: #6f5d00;

  --line:      rgba(255,255,255,0.10);
  --line-2:    rgba(255,255,255,0.16);
  --glass:     rgba(28,27,27,0.62);
  --glass-2:   rgba(20,20,20,0.72);

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 30px;

  --serif: "Sora", system-ui, sans-serif;     /* display */
  --sans:  "Inter", system-ui, sans-serif;     /* body */

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-soft: 0 30px 60px -24px rgba(0,0,0,0.7);
  --glow-gold:  0 0 0 1px rgba(255,214,0,0.5), 0 24px 60px -20px rgba(255,214,0,0.28);
}

/* ============ 2. RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
p { text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  text-wrap: balance;
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 700;
}
::selection { background: var(--gold); color: #1a1500; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============ 3. UTILITIES ============ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: fixed; top: -120px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--gold); color: #1a1500;
  border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.kicker {
  font-family: var(--sans);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.5em;
}
.kicker-star, .strip-star { color: var(--gold); }

/* ============ 4. TYPOGRAPHY ============ */
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-top: 0.7rem;
}
.section-lead {
  margin-top: 1rem; color: var(--mute);
  font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 58ch;
}
em { font-style: normal; color: var(--gold); }

/* ============ 5. COMPONENTS ============ */
/* Buttons */
.btn {
  --btn-bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.9rem 1.5rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out),
              background-color .35s var(--ease-out), color .35s var(--ease-out), border-color .35s;
  will-change: transform;
}
.btn-sm { padding: 0.62rem 1.1rem; font-size: 0.88rem; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold-dim));
  color: #1a1500;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 10px 28px -12px rgba(255,214,0,0.55);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 22px 44px -14px rgba(255,214,0,0.6);
}
.btn-primary:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-ghost {
  background: rgba(255,255,255,0.02);
  color: var(--silver);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
  background: rgba(255,214,0,0.05);
}

.btn-dark {
  background: #141414; color: var(--ink);
  border-color: rgba(0,0,0,0.4);
}
.btn-dark:hover { transform: translateY(-3px); background: #000; }

.btn-wa {
  background: rgba(37,211,102,0.12);
  color: #4be37e;
  border-color: rgba(37,211,102,0.4);
}
.btn-wa:hover { background: rgba(37,211,102,0.2); transform: translateY(-3px); border-color: #25d366; }
.wa-ico { font-size: 1.1em; }

/* Glass surface */
.glass {
  background: var(--glass-2);
  border: 1px solid var(--line);
}
@supports (backdrop-filter: blur(20px)) {
  .glass {
    background: var(--glass);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
  }
}

/* Cards (pricing) */
.cards { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.cards-packs { grid-template-columns: 1fr; }
.cards-duo  { grid-template-columns: 1fr; }
.cards-trio { grid-template-columns: 1fr; }

.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: clamp(1.6rem, 2.4vw, 2rem);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0) 40%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--ease-soft), border-color .4s, box-shadow .5s;
}
.card .card-glow {
  position: absolute; inset: -1px; z-index: -1;
  border-radius: inherit; opacity: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(255,214,0,0.16), transparent 60%);
  transition: opacity .4s;
}
.card:hover {
  border-color: rgba(255,214,0,0.35);
  box-shadow: var(--shadow-soft);
}
.card:hover .card-glow { opacity: 1; }

.card-featured {
  border-color: rgba(255,214,0,0.55);
  background:
    linear-gradient(180deg, rgba(255,214,0,0.10), rgba(255,214,0,0) 38%),
    var(--surface-2);
  box-shadow: 0 30px 70px -30px rgba(255,214,0,0.35);
}
/* reserve top space in groups that carry a ribbon (keeps the row aligned) */
.cards-packs .card, .cards-trio .card { padding-top: 3.5rem; }
.card-tv {
  background:
    linear-gradient(180deg, rgba(255,214,0,0.07), rgba(255,255,255,0) 42%),
    var(--surface);
}

.card-ribbon {
  position: absolute; top: 1.1rem; right: 1.1rem;
  font-family: var(--sans); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.34rem 0.7rem; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold-dim));
  color: #1a1500;
}
.ribbon-soft {
  background: rgba(255,214,0,0.14); color: var(--gold);
  border: 1px solid rgba(255,214,0,0.4);
}

.card-name {
  font-family: var(--serif); font-weight: 700;
  font-size: 1.22rem; color: var(--ink); line-height: 1.15;
}
.card-desc { color: var(--mute); font-size: 0.86rem; margin-top: 0.2rem; }

.price { display: flex; align-items: baseline; gap: 0.25rem; margin: 1.1rem 0 1.2rem; }
.price-num {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 2.9rem); color: var(--gold);
  letter-spacing: -0.03em; line-height: 1;
}
.price-text { font-size: clamp(1.5rem, 3.5vw, 1.9rem); color: var(--silver); }
.price-unit { font-size: 0.95rem; color: var(--mute); font-weight: 500; }

.features { display: grid; gap: 0.6rem; margin-bottom: 1.6rem; flex: 1; }
.features li {
  position: relative; padding-left: 1.5rem;
  font-size: 0.92rem; color: var(--ink-2);
}
.features li::before {
  content: "★"; position: absolute; left: 0; top: 0.05em;
  color: var(--gold); font-size: 0.75rem;
}

.card-actions { display: grid; gap: 0.6rem; margin-top: auto; }

/* Fields */
.field { position: relative; }
.field input {
  width: 100%; padding: 1.45rem 1rem 0.55rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  color: var(--ink); font-family: var(--sans); font-size: 1rem;
  transition: border-color .3s, background-color .3s;
}
.field input:focus { outline: none; border-color: var(--gold); background: rgba(255,214,0,0.04); }
.field label {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--mute);
  transition: all .22s var(--ease-out);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: 0.5rem; transform: none;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold);
}

/* ============ 6. SECTIONS ============ */
/* Nav */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s, box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(19,19,19,0.72);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 0.85rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.5rem; }
.brand-star {
  color: var(--gold); font-size: 1.05rem;
  filter: drop-shadow(0 0 8px rgba(255,214,0,0.5));
}
.brand-word {
  font-family: var(--serif); font-weight: 800; font-size: 1.18rem;
  letter-spacing: 0.04em; color: var(--ink);
}
.nav-links { display: none; gap: 1.8rem; }
.nav-link {
  position: relative; font-size: 0.92rem; font-weight: 500; color: var(--ink-2);
  padding: 0.3rem 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: 0.8rem; }
.nav-actions .btn-primary { display: none; }

.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 95;
  background: rgba(15,15,15,0.98);
  backdrop-filter: blur(12px);
  display: grid; place-items: start center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
  overflow-y: auto;
}
.nav-mobile[aria-hidden="false"] { clip-path: inset(0); }
.nav-mobile nav { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; padding: 140px 1.5rem 3rem; min-height: 100%; justify-content: center; }
.nav-mobile a { font-family: var(--serif); font-size: clamp(1.4rem, 6vw, 1.7rem); font-weight: 600; color: var(--ink); }
.nav-mobile a.btn { font-size: 1rem; margin-top: 0.6rem; }
.nav-mobile a.btn-client { margin-top: 0.4rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 7rem var(--gutter) 5.5rem;
  overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  filter: grayscale(0.04) brightness(0.86) contrast(1.02) saturate(1.02);
  will-change: transform;
}
.hero-tint {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(19,19,19,0.28) 0%, rgba(19,19,19,0.08) 40%, rgba(19,19,19,0.85) 100%),
    linear-gradient(90deg, rgba(19,19,19,0.6) 0%, transparent 56%);
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(45% 40% at 18% 22%, rgba(255,214,0,0.22), transparent 60%),
    radial-gradient(40% 38% at 82% 70%, rgba(255,214,0,0.10), transparent 60%);
  filter: blur(70px) saturate(130%);
  opacity: 0.8;
  animation: meshDrift 24s ease-in-out infinite;
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}
.hero-inner { max-width: 880px; }
.hero-kicker { margin-bottom: 1.4rem; }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 800; color: #fff;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.hero-sub {
  margin-top: 1.5rem; max-width: 54ch;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--ink-2);
}
.hero-sub strong { color: var(--gold); font-weight: 600; }
.hero-actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-badges {
  margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.6rem 0.8rem; align-items: center;
  font-size: 0.85rem; color: var(--mute);
}
.hero-badges .dot { color: var(--gold); }

.hero-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1rem 0; border-top: 1px solid var(--line); background: rgba(15,15,15,0.5); backdrop-filter: blur(6px); }
.strip-item {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--serif); font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.04em; color: var(--ink-2); text-transform: uppercase;
}

/* Promo */
.promo { padding: clamp(2rem, 4vw, 2.6rem) var(--gutter); }
.promo-inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.4rem;
  padding: clamp(1.2rem, 2.5vw, 1.6rem) clamp(1.4rem, 3vw, 2.4rem);
  background: linear-gradient(110deg, var(--gold-soft), var(--gold-dim) 65%, var(--gold) 100%);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px -28px rgba(255,214,0,0.6);
  text-align: center;
}
.promo-emoji { font-size: 1.6rem; }
.promo-text { font-family: var(--serif); font-weight: 600; font-size: clamp(1rem, 2vw, 1.3rem); color: #1a1500; }
.promo-soft { font-weight: 500; opacity: 0.8; }

/* Tarifes */
.tarifes { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.tarifa-group { margin-top: clamp(3rem, 6vw, 5rem); scroll-margin-top: 90px; }
.tarifa-group:first-of-type { margin-top: clamp(2rem, 4vw, 3rem); }
.group-title {
  display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.8rem;
}
.group-num {
  font-family: var(--sans); font-size: 0.8rem; font-weight: 700;
  color: var(--gold); border: 1px solid rgba(255,214,0,0.4);
  border-radius: 999px; padding: 0.25rem 0.6rem; letter-spacing: 0.05em;
}
.group-tag {
  font-family: var(--sans); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute);
  border: 1px solid var(--line); border-radius: 999px; padding: 0.2rem 0.6rem;
}

/* Why */
.why { padding: clamp(3rem, 7vw, 6rem) 0 0; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.4rem); }
.why-card {
  padding: clamp(1.6rem, 2.5vw, 2.1rem);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .5s var(--ease-soft), border-color .4s, box-shadow .5s;
}
.why-card:hover { border-color: rgba(255,214,0,0.3); box-shadow: var(--shadow-soft); }
.why-icon {
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 14px; margin-bottom: 1.1rem;
  background: rgba(255,214,0,0.1); color: var(--gold);
  border: 1px solid rgba(255,214,0,0.25);
}
.why-icon svg { width: 26px; height: 26px; }
.why-card h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.92rem; color: var(--mute); }

/* Culture */
.culture {
  position: relative; margin-top: clamp(4rem, 9vw, 7rem);
  display: grid; grid-template-columns: 1fr;
  min-height: 60vh; align-items: stretch; overflow: hidden;
}
.culture-media { position: relative; min-height: 300px; }
.culture-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) brightness(0.7) contrast(1.05); }
.culture-media-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,19,19,0.4), rgba(19,19,19,0.85)); }
.culture-body {
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
  background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center;
}
.culture-title { font-size: clamp(1.8rem, 4vw, 3rem); margin: 0.8rem 0 1rem; }
.culture-text { color: var(--ink-2); max-width: 48ch; font-size: 1.05rem; }
.stats { display: flex; flex-wrap: wrap; gap: 2rem 2.5rem; margin-top: 2.4rem; }
.stat-num { font-family: var(--serif); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold); display: block; line-height: 1; letter-spacing: -0.03em; }
.stat-label { font-size: 0.82rem; color: var(--mute); letter-spacing: 0.04em; }

/* Steps */
.steps { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.5rem); counter-reset: step; }
.step {
  position: relative; padding: clamp(1.6rem, 2.5vw, 2rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .5s var(--ease-soft), border-color .4s;
}
.step:hover { border-color: rgba(255,214,0,0.3); transform: translateY(-4px); }
.step-num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font-family: var(--serif); font-weight: 800; font-size: 1.3rem;
  color: #1a1500; background: linear-gradient(180deg, var(--gold-soft), var(--gold-dim));
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--mute); }

/* Contact */
.contact { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; overflow: hidden; isolation: isolate; scroll-margin-top: 70px; }
.contact-bg { position: absolute; inset: 0; z-index: -2; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5) brightness(0.4); }
.contact-bg-tint { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,19,19,0.94) 0%, rgba(19,19,19,0.75) 60%, rgba(19,19,19,0.9) 100%); }
.contact-inner { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact-lead { color: var(--ink-2); max-width: 46ch; margin-top: 1rem; }
.contact-list { margin-top: 2rem; display: grid; gap: 0.9rem; }
.contact-list a, .contact-list li { display: flex; align-items: center; gap: 0.7rem; color: var(--ink-2); font-size: 1rem; transition: color .3s; }
.contact-list a:hover { color: var(--gold); }
.ci { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,214,0,0.1); color: var(--gold); border: 1px solid rgba(255,214,0,0.25); font-size: 0.9rem; flex-shrink: 0; }

.contact-card { position: relative; padding: clamp(1.8rem, 3vw, 2.4rem); border-radius: var(--r-lg); }
.form-title { font-size: 1.5rem; margin-bottom: 1.3rem; }
.cta-form { display: grid; gap: 0.9rem; transition: opacity .5s var(--ease-out), transform .5s var(--ease-soft); }
.cta-form.is-sent { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.form-fine { font-size: 0.75rem; color: var(--mute); text-align: center; margin-top: 0.2rem; }

.cta-submit { position: relative; }
.cta-form-spinner, .cta-form-check { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none; }
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after { content: ""; width: 18px; height: 18px; border: 2px solid rgba(26,21,0,0.3); border-top-color: #1a1500; border-radius: 50%; animation: spin .8s linear infinite; }
.cta-form-check path { stroke: #1a1500; stroke-width: 2.4; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--ease-out); }
.cta-form.is-done .cta-form-label { opacity: 0; }
.cta-form.is-done .cta-form-check { opacity: 1; }
.cta-form.is-done .cta-form-check path { stroke-dashoffset: 0; }

.cta-success {
  position: absolute; inset: 0; display: grid; place-content: center; text-align: center;
  padding: 2rem; gap: 0.4rem;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .6s var(--ease-out) .2s, transform .7s var(--ease-soft) .2s;
}
.cta-success.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.cta-success h3 { font-size: 1.7rem; }
.cta-success p { color: var(--ink-2); }
.success-star { font-size: 2.4rem; color: var(--gold); filter: drop-shadow(0 0 14px rgba(255,214,0,0.5)); }

/* Footer */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2.4rem; padding-bottom: 3rem; }
.footer-brand .brand { margin-bottom: 0.9rem; }
.footer-tag { color: var(--ink-2); max-width: 30ch; }
.footer-net { color: var(--mute); font-size: 0.85rem; margin-top: 0.6rem; }
.footer-col h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); margin-bottom: 1rem; }
.footer-col a, .footer-addr { display: block; color: var(--ink-2); font-size: 0.95rem; padding: 0.3rem 0; transition: color .3s; }
.footer-col a:hover { color: var(--gold); }
.footer-addr { color: var(--mute); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 1.6rem var(--gutter);
  max-width: var(--maxw); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; align-items: center;
}
.footer-motto { font-family: var(--serif); font-weight: 600; color: var(--gold); font-size: 0.95rem; display: inline-flex; align-items: center; gap: 0.5em; }
.footer-legal { color: var(--mute); font-size: 0.8rem; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.6rem); bottom: clamp(1rem, 3vw, 1.6rem); z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #0a3d1f;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6);
  transition: transform .35s var(--ease-out), box-shadow .35s;
  animation: waPulse 2.8s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 18px 40px -10px rgba(37,211,102,0.7); }

/* Modal */
.modal { width: min(440px, 92vw); margin: auto; border: 0; background: transparent; padding: 0; color: var(--ink-2); }
.modal::backdrop { background: rgba(8,8,8,0.72); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .4s var(--ease-out); }
.modal-card { position: relative; padding: clamp(1.8rem, 4vw, 2.4rem); border-radius: var(--r-lg); }
.modal-close { position: absolute; top: 0.9rem; right: 1.1rem; font-size: 1.7rem; line-height: 1; color: var(--mute); transition: color .3s; }
.modal-close:hover { color: var(--gold); }
.modal-star { font-size: 1.6rem; color: var(--gold); filter: drop-shadow(0 0 10px rgba(255,214,0,0.5)); }
.modal-title { font-size: 1.4rem; margin: 0.6rem 0 0.4rem; }
.modal-sub { font-size: 0.92rem; color: var(--mute); margin-bottom: 1.3rem; }
.modal .cta-form { position: relative; }

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg); display: grid; place-items: center;
  transition: opacity .8s var(--ease-out), clip-path 1s var(--ease-soft);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
.splash-inner { display: flex; align-items: center; gap: 0.7rem; }
.splash-star { font-size: 1.8rem; color: var(--gold); filter: drop-shadow(0 0 16px rgba(255,214,0,0.6)); animation: starSpin 1.2s var(--ease-out); }
.splash-word { font-family: var(--serif); font-weight: 800; font-size: clamp(1.8rem, 6vw, 2.8rem); letter-spacing: 0.06em; color: var(--ink); overflow: hidden; }
.splash-word { animation: wordReveal 1s var(--ease-out) both; }

/* ============ 6b. QUI SOM PAGE ============ */
.nav-link.is-current { color: var(--gold); }
.nav-link.is-current::after { transform: scaleX(1); transform-origin: left; }

/* shorter hero for secondary pages */
.hero--page { min-height: 78vh; min-height: 78svh; padding-bottom: 4rem; }
.hero--page .hero-bg img { object-position: center 55%; }

/* manifest */
.manifest { padding: clamp(4rem, 9vw, 7rem) 0; }
.manifest-inner { display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
.manifest-num { font-family: var(--serif); font-weight: 800; font-size: clamp(3rem, 9vw, 6rem); color: rgba(255,214,0,0.18); line-height: 1; letter-spacing: -0.04em; }
.manifest-text { color: var(--ink-2); font-size: clamp(1rem, 1.5vw, 1.2rem); margin-top: 1.1rem; max-width: 60ch; }
.manifest-text strong { color: var(--gold); font-weight: 600; }

/* pillars */
.pillars { padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 9vw, 7rem); }
.pillars-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.pillar {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform .5s var(--ease-soft), border-color .4s, box-shadow .5s;
}
.pillar:hover { border-color: rgba(255,214,0,0.35); box-shadow: var(--shadow-soft); }
.pillar:hover .card-glow { opacity: 1; }
.pillar-num { font-family: var(--serif); font-weight: 800; font-size: 1.1rem; color: var(--gold); display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,214,0,0.1); border: 1px solid rgba(255,214,0,0.25); margin-bottom: 1.1rem; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.pillar p { color: var(--mute); font-size: 0.95rem; }

/* quote band */
.quote-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(4rem, 10vw, 8rem) var(--gutter); display: grid; place-items: center; }
.quote-bg { position: absolute; inset: 0; z-index: -2; }
.quote-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.6) brightness(0.4); }
.quote-bg-tint { position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 50%, rgba(19,19,19,0.7), rgba(19,19,19,0.92)); }
.quote-inner { max-width: 880px; text-align: center; }
.quote-mark { font-family: var(--serif); font-size: 4rem; color: var(--gold); line-height: 0.5; display: block; }
.quote-text { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 4vw, 2.8rem); color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; margin: 1rem 0 1.5rem; }
.quote-author { font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }

/* stats row + find us */
.stats-row { gap: 1.5rem 2.5rem; margin-top: 0; }
.stats-fine { color: var(--mute); font-size: 0.8rem; margin-top: 1.6rem; }
.find-us { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.find-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.find-info { display: flex; flex-direction: column; gap: 1.6rem; align-items: flex-start; }
.find-info .contact-list { margin-top: 0; }
.find-map { border-radius: var(--r-lg); overflow: hidden; min-height: 320px; padding: 0; }
.find-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; filter: grayscale(0.35) invert(0.92) hue-rotate(180deg) contrast(0.95); }

/* cta band */
.cta-band { padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 9vw, 7rem); }
.cta-band-inner {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(255,214,0,0.12), transparent 70%),
    var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-xl);
}
.cta-band-title { font-size: clamp(1.8rem, 4.5vw, 3rem); }
.cta-band-text { color: var(--mute); max-width: 50ch; margin: 1rem auto 2rem; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: cubic-bezier(0.16,1,0.3,1); }
::view-transition-old(root) { animation-name: vtOut; }
::view-transition-new(root) { animation-name: vtIn; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

/* ============ 7. EFFECTS ============ */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft); }
[data-reveal].is-revealed { opacity: 1; transform: none; }

.marquee { overflow: hidden; position: relative; white-space: nowrap; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, rgba(15,15,15,0.9), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, rgba(15,15,15,0.9), transparent); }
.marquee-track { display: inline-flex; gap: 3rem; white-space: nowrap; will-change: transform; }
.marquee-track .strip-item { padding-right: 0; }

/* tilt */
.has-tilt { --rx: 0deg; --ry: 0deg; transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; }

@keyframes meshDrift { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(2%,-2%,0) scale(1.12); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
@keyframes starSpin { from { transform: rotate(-180deg) scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wordReveal { from { clip-path: inset(0 100% 0 0); opacity: 0; } to { clip-path: inset(0); opacity: 1; } }
@keyframes waPulse { 0%,100% { box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0.5); } 50% { box-shadow: 0 12px 30px -8px rgba(37,211,102,0.6), 0 0 0 14px rgba(37,211,102,0); } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }

/* defensive: split+reveal */
[data-reveal][data-split] { opacity: 1; transform: none; }

/* ============ 8. RESPONSIVE ============ */
@media (min-width: 540px) {
  .cards-duo { grid-template-columns: repeat(2, 1fr); }
  .nav-actions .btn-primary { display: inline-flex; }
}
@media (min-width: 720px) {
  .cards-packs { grid-template-columns: repeat(2, 1fr); }
  .cards-trio { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1.6fr 1fr 1fr; }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
  .manifest-inner { grid-template-columns: auto 1fr; gap: 2.5rem; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .cards-packs { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .culture { grid-template-columns: 1fr 1fr; }
  .culture-media { min-height: auto; }
  .contact-inner { grid-template-columns: 1.05fr 0.95fr; }
  .find-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1280px) {
  .cards-packs { grid-template-columns: repeat(3, 1fr); }
}

/* ============ 9. REDUCED MOTION (only intrusive) ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-mesh { animation: none; }
  .wa-float { animation: none; }
  .hero-bg img { filter: grayscale(0.04) brightness(0.86) contrast(1.02) saturate(1.02) !important; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ============ 10. v2 — HEADER, TOPBAR, NEW SECTIONS ============ */

/* Sticky header (replaces the old fixed nav → fixes the overlap/scroll bug) */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(15,15,15,0.97); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(0,0,0,0.4); }
@supports (backdrop-filter: blur(12px)) { .site-header { background: rgba(15,15,15,0.82); backdrop-filter: blur(16px) saturate(150%); } }
.nav, .nav.is-scrolled { position: static; background: transparent; backdrop-filter: none; box-shadow: none; border-bottom: 0; }
.nav-inner { padding-block: 0.6rem; }
.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; }

/* Top utility bar */
.topbar { background: #0d0d0d; border-bottom: 1px solid var(--line); font-size: 0.8rem; }
.topbar-inner { max-width: var(--maxw); margin-inline: auto; padding: 0.38rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap; }
.seg { display: inline-flex; background: rgba(255,255,255,0.05); border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.seg-btn { padding: 0.32rem 0.85rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; color: var(--mute); transition: color .3s, background-color .3s; }
.seg-btn.is-active { background: linear-gradient(180deg, var(--gold-soft), var(--gold-dim)); color: #1a1500; }
.topbar-right { display: flex; align-items: center; gap: 0.7rem; }
.topbar-link { color: var(--ink-2); font-weight: 500; }
.topbar-link:hover { color: var(--gold); }
.lang-select select { background: rgba(255,255,255,0.05); color: var(--ink-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 0.3rem 0.5rem; font-family: var(--sans); font-size: 0.78rem; cursor: pointer; }
.lang-select select:focus { outline: none; border-color: var(--gold); }
.btn-xs { padding: 0.36rem 0.7rem; font-size: 0.78rem; }
.btn-client { background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); color: var(--silver); }
.btn-client:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* Brand logo image */
.brand-logo { height: clamp(42px, 6vw, 54px); width: auto; }
.footer-logo { height: 64px; width: auto; }

/* Audience visibility */
[data-aud="empreses"] { display: none; }
body[data-audience="empreses"] [data-aud="empreses"] { display: block; }
body[data-audience="empreses"] [data-aud="particulars"] { display: none; }

/* Hero: header is now in flow, trim top padding */
.hero { min-height: 86svh; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) 5rem; }

/* anchor offset under sticky header */
section[id], .tarifa-group[id] { scroll-margin-top: 96px; }

/* Coverage check band */
.coverband { padding: clamp(2.5rem, 5vw, 4rem) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.coverband-inner { display: grid; grid-template-columns: 1fr; gap: clamp(1.4rem, 3vw, 2.5rem); align-items: center; }
.coverband-title { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-top: 0.5rem; }
.coverband-text { color: var(--mute); margin-top: 0.6rem; max-width: 48ch; }
.cover-wrap { position: relative; padding: clamp(1.4rem, 2.5vw, 1.8rem); border-radius: var(--r-lg); }
.cover-form { display: grid; gap: 0.8rem; transition: opacity .5s var(--ease-out), transform .5s var(--ease-soft); }
.cover-form.is-sent { opacity: 0; transform: translateY(-8px); pointer-events: none; }

/* eSIM */
.esim { padding: clamp(4rem, 9vw, 7rem) 0; }
.esim-inner { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.esim-media { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.esim-media > img:first-child { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; filter: grayscale(0.2) brightness(0.82) contrast(1.05); }
.esim-logo { position: absolute; left: 1rem; bottom: 1rem; width: 116px; height: auto; background: rgba(255,255,255,0.94); border-radius: 12px; padding: 8px 10px; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.6); }
.esim-text, .appsec-text { color: var(--ink-2); margin: 1rem 0 1.3rem; max-width: 52ch; font-size: 1.02rem; }
.esim-points { display: grid; gap: 0.6rem; margin-bottom: 1.6rem; }
.esim-points li { color: var(--ink-2); }
.esim-points li span[aria-hidden] { color: var(--gold); margin-right: 0.45rem; }

/* App section + phone mockup */
.appsec { padding: clamp(3rem, 7vw, 6rem) 0; }
.appsec-inner { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.appsec-media { display: grid; place-items: center; }
.phone { position: relative; width: 240px; height: 480px; border-radius: 36px; background: linear-gradient(160deg, #242424, #131313); border: 1px solid var(--line-2); box-shadow: var(--shadow-soft); padding: 14px; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 18px; background: #000; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-screen { height: 100%; border-radius: 24px; background: radial-gradient(120% 80% at 50% 0%, rgba(255,214,0,0.16), transparent 60%), #0c0c0c; padding: 2.6rem 1.4rem 1.4rem; display: flex; flex-direction: column; }
.phone-star { color: var(--gold); font-size: 1.4rem; filter: drop-shadow(0 0 10px rgba(255,214,0,0.5)); }
.phone-label { color: var(--mute); font-size: 0.8rem; margin-top: 1.4rem; }
.phone-gb { font-family: var(--serif); font-weight: 800; font-size: 2.3rem; color: var(--ink); letter-spacing: -0.02em; }
.phone-gb span { font-size: 1rem; color: var(--mute); font-weight: 500; }
.phone-bar { height: 9px; border-radius: 99px; background: rgba(255,255,255,0.1); margin-top: 1rem; overflow: hidden; }
.phone-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-soft), var(--gold-dim)); }
.phone-foot { margin-top: auto; color: var(--mute); font-size: 0.72rem; }

/* Valors */
.valors { position: relative; padding: clamp(4rem, 9vw, 7rem) 0; overflow: hidden; isolation: isolate; }
.valors-bg { position: absolute; inset: 0; z-index: -2; }
.valors-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.5) brightness(0.3) contrast(1.05); }
.valors-bg-tint { position: absolute; inset: 0; background: radial-gradient(85% 80% at 50% 25%, rgba(19,19,19,0.66), rgba(19,19,19,0.96)); }
.section-head--center { margin-inline: auto; text-align: center; max-width: 640px; }
.valors-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.4rem); }
.valor { padding: clamp(1.4rem, 2.4vw, 1.8rem); background: var(--glass-2); border: 1px solid var(--line); border-radius: var(--r); }
@supports (backdrop-filter: blur(10px)) { .valor { background: rgba(28,27,27,0.5); backdrop-filter: blur(10px); } }
.valor-ico { font-size: 1.7rem; display: block; margin-bottom: 0.6rem; }
.valor h3 { font-size: 1.14rem; margin-bottom: 0.3rem; }
.valor p { color: var(--mute); font-size: 0.9rem; }

/* On som */
.onsom { padding: clamp(4rem, 9vw, 7rem) 0; }
.onsom-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.onsom-photo { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); margin: 0; }
.onsom-photo img { width: 100%; height: 100%; object-fit: cover; max-height: 560px; }
.onsom-side { display: flex; flex-direction: column; gap: 1.4rem; }
.onsom-side .contact-list { margin-top: 0; }
.onsom-map { border-radius: var(--r-lg); overflow: hidden; min-height: 240px; flex: 1; }
.onsom-map iframe { width: 100%; height: 100%; min-height: 240px; border: 0; display: block; filter: grayscale(0.35) invert(0.92) hue-rotate(180deg) contrast(0.95); }

/* FAQ */
.faq { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.faq-inner { max-width: 840px; }
.faq-list { display: grid; gap: 0.8rem; margin-top: 1rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 clamp(1rem, 2vw, 1.3rem); transition: border-color .3s; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.1rem 0; font-family: var(--serif); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--gold); font-size: 1.5rem; line-height: 1; transition: transform .3s var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--mute); padding: 0 0 1.1rem; max-width: 72ch; }
.faq-item[open] { border-color: rgba(255,214,0,0.3); }

/* Notes */
.group-note { color: var(--mute); font-size: 0.9rem; margin-top: 1.4rem; }
.group-note a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.empreses-note { margin-top: 2.5rem; padding: clamp(1.4rem, 3vw, 2rem); border: 1px dashed rgba(255,214,0,0.4); border-radius: var(--r-lg); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; background: rgba(255,214,0,0.05); }
.empreses-note p { color: var(--ink-2); }

/* v2 responsive */
@media (min-width: 560px) {
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  .coverband-inner { grid-template-columns: 1.1fr 0.9fr; }
  .valors-grid { grid-template-columns: repeat(3, 1fr); }
  .onsom-grid { grid-template-columns: 1.2fr 0.8fr; }
}
@media (min-width: 960px) {
  .esim-inner { grid-template-columns: 1fr 1fr; }
  .appsec-inner { grid-template-columns: 1.1fr 0.9fr; }
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
@media (max-width: 639px) {
  .topbar-link { display: none; }
  .seg-btn { padding: 0.3rem 0.6rem; font-size: 0.72rem; }
  .topbar-inner { gap: 0.5rem; }
}

/* ============ 11. v3 — HERO SIZE, GOLD COVER, 2-UP CARDS, WIZARD, TARIFA ============ */

/* Bigger, clearer logo + smaller hero on desktop */
.brand-logo { height: clamp(46px, 6.5vw, 60px); }
.hero { min-height: 74svh; }
.hero-title { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
@media (min-width: 960px) { .hero { min-height: 70vh; } }

/* Coverage band — gold */
.coverband--gold { background: linear-gradient(115deg, var(--gold-soft), var(--gold-dim) 60%, var(--gold)); border-block: 0; color: #1a1500; }
.coverband--gold .coverband-title { color: #1a1500; }
.coverband--gold .coverband-text { color: rgba(26,21,0,0.78); }
.kicker-dark, .kicker-dark .kicker-star { color: #1a1500; }
.glass-on-gold { background: rgba(17,17,17,0.93); border: 1px solid rgba(0,0,0,0.2); box-shadow: 0 24px 50px -24px rgba(0,0,0,0.5); }
@supports (backdrop-filter: blur(12px)) { .glass-on-gold { background: rgba(17,17,17,0.86); backdrop-filter: blur(14px); } }

/* TV note on cards */
.card-tvnote { color: var(--gold); font-weight: 600; display: flex; align-items: center; gap: 0.35rem; margin: -0.35rem 0 0.9rem; }

/* ---- Tariff cards: 2-up & compact on mobile ---- */
.cards-packs, .cards-duo, .cards-trio { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.card { padding: 1.05rem; }
.card-name { font-size: 1.02rem; }
.card-desc { font-size: 0.78rem; }
.price-num { font-size: 1.95rem; }
.price { margin: 0.7rem 0 0.8rem; }
.features { gap: 0.4rem; margin-bottom: 1rem; }
.features li { font-size: 0.8rem; padding-left: 1.15rem; }
.card-tvnote { font-size: 0.72rem; }
.card-actions { gap: 0.45rem; }
.card-actions .btn { padding: 0.62rem 0.5rem; font-size: 0.8rem; }
.cards-packs .card, .cards-trio .card { padding-top: 2.7rem; }
.card-ribbon { font-size: 0.6rem; padding: 0.26rem 0.5rem; top: 0.7rem; right: 0.7rem; }
@media (min-width: 720px) {
  .cards-trio { grid-template-columns: repeat(3, 1fr); }
  .card { padding: clamp(1.6rem, 2.4vw, 2rem); }
  .card-name { font-size: 1.22rem; }
  .card-desc { font-size: 0.86rem; }
  .price-num { font-size: clamp(2.2rem, 5vw, 2.9rem); }
  .price { margin: 1.1rem 0 1.2rem; }
  .features { gap: 0.6rem; margin-bottom: 1.6rem; }
  .features li { font-size: 0.92rem; padding-left: 1.5rem; }
  .card-tvnote { font-size: 0.8rem; }
  .card-actions .btn { padding: 0.9rem 1.3rem; font-size: 0.92rem; }
  .cards-packs .card, .cards-trio .card { padding-top: clamp(1.6rem, 2.4vw, 2rem); }
  .card-ribbon { font-size: 0.7rem; padding: 0.34rem 0.7rem; top: 1.1rem; right: 1.1rem; }
}
@media (min-width: 960px) { .cards-packs { grid-template-columns: repeat(3, 1fr); } }

/* whole card clickable affordance */
.card[data-tid] { cursor: pointer; }

/* ---- Flow pages (wizard + tarifa) shared header ---- */
.page-flow { background: var(--bg); }
.flow-nav .nav-inner { justify-content: space-between; }
.flow-exit { color: var(--ink-2); font-weight: 500; }
.flow-exit:hover { color: var(--gold); }

/* ---- Alta wizard ---- */
.flow { padding: clamp(1.5rem, 4vw, 3rem) 0 5rem; }
.flow-container { max-width: 780px; }
.flow-head { text-align: center; margin-bottom: 0.5rem; }
.flow-title { font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin-top: 0.5rem; }
.flow-lead { color: var(--mute); margin-top: 0.6rem; }
.steps-bar { display: flex; list-style: none; margin: 1.6rem 0 0.7rem; padding: 0; }
.stepdot { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; color: var(--mute); font-size: 0.78rem; text-align: center; }
.stepdot-n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); font-weight: 700; color: var(--mute); transition: .3s; }
.stepdot.is-active .stepdot-n { background: linear-gradient(180deg, var(--gold-soft), var(--gold-dim)); color: #1a1500; border-color: transparent; }
.stepdot.is-done .stepdot-n { background: rgba(255,214,0,0.18); color: var(--gold); border-color: rgba(255,214,0,0.4); }
.stepdot.is-active .stepdot-l, .stepdot.is-done .stepdot-l { color: var(--ink); }
.steps-progress { height: 4px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; margin-bottom: 2rem; }
.steps-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-soft), var(--gold-dim)); transition: width .5s var(--ease-out); }
.flow-form { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: var(--r-lg); position: relative; }
.flow-step { display: none; }
.flow-step.is-active { display: block; animation: fadeStep .4s var(--ease-out); }
@keyframes fadeStep { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.flow-step-title { font-size: 1.4rem; margin-bottom: 0.4rem; }
.flow-step-sub { color: var(--mute); margin-bottom: 1.3rem; }
.flow-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
@media (min-width: 600px) { .flow-grid { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } }
.flow-note { color: var(--mute); font-size: 0.82rem; margin-top: 1rem; display: flex; gap: 0.4rem; align-items: center; }
.flow-nav-btns { display: flex; gap: 0.8rem; margin-top: 1.6rem; align-items: center; }
.flow-nav-btns [data-next], .flow-nav-btns [data-submit] { margin-left: auto; }
.seg-lg { margin-bottom: 1.3rem; }
.seg-lg .seg-btn { padding: 0.6rem 1.4rem; font-size: 0.95rem; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1.3rem; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 0.15rem; width: 18px; height: 18px; accent-color: var(--gold); flex-shrink: 0; }

/* products step */
.prod-list { display: grid; gap: 0.7rem; }
.prod { position: relative; display: flex; align-items: center; gap: 0.9rem; padding: 0.85rem 1rem; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; transition: border-color .3s, background-color .3s; }
.prod:hover { border-color: rgba(255,214,0,0.4); }
.prod.is-on { border-color: var(--gold); background: rgba(255,214,0,0.06); }
.prod input { position: absolute; opacity: 0; width: 0; height: 0; }
.prod-check { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-2); flex-shrink: 0; display: grid; place-items: center; transition: .2s; }
.prod.is-on .prod-check { background: var(--gold); border-color: var(--gold); }
.prod.is-on .prod-check::after { content: "✓"; color: #1a1500; font-weight: 800; font-size: 0.85rem; }
.prod-main { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.prod-name { font-weight: 600; color: var(--ink); }
.prod-tv { color: var(--gold); font-size: 0.7rem; font-weight: 700; }
.prod-sub { color: var(--mute); font-size: 0.8rem; }
.prod-price { font-family: var(--serif); font-weight: 700; color: var(--gold); white-space: nowrap; }
.prod-total { display: flex; justify-content: space-between; align-items: center; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 1.02rem; color: var(--ink-2); }
.prod-total strong { font-family: var(--serif); color: var(--ink); font-size: 1.3rem; }
.prod-list.is-error::after { content: "Tria almenys un producte per continuar."; display: block; color: #ff9a8a; font-size: 0.85rem; margin-top: 0.7rem; }

/* signature */
.sign-wrap { position: relative; }
.sign-pad { width: 100%; height: 220px; background: #0c0c0c; border: 1px dashed var(--line-2); border-radius: var(--r); touch-action: none; cursor: crosshair; display: block; }
.sign-clear { position: absolute; top: 0.6rem; right: 0.6rem; font-size: 0.76rem; color: var(--mute); border: 1px solid var(--line-2); border-radius: 8px; padding: 0.25rem 0.6rem; background: rgba(0,0,0,0.45); }
.sign-clear:hover { color: var(--gold); border-color: var(--gold); }
.sign-hint { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; color: var(--mute); font-size: 1.05rem; }
.sign-hint.is-error { color: #ff9a8a; }

/* success */
.flow-success { text-align: center; padding: clamp(2rem, 5vw, 3.5rem); border-radius: var(--r-lg); }
.flow-success h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0.4rem 0; }
.flow-summary { text-align: left; max-width: 440px; margin: 1.4rem auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.4rem; }
.flow-sum-h { color: var(--mute); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.6rem; }
.flow-sum-list { display: grid; gap: 0.4rem; }
.flow-sum-list li { color: var(--ink-2); }
.flow-sum-total { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid var(--line); color: var(--ink-2); }
.flow-next { color: var(--mute); margin-top: 0.5rem; }
.flow-success-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }
.flow-help { text-align: center; color: var(--mute); margin-top: 1.6rem; font-size: 0.9rem; }
.flow-help a { color: var(--gold); }

/* ---- Tarifa detail ---- */
.tarifa { padding: clamp(1.5rem, 4vw, 3rem) 0 4rem; }
.crumbs { color: var(--mute); font-size: 0.82rem; margin-bottom: 1.5rem; }
.crumbs a:hover { color: var(--gold); }
.tarifa-hero { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 880px) { .tarifa-hero { grid-template-columns: 1.4fr 0.9fr; align-items: start; } }
.tarifa-badge { display: inline-block; background: linear-gradient(180deg, var(--gold-soft), var(--gold-dim)); color: #1a1500; font-weight: 700; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; margin-bottom: 0.8rem; }
.tarifa-name { font-size: clamp(2rem, 5vw, 3.2rem); }
.tarifa-sub { color: var(--mute); margin-top: 0.4rem; font-size: 1.05rem; }
.tarifa-tv { color: var(--gold); margin-top: 0.8rem; }
.tarifa-feats { margin-top: 1.4rem; }
.tarifa-feats li { font-size: 1rem; }
.tarifa-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.tarifa-fine { color: var(--mute); font-size: 0.82rem; margin-top: 1rem; }
.tarifa-price { border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.2rem); position: sticky; top: 96px; }
.tarifa-price-label { color: var(--mute); font-size: 0.8rem; }
.tarifa-price .price { margin: 0.2rem 0 1.2rem; }
.tarifa-trust { display: grid; gap: 0.5rem; margin-top: 1.2rem; }
.tarifa-trust li { color: var(--ink-2); font-size: 0.86rem; }
.tarifa-trust li span { color: var(--gold); margin-right: 0.4rem; }
.tarifa-related { margin-top: clamp(3rem, 6vw, 5rem); }
.tarifa-related-title { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.5rem; }
.card-link { cursor: pointer; }
.card-link-cta { color: var(--gold); font-weight: 600; font-size: 0.9rem; margin-top: auto; }

/* ensure [hidden] always wins over component display rules */
[hidden] { display: none !important; }

/* ============ 12. v4 — FEATURED TARIFFS (Parlem-style) ============ */
.brand-logo { height: clamp(40px, 5vw, 48px); }

.tv-allfree { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,214,0,0.12); border: 1px solid rgba(255,214,0,0.4); color: var(--gold); font-weight: 600; padding: 0.55rem 1.1rem; border-radius: 999px; margin-top: 1.3rem; font-size: 0.95rem; }
.tv-allfree strong { color: var(--gold); }

.featured-tarifes { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 0 0 2.6rem; }
.feat-card { padding: clamp(1.5rem, 3vw, 2rem); }
.feat-card .price-num { font-size: clamp(2.3rem, 8vw, 3rem); }
.feat-card .features li { font-size: 0.9rem; padding-left: 1.4rem; }
.feat-card .card-actions .btn { padding: 0.85rem 1rem; font-size: 0.92rem; }
.feat-mid { order: -1; }
@media (min-width: 900px) {
  .featured-tarifes { grid-template-columns: 1fr 1.12fr 1fr; gap: 1.2rem; align-items: center; }
  .feat-mid { order: 0; transform: scale(1.05); z-index: 2; border-color: rgba(255,214,0,0.6); box-shadow: 0 40px 90px -30px rgba(255,214,0,0.45); }
  .feat-mid .price-num { font-size: 3.3rem; }
  .feat-mid .card-name { font-size: 1.4rem; }
}
.feat-card { padding-top: 2.8rem; }

.tarifes-all-title { font-size: clamp(1.4rem, 3.2vw, 2rem); text-align: center; margin: 0 0 1.9rem; color: var(--mute); font-weight: 600; }

/* ============ 13. v5 — CARD FADE, STATS BAND, TARIFA SPECS/FAQ/OPINIONS ============ */

/* card fade-in (opacity only → never fights the tilt transform) */
.c-rise { opacity: 0; transition: opacity .7s var(--ease-out); }
.c-rise.is-in { opacity: 1; }

/* Animated stats band */
.statsband { position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0; overflow: hidden; isolation: isolate; background: var(--bg-2); border-block: 1px solid var(--line); }
.statsband-mesh { position: absolute; inset: -20%; z-index: -1; background: radial-gradient(40% 50% at 20% 30%, rgba(255,214,0,0.14), transparent 60%), radial-gradient(40% 50% at 85% 70%, rgba(255,214,0,0.08), transparent 60%); filter: blur(70px); animation: meshDrift 24s ease-in-out infinite; }
.statsband-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; margin-top: 0.5rem; }
@media (min-width: 760px) { .statsband-grid { grid-template-columns: repeat(5, 1fr); } }
.bigstat { text-align: center; }
.bigstat-num { font-family: var(--serif); font-weight: 800; font-size: clamp(2.4rem, 6vw, 3.6rem); color: var(--gold); display: block; line-height: 1; letter-spacing: -0.03em; }
.bigstat-label { color: var(--ink-2); font-size: 0.86rem; margin-top: 0.4rem; display: block; }
.statpills { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 2.4rem; }
.statpill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1rem; border: 1px solid rgba(255,214,0,0.35); border-radius: 999px; color: var(--ink-2); font-size: 0.85rem; font-weight: 500; background: rgba(255,214,0,0.05); }
.statpill span[aria-hidden] { color: var(--gold); }
.statsband .stats-fine { text-align: center; }

/* Tarifa detail — specs / faq / opinions */
.tarifa-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.tarifa-h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: 0.4rem; }
.tarifa-h2-sub { color: var(--mute); margin-bottom: 1.4rem; }
.specs-grid { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 680px) { .specs-grid { grid-template-columns: 1fr 1fr; } }
.spec-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.spec-k { color: var(--mute); }
.spec-v { color: var(--ink); font-weight: 600; text-align: right; }
.op-agg { display: flex; align-items: center; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.op-score { font-family: var(--serif); font-weight: 800; font-size: 2.4rem; color: var(--gold); }
.op-stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 2px; }
.op-count { color: var(--mute); font-size: 0.9rem; }
.op-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 680px) { .op-grid { grid-template-columns: repeat(3, 1fr); } }
.op-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; margin: 0; }
.op-rate { color: var(--gold); letter-spacing: 2px; margin-bottom: 0.6rem; }
.op-card blockquote { color: var(--ink-2); font-size: 0.95rem; margin: 0 0 0.9rem; }
.op-card figcaption { color: var(--mute); font-size: 0.85rem; font-weight: 600; }
.op-card figcaption span { font-weight: 400; }
.op-stars .star.off, .op-rate .star.off { opacity: 0.28; }

@media (prefers-reduced-motion: reduce) {
  .c-rise { opacity: 1 !important; transition: none; }
  .statsband-mesh { animation: none; }
}

/* ============ 14. v6 — CENTERED BIG LOGO HEADER ============ */
.topbar-cta { display: none; }
@media (min-width: 720px) { .topbar-cta { display: inline-flex; } }

.nav--center .nav-center { max-width: var(--maxw); margin-inline: auto; padding: 0.5rem var(--gutter) 0.7rem; display: flex; flex-direction: column; align-items: center; gap: 0.45rem; position: relative; }
.brand--center { justify-content: center; }
.brand-logo--big { height: clamp(76px, 13vw, 104px); width: auto; }
.nav-links--center { justify-content: center; flex-wrap: wrap; gap: 1.3rem; }
.nav--center .nav-toggle { position: absolute; right: var(--gutter); top: 1.4rem; }

/* anchor offset for the taller centered header */
section[id], .tarifa-group[id] { scroll-margin-top: 150px; }

/* flow pages: center + enlarge logo too */
.flow-nav .nav-inner { position: relative; justify-content: center; }
.flow-nav .brand-logo { height: clamp(54px, 8vw, 72px); }
.flow-exit { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); }
@media (max-width: 559px) { .flow-exit { font-size: 0.82rem; } }

/* ============ 15. v7 — TECH SECTION, 93% STAT, GOOGLE-STYLE REVIEWS ============ */
.techsec { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 760px) { .tech-grid { grid-template-columns: repeat(4, 1fr); } }
.tech-card { position: relative; padding: clamp(1.3rem, 2.4vw, 1.8rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .5s var(--ease-soft), border-color .4s; }
.tech-card:hover { border-color: rgba(255,214,0,0.35); transform: translateY(-4px); }
.tech-card--wide { grid-column: 1 / -1; }
@media (min-width: 760px) { .tech-card--wide { grid-column: 1 / -1; display: flex; gap: 1.5rem; align-items: center; } .tech-card--wide h3 { min-width: 260px; margin-bottom: 0; } }
.tech-tag { display: inline-flex; align-items: center; font-family: var(--serif); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em; color: #1a1500; background: linear-gradient(180deg, var(--gold-soft), var(--gold-dim)); padding: 0.3rem 0.7rem; border-radius: 8px; margin-bottom: 1rem; }
.tech-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.tech-card p { color: var(--mute); font-size: 0.9rem; }
.tech-card--wide p strong { color: var(--gold); }

/* 93% stat card inside Per què */
.why-card--stat { display: flex; flex-direction: column; }
.why-stat { font-family: var(--serif); font-weight: 800; font-size: clamp(2.6rem, 6vw, 3.4rem); color: var(--gold); line-height: 1; letter-spacing: -0.03em; display: block; margin-bottom: 0.4rem; }
.why-card--stat h3 { font-size: 1.05rem; }

/* Google-style reviews */
.reviews { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.rev-summary { display: grid; grid-template-columns: 1fr; gap: 1.4rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2rem); margin-bottom: 1.8rem; }
@media (min-width: 760px) { .rev-summary { grid-template-columns: auto 1fr auto; gap: 2.5rem; } }
.rev-score { text-align: center; }
.rev-score-num { font-family: var(--serif); font-weight: 800; font-size: 3.4rem; color: var(--ink); display: block; line-height: 1; }
.rev-stars { color: var(--gold); letter-spacing: 2px; font-size: 1.1rem; display: block; margin: 0.3rem 0; }
.rev-score-sub { color: var(--mute); font-size: 0.85rem; }
.rev-bars { display: grid; gap: 0.35rem; min-width: 0; }
.rev-bar { display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; color: var(--mute); }
.rev-bar i { flex: 1; height: 7px; border-radius: 99px; background: rgba(255,255,255,0.08); overflow: hidden; }
.rev-bar b { display: block; height: 100%; background: var(--gold); }
.rev-recommend { text-align: center; }
.rev-recommend-num { font-family: var(--serif); font-weight: 800; font-size: 2.4rem; color: var(--gold); display: block; line-height: 1; }
.rev-recommend span:last-child { color: var(--mute); font-size: 0.82rem; }
.rev-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .rev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .rev-grid { grid-template-columns: repeat(3, 1fr); } }
.rev-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; margin: 0; transition: border-color .3s, transform .4s; }
.rev-card:hover { border-color: rgba(255,214,0,0.3); transform: translateY(-3px); }
.rev-card header { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; }
.rev-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--c, #888); flex-shrink: 0; }
.rev-meta { display: flex; flex-direction: column; line-height: 1.2; flex: 1; }
.rev-meta b { color: var(--ink); font-size: 0.95rem; }
.rev-meta time { color: var(--mute); font-size: 0.76rem; }
.rev-g { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-weight: 800; font-size: 0.82rem; color: #4285F4; background: #fff; }
.rev-rate { color: var(--gold); letter-spacing: 2px; margin-bottom: 0.6rem; }
.rev-rate .off { opacity: 0.28; }
.rev-card blockquote { margin: 0; color: var(--ink-2); font-size: 0.92rem; }

/* ============ 16. v8 — COMPACT ONE-LINE HEADER + LEFT DRAWER ============ */
/* header on a single line, smaller fixed logo (no scroll jump) */
.nav--center .nav-center { flex-direction: row; align-items: center; gap: 1.2rem; padding: 0.4rem var(--gutter); }
.brand-logo--big { height: 42px; }
.brand--center { justify-content: flex-start; }
.nav-links--center { margin-left: auto; justify-content: flex-end; flex-wrap: wrap; gap: 1.05rem; }
.nav--center .nav-toggle { position: static; order: 3; margin-left: auto; }
section[id], .tarifa-group[id] { scroll-margin-top: 96px; }

/* mobile menu = left slide-in drawer, partial width */
.nav-mobile {
  top: 0; left: 0; right: auto; bottom: 0;
  width: min(80vw, 320px); height: 100%;
  clip-path: none; transform: translateX(-100%);
  transition: transform .4s var(--ease-soft);
  border-right: 1px solid var(--line);
  box-shadow: 24px 0 70px rgba(0,0,0,0.55);
  display: block; overflow-y: auto;
}
.nav-mobile[aria-hidden="false"] { clip-path: none; transform: translateX(0); }
.nav-mobile nav { align-items: flex-start; justify-content: flex-start; padding: 124px 1.6rem 2rem; gap: 1.05rem; min-height: auto; }
.nav-mobile a { font-size: clamp(1.15rem, 5.5vw, 1.4rem); }
.nav-mobile a.btn { align-self: stretch; text-align: center; }

/* tariff price aside: separate the two buttons */
.tarifa-price .btn + .btn { margin-top: 0.7rem; }

/* tech grid 3 cols + footer storefront */
@media (min-width: 760px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============ 17. v9 — FOOTER (On som + photo + nav) ============ */
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2rem; padding-bottom: 2.5rem; align-items: start; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 0.85fr 1.3fr 0.85fr; gap: 2.5rem; } }
.footer-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.footer-photo img { width: 100%; height: 100%; object-fit: cover; max-height: 360px; }
.footer-onsom-title { font-size: 1.3rem; margin-bottom: 0.8rem; }
.footer-onsom p { color: var(--mute); margin-bottom: 0.7rem; font-size: 0.95rem; }
.footer-addr-big { color: var(--ink) !important; font-weight: 600; }
.footer-onsom a { color: var(--gold); }
.footer-onsom a:hover { text-decoration: underline; }
.footer-nav { display: grid; gap: 0.55rem; align-content: start; }
.footer-nav a { color: var(--ink-2); font-size: 0.95rem; transition: color .3s; }
.footer-nav a:hover { color: var(--gold); }
.footer-claim { color: var(--gold); }

/* ============ 18. v10 — SINGLE-ROW HEADER (centered logo, shrink on scroll) ============ */
.nav--bar .nav-bar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; max-width: var(--maxw); margin-inline: auto; padding: 0.5rem var(--gutter); transition: padding .3s var(--ease-out); }
.nav-left { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 0.65rem; }
.brand--center { justify-self: center; }
.brand-logo--big { height: 60px; transition: height .3s var(--ease-out); }
.nav--bar .nav-link { font-size: 0.85rem; white-space: nowrap; }
.nav--bar .seg-btn { padding: 0.26rem 0.6rem; font-size: 0.72rem; }
.nav--bar .lang-select select { padding: 0.26rem 0.4rem; font-size: 0.78rem; }

/* sticky shrink */
.site-header.is-compact .brand-logo--big { height: 40px; }
.site-header.is-compact .nav-bar { padding-block: 0.2rem; }

/* breakpoint: full bar only on wide screens, else hamburger + centered logo */
.nav--bar .nav-toggle { display: none; }
@media (max-width: 1199px) {
  .nav-left, .nav-right { display: none; }
  .nav--bar .nav-toggle { display: flex; position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); }
}

/* drawer extras */
.seg-drawer { margin-bottom: 0.4rem; }
.seg-drawer .seg-btn { font-size: 0.85rem; padding: 0.4rem 0.9rem; }
.lang-drawer { display: block; margin-top: 0.6rem; }
.lang-drawer select { width: 100%; padding: 0.7rem; font-size: 1rem; }

/* ============ 19. v11 — HEADER LOGO LEFT (no collision) + SCROLL PERF + TARIFF TABS ============ */
/* Solid header (no backdrop-filter → smooth scroll, no jank) */
.site-header { background: #111 !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* one row, logo on the LEFT, links, actions right */
.nav--bar .nav-bar { display: flex; align-items: center; gap: 1.1rem; }
.brand--center { order: -1; justify-self: auto; }
.nav-left { order: 1; flex-wrap: nowrap; }
.nav-right { order: 2; margin-left: auto; }
@media (max-width: 1199px) {
  .nav--bar .nav-toggle { position: static; transform: none; order: -2; margin-right: 0.2rem; }
  .brand--center { margin-right: auto; }
}

/* Tariff quick tabs (Parlem-style) */
.tariff-tabs { display: flex; gap: 0.3rem; width: max-content; max-width: 100%; margin: 0 auto 2.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px; }
.tariff-tab { padding: 0.6rem 1.3rem; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: var(--mute); white-space: nowrap; transition: color .3s, background-color .3s; }
.tariff-tab:hover { color: var(--ink); }
.tariff-tab.is-active { background: linear-gradient(180deg, var(--gold-soft), var(--gold-dim)); color: #1a1500; }
@media (max-width: 420px) { .tariff-tab { padding: 0.55rem 0.8rem; font-size: 0.82rem; } }

/* ============ 20. v12 — BIG CENTERED LOGO (absolute) that shrinks on scroll ============ */
.nav--bar .nav-bar { position: relative; min-height: 80px; transition: min-height .35s var(--ease-out); }
.brand--center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); order: 0; margin: 0; }
.brand-logo--big { height: 66px; transition: height .35s var(--ease-out); }
.nav-left { order: 1; }
.nav-right { order: 2; margin-left: auto; }
.site-header.is-compact .nav-bar { min-height: 54px; }
.site-header.is-compact .brand-logo--big { height: 40px; }
@media (min-width: 1200px) { .nav-left, .nav-right { max-width: 42%; } }
@media (max-width: 1199px) {
  .nav--bar .nav-toggle { position: static; order: -2; margin-right: auto; }
  .nav--bar .nav-bar { min-height: 64px; }
  .brand-logo--big { height: 52px; }
  .site-header.is-compact .brand-logo--big { height: 38px; }
}

/* ============ 21. v13 — LEGAL NOTE, 2-CARD FEATURED, SPECIAL-NEEDS BOX ============ */
.card-legal { font-size: 0.64rem; color: var(--mute); opacity: 0.65; margin: -0.3rem 0 0.9rem; line-height: 1.3; }
.tarifa-legal { font-size: 0.78rem; color: var(--mute); margin-top: 1.1rem; max-width: 64ch; line-height: 1.55; }
@media (min-width: 900px) { .featured-tarifes.featured-2 { grid-template-columns: 1fr 1fr; max-width: 760px; margin-inline: auto; } }
.special-box { margin-top: 3rem; display: grid; grid-template-columns: 1fr; gap: 1.4rem; align-items: center; padding: clamp(1.6rem, 3vw, 2.4rem); border: 1px dashed rgba(255,214,0,0.4); border-radius: var(--r-lg); background: rgba(255,214,0,0.05); }
@media (min-width: 760px) { .special-box { grid-template-columns: 1.1fr 0.9fr; } }
.special-title { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.5rem; }
.special-copy p { color: var(--ink-2); }
.special-form-wrap { background: var(--surface); border: 1px solid var(--line); }

/* ============ 22. v14 — QUI SOM MANIFEST PAÍS ============ */
.manifest-pais { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.manifest-pais-title { font-size: clamp(2rem, 5vw, 3.4rem); }
.manifest-pais-lead { max-width: 62ch; margin-inline: auto; }
.fets-title { text-align: center; font-size: clamp(1.4rem, 3vw, 2rem); margin: clamp(2rem, 4vw, 3rem) 0 1.6rem; }
.fets-title span { color: var(--mute); font-weight: 500; }
.fets-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .fets-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .fets-grid { grid-template-columns: repeat(4, 1fr); } }
.fet { padding: clamp(1.4rem, 2.4vw, 1.9rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: transform .5s var(--ease-soft), border-color .4s; }
.fet:hover { border-color: rgba(255,214,0,0.3); transform: translateY(-4px); }
.fet-ico { font-size: 1.9rem; display: block; margin-bottom: 0.7rem; }
.fet h4 { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); margin-bottom: 0.4rem; }
.fet p { color: var(--mute); font-size: 0.9rem; }
.diners-block { margin: clamp(2.5rem, 5vw, 4rem) auto 0; padding: clamp(1.8rem, 4vw, 3rem); border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(218,18,26,0.10), rgba(255,214,0,0.06)); border: 1px solid var(--line-2); max-width: 820px; }
.diners-title { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 1rem; }
.diners-intro { color: var(--ink-2); margin-bottom: 1rem; }
.diners-list { display: grid; gap: 0.7rem; margin-bottom: 1.3rem; }
.diners-list li { color: var(--ink-2); display: flex; gap: 0.6rem; align-items: flex-start; }
.diners-list .x { color: #ff6b5b; font-weight: 800; flex-shrink: 0; }
.diners-out { color: var(--ink); }
.diners-out strong { color: var(--gold); }
.pais-cta { text-align: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.pais-cta h3 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); margin-bottom: 0.6rem; }
.pais-cta p { color: var(--mute); margin-bottom: 1.6rem; }
.pais-cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ============ 23. v15 — JANK FIX, FEATURED SIZING, CHANNELS, MEMORIAL ============ */
/* Perf: stop continuous blurred-mesh animations (caused scroll lag) */
.hero-mesh, .statsband-mesh { animation: none !important; }

/* Featured: middle clearly bigger, sides smaller (layout-based, not transform) */
@media (min-width: 900px) {
  .featured-tarifes { grid-template-columns: 1fr 1.32fr 1fr; align-items: center; }
  .feat-mid { transform: none; padding: 2.4rem 2rem; border-color: rgba(255,214,0,0.65); box-shadow: 0 40px 90px -30px rgba(255,214,0,0.5); }
  .feat-mid .price-num { font-size: 3.6rem; }
  .feat-mid .card-name { font-size: 1.55rem; }
  .feat-mid .features li { font-size: 0.95rem; }
  .feat-card:not(.feat-mid) { padding: 1.3rem 1.3rem; }
  .feat-card:not(.feat-mid) .price-num { font-size: 2.3rem; }
  .feat-card:not(.feat-mid) .card-name { font-size: 1.05rem; }
  .feat-card:not(.feat-mid) .features li { font-size: 0.83rem; }
  .feat-card:not(.feat-mid) .card-tvnote { font-size: 0.72rem; }
}

/* TV channels */
.channels-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 600px) { .channels-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .channels-grid { grid-template-columns: repeat(3, 1fr); } }
.ch-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.3rem; }
.ch-cat { font-family: var(--serif); font-size: 1rem; color: var(--gold); margin-bottom: 0.7rem; display: flex; gap: 0.4rem; align-items: center; }
.ch-list { display: grid; gap: 0.35rem; }
.ch-list li { color: var(--ink-2); font-size: 0.9rem; }

/* Memorial 1-O */
.memorial { position: relative; padding: clamp(4rem, 10vw, 8rem) 0; overflow: hidden; isolation: isolate; text-align: center; }
.memorial-bg { position: absolute; inset: 0; z-index: -2; }
.memorial-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.15) brightness(0.42) contrast(1.08); }
.memorial-tint { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,11,0.72), rgba(11,11,11,0.5) 42%, rgba(11,11,11,0.88)); }
.memorial-inner { max-width: 760px; margin-inline: auto; }
.memorial-date { font-family: var(--serif); font-weight: 800; font-size: clamp(4rem, 16vw, 9rem); line-height: 0.9; color: var(--gold); letter-spacing: -0.04em; text-shadow: 0 6px 40px rgba(0,0,0,0.6); }
.memorial-title { font-size: clamp(1.6rem, 4vw, 2.6rem); color: #fff; margin-top: 0.4rem; }
.memorial-sub { font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 3.5vw, 2.2rem); color: var(--gold); margin-top: 0.3rem; }
.memorial-text { color: rgba(255,255,255,0.85); max-width: 62ch; margin: 1.3rem auto 0; font-size: 1.05rem; line-height: 1.7; }
.memorial-text--strong { color: #fff; font-weight: 500; }
.memorial-quote { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 3vw, 1.85rem); color: var(--gold); margin-top: 1.8rem; }

/* ============ 24. v16 — SMOOTH LOGO SHRINK (transform) + MOBILE 2-UP COMPACT ============ */
/* Logo shrinks via GPU transform (no layout reflow → smooth). Bar height constant. */
.nav--bar .nav-bar { transition: none; }
.brand--center { transition: transform .32s var(--ease-out); will-change: transform; }
.brand-logo--big { transition: none; }
.site-header.is-compact .nav-bar { min-height: 80px; }
.site-header.is-compact .brand-logo--big { height: 60px; }
.site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.6); }
@media (max-width: 1199px) {
  .nav--bar .nav-bar { min-height: 64px; }
  .site-header.is-compact .nav-bar { min-height: 64px; }
  .site-header.is-compact .brand-logo--big { height: 52px; }
  .site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.62); }
}

/* Featured tariffs: 2-up on mobile/tablet, best one first; 3-up (mid bigger) on desktop */
.featured-tarifes { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
@media (min-width: 900px) { .featured-tarifes { grid-template-columns: 1fr 1.32fr 1fr; gap: 1.2rem; } }
@media (max-width: 899px) { .feat-mid { order: -1; } }

/* Mobile: compact cards — hide detail bullets until you open the tariff */
@media (max-width: 599px) {
  .card .features, .card .card-legal { display: none; }
  .card .card-tvnote { font-size: 0.66rem; margin: -0.2rem 0 0.7rem; }
  .card .price { margin: 0.5rem 0 0.7rem; }
  .card-name { font-size: 1rem; }
  .feat-card { padding: 1.05rem; padding-top: 2.5rem; }
  .card-actions .btn { padding: 0.6rem 0.4rem; font-size: 0.78rem; }
}

/* v16b — fit price within 2-up mobile cards */
@media (max-width: 599px) {
  .card .price-num { font-size: 1.55rem; }
  .card .price-text { font-size: 1.2rem; }
  .card .price-unit { font-size: 0.72rem; }
  .feat-card .price-num { font-size: 1.7rem; }
  .card-desc { font-size: 0.74rem; }
}

/* =============================================================
   v17 — tarifa.html pop-ups: "Truca'm" + "Contractar ara"
   ============================================================= */

/* Lock background scroll while a dialog is open */
body.modal-open { overflow: hidden; }

/* The call-me modal card needs the warm glass look */
.modal[data-callme-modal] .modal-card { background: var(--bg-2, #161616); border: 1px solid var(--line); box-shadow: 0 30px 70px -28px rgba(0,0,0,0.7); }
@supports (backdrop-filter: blur(12px)) { .modal[data-callme-modal] .modal-card { background: rgba(22,22,22,0.92); backdrop-filter: blur(16px); } }
.modal[data-callme-modal] .cta-form .btn-wa { margin-top: 0.2rem; }

/* Wide modal that holds the contractació wizard inside an iframe */
.modal--wide { width: min(720px, 96vw); }
.modal-frame-wrap {
  position: relative; border-radius: var(--r-lg, 18px); overflow: hidden;
  background: var(--bg, #131313); border: 1px solid var(--line);
  box-shadow: 0 34px 80px -30px rgba(0,0,0,0.8);
}
.contract-frame {
  display: block; width: 100%; height: min(86vh, 820px);
  border: 0; background: var(--bg, #131313);
}
.modal-close--float {
  position: absolute; top: 0.55rem; right: 0.7rem; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem;
  background: rgba(10,10,10,0.78); color: var(--ink-2, #eee);
  box-shadow: 0 6px 18px -6px rgba(0,0,0,0.6);
}
.modal-close--float:hover { color: var(--gold); background: rgba(10,10,10,0.92); }

/* Embed mode: contractar.html shown inside the iframe — strip chrome */
.embed .site-header,
.embed .wa-float,
.embed .flow-exit,
.embed .flow-help { display: none !important; }
.embed.page-flow { background: transparent; }
.embed .flow { padding-top: 1.25rem; }
.embed .flow-head { margin-top: 0; }

@media (max-width: 600px) {
  .modal--wide { width: 100vw; }
  .modal-frame-wrap { border-radius: 14px; }
  .contract-frame { height: 88vh; }
}

/* The cover modal card uses the dark glass-on-gold look */
.modal[data-cover-modal] .modal-card { color: var(--ink-2); }
.modal[data-cover-modal] .modal-sub strong { color: var(--gold); font-weight: 600; }

/* v17b — compact coverage band on mobile (only the address, less copy) */
@media (max-width: 600px) {
  .coverband { padding: 1.9rem 0; }
  .coverband-inner { gap: 1rem; }
  .coverband .kicker { font-size: 0.66rem; letter-spacing: 0.14em; }
  .coverband-title { font-size: 1.32rem; line-height: 1.18; margin-top: 0.3rem; }
  .coverband-text { font-size: 0.88rem; margin-top: 0.4rem; max-width: none; }
  .cover-wrap { padding: 1.05rem; }
  .cover-form { gap: 0.7rem; }
}

/* v17c — compact coverage band on desktop too (lower, tighter) */
@media (min-width: 601px) {
  .coverband { padding: clamp(1.8rem, 3vw, 2.4rem) 0; }
  .coverband-title { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
  .coverband-text { font-size: 0.96rem; max-width: 42ch; }
}
@media (min-width: 720px) {
  .coverband-inner { grid-template-columns: 1.15fr 0.85fr; gap: clamp(1.5rem, 3vw, 2.6rem); }
  .cover-wrap { align-self: center; padding: clamp(1.2rem, 2vw, 1.5rem); }
}

/* =============================================================
   v18 — BIGGER logo at the top, smooth scale-shrink on scroll.
   Bar height stays CONSTANT per breakpoint (no reflow = no jank);
   only .brand--center is transform-scaled when .is-compact.
   These rules are last in the file, so they win the cascade.
   ============================================================= */
.nav--bar .nav-bar { min-height: 96px; }
.site-header.is-compact .nav-bar { min-height: 96px; }
.brand-logo--big { height: 90px; }
.site-header.is-compact .brand-logo--big { height: 90px; }
.site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.5); }
@media (min-width: 1200px) { .nav-left, .nav-right { max-width: 40%; } }

@media (max-width: 1199px) {
  .nav--bar .nav-bar { min-height: 84px; }
  .site-header.is-compact .nav-bar { min-height: 84px; }
  .brand-logo--big { height: 80px; }
  .site-header.is-compact .brand-logo--big { height: 80px; }
  .site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.55); }
}
@media (max-width: 600px) {
  .nav--bar .nav-bar { min-height: 76px; }
  .site-header.is-compact .nav-bar { min-height: 76px; }
  .brand-logo--big { height: 72px; }
  .site-header.is-compact .brand-logo--big { height: 72px; }
  .site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.56); }
}

/* The flow-nav (tarifa/contractar) logo also a touch bigger */
.flow-nav .brand-logo { height: clamp(58px, 9vw, 80px); }

/* "1·O" memorial link — gold accent so it stands out in the menu */
.nav-link--1o { color: var(--gold); font-weight: 700; letter-spacing: 0.02em; }
.nav-link--1o:hover { color: var(--gold); opacity: 0.85; }
.nav-mobile .drawer-1o { color: var(--gold); font-weight: 700; }
.footer-nav .footer-1o { color: var(--gold); font-weight: 600; }

/* Reduce inter-link gap on the widest bar so the bigger logo never collides */
@media (min-width: 1200px) { .nav-left { gap: 0.7rem; } .nav-left .nav-link { font-size: 0.9rem; } }

/* =============================================================
   v19 — BIGGER logo + more air around the menu.
   IMPORTANT: the bar height is CONSTANT (same when scrolled).
   NO min-height animation on the sticky bar → no reflow → fluid.
   Only the logo scales (GPU transform) when .is-compact.
   ============================================================= */
.nav--bar .nav-bar { min-height: 104px; transition: none; }
.brand-logo--big { height: 96px; transition: none; }
.site-header.is-compact .nav-bar { min-height: 104px; }          /* constant — no reflow */
.site-header.is-compact .brand-logo--big { height: 96px; }
.brand--center { transition: transform .3s var(--ease-out); will-change: transform; }
.site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.55); }

/* Desktop: keep the links well clear of the centered logo */
@media (min-width: 1200px) {
  .nav-left, .nav-right { max-width: 36%; }
  .nav-left { gap: 0.45rem; }
  .nav-left .nav-link { font-size: 0.82rem; }
  .nav-right { gap: 0.45rem; }
}

@media (max-width: 1199px) {
  .nav--bar .nav-bar { min-height: 90px; }
  .site-header.is-compact .nav-bar { min-height: 90px; }
  .brand-logo--big { height: 82px; }
  .site-header.is-compact .brand-logo--big { height: 82px; }
  .site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.58); }
}
@media (max-width: 600px) {
  .nav--bar .nav-bar { min-height: 82px; }
  .site-header.is-compact .nav-bar { min-height: 82px; }
  .brand-logo--big { height: 74px; }
  .site-header.is-compact .brand-logo--big { height: 74px; }
  .site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.6); }
}

/* =============================================================
   v20 — extra content blocks on the product (tarifa) page:
   Google-Maps reviews (reuse .rev-*), "El que no negociem",
   1-O memorial (contained) and a final contract CTA.
   ============================================================= */
.tarifa-values-grid { grid-template-columns: 1fr; }
@media (min-width: 560px) { .tarifa-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .tarifa-values-grid { grid-template-columns: repeat(3, 1fr); } }

/* Memorial as a contained, dramatic card */
.tarifa-memorial { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); padding: clamp(2.2rem, 6vw, 4rem) clamp(1.2rem, 4vw, 2.5rem); text-align: center; }
.tarifa-memorial .memorial-bg { border-radius: inherit; }
.tarifa-memorial .memorial-date { font-size: clamp(3rem, 11vw, 5.5rem); }
.tarifa-memorial .memorial-title { font-size: clamp(1.3rem, 3.6vw, 2rem); }
.tarifa-memorial .memorial-sub { font-size: clamp(1.15rem, 3.2vw, 1.7rem); }
.tarifa-memorial .memorial-text { font-size: 1rem; margin-top: 1rem; }
.tarifa-memorial .memorial-quote { margin-top: 1.4rem; }

/* Final CTA block — gold-tinted, centered */
.tarifa-cta { text-align: center; background: linear-gradient(135deg, rgba(255,214,0,0.1), rgba(255,214,0,0.02)); border: 1px solid rgba(255,214,0,0.28); border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.2rem) clamp(1.2rem, 4vw, 2.5rem); }
.tarifa-cta .kicker { display: inline-flex; justify-content: center; }
.tarifa-cta .tarifa-h2, .tarifa-cta .tarifa-h2-sub { margin-left: auto; margin-right: auto; max-width: 32ch; }
.tarifa-cta-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 1.5rem; }
.tarifa-cta .tarifa-fine { text-align: center; }

/* =============================================================
   v21 — perks chips + "Tornarem amb tu" pill & info pop-up;
   no duplicate CTAs on mobile tariff detail.
   ============================================================= */
.card-perks { display: flex; flex-wrap: wrap; align-items: center; gap: 0.32rem 0.4rem; margin: 0.1rem 0 0.9rem; }
.perk { font-size: 0.72rem; font-weight: 600; line-height: 1; padding: 0.34rem 0.6rem; border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.perk-plus { color: var(--gold); font-weight: 700; font-size: 0.8rem; opacity: 0.85; }
.perk-ambtu { display: inline-flex; align-items: center; gap: 0.45em; cursor: pointer; background: rgba(255,214,0,0.12); border-color: rgba(255,214,0,0.45); color: var(--gold); transition: background-color .25s, transform .2s; }
.perk-ambtu:hover { background: rgba(255,214,0,0.22); transform: translateY(-1px); }
.ambtu-i { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); color: #1a1500; font-style: italic; font-weight: 700; font-size: 0.62rem; font-family: Georgia, "Times New Roman", serif; }
.tarifa-perks { margin: 0.2rem 0 0; }

/* "Tornarem amb tu" pop-up */
.ambtu-modal .modal-card { background: var(--bg-2, #161616); border: 1px solid var(--line); box-shadow: 0 30px 70px -28px rgba(0,0,0,0.7); }
@supports (backdrop-filter: blur(12px)) { .ambtu-modal .modal-card { background: rgba(22,22,22,0.94); backdrop-filter: blur(16px); } }
.ambtu-modal .modal-title em { color: var(--gold); font-style: normal; }
.ambtu-grid { display: grid; grid-template-columns: 1fr; gap: 0.7rem; margin-top: 0.5rem; }
@media (min-width: 640px) { .ambtu-grid { grid-template-columns: 1fr 1fr; } }
.ambtu-item { background: rgba(255,255,255,0.035); border: 1px solid var(--line); border-radius: var(--r); padding: 0.9rem 1rem; transition: transform .25s var(--ease-out), border-color .25s; }
.ambtu-item:hover { transform: translateY(-2px); border-color: rgba(255,214,0,0.4); }
.ambtu-ico { font-size: 1.55rem; display: block; margin-bottom: 0.35rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4)); }
.ambtu-item h4 { font-size: 0.98rem; margin-bottom: 0.2rem; color: var(--ink); }
.ambtu-item p { font-size: 0.84rem; color: var(--mute); line-height: 1.45; }
.ambtu-foot { margin-top: 1.1rem; font-size: 0.85rem; color: var(--gold); text-align: center; }

/* Hide perks on the smallest 2-up mobile cards (keep cards tidy) */
@media (max-width: 599px) { .card .card-perks { display: none; } .tarifa-perks { display: flex !important; } }

/* Mobile tariff detail: keep ONE set of CTAs (the price card), drop the top duplicate */
@media (max-width: 879px) { .tarifa-actions { display: none; } }
.tarifa-price { top: 116px; }

/* Qui som — closing line of the manifest essay */
.manifest-close { margin-top: 1.2rem; font-family: var(--serif); font-size: 1.15rem; color: var(--gold); display: flex; align-items: center; gap: 0.5em; flex-wrap: wrap; }
.manifest-close strong { color: var(--gold); }

/* =============================================================
   v22 — FIXED shrinking header (jank-free), golden hero,
   cleaner Vera-style cards, louder "Tornarem amb tu" pill.
   ============================================================= */

/* Header is FIXED → shrinking its height never reflows the page (fluid). */
.site-header { position: fixed; left: 0; right: 0; top: 0; border-bottom: 0 !important;
  background: linear-gradient(180deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.62) 55%, rgba(10,10,10,0) 100%) !important;
  box-shadow: none; transition: background .3s var(--ease-out); }
.site-header.is-compact { background: #111 !important; box-shadow: 0 10px 30px -18px rgba(0,0,0,0.78); }
/* flow pages have no hero image → keep their header solid + push content below it */
.page-flow .site-header { background: #111 !important; }
body.page-flow { padding-top: 72px; }
.flow-nav .nav-inner { min-height: 58px; }

/* The WHOLE bar shrinks on scroll (fixed element → smooth) */
.nav--bar .nav-bar { min-height: 94px; transition: min-height .3s var(--ease-out); }
.site-header.is-compact .nav-bar { min-height: 58px; }
.brand-logo--big { height: 78px; }
.site-header.is-compact .brand-logo--big { height: 78px; }
.site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.6); }
@media (max-width: 1199px) {
  .nav--bar .nav-bar { min-height: 84px; }
  .site-header.is-compact .nav-bar { min-height: 56px; }
  .brand-logo--big { height: 70px; }
  .site-header.is-compact .brand-logo--big { height: 70px; }
  .site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.62); }
}
@media (max-width: 600px) {
  .nav--bar .nav-bar { min-height: 74px; }
  .site-header.is-compact .nav-bar { min-height: 52px; }
  .brand-logo--big { height: 64px; }
  .site-header.is-compact .brand-logo--big { height: 64px; }
  .site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.64); }
}

/* Clear the fixed header so hero content is never hidden behind it */
.hero { padding-top: clamp(7rem, 11vw, 9.5rem); }
@media (max-width: 600px) { .hero { padding-top: 7rem; } }

/* HOME hero (golden Montserrat at sunset) — let its own warm tones show */
.hero:not(.hero--page) .hero-bg img { filter: brightness(0.94) contrast(1.04) saturate(1.08); }
.hero:not(.hero--page) .hero-tint {
  background:
    linear-gradient(180deg, rgba(20,12,0,0.34) 0%, rgba(20,12,0,0.06) 36%, rgba(10,7,0,0.88) 100%),
    linear-gradient(90deg, rgba(15,9,0,0.6) 0%, transparent 58%);
}

/* Cleaner cards (Vera-style): drop the long feature list before clicking */
.card .features, .card .card-legal { display: none !important; }
.card .card-perks { margin-top: 0.4rem; }

/* Louder, animated "+ Tornarem amb tu" pill that invites clicking */
.perk-ambtu { background: linear-gradient(180deg, rgba(255,214,0,0.2), rgba(255,214,0,0.08)); border-color: var(--gold); color: var(--gold); font-weight: 700; padding: 0.44rem 0.7rem; box-shadow: 0 0 0 0 rgba(255,214,0,0.5); animation: ambtuPulse 2.6s ease-in-out infinite; }
.perk-ambtu:hover { background: var(--gold); color: #1a1500; transform: translateY(-1px); animation: none; }
.perk-ambtu:hover .ambtu-i, .perk-ambtu:hover .ambtu-cta { background: #1a1500; color: var(--gold); }
.ambtu-cta { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.02em; background: var(--gold); color: #1a1500; border-radius: 999px; padding: 0.12rem 0.46rem; margin-left: 0.15rem; }
@keyframes ambtuPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,214,0,0.45); } 50% { box-shadow: 0 0 0 7px rgba(255,214,0,0); } }
@media (prefers-reduced-motion: reduce) { .perk-ambtu { animation: none; } }

/* =============================================================
   v23 — EMPRESES page
   ============================================================= */
.emp-tools, .emp-segments, .emp-why, .emp-digital, .emp-contact { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.emp-tools { background: var(--bg-2); border-block: 1px solid var(--line); }

.emp-tools-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 3vw, 2rem); }
@media (min-width: 820px) { .emp-tools-grid { grid-template-columns: 1fr 1fr; } }
.emp-tool { padding: clamp(1.5rem, 3vw, 2.2rem); border-radius: var(--r-lg); position: relative; }
.emp-tool-ico { font-size: 2.2rem; display: block; margin-bottom: 0.5rem; filter: drop-shadow(0 6px 14px rgba(0,0,0,0.4)); }
.emp-tool h3 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin-bottom: 0.4rem; }
.emp-tool > p { color: var(--ink-2); margin-bottom: 1.2rem; }
.emp-tool .cover-wrap, .emp-tool .contact-card { position: relative; padding: 0; background: none; border: 0; }

/* file drop / upload */
.filedrop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; text-align: center;
  border: 1.5px dashed rgba(255,214,0,0.45); border-radius: var(--r); padding: 1.3rem 1rem; cursor: pointer; transition: background-color .25s, border-color .25s; background: rgba(255,214,0,0.04); }
.filedrop:hover { background: rgba(255,214,0,0.09); border-color: var(--gold); }
.filedrop-ico { font-size: 1.6rem; }
.filedrop-text { font-size: 0.85rem; color: var(--mute); }
.filedrop.has-file { border-style: solid; border-color: var(--gold); background: rgba(255,214,0,0.1); }
.filedrop.has-file .filedrop-text { color: var(--gold); font-weight: 600; }
.filedrop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* segments */
.emp-seg-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2.5vw, 1.6rem); }
@media (min-width: 720px) { .emp-seg-grid { grid-template-columns: repeat(3, 1fr); } }
.emp-seg { padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--r-lg); position: relative; display: flex; flex-direction: column; }
.emp-seg-ico { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.emp-seg h3 { font-size: 1.4rem; }
.emp-seg-claim { color: var(--gold); font-family: var(--serif); font-weight: 600; font-size: 1.05rem; margin: 0.1rem 0 0.6rem; }
.emp-seg > p { color: var(--ink-2); font-size: 0.92rem; margin-bottom: 1.2rem; flex: 1; }

/* feature + digital grids */
.emp-feat-grid { display: grid; grid-template-columns: 1fr; gap: clamp(0.9rem, 2vw, 1.3rem); }
@media (min-width: 600px) { .emp-feat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .emp-feat-grid { grid-template-columns: repeat(3, 1fr); } }
.emp-feat { padding: clamp(1.3rem, 2.4vw, 1.7rem); background: var(--glass-2); border: 1px solid var(--line); border-radius: var(--r); transition: transform .25s var(--ease-out), border-color .25s; }
.emp-feat:hover { transform: translateY(-3px); border-color: rgba(255,214,0,0.4); }
.emp-feat-ico { font-size: 1.7rem; display: block; margin-bottom: 0.5rem; }
.emp-feat h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.emp-feat p { color: var(--mute); font-size: 0.88rem; }
.emp-digital { background: var(--bg-2); border-block: 1px solid var(--line); }
.emp-digital-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.9rem, 2vw, 1.3rem); }
@media (min-width: 820px) { .emp-digital-grid { grid-template-columns: repeat(4, 1fr); } }
.emp-dig { text-align: center; padding: 1.4rem 1rem; border: 1px solid var(--line); border-radius: var(--r); }
.emp-dig-ico { font-size: 1.9rem; display: block; margin-bottom: 0.4rem; }
.emp-dig h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.emp-dig p { color: var(--mute); font-size: 0.85rem; }

/* empreses CTA inside gold band */
.emp-cta-h { font-family: var(--sans); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin-bottom: 0.2rem; }
.emp-cta-sub { color: var(--ink-2); font-size: 0.9rem; margin-bottom: 1rem; }

/* contact + faq */
.emp-contact .contact-card { position: relative; padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--r-lg); max-width: 760px; margin-inline: auto; }
.faq-grid { display: grid; grid-template-columns: 1fr; gap: 0.7rem; max-width: 820px; margin-inline: auto; }
@media (min-width: 760px) { .faq-grid { grid-template-columns: 1fr 1fr; } }

/* =============================================================
   v24 — minimalist cards, readable nav, bigger logo,
   darker mobile hero, quick "Et truquem".
   ============================================================= */

/* Cards: clean spec line + subtle "amb tu" link (no pills, no pulse) */
.card-perks { margin: 0.1rem 0 0; display: block; }
.card-specs { color: var(--ink-2); font-size: 0.92rem; line-height: 1.5; margin: 0.2rem 0 0.5rem; }
.card-ambtu { display: inline-flex; align-items: center; gap: 0.4em; background: none; border: 0; padding: 0; margin: 0 0 1rem; cursor: pointer; color: var(--gold); font-family: var(--sans); font-size: 0.85rem; font-weight: 600; }
.card-ambtu strong { font-weight: 700; }
.card-ambtu:hover { text-decoration: underline; }
.card-ambtu .ambtu-i { width: 15px; height: 15px; font-size: 0.6rem; }
.perk-ambtu { animation: none; }

/* Nav (desktop): readable + separated, fits left of the big centered logo */
@media (min-width: 1200px) {
  .nav-left { gap: 0.55rem; max-width: 47%; }
  .nav-left .nav-link { font-size: 0.86rem; }
  .nav-right { max-width: 38%; }
}
@media (min-width: 1500px) {
  .nav-left { gap: 0.95rem; }
  .nav-left .nav-link { font-size: 0.95rem; }
}

/* Bigger logo (keeps the fixed shrink-on-scroll) */
.nav--bar .nav-bar { min-height: 104px; }
.site-header.is-compact .nav-bar { min-height: 60px; }
.brand-logo--big { height: 86px; }
.site-header.is-compact .brand-logo--big { height: 86px; }
@media (max-width: 1199px) {
  .nav--bar .nav-bar { min-height: 92px; }
  .brand-logo--big { height: 80px; }
  .site-header.is-compact .brand-logo--big { height: 80px; }
}
@media (max-width: 600px) {
  .nav--bar .nav-bar { min-height: 84px; }
  .brand-logo--big { height: 72px; }
  .site-header.is-compact .brand-logo--big { height: 72px; }
}
.hero { padding-top: clamp(8rem, 13vw, 10.5rem); }
@media (max-width: 600px) { .hero { padding-top: 7.5rem; } }

/* Hero darker on mobile → text legible */
@media (max-width: 600px) {
  .hero:not(.hero--page) .hero-tint {
    background:
      linear-gradient(180deg, rgba(10,7,0,0.55) 0%, rgba(10,7,0,0.38) 40%, rgba(8,5,0,0.94) 100%),
      linear-gradient(90deg, rgba(10,7,0,0.55) 0%, transparent 72%);
  }
}

/* Quick "Et truquem" — minimal standalone band */
.callme-band { padding: clamp(3rem, 7vw, 5rem) 0; background: var(--bg); border-block: 1px solid var(--line); }
.callme-inner { max-width: 620px; margin-inline: auto; text-align: center; }
.callme-inner h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 0.3rem; }
.callme-inner p { color: var(--mute); margin-bottom: 1.4rem; }
.quickcall { display: flex; gap: 0.6rem; max-width: 460px; margin: 0 auto; }
.quickcall .field { flex: 1; margin: 0; }
.quickcall .btn { white-space: nowrap; }
@media (max-width: 480px) { .quickcall { flex-direction: column; } }
.quickcall-ok { color: var(--gold); font-family: var(--serif); font-size: 1.2rem; margin-top: 0.6rem; }

/* Quick "Et truquem" inside the mobile drawer */
.drawer-callme { margin: 0.5rem 0 0.3rem; padding: 0.9rem; border: 1px solid rgba(255,214,0,0.45); border-radius: var(--r); background: rgba(255,214,0,0.07); }
.drawer-callme-h { font-weight: 700; color: var(--gold); font-size: 0.92rem; margin-bottom: 0.55rem; display: flex; align-items: center; gap: 0.4em; }
.drawer-callme .quickcall { flex-direction: column; gap: 0.5rem; max-width: none; }
.drawer-callme .quickcall-ok { font-size: 1rem; text-align: center; }

/* =============================================================
   v25 — clearer cards, bigger logo + margin, active-section
   underline, animated tab switching, custom-tariff CTA.
   ============================================================= */

/* Card "Inclou:" line + clearer "amb tu" */
.card-specs-label { color: var(--mute); font-weight: 600; }
.card-ambtu { color: var(--gold); }
.card-ambtu .ambtu-i { width: 16px; height: 16px; font-size: 0.62rem; flex: 0 0 auto; }

/* BIGGER logo + more air from the menu (7 links fit) */
.nav--bar .nav-bar { min-height: 118px; }
.site-header.is-compact .nav-bar { min-height: 62px; }
.brand-logo--big { height: 100px; }
.site-header.is-compact .brand-logo--big { height: 100px; }
.site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.55); }
@media (min-width: 1200px) {
  .nav-left { gap: 0.85rem; max-width: 41%; }
  .nav-left .nav-link { font-size: 0.92rem; }
  .nav-right { max-width: 38%; }
}
@media (min-width: 1500px) {
  .nav-left { gap: 1.05rem; }
  .nav-left .nav-link { font-size: 0.98rem; }
}
@media (max-width: 1199px) {
  .nav--bar .nav-bar { min-height: 94px; }
  .brand-logo--big { height: 84px; }
  .site-header.is-compact .brand-logo--big { height: 84px; }
}
@media (max-width: 600px) {
  .nav--bar .nav-bar { min-height: 86px; }
  .brand-logo--big { height: 76px; }
  .site-header.is-compact .brand-logo--big { height: 76px; }
}
.hero { padding-top: clamp(8.5rem, 14vw, 11rem); }
@media (max-width: 600px) { .hero { padding-top: 8rem; } }

/* Active section → gold underline (scroll-spy), same look as hover */
.nav-link.is-active { color: var(--gold); }
.nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

/* Tariff tabs: smooth switch + active pop, cards animate in */
.tariff-tab { transition: color .3s var(--ease-out), background-color .35s var(--ease-out), transform .25s var(--ease-out); }
.tariff-tab.is-active { animation: tabPop .35s var(--ease-out); }
@keyframes tabPop { 0% { transform: scale(0.94); } 55% { transform: scale(1.05); } 100% { transform: scale(1); } }
.feat-switch > * { animation: tabCardIn .5s var(--ease-out) backwards; }
.feat-switch > *:nth-child(2) { animation-delay: .07s; }
.feat-switch > *:nth-child(3) { animation-delay: .14s; }
@keyframes tabCardIn { 0% { opacity: 0; transform: translateY(16px) scale(0.98); } 100% { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .tariff-tab.is-active, .feat-switch > * { animation: none; } }

/* "No trobes la tarifa?" custom CTA (replaces the old fibra+fix note) */
.group-cta { margin-top: 1.6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.3rem, 3vw, 2rem); border: 1px dashed rgba(255,214,0,0.45); border-radius: var(--r-lg); background: rgba(255,214,0,0.05); }
.group-cta p { color: var(--ink-2); }
.group-cta strong { color: var(--gold); }

/* Empreses: "← Particulars" back link */
.nav-back { color: var(--gold) !important; font-weight: 700; }
.nav-mobile .nav-back { border: 1px solid rgba(255,214,0,0.45); border-radius: var(--r); text-align: center; }

/* =============================================================
   v26 — Qui som button back, clean mobile hero buttons,
   bigger logo on mobile.
   ============================================================= */
@media (max-width: 600px) {
  /* the 3 hero buttons: stacked, full-width, tidy */
  .hero-actions { flex-direction: column; align-items: stretch; gap: 0.6rem; width: 100%; max-width: 380px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  /* bigger logo on mobile (fixed header still shrinks on scroll) */
  .nav--bar .nav-bar { min-height: 100px; }
  .site-header.is-compact .nav-bar { min-height: 62px; }
  .brand-logo--big { height: 90px; }
  .site-header.is-compact .brand-logo--big { height: 90px; }
  .hero { padding-top: 8.5rem; }
}

/* v27 — "Inclou app mòbil" line on cards */
.card-app { display: flex; align-items: center; gap: 0.4em; color: var(--mute); font-size: 0.82rem; line-height: 1.4; margin: 0.1rem 0 0.9rem; }
.card-app strong { color: var(--ink-2); font-weight: 600; }
.card-ambtu { margin-bottom: 0.4rem; }

/* v28 — mobile hero buttons: smaller, cleaner, photo shows through */
@media (max-width: 600px) {
  .hero-actions { gap: 0.5rem; max-width: 300px; }
  .hero-actions .btn { padding: 0.66rem 1rem; font-size: 0.95rem; box-shadow: none; border-radius: 12px; }
  .hero-actions .btn-primary { box-shadow: 0 8px 22px -12px rgba(255,214,0,0.6); }
  .hero-actions .btn-ghost { background: rgba(12,9,4,0.28); border-color: rgba(255,255,255,0.42); color: #fff; backdrop-filter: blur(2px); }
  .hero-actions .btn-ghost:hover { background: rgba(12,9,4,0.45); }
}

/* v29 — mobile featured tariffs: 1 per row, compact, "més venut" in the middle & highlighted */
@media (max-width: 600px) {
  .featured-tarifes { grid-template-columns: 1fr; gap: 0.85rem; }
  .featured-tarifes .feat-mid { order: 0; }          /* keep the best-seller in the middle of the stack */
  .feat-card { padding: 1.05rem 1.15rem; }
  .feat-card .card-name { font-size: 1.15rem; }
  .feat-card .price-num { font-size: 2rem; }
  .feat-card .card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.6rem; }
  .feat-card .card-actions .btn { width: auto; padding: 0.62rem 0.5rem; font-size: 0.86rem; }
  .feat-card.feat-mid { border-color: var(--gold); box-shadow: 0 0 0 1.5px var(--gold), 0 20px 45px -22px rgba(255,214,0,0.45); transform: none; }
  .feat-card.feat-mid .card-ribbon { transform: none; }
}

/* v30 — tidy mobile drawer buttons (Sóc client / Contractar ara) */
.nav-mobile a.btn { align-self: stretch; text-align: center; font-size: 0.98rem; padding: 0.82rem 1.2rem; border-radius: 12px; margin-top: 0; box-shadow: none; }
.nav-mobile a.btn-client { margin-top: 1.2rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.2); color: #fff; }
.nav-mobile a.btn-client:hover { border-color: var(--gold); color: var(--gold); transform: none; }
.nav-mobile a.btn-primary { margin-top: 0.55rem; box-shadow: 0 10px 26px -14px rgba(255,214,0,0.55); }

/* v31 — smaller drawer "Et truquem" + desktop hamburger opens the same drawer */
.drawer-callme { padding: 0.7rem 0.85rem; margin: 0.2rem 0 0.3rem; }
.drawer-callme-h { font-size: 0.82rem; margin-bottom: 0.45rem; }
.drawer-callme .quickcall { gap: 0.4rem; }
.drawer-callme .field input { padding: 0.58rem 0.85rem; font-size: 0.9rem; }
.drawer-callme .btn { padding: 0.56rem 1rem; font-size: 0.9rem; }
.drawer-callme .quickcall-ok { font-size: 0.9rem; }

@media (min-width: 1200px) {
  .nav--bar .nav-toggle { display: flex; order: 3; position: static; transform: none; margin-left: 0.8rem;
    flex-direction: column; gap: 5px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,0.05); }
  .nav--bar .nav-toggle:hover { border-color: var(--gold); }
}

/* v32 — desktop hamburger on the LEFT + header "Et truquem" pop-up button */
@media (min-width: 1200px) {
  .nav--bar .nav-toggle { order: -1; margin-left: 0; margin-right: 0.9rem; }
}
.btn-truquem { background: rgba(255,214,0,0.12); border: 1px solid rgba(255,214,0,0.5); color: var(--gold); }
.btn-truquem:hover { background: var(--gold); color: #1a1500; border-color: var(--gold); }
.quickcall--modal { flex-direction: column; max-width: none; gap: 0.6rem; margin-top: 0.3rem; }
#truquem-modal .quickcall-ok { text-align: center; margin-top: 0.6rem; }
#truquem-modal .btn-wa { margin-top: 0.6rem; }

/* v33 — drawer gold button dark text, hide drawer scrollbar, bigger logo */
.nav-mobile a.btn-primary { color: #1a1500; }
.nav-mobile { scrollbar-width: none; -ms-overflow-style: none; }
.nav-mobile::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* Bigger logo across the board */
.nav--bar .nav-bar { min-height: 128px; }
.site-header.is-compact .nav-bar { min-height: 64px; }
.brand-logo--big { height: 116px; }
.site-header.is-compact .brand-logo--big { height: 116px; }
.site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.5); }
@media (max-width: 1199px) {
  .nav--bar .nav-bar { min-height: 112px; }
  .brand-logo--big { height: 100px; }
  .site-header.is-compact .brand-logo--big { height: 100px; }
}
@media (max-width: 600px) {
  .nav--bar .nav-bar { min-height: 110px; }
  .brand-logo--big { height: 100px; }
  .site-header.is-compact .brand-logo--big { height: 100px; }
}
.hero { padding-top: clamp(9.5rem, 15vw, 12rem); }
@media (max-width: 600px) { .hero { padding-top: 9rem; } }

/* v34 — fit the bigger logo next to the desktop nav (no collision) */
@media (min-width: 1200px) {
  .brand-logo--big { height: 108px; }
  .site-header.is-compact .brand-logo--big { height: 108px; }
  .nav--bar .nav-bar { min-height: 120px; }
  .nav-left { gap: 0.42rem; max-width: 38%; }
  .nav-left .nav-link { font-size: 0.8rem; }
  .nav--bar .nav-toggle { margin-right: 0.6rem; padding: 7px 8px; }
}

/* v35 — drawer above the header so the (bigger) logo doesn't bleed over it */
.nav-mobile { z-index: 200; }

/* v36 — desktop: hamburger IS the menu (no inline links) → big logo, zero collision */
@media (min-width: 1200px) {
  .nav-left { display: none; }
  .brand-logo--big { height: 112px; }
  .site-header.is-compact .brand-logo--big { height: 112px; }
  .nav--bar .nav-toggle { margin-right: 0; }
}

/* v37 — DESKTOP redesign: inline nav links always visible (no hamburger),
   centered logo at a size that fits cleanly with the links. */
@media (min-width: 1200px) {
  .nav--bar .nav-toggle { display: none; }
  .nav-left { display: flex; gap: 0.7rem; max-width: 44%; }
  .nav-left .nav-link { font-size: 0.9rem; }
  .brand-logo--big { height: 74px; }
  .site-header.is-compact .brand-logo--big { height: 74px; }
  .site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.74); }
  .nav--bar .nav-bar { min-height: 94px; }
  .site-header.is-compact .nav-bar { min-height: 66px; }
}

/* v38 — make the inline desktop nav fit comfortably down to 1200px */
@media (min-width: 1200px) {
  .brand-logo--big { height: 66px; }
  .site-header.is-compact .brand-logo--big { height: 66px; }
  .site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.78); }
  .nav-left { gap: 0.5rem; max-width: 47%; }
  .nav-left .nav-link { font-size: 0.85rem; }
  .nav--bar .nav-bar { min-height: 86px; }
  .site-header.is-compact .nav-bar { min-height: 62px; }
}

/* v39 — desktop logo MUCH bigger, keeping clear margins from the nav on both sides */
@media (min-width: 1200px) {
  .brand-logo--big { height: 104px; }
  .site-header.is-compact .brand-logo--big { height: 104px; }
  .site-header.is-compact .brand--center { transform: translate(-50%, -50%) scale(0.55); }
  .nav--bar .nav-bar { min-height: 118px; }
  .site-header.is-compact .nav-bar { min-height: 64px; }
}

/* v40 — more breathing room between the (big) logo and the right-side controls */
@media (min-width: 1200px) {
  .nav-right { gap: 0.45rem; max-width: 34%; }
  .nav-right .btn-xs { padding: 0.34rem 0.62rem; font-size: 0.76rem; }
  .nav-right .seg-btn { padding: 0.3rem 0.6rem; font-size: 0.74rem; }
}

/* v41 — drawer close button + fix the "Et truquem" field label overlap */
.nav-mobile { display: flex; flex-direction: column; }
.nav-mobile nav { padding-top: 1.2rem; }
.nav-mobile-close {
  position: sticky; top: 0.7rem; z-index: 6; align-self: flex-end; flex: 0 0 auto;
  margin: 0.7rem 0.9rem -0.3rem 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(20,20,20,0.92); border: 1px solid var(--line);
  color: #fff; font-size: 1.7rem; line-height: 1; display: grid; place-items: center; cursor: pointer;
  transition: border-color .25s, color .25s;
}
.nav-mobile-close:hover { border-color: var(--gold); color: var(--gold); }
/* restore room for the floating label in the drawer phone field */
.drawer-callme .field input { padding: 1.15rem 0.85rem 0.4rem; }

/* v42 — desktop top bar reduced to 6 links → bigger logo with generous breathing
   room on both sides, taller airy bar so the logo no longer touches the edges */
@media (min-width: 1200px) {
  .nav--bar .nav-bar { min-height: 146px; padding-left: 2.6rem; padding-right: 2.6rem; }
  .site-header.is-compact .nav-bar { min-height: 72px; }
  .brand-logo--big { height: 118px; }
  .site-header.is-compact .brand-logo--big { height: 60px; }
  .nav-left { display: flex; gap: 1.25rem; max-width: 40%; }
  .nav-left .nav-link { font-size: 0.96rem; }
  .nav-right { gap: 0.65rem; max-width: 34%; }
  .nav-right .btn-xs { padding: 0.42rem 0.74rem; font-size: 0.81rem; }
  .nav-right .seg-btn { padding: 0.36rem 0.68rem; font-size: 0.79rem; }
}
.hero { padding-top: clamp(11rem, 16vw, 13.5rem); }
@media (max-width: 600px) { .hero { padding-top: 9rem; } }

/* v43 — center the logo BETWEEN the two groups (flex space-between) instead of in the
   viewport, so the gaps to nav-left and nav-right are always equal and the logo never
   gets close to "Particulars", whatever the group widths are. */
@media (min-width: 1200px) {
  .nav--bar .nav-bar {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding-left: 1.8rem; padding-right: 1.8rem;
  }
  .nav-toggle { display: none; }
  .brand--center { position: static; transform: none; left: auto; top: auto; margin: 0; order: 0; justify-self: auto; }
  .nav-left { display: flex; order: 0; gap: 1rem; max-width: none; flex: 0 0 auto; }
  .nav-left .nav-link { font-size: 0.92rem; }
  .nav-right { order: 0; margin-left: 0; gap: 0.5rem; max-width: none; flex: 0 0 auto; }
  .nav-right .btn-xs { padding: 0.38rem 0.64rem; font-size: 0.78rem; }
  .nav-right .seg-btn { padding: 0.32rem 0.58rem; font-size: 0.76rem; }
  .brand-logo--big { height: 104px; }
  .site-header.is-compact .brand-logo--big { height: 56px; }
}

/* v44 — on mobile, surface the "Tornarem amb tu" info button on each tariff card so
   people can tap to see what it includes (rest of the perks stay hidden = minimal) */
@media (max-width: 599px) {
  .card .card-perks { display: block !important; margin: 0.15rem 0 0.55rem; }
  .card .card-perks .card-specs,
  .card .card-perks .card-app { display: none !important; }
  .card .card-ambtu {
    display: inline-flex !important; align-items: center; gap: 0.4em;
    margin: 0.25rem 0 0; font-size: 0.82rem; text-align: left;
  }
}

/* v45 — "Inclou Tornarem amb tu": sober, less gold, more serious (info badge is a
   subtle outlined circle, text is muted/white rather than bright gold) */
.card-ambtu { color: var(--ink-2); font-weight: 600; }
.card-ambtu strong { color: var(--ink); font-weight: 700; }
.card-ambtu .ambtu-i {
  width: 15px; height: 15px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line);
  color: var(--mute); font-style: normal; font-weight: 600;
  font-family: var(--sans); font-size: 0.6rem;
}
.card-ambtu:hover { color: var(--ink); text-decoration: none; }
.card-ambtu:hover .ambtu-i { border-color: var(--mute); color: var(--ink); }

/* v46 — contract terms box on the alta wizard */
.contract-terms { max-height: 240px; overflow-y: auto; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; margin: 0 0 1.2rem; font-size: 0.88rem; line-height: 1.55; color: var(--ink-2); }
.contract-terms:focus { outline: 1px solid var(--gold); }
.contract-terms h3 { font-size: 1rem; margin-bottom: 0.7rem; color: var(--ink); }
.contract-terms p { margin-bottom: 0.6rem; }
.contract-terms strong { color: var(--ink); }
