/* ==========================================================================
   PLR Instalaciones Placas Solares Logroño — Sistema de diseño
   Tipografías: Fraunces (titulares) + Hanken Grotesk (texto), vía Google Fonts
   ========================================================================== */

:root {
  --primary: #1E3A2A;
  --primary-light: #2E5640;
  --primary-deep: #132619;
  --accent: #F0B429;
  --accent-hover: #D99A12;
  --accent-light: #F7CF6B;
  --accent-text: #6B4A00;      /* AA sobre blanco y sobre --warm-bg */
  --accent-solid: #F0B429;     /* botón principal: texto oscuro encima */
  --accent-solid-hover: #FFC93F;
  --sage: #6E8B5E;
  --warm-bg: #F2F5EA;
  --text: #19261E;
  --text-muted: #55655B;
  --border: #D6DDCB;
  --white: #FFFFFF;
  --success: #1E7A46;

  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-pill: 6px;

  --shadow-sm: 0 1px 0 rgba(19, 38, 25, 0.06);
  --shadow-md: 6px 6px 0 rgba(30, 58, 42, 0.14);

  --container-max: 1180px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }

h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); font-weight: 600; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-text);
  margin-bottom: 10px;
}
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--accent); display: inline-block; }
.tx-mid .kicker, .band-top2.tx-mid .kicker { justify-content: center; }

/* ---- Layout ---- */
.wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.band { padding: 84px 0; }
.band-tint { background: var(--warm-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cols { display: grid; gap: 24px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); gap: 48px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.tx-mid { text-align: center; }
.band-top2 { max-width: 720px; margin: 0 auto 52px; }
.band-top2.tx-mid { text-align: center; }

@media (max-width: 1024px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cols-2 { gap: 32px; }
}
@media (max-width: 640px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .band { padding: 56px 0; }
  .reach2-fm { order: -1; }
}

/* ---- Botones ---- */
.bt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.97rem;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.bt-main { background: var(--accent-solid); color: var(--primary-deep); border-color: var(--accent-solid); box-shadow: 4px 4px 0 rgba(19,38,25,0.28); }
.bt-main:hover { background: var(--accent-solid-hover); border-color: var(--accent-solid-hover); box-shadow: 2px 2px 0 rgba(19,38,25,0.28); }
.bt-ghost { background: transparent; border-color: var(--white); color: var(--white); }
.bt-ghost:hover { background: var(--white); color: var(--primary); }
.bt-line { background: transparent; border-color: var(--primary); color: var(--primary); }
.bt-line:hover { background: var(--primary); color: var(--white); }
.bt-go { color: var(--primary); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.bt-full { width: 100%; }

/* ---- Cabecera ---- */
.strip {
  background: var(--warm-bg);
  color: var(--primary);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.strip .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.strip a { color: var(--primary); font-weight: 600; }
.strip a:hover { color: var(--accent-text); text-decoration: underline; }
.strip-row { display: inline-flex; align-items: center; gap: 6px; margin-right: 22px; }

.web-head {
  background: var(--white);
  border-bottom: 4px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 50;
}
.web-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.mark { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 700; font-size: 1.12rem; line-height: 1.1; color: var(--primary); }
.mark svg { height: 44px; width: 44px; flex-shrink: 0; }
.mark-tx { display: flex; flex-direction: column; }
.mark-name { display: block; }
.mark-under { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }

.core-menu ul { display: flex; gap: 2px; align-items: center; }
.core-menu a { position: relative; font-weight: 600; font-size: 0.98rem; color: var(--primary); padding: 10px 14px; border-radius: var(--radius-sm); }
.core-menu a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
.core-menu a:hover::after,
.core-menu a[aria-current="page"]::after { transform: scaleX(1); }
.core-menu a[aria-current="page"] { color: var(--primary); font-weight: 700; }

.with-drop { position: relative; }
.drop-toggle { display: inline-flex; align-items: center; gap: 5px; }
.drop-arrow { font-size: 0.65em; transition: transform 0.2s ease; }
.with-drop:hover .drop-arrow,
.with-drop:focus-within .drop-arrow { transform: rotate(180deg); }
.core-menu .drop-menu {
  display: block;
  position: absolute; top: 100%; left: 0; margin: 0; padding: 12px 0 6px;
  background: var(--white); border: 2px solid var(--primary); border-top-width: 4px; border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-md); min-width: 280px;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 60;
}
.with-drop:hover .drop-menu,
.with-drop:focus-within .drop-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.drop-menu li { margin: 0; }
.core-menu .drop-menu a { display: block; padding: 10px 20px; border-radius: 0; font-weight: 600; font-size: 0.94rem; white-space: nowrap; }
.core-menu .drop-menu a::after { display: none; }
.core-menu .drop-menu a:hover { background: var(--warm-bg); color: var(--accent-text); }

.head-call { display: flex; align-items: center; gap: 12px; }
.head-call .bt { font-size: 0.95rem; padding: 11px 22px; }
.menu-switch { display: none; background: var(--primary); border: none; border-radius: var(--radius-sm); padding: 12px; min-width: 46px; min-height: 46px; }
.menu-switch span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px auto; }
.head-call .bt .bt-tx-brief { display: none; }

@media (max-width: 900px) {
  .core-menu { position: fixed; inset: 0 0 0 24%; background: var(--white); transform: translateX(100%); transition: transform 0.28s ease; padding: 96px 28px 28px; border-left: 4px solid var(--accent); overflow-y: auto; z-index: 70; }
  .core-menu.is-shown { transform: translateX(0); }
  .core-menu ul { flex-direction: column; align-items: flex-start; gap: 14px; }
  .core-menu a::after { display: none; }
  .menu-switch { display: block; position: relative; z-index: 80; }
  .head-call .bt .bt-tx-full { display: none; }
  .head-call .bt .bt-tx-brief { display: inline; }
  .core-menu .drop-menu {
    position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    box-shadow: none; border: none; border-left: 3px solid var(--border); border-radius: 0; background: transparent; padding: 2px 0 6px 12px; margin: 4px 0 0 4px; min-width: 0;
  }
  .core-menu .drop-menu a { font-size: 0.88rem; padding: 7px 10px; color: var(--text-muted); }
  .drop-arrow { display: none; }
}

/* ---- Hero a sangre con imagen de fondo ---- */
.top {
  position: relative;
  background: var(--primary-deep);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.top-visual { position: static; }
.top-visual img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.top::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(19,38,25,0.96) 0%, rgba(19,38,25,0.86) 42%, rgba(19,38,25,0.35) 100%);
}
.top-cols {
  display: block;
  padding-top: 96px;
  padding-bottom: 120px;
  min-height: 600px;
}
.top-copy { position: relative; z-index: 1; max-width: 680px; }
.top-flag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--primary-deep); font-weight: 700;
  padding: 7px 14px; border-radius: var(--radius-sm); font-size: 0.82rem; margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.top h1 { color: var(--white); font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 18px; }
.top h1 span { color: var(--accent-light); font-style: italic; font-weight: 600; }
.top-kinds { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.76rem; font-weight: 700; color: var(--accent-light); margin-bottom: 18px; }
.top-lead { font-size: 1.1rem; color: rgba(255,255,255,0.9); max-width: 600px; }
.top-acts { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.top-ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.22); font-size: 0.92rem; color: rgba(255,255,255,0.94); max-width: 640px; }
.top-ticks .tick-row { display: flex; align-items: flex-start; gap: 10px; }

.top-figure-tile {
  position: absolute; right: 24px; bottom: 28px; z-index: 2;
  background: var(--accent); color: var(--primary-deep);
  border-radius: var(--radius-sm); box-shadow: 6px 6px 0 rgba(0,0,0,0.3);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px; max-width: 290px;
}
.top-figure-ico { width: 42px; height: 42px; border-radius: var(--radius-sm); background: var(--primary-deep); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.top-figure-tile strong { display: block; font-family: var(--font-heading); font-size: 1.3rem; color: var(--primary-deep); line-height: 1.1; }
.top-figure-tile span { display: block; font-size: 0.8rem; color: var(--primary-deep); margin-top: 2px; font-weight: 500; }

@media (max-width: 900px) {
  .top-cols { padding-top: 60px; padding-bottom: 150px; min-height: 0; }
  .top::before { background: linear-gradient(180deg, rgba(19,38,25,0.93) 0%, rgba(19,38,25,0.84) 100%); }
  .top-figure-tile { left: 24px; right: 24px; max-width: none; bottom: 24px; }
}
@media (max-width: 560px) {
  .top-ticks { grid-template-columns: 1fr; }
}

.pg-top { position: relative; background: var(--primary); color: var(--white); padding: 60px 0 64px; overflow: hidden; border-bottom: 6px solid var(--accent); }
.pg-top::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.pg-top .wrap { position: relative; z-index: 1; }
.pg-top h1 { color: var(--white); margin-bottom: 12px; max-width: 880px; }
.pg-top p { color: rgba(255,255,255,0.88); max-width: 680px; margin: 0; font-size: 1.05rem; }
.trail { font-size: 0.82rem; letter-spacing: 0.02em; color: rgba(255,255,255,0.7); margin-bottom: 16px; }
.trail a { color: var(--accent-light); }
.trail a:hover { text-decoration: underline; }

/* ---- Tarjetas ---- */
.tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.tile:hover { border-left-color: var(--primary); box-shadow: var(--shadow-md); transform: translate(-2px, -2px); }
.band-tint .tile { background: var(--white); }
.tile-ico {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: var(--accent-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px;
}
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 0; }
.tile-go { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 0.9rem; color: var(--primary); border-bottom: 3px solid var(--accent); padding-bottom: 1px; }
.tile-go:hover { color: var(--accent-text); }

.pic-tile { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-md); overflow: hidden; border: 3px solid var(--primary); box-shadow: 8px 8px 0 var(--accent); }
.pic-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pic-tile-inner { display: flex; flex-direction: column; flex: 1; padding: 20px; background: var(--white); }
.pic-tile-inner .tile-go { margin-top: auto; }

main img[loading="lazy"]:not([class]) { border-radius: var(--radius-md) !important; }

.flag { display: inline-block; background: var(--primary); color: var(--accent-light); font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-sm); }

/* ---- Pasos: línea de tiempo vertical ---- */
.stages { counter-reset: step; position: relative; }
.stages::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 28px; width: 3px; background: var(--border); }
.stage { position: relative; padding-left: 62px; margin-bottom: 30px; }
.stage:last-child { margin-bottom: 0; }
.stage::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--accent); color: var(--primary-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.1rem;
  box-shadow: 3px 3px 0 var(--primary);
}
.stage h3 { margin-bottom: 4px; font-size: 1.12rem; }
.stage p { color: var(--text-muted); margin: 0; }

/* ---- Testimonios ---- */
.quote { background: var(--white); border: 1px solid var(--border); border-top: 5px solid var(--accent); border-radius: var(--radius-md); padding: 26px; }
.quote .stars { color: var(--accent-text); margin-bottom: 12px; letter-spacing: 2px; }
.quote p { color: var(--text); font-style: italic; }
.quote-author { font-weight: 700; color: var(--primary); font-style: normal; margin-top: 12px; font-size: 0.9rem; }
.quote-author span { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.82rem; }

/* ---- FAQ ---- */
.faq-row { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 12px; }
.band-tint .faq-row { background: var(--white); }
.faq-toggle {
  width: 100%; background: none; border: none; text-align: left;
  padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; color: var(--primary);
}
.faq-toggle .ico { flex-shrink: 0; width: 30px; height: 30px; border-radius: var(--radius-sm); background: var(--accent); color: var(--primary-deep); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; line-height: 1; transition: transform 0.25s ease; }
.faq-toggle[aria-expanded="true"] { border-bottom: 1px solid var(--border); }
.faq-toggle[aria-expanded="true"] .ico { transform: rotate(45deg); }
.faq-pane { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-pane p { padding: 16px 20px 6px; color: var(--text-muted); margin: 0 0 12px; }

/* ---- Formularios ---- */
.fm-field { margin-bottom: 18px; }
.fm-field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--primary); }
.fm-entry, .fm-area, .fm-pick {
  width: 100%; padding: 12px 14px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.97rem; background: var(--white); color: var(--text);
}
.fm-entry:focus, .fm-area:focus, .fm-pick:focus { outline: none; border-color: var(--primary); box-shadow: 3px 3px 0 var(--accent); }
.fm-tick { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--text-muted); }
.fm-tick input { margin-top: 4px; accent-color: var(--primary); }
.fm-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 10px; }
.fm-state { font-size: 0.9rem; font-weight: 700; margin-top: 14px; min-height: 1.2em; }
.fm-state-success { color: var(--success); }
.fm-state-error:not(:empty),
.fm-state-success:not(:empty) { border-radius: var(--radius-sm); padding: 12px 14px; }
.fm-state-error:not(:empty) { color: #A5281B; background: #FDECEA; border: 1px solid #F5B7B1; border-left: 4px solid #A5281B; }
.fm-state-success:not(:empty) { background: #EAFAF1; border: 1px solid #A9DFBF; border-left: 4px solid var(--success); }
.reach2-fm { border: 3px solid var(--primary); box-shadow: 8px 8px 0 var(--accent); border-left-width: 3px; }
.reach2-fm:hover { transform: none; box-shadow: 8px 8px 0 var(--accent); border-left-color: var(--primary); }

/* ---- Pie de página ---- */
.web-foot { background: var(--primary-deep); color: rgba(255,255,255,0.78); padding-top: 68px; border-top: 6px solid var(--accent); }
.foot-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 44px; }
.web-foot h3 { color: var(--accent-light); font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 18px; }
.web-foot ul li { margin-bottom: 10px; font-size: 0.93rem; }
.web-foot a:hover { color: var(--accent-light); text-decoration: underline; }
.foot-mark { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 700; color: var(--white); font-size: 1.08rem; line-height: 1.1; margin-bottom: 16px; }
.foot-mark svg { height: 40px; width: 40px; flex-shrink: 0; }
.foot-mark .mark-under { color: rgba(255,255,255,0.62); }
.foot-blurb { font-size: 0.9rem; max-width: 320px; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a { width: 36px; height: 36px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.social-links a:hover { background: var(--accent); color: var(--primary-deep); }
.under-foot { border-top: 1px solid rgba(255,255,255,0.14); padding: 20px 0; font-size: 0.82rem; }
.under-foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.under-foot a { color: rgba(255,255,255,0.72); }
.under-foot a:hover { color: var(--accent-light); }

@media (max-width: 900px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr; } }

/* ---- Chips ---- */
.tag-set { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { background: var(--white); border: 1px solid var(--border); border-bottom: 3px solid var(--border); padding: 7px 14px; border-radius: var(--radius-sm); font-size: 0.86rem; font-weight: 600; color: var(--primary); }
.band-tint .tag { background: var(--white); }
.tag.tag-go { border-bottom-color: var(--accent); }
.tag.tag-go:hover { background: var(--primary); color: var(--white); border-color: var(--primary); border-bottom-color: var(--accent); }

/* ---- Precios ---- */
.pricing-tile { text-align: center; }
.pricing-tile .price { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--primary); margin: 6px 0; }
.pricing-tile .price span { font-size: 0.95rem; font-weight: 600; color: var(--text-muted); }
.pricing-note { font-size: 0.82rem; color: var(--text-muted); text-align: center; margin-top: 18px; }

/* ---- Utilidades ---- */
.mt-0 { margin-top: 0; }
.tx-soft { color: var(--text-muted); }
.map-box { border-radius: var(--radius-md); overflow: hidden; border: 3px solid var(--primary); box-shadow: 6px 6px 0 var(--accent); }
.map-box iframe { width: 100%; height: 400px; border: 0; display: block; }

.reviews-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font-size: 1rem; }
.reviews-summary .rating-stars { color: var(--accent-text); letter-spacing: 2px; }
.reviews-call { display: flex; gap: 18px; margin-top: 24px; flex-wrap: wrap; align-items: center; }

.jump-go { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--primary-deep); font-weight: 700; padding: 10px 16px; z-index: 100; }
.jump-go:focus { left: 10px; top: 10px; }

/* ---- Widget de WhatsApp ---- */
.wsp-bubble {
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  width: 62px; height: 62px; border-radius: 16px;
  background: #25D366; border: 3px solid var(--primary-deep); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 4px 4px 0 var(--primary-deep); cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wsp-bubble:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--primary-deep); }
.wsp-bubble svg { width: 32px; height: 32px; }

.wsp-pane {
  position: fixed; bottom: 98px; right: 22px; z-index: 91;
  width: min(350px, calc(100vw - 32px));
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 0 rgba(19,38,25,0.35);
  overflow: hidden;
  border: 3px solid var(--primary-deep);
}
.wsp-pane[hidden] { display: none; }

.wsp-pane-head { background: #1B8A47; color: #fff; display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.wsp-pane-head-ico { width: 40px; height: 40px; border-radius: var(--radius-sm); background: #fff; color: #1B8A47; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wsp-pane-head-ico svg { width: 24px; height: 24px; color: #1B8A47; }
.wsp-pane-head strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; }
.wsp-pane-head span { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.88); }
.wsp-pane-shut { margin-left: auto; background: none; border: none; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 4px 8px; }

.wsp-pane-inner { padding: 16px; max-height: 70vh; overflow-y: auto; background: var(--warm-bg); }
.wsp-msg { background: #fff; border: 1px solid var(--border); border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md); padding: 12px 14px; font-size: 0.9rem; color: var(--text); margin-bottom: 16px; }
.wsp-fm { display: flex; flex-direction: column; gap: 10px; }
.wsp-fm label { font-size: 0.8rem; font-weight: 700; color: var(--primary); }
.wsp-fm input, .wsp-fm select, .wsp-fm textarea { width: 100%; padding: 10px 12px; border: 2px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.92rem; background: #fff; color: var(--text); }
.wsp-fm textarea { resize: vertical; }
.wsp-send { margin-top: 6px; background: #25D366; color: #06210F; border: 2px solid var(--primary-deep); padding: 12px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.wsp-send:hover { background: #3EE07F; }
.wsp-send svg { width: 18px; height: 18px; }

@media (max-width: 480px) {
  .wsp-pane { right: 14px; left: 14px; width: auto; bottom: 88px; }
  .wsp-bubble { right: 14px; bottom: 14px; }
}

/* ---- Blog y textos legales ---- */
.post-inner { max-width: 760px; margin: 0 auto; }
.post-inner p { font-size: 1.04rem; color: var(--text); }
.post-inner h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); margin-top: 1.5em; padding-top: 0.4em; border-top: 3px solid var(--accent); display: inline-block; }
.post-inner h3 { font-size: 1.12rem; margin-top: 1.1em; }
.post-inner ul, .post-inner ol { list-style: disc; padding-left: 1.3em; margin: 0 0 1.2em; color: var(--text); }
.post-inner ol { list-style: decimal; }
.post-inner li { margin-bottom: 8px; }
.post-inner figure { margin: 30px 0; }
.post-inner figure img { border: 3px solid var(--primary); }
.post-inner figcaption { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; }
.post-inner a:not(.bt) { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 3px; font-weight: 600; }
.post-info { font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.post-call {
  background: var(--primary);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 44px;
  text-align: center;
  border-bottom: 6px solid var(--accent);
}
.post-call h3 { margin-bottom: 8px; color: var(--white); }
.post-call p { color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.law-inner { max-width: 820px; margin: 0 auto; }
.law-inner h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 1.6em; padding-left: 14px; border-left: 5px solid var(--accent); }
.law-inner p, .law-inner li { color: var(--text); }
.law-inner ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.2em; }
.law-inner li { margin-bottom: 6px; }
