/* LIM — Luxury Incident Manager · web comercial
   Identidad "Marès y persiana": fondo de piedra de marès, verde persiana mallorquina (el oliva de la app)
   como color de acción, latón como acento, arcos mallorquines como marco de la fotografía,
   esquinas casi rectas y filetes finos en lugar de sombras. Ajustes de componentes al final del archivo. */

:root {
  --bg: #f1ece3;
  --bg-2: #e8e1d5;
  --surface: #f8f5ef;
  --white: #ffffff;
  --ink: #1f241c;
  --ink-2: #444a3e;
  --muted: #6a6b60;
  --line: rgba(31, 36, 28, 0.12);
  --line-2: rgba(31, 36, 28, 0.22);

  --terra: #3b4834;      /* verde persiana: color de acción */
  --terra-deep: #2a3324;
  --sage: #7b876c;
  --sage-deep: #56624b;
  --olive: #3f4636;
  --olive-deep: #2c3127;
  --sand: #e5dccb;
  --copper: #8f6b38;     /* latón */
  --brass-light: #cdae78;

  --ok: #6e8b5a;
  --warn: #c49a45;
  --alert: #b4553f;

  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --section: clamp(80px, 10vw, 140px);
  --radius: 4px;
  --radius-sm: 3px;
  --shadow: 0 0 0 1px var(--line);
  --shadow-lg: 0 1px 0 rgba(31, 36, 28, 0.04), 0 30px 60px -36px rgba(31, 36, 28, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--sand); }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100; border-radius: 999px; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 800px; }
.center { text-align: center; }
.section { padding: var(--section) 0; position: relative; }
.section.alt { background: var(--bg-2); }
.section.white { background: var(--surface); }
.section.dark { background: var(--olive-deep); color: #f1efe8; }
.section.tight { padding: calc(var(--section) * 0.55) 0; }

/* ---------- Tipografía ---------- */
.kicker { display: inline-block; font: 600 12px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); }
.dark .kicker { color: #d8a487; }
.display { font: 400 clamp(46px, 7.4vw, 100px)/1.02 var(--serif); letter-spacing: -0.01em; }
.h2 { font: 400 clamp(34px, 4.6vw, 58px)/1.1 var(--serif); letter-spacing: -0.005em; }
.h2.sans { font: 400 clamp(30px, 3.6vw, 46px)/1.25 var(--sans); letter-spacing: -0.015em; }
.h3 { font: 500 21px/1.3 var(--sans); letter-spacing: -0.01em; }
.em { font-style: italic; color: var(--sage-deep); }
.dark .em { color: #c9cfb9; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); }
.dark .lead, .dark .muted { color: rgba(241, 239, 232, 0.72); }
.muted { color: var(--muted); }
.rule { width: 72px; height: 2px; border: 0; background: var(--terra); margin: 28px 0; border-radius: 2px; }
.center .rule { margin-left: auto; margin-right: auto; }
.section-head { max-width: 760px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .h2, .section-head .h2.sans { margin: 14px 0 16px; }
.section-head p { color: var(--muted); font-size: 17.5px; margin: 0; }
.dark .section-head p { color: rgba(241, 239, 232, 0.7); }
.quote { font: italic 400 clamp(32px, 4vw, 52px)/1.12 var(--serif); color: var(--sage-deep); margin: 28px 0 0; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 28px; border-radius: 999px; border: 1px solid transparent; font: 500 15px/1.2 var(--sans); cursor: pointer; transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s, transform 0.35s var(--ease), box-shadow 0.35s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn.terra { background: var(--terra); color: var(--white); box-shadow: 0 10px 24px -12px rgba(196, 122, 90, 0.8); }
.btn.terra:hover { background: var(--terra-deep); }
.btn.sage { background: var(--sage); color: var(--white); box-shadow: 0 10px 24px -12px rgba(93, 103, 83, 0.8); }
.btn.sage:hover { background: var(--sage-deep); }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.dark:hover { background: #000; }
.btn.line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.line:hover { border-color: var(--ink); }
.btn.light { background: var(--white); color: var(--ink); }
.btn.small { padding: 11px 20px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; }
.link { display: inline-flex; align-items: center; gap: 8px; font: 500 15px var(--sans); color: var(--terra-deep); border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap 0.3s var(--ease); }
.link:hover { gap: 12px; }
.dark .link { color: #e2b49a; }

/* ---------- Cabecera ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: border-color 0.4s, box-shadow 0.4s; }
/* El desenfoque va en un pseudo-elemento: backdrop-filter en .header convertiría a .header en el
   contenedor de los elementos fixed y el panel del menú móvil quedaría atrapado en la barra. */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(251, 250, 247, 0.86); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
.header.scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(43, 43, 43, 0.25); }
.header .wrap { max-width: 1360px; display: flex; align-items: center; justify-content: space-between; gap: 28px; height: 88px; }
.brand { display: flex; flex-direction: column; line-height: 1; flex: none; }
.brand-name { font: 400 33px/1 var(--serif); letter-spacing: 0.36em; margin-right: -0.36em; color: var(--ink); }
.brand-name i { font-style: normal; color: var(--sage); }
.brand-sub { font: 400 13px/1 var(--sans); color: var(--ink-2); margin-top: 8px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-link { font-size: 15px; color: var(--ink-2); transition: color 0.3s; white-space: nowrap; position: relative; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; background: var(--terra); border-radius: 2px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.langs { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; }
.langs a { font: 600 11.5px/1 var(--sans); letter-spacing: 0.06em; padding: 8px 10px; border-radius: 999px; color: var(--muted); transition: all 0.3s; }
.langs a[aria-current="true"] { background: var(--ink); color: var(--white); }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--white); flex: none; transition: background 0.3s; }
.icon-btn:hover { background: var(--sage-deep); }
.icon-btn svg { width: 20px; height: 20px; }
.bar-actions { display: none; align-items: center; gap: 10px; }
.menu-toggle { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--white); border: 0; border-radius: 999px; padding: 11px 18px 11px 16px; font: 500 14px var(--sans); cursor: pointer; }
.burger { position: relative; width: 16px; height: 10px; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.burger::before { top: 0; }
.burger::after { top: 8.5px; }
.menu-toggle[aria-expanded="true"] .burger::before { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger::after { top: 4.25px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .header .wrap { height: 76px; }
  .brand-name { font-size: 28px; }
  .brand-sub { font-size: 12px; }
  .bar-actions { display: flex; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: space-between; gap: 32px;
    padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom));
    background: var(--bg); border-top: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; border-bottom: 1px solid var(--line); font: 400 30px/1.2 var(--serif); color: var(--ink); }
  .nav-link::after, .nav-link[aria-current="page"]::after { content: "→"; position: static; height: auto; background: none; font: 300 20px var(--sans); color: var(--terra); }
  .nav-link[aria-current="page"] { color: var(--terra-deep); }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .nav-actions .btn { padding: 16px; font-size: 16px; }
  .nav-actions .langs { align-self: flex-start; }
  .nav-actions .icon-btn { display: none; }
  .header.menu-open { border-color: var(--line); }
  .header.menu-open::before { background: var(--bg); }
}
@media (max-width: 599px) {
  .bar-actions .btn { display: none; }
  .nav-link { font-size: 27px; padding: 14px 2px; }
}
@media (min-width: 600px) and (max-width: 1180px) {
  .nav { left: auto; width: min(440px, 100%); border-left: 1px solid var(--line); box-shadow: -30px 0 60px -40px rgba(43, 43, 43, 0.35); }
  .menu-backdrop { position: fixed; inset: 76px 0 0 0; z-index: 48; background: rgba(43, 43, 43, 0.25); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0s linear 0.35s; }
  .menu-backdrop.show { opacity: 1; visibility: visible; transition: opacity 0.35s, visibility 0s; }
}
@media (min-width: 1181px) { .menu-backdrop { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 880px); display: flex; align-items: center; padding: 140px 0 80px; overflow: hidden; isolation: isolate; }
.hero { --hero-copy: 560px; }
/* La foto empieza siempre después del bloque de texto, alineada con la retícula, sea cual sea el ancho de pantalla */
.hero-media { position: absolute; top: 0; bottom: 0; right: 0; left: calc(max((100vw - var(--wrap)) / 2, 0px) + var(--gutter) + var(--hero-copy) + 48px); z-index: -2; }
.hero-media::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 120px; background: linear-gradient(90deg, var(--bg), rgba(244, 242, 238, 0)); pointer-events: none; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: none; }
.hero-copy { max-width: var(--hero-copy); }
.hero h1 { margin: 18px 0 0; }
.hero .rule { margin: 30px 0; }
.hero .lead { max-width: 460px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--terra-deep); }
.chips li { position: relative; }
.chips li:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.center .ctas { justify-content: center; }
@media (min-width: 1025px) and (max-width: 1180px) { .hero { --hero-copy: 480px; } }
@media (max-width: 1024px) {
  .hero { min-height: 0; padding: 76px 0 64px; flex-direction: column; align-items: stretch; }
  .hero-media { position: relative; width: 100%; height: 44vh; min-height: 280px; inset: auto; left: auto; }
  .hero-media::after { inset: auto 0 0 0; width: auto; height: 34%; background: linear-gradient(180deg, rgba(244, 242, 238, 0), var(--bg)); }
  .hero::before { content: none; }
  .hero .wrap { margin-top: 28px; }
}

/* ---------- Embudos: tarjetas de entrada ---------- */
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.path { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; position: relative; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.path:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.path-img { aspect-ratio: 4 / 3; overflow: hidden; margin: 14px 14px 0; border-radius: var(--radius-sm); }
.path-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.path:hover .path-img img { transform: scale(1.05); }
.path-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.path-tag { font: 600 11.5px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 10px; }
.path h3 { font: 500 21px/1.25 var(--sans); margin-bottom: 10px; }
.path p { font-size: 15.5px; color: var(--muted); }
.path ul { list-style: none; padding: 16px 0 0; margin: auto 0 18px; border-top: 1px solid var(--line); font-size: 14.5px; display: grid; gap: 6px; }
.path li { position: relative; padding-left: 16px; }
.path li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); }
.path .link { align-self: flex-start; }
.path::after { content: ""; position: absolute; right: -46px; bottom: -46px; width: 120px; height: 120px; border: 1px solid rgba(192, 138, 85, 0.35); border-radius: 50%; pointer-events: none; }
@media (max-width: 1100px) { .paths { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Servicios / capacidades ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.features.three { grid-template-columns: repeat(3, 1fr); }
.feature { background: linear-gradient(160deg, var(--white), var(--surface)); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 26px 26px; border-left: 3px solid var(--copper); transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; margin-bottom: 22px; }
.feature .ico svg { width: 20px; height: 20px; }
.feature h3 { font: 500 19px/1.3 var(--sans); margin-bottom: 10px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .features, .features.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features, .features.three { grid-template-columns: 1fr; } }

/* ---------- Dolores ---------- */
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pain { display: grid; grid-template-columns: 44px 1fr; gap: 18px; background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.pain .x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(196, 122, 90, 0.12); color: var(--terra-deep); font: 500 20px var(--serif); }
.pain h3 { font: 500 18px/1.35 var(--sans); margin: 8px 0 6px; }
.pain p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 760px) { .pains { grid-template-columns: 1fr; } }

/* ---------- Proceso ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px; position: relative; }
.step { position: relative; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 20px 30px; text-align: center; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -27px; top: 50%; transform: translateY(-50%); font: 300 24px var(--sans); color: var(--copper); }
.step .ico { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; margin: 0 auto 18px; }
.step .ico svg { width: 20px; height: 20px; }
.step h3 { font: 500 17px/1.3 var(--sans); margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }
@media (max-width: 1000px) { .process { grid-template-columns: 1fr 1fr; gap: 18px; } .step::after { display: none; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }

/* ---------- Bloque foto + texto ---------- */
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.15fr; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2:not(.h2) { font: 500 26px/1.3 var(--sans); margin-bottom: 18px; }
.split .h2 { margin: 14px 0 18px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 18px; height: 18px; border-radius: 50%; background: rgba(122, 132, 111, 0.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%235d6753' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (max-width: 900px) { .split, .split.reverse { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* ---------- Mockups de la app ---------- */
.app-showcase { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--surface); border-radius: 999px; box-shadow: var(--shadow); margin: 24px 0 26px; }
.tabs button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 500 14px var(--sans); color: var(--muted); cursor: pointer; transition: all 0.3s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.view { display: none; }
.view.active { display: block; animation: fadeUp 0.6s var(--ease); }
.view h3 { font: 400 34px/1.15 var(--serif); margin-bottom: 12px; }
.stage { background: linear-gradient(150deg, #e8e1d4, #d9dccf); border-radius: 28px; padding: clamp(24px, 4vw, 48px); min-height: 520px; display: grid; place-items: center; position: relative; overflow: hidden; }
.stage-view { display: none; width: 100%; }
.stage-view.active { display: block; animation: fadeUp 0.6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 960px) { .app-showcase { grid-template-columns: 1fr; } .stage { min-height: 0; } }

.device { background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px; max-width: 460px; margin: 0 auto; }
.device-bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.device-bar b { font: 400 19px var(--serif); letter-spacing: 0.34em; }
.mini { font: 600 10.5px var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.asset { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg); margin-bottom: 8px; }
.asset-name { font: 500 15px var(--sans); }
.asset-loc { font-size: 12.5px; color: var(--muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.g { background: var(--ok); } .dot.y { background: var(--warn); } .dot.r { background: var(--alert); box-shadow: 0 0 0 4px rgba(180, 85, 63, 0.16); }
.pill { font: 500 11.5px var(--sans); padding: 5px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.pill.alert { background: rgba(180, 85, 63, 0.1); border-color: transparent; color: var(--alert); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.kpi { background: var(--bg); border-radius: 12px; padding: 12px; }
.kpi b { display: block; font: 400 26px/1 var(--serif); margin-bottom: 4px; }
.phone { width: 270px; margin: 0 auto; background: var(--ink); border-radius: 40px; padding: 10px; box-shadow: var(--shadow-lg); }
.phone-screen { background: var(--white); border-radius: 31px; padding: 30px 16px 18px; min-height: 500px; display: flex; flex-direction: column; gap: 10px; }
.gps { height: 140px; border-radius: 14px; position: relative; background: radial-gradient(circle at 50% 50%, rgba(110, 139, 90, 0.18) 0 32%, transparent 33%), repeating-linear-gradient(0deg, rgba(43, 43, 43, 0.05) 0 1px, transparent 1px 20px), repeating-linear-gradient(90deg, rgba(43, 43, 43, 0.05) 0 1px, transparent 1px 20px), #eef0e8; }
.gps::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--terra); box-shadow: 0 0 0 6px rgba(196, 122, 90, 0.2); }
.row { display: flex; gap: 10px; align-items: center; font-size: 13.5px; background: var(--bg); padding: 10px 12px; border-radius: 10px; }
.row .ok { color: var(--ok); }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.photos img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; width: 100%; }
.phone .btn { margin-top: auto; }
.report { background: var(--white); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 28px; max-width: 440px; margin: 0 auto; }
.report h4 { font: 400 28px/1.2 var(--serif); margin: 6px 0 12px; }
.report p { font: 400 18px/1.55 var(--serif); color: var(--ink-2); }
.approval { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--bg); border-radius: 14px; padding: 14px 16px; }
.approval b { font: 400 24px var(--serif); }
.float-note { position: absolute; background: var(--white); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 12px 16px; font-size: 13.5px; max-width: 230px; line-height: 1.45; }
.float-note .mini { display: block; color: var(--terra-deep); margin-bottom: 2px; }
.float-note.a { left: 18px; bottom: 22px; }
.float-note.b { right: 18px; top: 22px; }
@media (max-width: 600px) { .float-note { display: none; } }

/* ---------- Mallorca ---------- */
.places { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 22px 0 0; }
.places li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(241, 239, 232, 0.25); font: italic 18px var(--serif); }
.risks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.risk { background: rgba(255, 255, 255, 0.06); border-radius: var(--radius-sm); padding: 20px; }
.risk h3 { font: 500 17px var(--sans); margin-bottom: 6px; color: #f1efe8; }
.risk p { margin: 0; font-size: 14.5px; color: rgba(241, 239, 232, 0.7); }
@media (max-width: 560px) { .risks { grid-template-columns: 1fr; } }

/* ---------- Banda de recurso (lead magnet) ---------- */
.magnet { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 28px; overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.magnet-media img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.magnet-body { padding: clamp(28px, 4vw, 56px); }
.magnet-body h2 { font: 400 clamp(30px, 3.4vw, 42px)/1.12 var(--serif); margin: 12px 0 14px; }
.magnet-body p { color: var(--ink-2); }
@media (max-width: 860px) { .magnet { grid-template-columns: 1fr; } .magnet-media img { min-height: 220px; max-height: 280px; } }

/* ---------- Journal ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.5s var(--ease), box-shadow 0.5s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card .mini { color: var(--sage-deep); }
.card h3 { font: 400 25px/1.2 var(--serif); margin: 10px 0 10px; }
.card p { font-size: 15px; color: var(--muted); }
.card .link { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 500 17.5px/1.4 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font: 300 22px/1 var(--sans); color: var(--terra-deep); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 26px 22px; color: var(--muted); }

/* ---------- Formulario por pasos ---------- */
.contact { background: var(--bg); }
.contact-box { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 4vw, 56px); border-radius: 32px; background: linear-gradient(135deg, #efe3d6 0%, #f1eee7 45%, #e6e9df 100%); align-items: start; }
.contact-intro .h2 { margin: 12px 0 16px; }
.contact-intro p { color: var(--ink-2); }
.contact-direct { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.wizard { background: var(--white); border-radius: 24px; box-shadow: var(--shadow-lg); padding: clamp(22px, 3vw, 34px); }
.wizard .kicker { font-size: 11px; }
.wizard-title { font: 400 clamp(26px, 2.6vw, 34px)/1.15 var(--serif); margin: 8px 0 6px; }
.wizard-sub { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 6px; }
.progress i { height: 3px; border-radius: 3px; background: var(--line); transition: background 0.4s; }
.progress i.on { background: var(--copper); }
.step-label { font: 500 12.5px var(--sans); color: var(--muted); margin-bottom: 18px; }
.wizard-grid { display: grid; grid-template-columns: 1fr 190px; gap: 22px; }
.wstep { display: none; }
.wstep.active { display: block; animation: fadeUp 0.5s var(--ease); }
.q { font: 500 15.5px var(--sans); margin: 0 0 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-block; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 14px; cursor: pointer; transition: all 0.25s; background: var(--white); }
.opt span:hover { border-color: var(--ink); }
.opt input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.hint { font-size: 12.5px; color: var(--muted); }
.summary { background: #eef0e8; border-radius: 14px; padding: 16px; font-size: 13.5px; align-self: start; }
.summary b { display: block; font: 500 15px var(--serif); margin-bottom: 6px; }
.summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; color: var(--ink-2); }
.summary .empty { color: var(--muted); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 500 13px var(--sans); color: var(--ink-2); }
.field input, .field textarea, .field select { font: 400 16px var(--sans); color: var(--ink); background: var(--bg); border: 1px solid transparent; border-radius: 12px; padding: 13px 14px; transition: border-color 0.3s, background 0.3s; width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sage); background: var(--white); }
.field textarea { min-height: 96px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.consent input { margin-top: 3px; accent-color: var(--sage-deep); width: 16px; height: 16px; flex: none; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.wizard-nav .back { background: none; border: 0; font: 500 14.5px var(--sans); color: var(--muted); cursor: pointer; padding: 10px 0; }
.wizard-nav [data-next], .wizard-nav [data-submit] { margin-left: auto; }
.form-status { font-size: 14.5px; margin: 14px 0 0; min-height: 1.4em; color: var(--sage-deep); }
.form-status.error { color: var(--alert); }
.form-status a { text-decoration: underline; }
.simple-form { display: grid; gap: 12px; }
.simple-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 980px) { .contact-box { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .wizard-grid { grid-template-columns: 1fr; } .summary { display: none; } .fields, .simple-form .row2 { grid-template-columns: 1fr; } }

/* ---------- Página de embudo / artículo ---------- */
.page-hero { padding: 150px 0 70px; position: relative; overflow: hidden; }
.page-hero.media { padding: 0; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: var(--white); }
.page-hero.media .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero.media .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(28, 28, 24, 0.62) 0%, rgba(28, 28, 24, 0.28) 55%, rgba(28, 28, 24, 0.05) 100%), linear-gradient(180deg, rgba(28, 28, 24, 0.2) 0%, rgba(28, 28, 24, 0) 35%, rgba(28, 28, 24, 0.55) 100%); }
.page-hero.media .em { color: #eadfca; }
.page-hero.media .wrap { padding-top: 160px; padding-bottom: 70px; }
.page-hero.media .kicker { color: #f0c9b2; }
.page-hero.media .lead { color: rgba(255, 255, 255, 0.86); max-width: 620px; }
.page-hero.media .display { font-size: clamp(44px, 6.4vw, 88px); max-width: 920px; margin: 14px 0 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }
.page-hero.media .crumbs { color: rgba(255, 255, 255, 0.75); }
.crumbs a:hover { text-decoration: underline; }
.article-hero .display { font-size: clamp(38px, 5vw, 66px); max-width: 940px; margin: 14px 0 20px; }
.article-cover { border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9; margin-top: 40px; box-shadow: var(--shadow-lg); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--muted); }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.prose { font-size: 18.5px; line-height: 1.8; color: #34342f; max-width: 720px; }
.prose > p:first-child { font: 400 25px/1.5 var(--serif); color: var(--ink); }
.prose h2 { font: 400 clamp(30px, 3.2vw, 40px)/1.18 var(--serif); color: var(--ink); margin: 1.8em 0 0.5em; }
.prose h3 { font: 600 18px/1.4 var(--sans); color: var(--ink); margin: 1.8em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--copper); }
.prose strong { font-weight: 600; color: var(--ink); }
.prose a { color: var(--terra-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.8em 0; font: italic 400 30px/1.3 var(--serif); color: var(--sage-deep); padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15.5px; background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 600 12px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
.inline-cta { margin: 2.4em 0; padding: 30px 32px; border-radius: 24px; background: linear-gradient(135deg, #efe3d6, #e6e9df); }
.inline-cta p { font: 400 24px/1.35 var(--serif); margin: 8px 0 18px; color: var(--ink); }
.aside { position: sticky; top: 120px; display: grid; gap: 18px; }
.aside-box { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.aside-box p { font: 400 21px/1.35 var(--serif); margin: 8px 0 16px; }
.toc { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14.5px; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.toc a:hover { color: var(--ink); }
@media (max-width: 1000px) { .article-wrap { grid-template-columns: 1fr; } .aside { position: static; } }

/* Página de gracias / recurso */
.thanks { padding: 170px 0 100px; text-align: center; }
.thanks .display { font-size: clamp(42px, 6vw, 80px); margin: 14px 0 18px; }
.next-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; text-align: left; }
@media (max-width: 860px) { .next-steps { grid-template-columns: 1fr; } }
.resource { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow); padding: clamp(26px, 4vw, 56px); }
.check { list-style: none; padding: 0; margin: 0 0 1.4em; }
.check li { position: relative; padding: 10px 0 10px 38px; border-bottom: 1px solid var(--line); }
.check li::before { content: ""; position: absolute; left: 0; top: 12px; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--sage); }
@media print { .header, .footer, .floaters, .no-print { display: none !important; } .resource { box-shadow: none; } body { background: #fff; } }

/* ---------- Pie ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: 72px 0 32px; box-shadow: 0 -20px 40px -30px rgba(43, 43, 43, 0.25); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font: 500 17px var(--sans); margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 15.5px; color: var(--ink-2); }
.footer ul a:hover { color: var(--terra-deep); }
.footer .brand-sub { margin-top: 12px; }
.footer-icons { display: flex; gap: 10px; margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* Botones flotantes */
.floaters { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.floaters .btn { box-shadow: var(--shadow-lg); transform: translateY(20px); opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.floaters.show .btn { transform: none; opacity: 1; pointer-events: auto; }
@media (max-width: 620px) { .floaters { left: 14px; right: 14px; } .floaters .btn.terra { width: 100%; } }

/* Aparición */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .view.active, .stage-view.active, .wstep.active { animation: none; } }

/* ---------- Pulido ---------- */
/* Gradación cálida común para unificar fotografías de distintas fuentes */
.hero-media img, .path-img img, .split-media img, .card-img img, .magnet-media img, .article-cover img, .page-hero.media .bg img, .photos img {
  filter: saturate(0.9) sepia(0.06) contrast(1.02);
}
/* Botón flotante solo en móvil: en tablet y PC la cabecera ya muestra la llamada a la acción */
@media (min-width: 600px) { .floaters { display: none; } } /* en tablet y PC la cabecera ya muestra la llamada a la acción */
/* Etiquetas de sección: un poco más de aire bajo la línea de lectura */
.section-head .kicker { margin-bottom: 2px; }
/* Tarjetas de camino: misma altura de texto aunque cambie el idioma */
.path h3 { min-height: 2.5em; }
/* Pie: algo más de presencia */
.footer .brand-name { font-size: 30px; }
.footer-bottom a:hover { color: var(--terra-deep); }
/* Formulario en móvil: menos marcos anidados, más ancho útil */
@media (max-width: 620px) {
  .contact-box { padding: 26px 16px 16px; border-radius: 26px; }
  .contact-intro { padding: 0 6px; }
  .wizard { padding: 22px 18px; border-radius: 20px; }
}
/* Cabecera entre 1181 y 1300 px: con cinco idiomas, algo menos de aire para que nunca se desborde */
@media (min-width: 1181px) and (max-width: 1300px) {
  .nav, .nav-links { gap: 18px; }
  .langs a { padding: 8px 8px; }
}

/* =====================================================================
   Identidad LIM · "Marès y persiana"
   ===================================================================== */
body { font-size: 16.5px; line-height: 1.72; }
/* Grano de piedra muy sutil */
body::before { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.4 0 0 0 0 0.3 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
::selection { background: var(--brass-light); color: var(--ink); }
:focus-visible { outline-color: var(--copper); }

/* Tipografía: titulares editoriales, etiquetas con filete de latón y numeración de índice */
.display { letter-spacing: -0.02em; line-height: 0.98; }
.h2 { letter-spacing: -0.015em; line-height: 1.04; }
.em { color: var(--sage-deep); }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 11.5px/1.4 var(--sans); letter-spacing: 0.2em; color: var(--copper); }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; flex: none; }
.center .kicker::after, .section-head:not(.left) .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; flex: none; }
.dark .kicker { color: var(--brass-light); }
body { counter-reset: sec; }
.section-head .kicker { counter-increment: sec; }
.section-head .kicker::before { content: counter(sec, decimal-leading-zero); width: auto; height: auto; background: none; opacity: 1; font: italic 400 17px/1 var(--serif); letter-spacing: 0; padding-right: 40px;
  background: linear-gradient(currentColor, currentColor) right center / 28px 1px no-repeat; }
.h2.sans { font: 400 clamp(34px, 4.2vw, 54px)/1.06 var(--serif); letter-spacing: -0.015em; }
.rule { width: 56px; height: 1px; background: var(--copper); border-radius: 0; }
.quote { color: var(--sage-deep); }
.lead { color: var(--ink-2); }

/* Botones: rectangulares, versalitas espaciadas */
.btn { border-radius: 2px; padding: 17px 28px; font: 600 12.5px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; box-shadow: none !important; }
.btn:hover { transform: none; }
.btn.terra { background: var(--terra); }
.btn.terra:hover { background: var(--ink); }
.btn.sage { background: var(--copper); }
.btn.sage:hover { background: #765628; }
.btn.line { border-color: var(--ink); }
.btn.line:hover { background: var(--ink); color: var(--surface); }
.btn.small { padding: 13px 20px; font-size: 11.5px; }
.link { font: 600 12.5px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--copper); padding-bottom: 4px; }
.dark .link { color: var(--brass-light); border-color: var(--brass-light); }

/* Cabecera: piedra lisa con filete */
.header::before { background: rgba(241, 236, 227, 0.92); }
.header { border-bottom-color: var(--line); }
.header.scrolled { box-shadow: none; }
.brand-name { font-size: 34px; letter-spacing: 0.42em; margin-right: -0.42em; }
.brand-name i { color: var(--copper); }
.brand-sub { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.nav-link { font-size: 14.5px; }
.nav-link[aria-current="page"]::after { height: 1px; background: var(--copper); bottom: -6px; }
.langs { border: 0; padding: 0; gap: 0; }
.langs a { border-radius: 0; padding: 6px 7px; color: var(--muted); font-weight: 600; }
.langs a + a { border-left: 1px solid var(--line-2); }
.langs a[aria-current="true"] { background: none; color: var(--ink); text-decoration: underline; text-decoration-color: var(--copper); text-underline-offset: 6px; }
.icon-btn { border-radius: 2px; background: var(--sage-deep); }
.menu-toggle { border-radius: 2px; font: 600 12px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; padding: 13px 18px 13px 16px; }
@media (max-width: 1180px) {
  .nav-link::after, .nav-link[aria-current="page"]::after { color: var(--copper); }
  .nav-link[aria-current="page"] { color: var(--sage-deep); }
  .nav-actions .langs { gap: 0; }
}

/* Hero: la fotografía dentro de un arco mallorquín con filete de latón */
.hero-media { border-radius: 1000px 1000px 0 0; overflow: hidden; outline: 1px solid rgba(143, 107, 56, 0.45); outline-offset: 12px; }
@media (min-width: 1025px) { .hero-media { top: 128px; bottom: 64px; right: calc(max((100vw - var(--wrap)) / 2, 0px) + var(--gutter)); } }
.hero-media::after { content: none; }
.chips { color: var(--sage-deep); }
@media (max-width: 1024px) {
  .hero { padding-top: 104px; }
  .hero-media { inset: auto; width: auto; height: 46vh; min-height: 300px; margin: 0 var(--gutter); border-radius: 260px 260px 0 0; outline-offset: 8px; }
  .hero-media::after { content: none; }
}
@media (max-width: 599px) {
  .hero-media { border-radius: 180px 180px 0 0; height: 40vh; }
  .header .wrap { gap: 16px; }
  .brand-sub { font-size: 9.5px; letter-spacing: 0.1em; }
  .menu-toggle { padding: 12px 14px; letter-spacing: 0.1em; }
}

/* Tarjetas: superficies planas con filete, sin sombras flotantes */
.path, .card, .feature, .pain, .step, .aside-box, .resource, .faq details { box-shadow: none; border: 1px solid var(--line); border-radius: var(--radius); }
.path:hover, .card:hover, .feature:hover { transform: none; box-shadow: none; border-color: rgba(143, 107, 56, 0.55); }
.path { background: var(--surface); }
.path::after { content: none; }
.path-img { aspect-ratio: 1 / 1; margin: 18px 18px 0; border-radius: 1000px 1000px 0 0; }
.path-tag { color: var(--copper); }
.path h3, .feature h3, .pain h3, .step h3 { font: 400 25px/1.12 var(--serif); letter-spacing: -0.005em; }
.path li::before { width: 10px; height: 1px; border-radius: 0; top: 0.85em; background: var(--copper); }

/* Capacidades como índice: rejilla de filetes */
.features { gap: 0; border-top: 1px solid var(--line-2); }
.feature { background: none; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; padding: 34px 28px 34px 0; }
.feature + .feature { padding-left: 28px; }
.features .feature:not(:first-child) { border-left: 1px solid var(--line); }
.feature .ico, .step .ico { border-radius: 0; background: none; color: var(--copper); width: auto; height: auto; justify-content: start; margin-bottom: 26px; }
.feature .ico svg, .step .ico svg { width: 26px; height: 26px; }
@media (min-width: 1001px) { .features:not(.three) .feature:nth-child(4n+1), .features.three .feature:nth-child(3n+1) { border-left: 0; padding-left: 0; } }
@media (max-width: 1000px) and (min-width: 601px) { .features .feature:nth-child(odd) { border-left: 0; padding-left: 0; } }
@media (max-width: 600px) { .features .feature { border-left: 0 !important; padding-left: 0 !important; } }

.pain { background: var(--surface); }
.pain .x { border-radius: 0; background: none; color: var(--copper); font: italic 400 30px var(--serif); }
.step { background: var(--surface); text-align: left; }
.step:not(:last-child)::after { content: ""; width: 20px; height: 1px; background: var(--copper); right: -27px; }
.step .ico { margin: 0 0 20px; }

/* Fotografía: marco recto con filete desplazado */
.split h2:not(.h2) { font: 400 clamp(30px, 3vw, 40px)/1.08 var(--serif); letter-spacing: -0.01em; }
.risk h3 { font: 400 22px/1.2 var(--serif); }
.split-media, .article-cover { border-radius: var(--radius); box-shadow: none; overflow: visible; position: relative; }
.split-media img, .article-cover img { border-radius: var(--radius); }
.split-media::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(143, 107, 56, 0.45); z-index: -1; }
.split.reverse .split-media::after { inset: 14px 14px -14px -14px; }
.ticks li::before { border-radius: 0; background: none; border-bottom: 1px solid var(--copper); width: 16px; height: 1px; top: 0.85em; }

/* Mockups de la app */
.tabs { border-radius: 2px; box-shadow: none; border: 1px solid var(--line-2); background: none; padding: 4px; }
.tabs button { border-radius: 1px; font: 600 12px var(--sans); letter-spacing: 0.1em; text-transform: uppercase; }
.stage { border-radius: var(--radius); background: linear-gradient(160deg, #e6ddcc, #d6dacb); }
.device, .report { border-radius: 10px; }
.float-note { border-radius: 6px; border-left: 2px solid var(--copper); }
.float-note .mini { color: var(--copper); }

/* Mallorca (oscuro) */
.places li { border-radius: 2px; border-color: rgba(205, 174, 120, 0.35); }
.risk { border-radius: 2px; background: none; border-top: 1px solid rgba(205, 174, 120, 0.35); padding: 20px 0 0; }

/* Recurso, journal, FAQ */
.magnet { border-radius: var(--radius); box-shadow: none; border: 1px solid var(--line); background: var(--surface); }
.card { background: var(--surface); }
.card .mini { color: var(--copper); }
.card h3 { font-size: 28px; line-height: 1.08; }
.faq { gap: 0; }
.faq details { background: none; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { padding: 24px 0; font: 400 23px/1.25 var(--serif); }
.faq summary::after { background: none; border: 1px solid var(--line-2); border-radius: 0; color: var(--copper); }
.faq .answer { padding: 0 0 24px; }

/* Formulario */
.contact-box { border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.wizard { border-radius: var(--radius); box-shadow: none; border: 1px solid var(--line); }
.progress i { border-radius: 0; height: 2px; }
.opt span { border-radius: 2px; }
.field input, .field textarea, .field select { border-radius: 2px; background: var(--surface); border-color: var(--line); }
.summary { border-radius: 2px; background: var(--bg); border-left: 2px solid var(--copper); }
@media (max-width: 620px) { .contact-box, .wizard { border-radius: var(--radius); } }

/* Páginas interiores */
.inline-cta { border-radius: 0; background: none; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); border-left: 2px solid var(--copper); padding: 28px 30px; }
.prose table { border-radius: 2px; box-shadow: none; border: 1px solid var(--line); }
.prose a { color: var(--sage-deep); text-decoration-color: var(--copper); }
.prose blockquote { border-left: 2px solid var(--copper); padding-left: 24px; }
.check li::before { border-radius: 0; border-color: var(--copper); }
.page-hero.media .kicker { color: var(--brass-light); }
.page-hero.media .em { color: #e6d6b6; }

/* Pie */
.footer { box-shadow: none; background: var(--bg-2); }
.footer h4 { font: 600 11.5px var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper); }
.footer ul a:hover, .footer-bottom a:hover { color: var(--sage-deep); }

/* Fotografía: gradación más mate y fría que la anterior */
.hero-media img, .path-img img, .split-media img, .card-img img, .magnet-media img, .article-cover img, .page-hero.media .bg img, .photos img {
  filter: saturate(0.82) sepia(0.05) contrast(1.03) brightness(0.98);
}

/* =====================================================================
   Bloques de venta
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Prueba: reglas del sistema en cifras */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 34px 0 30px; }
.facts .kicker { margin-bottom: 18px; }
.facts dl { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 4px 24px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact dt { font: 400 clamp(40px, 4.4vw, 58px)/1 var(--serif); color: var(--ink); letter-spacing: -0.02em; }
.fact dd { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 220px; }
@media (max-width: 800px) {
  .facts dl { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* Herramientas gratuitas */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool { position: relative; display: flex; flex-direction: column; padding: 34px 30px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.4s, background 0.4s; }
.tool:hover { border-color: rgba(143, 107, 56, 0.55); background: var(--white); }
.tool-n { position: absolute; top: 26px; right: 28px; font: italic 400 22px/1 var(--serif); color: var(--copper); }
.tool h3 { font: 400 30px/1.08 var(--serif); margin: 4px 0 12px; letter-spacing: -0.01em; }
.tool p { color: var(--muted); font-size: 15px; }
.tool .link { margin-top: auto; align-self: flex-start; }
.tool:first-child { background: var(--terra); border-color: var(--terra); color: #eef0e6; }
.tool:first-child .path-tag, .tool:first-child .tool-n { color: var(--brass-light); }
.tool:first-child p { color: rgba(238, 240, 230, 0.75); }
.tool:first-child .link { color: #fff; border-color: var(--brass-light); }
.tool:first-child:hover { background: var(--terra-deep); }
@media (max-width: 900px) { .tools { grid-template-columns: 1fr; } }

/* Reversión de riesgo y temporada */
.season { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 30px; border: 1px solid rgba(143, 107, 56, 0.4); border-left: 2px solid var(--copper); background: rgba(205, 174, 120, 0.12); }
.season p { margin: 0; font: italic 400 clamp(21px, 2vw, 26px)/1.3 var(--serif); max-width: 720px; }

/* Cabecera de las herramientas */
.tool-hero { padding-bottom: 50px; }
.tool-hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(32px, 6vw, 90px); align-items: end; }
.tool-hero .display { font-size: clamp(44px, 6vw, 84px); margin: 14px 0 18px; }
.tool-hero .lead { max-width: 620px; }
.tool-hero-media { aspect-ratio: 4 / 5; border-radius: 1000px 1000px 0 0; overflow: hidden; outline: 1px solid rgba(143, 107, 56, 0.45); outline-offset: 10px; }
.tool-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) sepia(0.05); }
@media (max-width: 900px) { .tool-hero-grid { grid-template-columns: 1fr; } .tool-hero-media { display: none; } .tool-hero { padding-top: 120px; } }

/* Calculadora */
.calc { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.calc-inputs { display: grid; gap: 26px; }
.range label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font: 500 15px var(--sans); margin-bottom: 10px; }
.range output { font: 400 26px/1 var(--serif); color: var(--ink); white-space: nowrap; }
.range small { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.range input[type="range"] { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; cursor: pointer; }
.range input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--copper) var(--p), var(--line-2) var(--p)); }
.range input[type="range"]::-moz-range-track { height: 2px; background: var(--line-2); }
.range input[type="range"]::-moz-range-progress { height: 2px; background: var(--copper); }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--terra); box-shadow: 0 2px 8px rgba(31, 36, 28, 0.18); }
.range input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--terra); }
.range input[type="range"]:focus-visible { outline: none; }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--copper); outline-offset: 3px; }
.calc-result { position: sticky; top: 120px; background: var(--olive-deep); color: #eef0e6; padding: clamp(28px, 3.5vw, 44px); border-radius: var(--radius); }
.calc-result .kicker { color: var(--brass-light); }
.calc-total { margin: 22px 0 26px; padding-bottom: 24px; border-bottom: 1px solid rgba(205, 174, 120, 0.3); }
.calc-total b { display: block; font: 400 clamp(52px, 6vw, 76px)/1 var(--serif); font-weight: 400; letter-spacing: -0.02em; color: #fff; }
.calc-total span { display: block; margin-top: 8px; font-size: 14px; color: rgba(238, 240, 230, 0.7); }
.calc-lines { margin: 0; display: grid; gap: 14px; }
.calc-lines div { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.calc-lines dt { font-size: 14.5px; color: rgba(238, 240, 230, 0.72); }
.calc-lines dd { margin: 0; font: 400 24px/1 var(--serif); color: #fff; }
.calc-result .hint { margin: 24px 0 0; color: rgba(238, 240, 230, 0.55); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-result { position: static; } }

/* Diagnóstico */
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.quiz-bar { grid-template-columns: repeat(6, 1fr); }
.qstep { display: none; border: 0; padding: 0; margin: 0; }
.qstep.active { display: grid; gap: 10px; animation: fadeUp 0.5s var(--ease); }
.qstep legend { font: 400 clamp(28px, 3.2vw, 40px)/1.12 var(--serif); letter-spacing: -0.01em; margin-bottom: 18px; padding: 0; }
.qopt { position: relative; display: block; cursor: pointer; }
.qopt input { position: absolute; opacity: 0; }
.qopt span { display: flex; align-items: center; gap: 14px; padding: 17px 20px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--bg); font-size: 16px; transition: border-color 0.25s, background 0.25s, color 0.25s; }
.qopt span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--copper); flex: none; transition: background 0.25s, box-shadow 0.25s; }
.qopt:hover span { border-color: var(--ink); }
.qopt input:checked + span { background: var(--terra); border-color: var(--terra); color: #fff; }
.qopt input:checked + span::before { background: var(--brass-light); border-color: var(--brass-light); }
.qopt input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
.quiz-nav { margin-top: 14px; min-height: 24px; }
.quiz-nav .back, .quiz-result .link { background: none; border: 0; cursor: pointer; padding: 0; font: 500 14px var(--sans); color: var(--muted); }
.quiz-result .link { font: 600 12.5px var(--sans); color: var(--ink); border-bottom: 1px solid var(--copper); padding-bottom: 4px; margin-top: 10px; }
.quiz-score { font: italic 400 20px var(--serif); color: var(--copper); margin: 14px 0 4px; }
.quiz-result .h2 { margin-bottom: 18px; }
.quiz-meter { height: 2px; background: var(--line-2); margin-bottom: 24px; }
.quiz-meter i { display: block; height: 100%; background: var(--copper); transition: width 1s var(--ease); }
.quiz-recs { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: rec; display: grid; gap: 0; }
.quiz-recs li { counter-increment: rec; display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); }
.quiz-recs li::before { content: counter(rec, decimal-leading-zero); font: italic 400 18px var(--serif); color: var(--copper); }

/* Comparativa */
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); background: var(--surface); }
.compare { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.compare thead th { font: 600 11.5px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); background: var(--bg-2); }
.compare thead th.is-lim { background: var(--terra); color: #fff; }
.compare tbody th { font: 400 20px/1.2 var(--serif); width: 22%; }
.compare td:last-child { background: rgba(59, 72, 52, 0.06); color: var(--ink); font-weight: 500; }
.compare td { color: var(--ink-2); }
.compare .mark { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
.compare .c-y .mark { background: var(--sage-deep); }
.compare .c-p .mark { border: 1px solid var(--copper); background: linear-gradient(90deg, var(--copper) 50%, transparent 50%); }
.compare .c-n .mark { border: 1px solid var(--line-2); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.verdicts { margin-top: 48px; display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 28px; align-items: start; }
.verdicts ol { margin: 0; padding: 0; list-style: none; counter-reset: v; }
.verdicts li { counter-increment: v; display: flex; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font: 400 20px/1.35 var(--serif); }
.verdicts li::before { content: counter(v, decimal-leading-zero); font-style: italic; color: var(--copper); font-size: 17px; }
@media (max-width: 900px) { .verdicts { grid-template-columns: 1fr; } }

/* Aviso de lectura */
.nudge { position: fixed; right: 24px; bottom: 24px; z-index: 45; width: min(340px, calc(100vw - 32px)); padding: 22px 22px 20px; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--copper); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(16px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.nudge.show { opacity: 1; transform: none; }
.nudge p { font: 400 22px/1.2 var(--serif); margin: 10px 0 16px; padding-right: 18px; }
.nudge-close { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; background: none; font: 300 22px/1 var(--sans); color: var(--muted); cursor: pointer; }
@media (max-width: 599px) { .nudge { right: 16px; left: 16px; width: auto; bottom: 84px; } }
@media print { .nudge { display: none !important; } }
.quiz-result { scroll-margin-top: 120px; }
.quiz-result .ctas { align-items: center; gap: 24px; margin-top: 8px; }
.quiz-result .link { margin-top: 0; }
@media (min-width: 1001px) { .nudge { display: none !important; } }
.aside-tool { border-top: 2px solid var(--copper); }
@media (max-width: 1180px) { .nav-link { white-space: normal; gap: 16px; } }
@media (max-width: 760px) {
  .compare tbody th { position: sticky; left: 0; z-index: 1; background: var(--surface); width: 150px; min-width: 150px; font-size: 18px; box-shadow: 1px 0 0 var(--line); }
  .compare thead th:first-child { position: sticky; left: 0; z-index: 1; }
}
.prose a.btn { text-decoration: none; color: var(--surface); }
.prose a.btn.line { color: var(--ink); }
/* Móvil: las versalitas espaciadas alargan los botones; que puedan partir línea en lugar de desbordar */
@media (max-width: 599px) {
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .magnet { grid-template-columns: minmax(0, 1fr); }
}

/* =====================================================================
   Red de gestoras y zonas
   ===================================================================== */
.zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.zone { display: flex; flex-direction: column; padding: 16px 16px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.4s; }
.zone:hover { border-color: rgba(143, 107, 56, 0.55); }
.zone-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 1000px 1000px 0 0; margin-bottom: 16px; }
.zone-img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) sepia(0.05); transition: transform 1.2s var(--ease); }
.zone:hover .zone-img img { transform: scale(1.04); }
.zone h3 { font: 400 24px/1.1 var(--serif); margin: 0 4px 8px; }
.zone p { margin: 0 4px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 1000px) { .zones { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .zones { grid-template-columns: 1fr; } }
.services { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.services ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.services li { padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 2px; font-size: 14px; background: var(--surface); }
.band { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-left: 2px solid var(--copper); }
.band .h2 { font-size: clamp(28px, 3vw, 40px); margin: 12px 0 10px; }
.band p { margin: 0; color: var(--muted); }
.band-zones { display: flex; flex-wrap: wrap; gap: 8px; }
.band-zones a { padding: 7px 12px; border: 1px solid var(--line-2); font: italic 400 17px var(--serif); transition: border-color 0.3s, background 0.3s; }
.band-zones a:hover { border-color: var(--copper); background: var(--white); }
.band-dark { background: var(--olive-deep); color: #eef0e6; border-color: var(--olive-deep); border-left-color: var(--brass-light); grid-template-columns: 1.6fr auto; }
.band-dark .kicker { color: var(--brass-light); }
.band-dark p { color: rgba(238, 240, 230, 0.72); }
@media (max-width: 960px) { .band, .band-dark { grid-template-columns: 1fr; } }
.places a { color: inherit; border-bottom: 1px solid rgba(205, 174, 120, 0.5); }
.places a:hover { color: var(--brass-light); }
@media (min-width: 1181px) and (max-width: 1360px) { .nav, .nav-links { gap: 16px; } .nav-link { font-size: 14px; } }
/* Seis enlaces en la barra: entre 1181 y 1440 px el Journal sale de la barra (sigue en pie, portada y menú móvil) */
@media (min-width: 1181px) and (max-width: 1440px) { .nav-links .nav-link:last-child { display: none; } }
