/* PTR Instalaciones Placas Solares Torrejón de Ardoz — hoja de estilos. Fuentes: Archivo + Mulish */
:root {
  --primary: #232A3A;
  --primary-light: #3A445880;
  --accent: #35C28F;
  --accent-hover: #1F7A58;
  --accent-light: #8FE3C2;
  --accent-text: #14664A; /* contraste AA sobre blanco y sobre el fondo activo del menú */
  --accent-solid: #1F7A58; /* fondo de botones/CTA sólidos */
  --accent-solid-hover: #185F46; /* hover de botones sólidos */
  --sage: #7D8794;
  --warm-bg: #EEF4F2;
  --text: #1C2429;
  --text-muted: #5B6670;
  --border: #DCE2E6;
  --white: #FFFFFF;
  --success: #1E7A46;

  --font-heading: 'Archivo', sans-serif;
  --font-body: 'Mulish', sans-serif;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(17, 24, 35, 0.10);
  --shadow-md: 0 8px 24px rgba(17, 24, 35, 0.16);

  --container-max: 1240px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -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; }

/* ---- Accesibilidad: foco visible y respeto a reduced-motion ---- */
a:focus-visible,
button:focus-visible,
.boton:focus-visible,
.etq-enlace:focus-visible,
.ficha-enlace:focus-visible,
.plegable-abre:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@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.2;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1em; }

/* ---- Typography scale ---- */
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
.antetitulo {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-text);
}

/* ---- Layout helpers ---- */
.caja { max-width: var(--container-max); margin: 0 auto; padding: 0 20px; }
.tramo { padding: 72px 0; }
.tramo-tono { background: var(--warm-bg); }
.malla { display: grid; gap: 28px; }
.malla-2 { grid-template-columns: repeat(2, 1fr); }
.malla-3 { grid-template-columns: repeat(3, 1fr); }
.malla-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.texto-medio { text-align: center; }
.tramo-head { max-width: 680px; margin: 0 auto 48px; }
.tramo-head.texto-medio { text-align: center; }

@media (max-width: 1024px) {
  .malla-4 { grid-template-columns: repeat(2, 1fr); }
  .malla-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .malla-2, .malla-3, .malla-4 { grid-template-columns: 1fr; }
  .tramo { padding: 48px 0; }
  /* En móvil el formulario de contacto va antes que los datos de contacto,
     para no tener que hacer scroll hasta abajo para encontrarlo. */
  .escribe-formu { order: -1; }
}

/* ---- Buttons ---- */
.boton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.boton:hover { transform: translateY(-2px); }
.boton-fuerte { background: var(--accent-solid); color: var(--white); box-shadow: 0 10px 24px rgba(53,194,143,0.35); }
.boton-fuerte:hover { background: var(--accent-solid-hover); box-shadow: 0 12px 28px rgba(53,194,143,0.45); }
.boton-claro { background: transparent; border-color: var(--white); color: var(--white); }
.boton-claro:hover { background: rgba(255,255,255,0.1); }
.boton-borde { background: transparent; border-color: var(--primary); color: var(--primary); }
.boton-borde:hover { background: var(--primary); color: var(--white); }
.boton-enlace { color: var(--primary); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.boton-ancho { width: 100%; justify-content: center; }

/* ---- Header ---- */
.franja {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}
.franja .caja { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 8px; }
.franja a { color: rgba(255,255,255,0.9); }
.franja a:hover { color: var(--accent-light); }
.franja-fila { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; }

.sitio-cab {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.sitio-cab .caja { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.firma { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; line-height: 1.15; color: var(--primary); }
.firma img, .firma svg { height: 42px; width: auto; flex-shrink: 0; }
.firma-texto { display: flex; flex-direction: column; }
.firma-name { display: block; }
.firma-bajo { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.03em; color: var(--text-muted); }

.principal-nv ul { display: flex; gap: 4px; align-items: center; }
.principal-nv a { font-weight: 700; font-size: 1.02rem; color: var(--primary); padding: 10px 18px; border-radius: var(--radius-pill); transition: background 0.2s ease, color 0.2s ease; }
.principal-nv a:hover { background: var(--warm-bg); }
.principal-nv a[aria-current="page"] { background: rgba(53,194,143, 0.18); color: var(--accent-text); }

/* ---- Dropdown "Servicios" ---- */
.con-despl { position: relative; }
.despl-abre { display: inline-flex; align-items: center; gap: 5px; }
.despl-flecha { font-size: 0.65em; transition: transform 0.2s ease; }
.con-despl:hover .despl-flecha,
.con-despl:focus-within .despl-flecha { transform: rotate(180deg); }
.principal-nv .despl-menu {
  /* margin-top:0 (en vez de un hueco) evita una franja sin elemento "hoverable"
     entre el enlace y el menú: si hubiera gap, el ratón lo cruza al bajar en
     diagonal y el :hover se pierde antes de llegar a las opciones. El aire
     visual se recupera con padding-top en vez de margin. */
  display: block;
  position: absolute; top: 100%; left: 0; margin-top: 0; list-style: none; padding: 14px 8px 8px; margin-left: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-md); min-width: 260px;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.con-despl:hover .despl-menu,
.con-despl:focus-within .despl-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
}
.despl-menu li { margin: 0; }
.despl-menu a {
  display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.96rem; color: var(--primary); white-space: nowrap;
}
.despl-menu a:hover { background: var(--warm-bg); color: var(--accent-text); }

.cab-cierre { display: flex; align-items: center; gap: 14px; }
.cab-cierre .boton { font-size: 1rem; padding: 13px 26px; }
.nv-interruptor { display: none; background: none; border: none; padding: 12px; min-width: 44px; min-height: 44px; }
.nv-interruptor span { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; }
.cab-cierre .boton .boton-texto-corto { display: none; }

@media (max-width: 900px) {
  .principal-nv { position: fixed; inset: 0 0 0 30%; background: var(--white); transform: translateX(100%); transition: transform 0.3s ease; padding: 90px 24px 24px; box-shadow: var(--shadow-md); }
  .principal-nv.is-visible { transform: translateX(0); }
  .principal-nv ul { flex-direction: column; gap: 20px; }
  .nv-interruptor { display: block; }
  .cab-cierre .boton .boton-texto-completo { display: none; }
  .cab-cierre .boton .boton-texto-corto { display: inline; }

  .despl-menu {
    position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    box-shadow: none; border: none; background: transparent; padding: 2px 0 6px 14px; margin-top: 2px; min-width: 0;
  }
  .despl-menu a { font-size: 0.86rem; padding: 8px 10px; color: var(--text-muted); }
  .despl-flecha { display: none; }
}

/* ---- Hero ---- */
.portada {
  position: relative;
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
}
.portada::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -8%;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(53,194,143,0.35), transparent 70%);
  pointer-events: none;
}
.portada-malla {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
}
.portada-sello {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px; border-radius: var(--radius-pill); font-size: 0.85rem; margin-bottom: 22px;
}
.portada h1 { color: var(--white); font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-bottom: 18px; }
.portada h1 span { color: var(--accent-light); }
.portada-areas { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.75); margin-bottom: 16px; }
.portada-entradilla { font-size: 1.08rem; color: rgba(255,255,255,0.88); max-width: 560px; }
.portada-llamadas { display: flex; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.portada-puntos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 34px; font-size: 0.9rem; color: rgba(255,255,255,0.92); }
.portada-puntos .punto-fila { display: flex; align-items: center; gap: 10px; }

.portada-imagen { position: relative; }
.portada-image { width: 100%; height: 420px; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 55px rgba(0,0,0,0.35); }
.portada-dato-ficha {
  position: absolute; left: -18px; bottom: -28px;
  background: var(--white); color: var(--text);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  padding: 18px 22px; display: flex; align-items: center; gap: 14px; max-width: 270px;
}
.portada-dato-icono { width: 44px; height: 44px; border-radius: 50%; background: rgba(53,194,143,0.18); color: var(--accent-text); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.portada-dato-ficha strong { display: block; font-family: var(--font-heading); font-size: 1.3rem; color: var(--primary); line-height: 1.15; }
.portada-dato-ficha span { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

@media (max-width: 900px) {
  .portada-malla { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 68px; gap: 36px; }
  .portada-image { height: 260px; margin-top: 8px; }
  .portada-dato-ficha { position: static; margin-top: 16px; margin-left: 0; max-width: none; width: 100%; }
}
@media (max-width: 560px) {
  .portada-puntos { grid-template-columns: 1fr; }
}

.pag-portada { position: relative; background: var(--primary); color: var(--white); padding: 64px 0; overflow: hidden; }
.pag-portada::before {
  content: "";
  position: absolute;
  top: -60%;
  right: -8%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(53,194,143,0.30), transparent 70%);
  pointer-events: none;
}
.pag-portada .caja { position: relative; z-index: 1; }
.pag-portada h1 { color: var(--white); margin-bottom: 10px; }
.pag-portada p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0; }
.ruta { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; }
.ruta a { color: rgba(255,255,255,0.85); }
.ruta a:hover { color: var(--accent-light); }

/* ---- Cards ---- */
.ficha {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ficha:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ficha-icono {
  width: 52px; height: 52px; border-radius: var(--radius-sm);
  background: rgba(53,194,143, 0.18); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px;
}
.ficha h3 { margin-bottom: 8px; }
.ficha p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }
.ficha-enlace { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 0.9rem; color: var(--accent-text); }
.ficha.ficha-featured { border-color: var(--accent-text); box-shadow: var(--shadow-md); }

.foto-ficha { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.foto-ficha img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.foto-ficha:hover img { transform: scale(1.05); }
.foto-ficha-cuerpo { display: flex; flex-direction: column; flex: 1; padding: 20px; background: var(--white); border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius-md) var(--radius-md); }
.foto-ficha-cuerpo .ficha-enlace { margin-top: auto; }

.sello { display: inline-block; background: var(--sage); color: var(--white); font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: var(--radius-pill); }

/* ---- Process steps ---- */
.pasos { counter-reset: step; }
.paso { position: relative; padding-left: 56px; margin-bottom: 28px; }
.paso::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800;
}
.paso h3 { margin-bottom: 4px; }
.paso p { color: var(--text-muted); margin: 0; }

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

/* ---- FAQ Accordion ---- */
.plegable-fila { border-bottom: 1px solid var(--border); }
.plegable-abre {
  width: 100%; background: none; border: none; text-align: left;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.02rem; color: var(--primary);
}
.plegable-abre .icono { flex-shrink: 0; margin-left: 16px; transition: transform 0.25s ease; font-size: 1.3rem; color: var(--accent-text); }
.plegable-abre[aria-expanded="true"] .icono { transform: rotate(45deg); }
.plegable-hoja { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.plegable-hoja p { padding-bottom: 20px; color: var(--text-muted); margin: 0; }

/* ---- Forms ---- */
.formu-grupo { margin-bottom: 18px; }
.formu-grupo label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; color: var(--primary); }
.formu-campo, .formu-area, .formu-opcion {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.95rem; background: var(--white); color: var(--text);
}
.formu-campo:focus, .formu-area:focus, .formu-opcion:focus { outline: 2px solid var(--accent-text); outline-offset: 1px; border-color: var(--accent-text); }
.formu-punto { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--text-muted); }
.formu-punto input { margin-top: 4px; }
.formu-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 10px; }
.formu-estado { font-size: 0.9rem; font-weight: 700; margin-top: 14px; min-height: 1.2em; }
.formu-estado-success { color: var(--success); }
.formu-estado-error:not(:empty),
.formu-estado-success:not(:empty) {
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.formu-estado-error:not(:empty) {
  color: #c0392b;
  background: #fdecea;
  border: 1px solid #f5b7b1;
  border-left: 4px solid #c0392b;
}
.formu-estado-success:not(:empty) {
  background: #eafaf1;
  border: 1px solid #a9dfbf;
  border-left: 4px solid var(--success);
}

/* ---- Footer ---- */
.sitio-pie { background: var(--primary); color: rgba(255,255,255,0.75); padding-top: 64px; }
.pie-malla { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.sitio-pie h3 { color: var(--white); font-size: 0.95rem; font-weight: 700; margin: 0 0 18px; }
.sitio-pie ul li { margin-bottom: 10px; }
.sitio-pie a:hover { color: var(--accent-light); }
.pie-firma { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-weight: 800; color: var(--white); font-size: 1.05rem; line-height: 1.15; margin-bottom: 14px; }
.pie-firma img, .pie-firma svg { height: 36px; flex-shrink: 0; }
.pie-firma .firma-bajo { color: rgba(255,255,255,0.6); }
.pie-resumen { font-size: 0.88rem; max-width: 300px; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.social-links a:hover { background: var(--accent-solid); color: var(--white); }
.bajo-pie { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; font-size: 0.8rem; }
.bajo-pie .caja { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.bajo-pie a { color: rgba(255,255,255,0.7); }
.bajo-pie a:hover { color: var(--accent-light); }

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

/* ---- Zones/services chip lists ---- */
.etq-lista { display: flex; flex-wrap: wrap; gap: 10px; }
.etq { background: var(--warm-bg); border: 1px solid var(--border); padding: 8px 16px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 600; color: var(--primary); }
.etq.etq-enlace:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ---- Pricing ---- */
.pricing-ficha { text-align: center; }
.pricing-ficha .price { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: var(--primary); margin: 6px 0; }
.pricing-ficha .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; }

/* ---- Utility ---- */
.mt-0 { margin-top: 0; }
.texto-suave { color: var(--text-muted); }
.plano-frame { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.plano-frame 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-estrellas { color: var(--accent); letter-spacing: 2px; }
.reviews-cierre { display: flex; gap: 18px; margin-top: 24px; flex-wrap: wrap; align-items: center; }

.saltar-enlace { position: absolute; left: -999px; top: 0; background: var(--accent-solid); color: var(--white); font-weight: 700; padding: 10px 16px; z-index: 100; }
.saltar-enlace:focus { left: 10px; top: 10px; }

/* ---- WhatsApp widget ---- */
.wsap-disparo {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; border: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28); cursor: pointer;
  transition: transform 0.2s ease;
}
.wsap-disparo:hover { transform: scale(1.06); }
.wsap-disparo svg { width: 30px; height: 30px; }

.wsap-hoja {
  position: fixed; bottom: 96px; right: 24px; z-index: 91;
  width: min(340px, calc(100vw - 32px));
  background: var(--warm-bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.wsap-hoja[hidden] { display: none; }

.wsap-hoja-cab { background: var(--primary); color: #fff; display: flex; align-items: center; gap: 12px; padding: 16px; }
.wsap-hoja-cab-icono { width: 40px; height: 40px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wsap-hoja-cab-icono svg { width: 22px; height: 22px; color: #fff; }
.wsap-hoja-cab strong { display: block; font-family: var(--font-heading); font-size: 0.95rem; }
.wsap-hoja-cab span { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.75); }
.wsap-hoja-cerrar { margin-left: auto; background: none; border: none; color: rgba(255,255,255,0.8); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 4px; }
.wsap-hoja-cerrar:hover { color: #fff; }

.wsap-hoja-cuerpo { padding: 16px; max-height: 70vh; overflow-y: auto; }
.wsap-globo { background: #fff; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.88rem; color: var(--text); margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.wsap-formu { display: flex; flex-direction: column; gap: 10px; }
.wsap-formu label { font-size: 0.82rem; font-weight: 700; color: var(--primary); }
.wsap-formu input, .wsap-formu select, .wsap-formu textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.9rem; background: #fff; color: var(--text); }
.wsap-formu textarea { resize: vertical; }
.wsap-enviar { margin-top: 6px; background: #25D366; color: #fff; border: none; padding: 12px; border-radius: var(--radius-pill); font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.wsap-enviar:hover { background: #1fb257; }
.wsap-enviar svg { width: 18px; height: 18px; }

@media (max-width: 480px) {
  .wsap-hoja { right: 16px; left: 16px; width: auto; bottom: 88px; }
  .wsap-disparo { right: 16px; bottom: 16px; }
}

/* ---- Blog / legal article content ---- */
.nota-cuerpo { max-width: 760px; margin: 0 auto; }
.nota-cuerpo p { font-size: 1.02rem; color: var(--text); }
.nota-cuerpo h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin-top: 1.4em; }
.nota-cuerpo h3 { font-size: 1.1rem; margin-top: 1.1em; }
.nota-cuerpo ul, .nota-cuerpo ol { list-style: disc; padding-left: 1.3em; margin: 0 0 1.2em; color: var(--text); }
.nota-cuerpo ol { list-style: decimal; }
.nota-cuerpo li { margin-bottom: 8px; }
.nota-cuerpo figure { margin: 28px 0; }
.nota-cuerpo figcaption { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; }
.nota-cuerpo a:not(.boton) { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.nota-fecha { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 8px; }
.nota-cierre {
  background: var(--warm-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 40px;
  text-align: center;
}
.nota-cierre h3 { margin-bottom: 8px; }
.nota-cierre p { color: var(--text-muted); margin-bottom: 18px; }
.aviso-cuerpo { max-width: 820px; margin: 0 auto; }
.aviso-cuerpo h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 1.6em; }
.aviso-cuerpo p, .aviso-cuerpo li { color: var(--text); }
.aviso-cuerpo ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1.2em; }
.aviso-cuerpo li { margin-bottom: 6px; }

/* Ajustes propios */
.sitio-cab { border-top: 5px solid var(--accent); }
.portada { background: linear-gradient(140deg, #232A3A 0%, #2C3A4F 60%, #1F5A4A 100%); }
.portada-image { border-radius: 140px 18px 18px 18px; }
.ficha { border-top: 4px solid var(--accent); }
.paso::before { border-radius: 10px; background: var(--accent-solid); }
@media (max-width: 480px) { .firma { gap: 8px; font-size: 0.95rem; } .firma-bajo { font-size: 0.66rem; } .cab-cierre .boton { padding: 10px 14px; } }
@media (max-width: 900px) { .portada-image { border-radius: 18px; } }
