/* ==========================================================================
   FATEN · hoja de estilos del tema
   Concepto: «La red que sostiene tu día a día»
   ========================================================================== */

:root {
  --f-verde: #00853E;
  --f-verde-oscuro: #006B32;
  --f-senal: #2BD47D;
  --f-noche: #0B1620;
  --f-noche-2: #12222F;
  --f-borde-osc: #1F3342;
  --f-pizarra: #3A4856;
  --f-bruma: #C9D3DC;
  --f-niebla: #F3F5F7;
  --f-linea: #E1E6EB;
  --f-radio: 24px;
  --f-pad-x: clamp(20px, 4vw, 40px);
  --f-pad-y: clamp(72px, 9vw, 120px);
  --f-trazo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='none'%3E%3Cpath d='M-40 640 C 260 600, 420 380, 720 400 S 1180 520, 1480 180' fill='none' stroke='%2300853E' stroke-width='2'/%3E%3Cpath d='M-40 700 C 300 660, 520 470, 800 480 S 1240 600, 1480 300' fill='none' stroke='%232BD47D' stroke-width='1' opacity='.5'/%3E%3Cpath d='M-40 760 C 360 730, 600 560, 900 570 S 1300 680, 1480 430' fill='none' stroke='%2300853E' stroke-width='1' opacity='.35'/%3E%3Ccircle cx='720' cy='400' r='5' fill='%232BD47D'/%3E%3Ccircle cx='720' cy='400' r='14' fill='none' stroke='%232BD47D' opacity='.5'/%3E%3C/svg%3E");
  --f-trazo-2: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 600' preserveAspectRatio='none'%3E%3Cpath d='M-20 520 C 380 500, 640 260, 960 280 S 1300 380, 1460 160' fill='none' stroke='%2300853E' stroke-width='2' opacity='.8'/%3E%3Cpath d='M-20 560 C 420 540, 680 340, 1000 350 S 1320 420, 1460 260' fill='none' stroke='%232BD47D' stroke-width='1' opacity='.4'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
img { max-width: 100%; height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.fmain { margin: 0; }
.fmain > .entry-content, .fmain .wp-block-post-content { margin: 0; }
:focus-visible { outline: 3px solid var(--f-senal); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text:focus { background: #fff; color: var(--f-noche); padding: 12px; z-index: 1000; }

/* ---------- Estructura de secciones ---------- */
.fs { position: relative; padding: var(--f-pad-y) 0; margin: 0 !important; overflow: hidden; }
.fs--tight { padding: clamp(28px, 4vw, 40px) 0; }
.fs--first { padding-top: clamp(56px, 7vw, 96px); }
.fwrap { position: relative; max-width: 1280px; margin: 0 auto !important; padding: 0 var(--f-pad-x); box-sizing: border-box; }
.fwrap > * + * { margin-block-start: 1.25rem; }
.fwrap--narrow { max-width: 880px; }
.fs--light { background: var(--f-niebla); }
.fs--dark { background: var(--f-noche); color: #fff; }
.fs--dark :where(h1, h2, h3, h4) { color: #fff; }
.fs--dark p, .fs--dark li { color: var(--f-bruma); }
.fs--dark a:not(.wp-element-button) { color: var(--f-senal); }
.fs--green { background: var(--f-verde); color: #fff; }
.fs--green p { color: #E6F4EC; }
.fs--trazo { background-image: var(--f-trazo-2); background-size: 100% 100%; background-repeat: no-repeat; }
.fs--hero { background-color: var(--f-noche); background-image: var(--f-trazo); background-size: 100% 100%; background-repeat: no-repeat; color: #fff; padding: clamp(64px, 9vw, 120px) 0 clamp(72px, 10vw, 136px); }
.fs--hero h1 { color: #fff; max-width: 14ch; }
.fs--hero p { color: var(--f-bruma); }
.fs--hero .flead { font-size: clamp(1.0625rem, 1.4vw, 1.2rem); max-width: 560px; }
.fs--hero.fs--inner h1 { max-width: 18ch; font-size: clamp(2.5rem, 5.4vw, 4.5rem); }

.feyebrow { margin: 0 !important; font-size: 0.8125rem !important; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--f-verde); }
.fs--dark .feyebrow, .fs--hero .feyebrow { color: var(--f-senal) !important; }
.flead { font-size: 1.125rem; line-height: 1.6; color: var(--f-pizarra); max-width: 620px; }
.fmuted { color: var(--f-pizarra); }
.fsmall { font-size: 0.875rem !important; }
.fbread { font-size: 0.875rem; color: var(--f-bruma) !important; }
.fbread a { color: var(--f-bruma) !important; }

/* Cabeceras de sección */
.fhead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(32px, 4vw, 56px) !important; }
.fhead > * { margin: 0 !important; }
.fhead .wp-block-group { max-width: 680px; }
.fhead .wp-block-group > * + * { margin-top: 16px; }
.fhead > p { max-width: 400px; color: var(--f-pizarra); font-size: 1.0625rem; }
.fs--dark .fhead > p { color: var(--f-bruma); }

/* Rejillas */
.fgrid { display: grid !important; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.fgrid > * { margin: 0 !important; }
.fgrid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.fgrid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.fsplit { display: grid !important; gap: clamp(40px, 5vw, 64px); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); }
.fsplit > * { margin: 0 !important; }
.fsplit > .wp-block-group > * + * { margin-top: 20px; }
@media (min-width: 1000px) {
  .fspan2 { grid-column: span 2; }
  .frspan2 { grid-row: span 2; }
}
.fgrid .ffull { grid-column: 1 / -1; }

/* Tarjetas */
.fcard { position: relative; border-radius: var(--f-radio); padding: clamp(24px, 3vw, 36px); background: var(--f-niebla); display: flex; flex-direction: column; gap: 14px; transition: transform .25s ease, box-shadow .25s ease; }
.fcard > * { margin: 0 !important; }
.fcard h3 { font-size: 1.5rem; }
.fcard p { color: var(--f-pizarra); font-size: 1rem; line-height: 1.55; }
.fcard h3 a { color: inherit; text-decoration: none; }
.fcard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.fcard:has(h3 a):hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11, 22, 32, .12); }
.fcard--white { background: #fff; border: 1px solid var(--f-linea); }
.fcard--dark { background: var(--f-noche); color: #fff; overflow: hidden; }
.fcard--dark h3 { color: #fff; }
.fcard--dark p { color: var(--f-bruma); }
.fcard--deep { background: var(--f-noche-2); border: 1px solid var(--f-borde-osc); color: #fff; }
.fcard--deep h3 { color: #fff; }
.fcard--deep p { color: var(--f-bruma); }
.fcard--green { background: var(--f-verde); color: #fff; }
.fcard--green h3 { color: #fff; }
.fcard--green p { color: #E6F4EC; }
.fcard--big { min-height: 440px; justify-content: flex-end; background-image: var(--f-trazo-2); background-size: 100% 100%; background-repeat: no-repeat; background-color: var(--f-noche); }
.fcard--big h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
.fcard--big p { font-size: 1.0625rem; max-width: 520px; }
.fmore { font-weight: 600; color: var(--f-verde); }
.fcard--dark .fmore, .fcard--deep .fmore { color: var(--f-senal); }
.fcard--green .fmore { color: #fff; }
.fcard:hover .fmore::after { transform: translateX(4px); }
.fmore::after { content: " →"; display: inline-block; transition: transform .2s ease; }
.fnum { font-family: var(--wp--preset--font-family--space-grotesk); font-weight: 600; color: var(--f-verde); }
.fcard--dark .fnum, .fcard--deep .fnum { color: var(--f-senal); }

/* Iconos (::before con máscara) */
.fico::before { content: ""; display: block; width: 36px; height: 36px; background: var(--f-verde); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.fcard--dark .fico::before, .fcard--deep .fico::before, .fs--dark .fico::before { background: var(--f-senal); }
.fcard--green .fico::before { background: #fff; }
.fico--red { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.55a11 11 0 0 1 14.08 0'/%3E%3Cpath d='M1.42 9a16 16 0 0 1 21.16 0'/%3E%3Cpath d='M8.53 16.11a6 6 0 0 1 6.95 0'/%3E%3Ccircle cx='12' cy='20' r='1'/%3E%3C/svg%3E"); }
.fico--tel { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.1 9.9a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.9.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }
.fico--escudo { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.fico--digital { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M8 20h8M12 16v4M7 9l2 2-2 2M12 13h4'/%3E%3C/svg%3E"); }
.fico--ia { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.8 4.6L18.5 9l-4.7 1.6L12 15l-1.8-4.4L5.5 9l4.7-1.4z'/%3E%3Cpath d='M19 15l.8 2 2 .8-2 .7-.8 2-.7-2-2-.7 2-.8z'/%3E%3C/svg%3E"); }
.fico--micro { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a3 3 0 0 0-3 3v6a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3z'/%3E%3Cpath d='M19 10v1a7 7 0 0 1-14 0v-1M12 18v4M8 22h8'/%3E%3C/svg%3E"); }
.fico--chat { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-12.4 7.4L3 21l2.1-5.4A8.4 8.4 0 1 1 21 11.5z'/%3E%3Cpath d='M8.5 11.5h.01M12 11.5h.01M15.5 11.5h.01'/%3E%3C/svg%3E"); }
.fico--herramienta { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E"); }
.fico--ayto { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M4 21V10M20 21V10M2 10l10-6 10 6M8 21v-6h8v6M8 13h.01M12 13h.01M16 13h.01'/%3E%3C/svg%3E"); }
.fico--empresa { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='3' width='16' height='18' rx='1.5'/%3E%3Cpath d='M9 7h.01M15 7h.01M9 11h.01M15 11h.01M9 15h.01M15 15h.01M10 21v-3h4v3'/%3E%3C/svg%3E"); }

/* Chips */
.fchips { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.fchips li { margin: 0; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 0.8125rem; font-weight: 600; color: var(--f-noche); }
.fcard--dark .fchips li, .fs--dark .fchips li { background: var(--f-borde-osc); color: #fff; }
.fcard--green .fchips li { background: rgba(255, 255, 255, .18); color: #fff; }
.fchips a { color: inherit; text-decoration: none; }
.fchips a::after { content: none; }

/* Lista de comprobación */
.fchecks { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 14px; }
.fchecks li { position: relative; padding-left: 34px; font-size: 1.0625rem; line-height: 1.5; }
.fchecks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; background: var(--f-verde); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }
.fs--dark .fchecks li::before { background: var(--f-senal); }
.fs--dark .fchecks li { color: #fff; }

/* Pasos */
.fsteps { list-style: none; padding: 0 !important; margin: 0; counter-reset: paso; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); position: relative; }
.fsteps::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; border-top: 2px dashed var(--f-verde); opacity: .6; }
.fsteps li { position: relative; counter-increment: paso; padding-top: 64px; color: var(--f-pizarra); font-size: 1rem; line-height: 1.55; }
.fsteps li::before { content: counter(paso, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 999px; box-sizing: border-box; border: 2px solid var(--f-verde); background: #fff; color: var(--f-verde); display: flex; align-items: center; justify-content: center; font-family: var(--wp--preset--font-family--space-grotesk); font-weight: 600; }
.fsteps li:first-child::before { background: var(--f-verde); color: #fff; }
.fsteps li strong { display: block; margin-bottom: 8px; font-family: var(--wp--preset--font-family--space-grotesk); font-size: 1.375rem; font-weight: 600; color: var(--f-noche); }
@media (max-width: 700px) {
  .fsteps::before { top: 0; bottom: 0; left: 21px; right: auto; border-top: 0; border-left: 2px dashed var(--f-verde); }
  .fsteps li { padding: 0 0 0 64px; min-height: 44px; }
}

/* Franja de certificaciones */
.ftrust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
.ftrust > * { margin: 0 !important; }
.ftrust .fcerts { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--wp--preset--font-family--space-grotesk); font-weight: 600; font-size: 1.0625rem; }
.ftrust .fcerts li { margin: 0; }

/* Métricas e importes */
.famount { font-family: var(--wp--preset--font-family--space-grotesk); font-weight: 600; font-size: 1.5rem !important; color: var(--f-noche) !important; padding-top: 14px; margin-top: auto !important; border-top: 1px solid var(--f-linea); }
.famount small { font-family: var(--wp--preset--font-family--inter); font-size: 0.8125rem; font-weight: 500; color: var(--f-pizarra); }
.fmetric { padding: 24px; border-radius: 20px; background: var(--f-noche-2); border: 1px solid var(--f-borde-osc); }
.fmetric > * { margin: 0 !important; }
.fmetric h3 { color: #fff; font-size: 1.75rem; }
.fmetric h3 + p { margin-top: 6px !important; font-size: 0.875rem; }
.fmetric--accent h3 { color: var(--f-senal); }

/* Caso real */
.fcase { border: 1px solid var(--f-verde); background: rgba(0, 133, 62, .12); border-radius: 16px; padding: 18px 20px; }
.fcase p { color: #fff !important; margin: 0; }
.fcase strong:first-child { color: var(--f-senal); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; margin-right: 10px; }

/* Marcadores de foto */
.fph { position: relative; border-radius: var(--f-radio); background-color: var(--f-noche-2); background-image: var(--f-trazo-2); background-size: 100% 100%; background-repeat: no-repeat; border: 1px solid var(--f-borde-osc); min-height: 320px; display: flex; align-items: flex-end; padding: 22px; box-sizing: border-box; }
.fph p { margin: 0; font-size: .75rem !important; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--f-senal) !important; }
.fph--tall { min-height: 480px; }
.fimg img { border-radius: var(--f-radio); width: 100%; object-fit: cover; }

/* Logotipos de clientes */
.flogos { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.flogos > * { margin: 0 !important; }
.flogo { min-height: 96px; border-radius: 16px; border: 1px solid var(--f-linea); background: #fff; display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box; text-align: center; }
.flogo p { margin: 0; font-family: var(--wp--preset--font-family--space-grotesk); font-weight: 600; color: var(--f-pizarra); }
.flogo img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.flogo:hover img { filter: none; opacity: 1; }

/* Chat de ejemplo (IA) */
.fchat { border-radius: 20px; background: var(--f-niebla); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.fchat > * { margin: 0 !important; }
.fchat p { color: var(--f-noche) !important; font-size: .9375rem; line-height: 1.45; }
.fchat .fchat-meta { font-size: .8125rem; font-weight: 600; color: var(--f-pizarra) !important; }
.fchat .fchat-in { align-self: flex-end; max-width: 80%; padding: 12px 14px; border-radius: 16px 16px 4px 16px; background: #DDEFE4; }
.fchat .fchat-out { align-self: flex-start; max-width: 80%; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: #fff; box-shadow: 0 1px 2px rgba(11, 22, 32, .08); }
.fchat .fchat-note { font-size: .75rem; color: var(--f-pizarra) !important; }
.fcall { border-radius: 20px; background: var(--f-noche-2); border: 1px solid var(--f-borde-osc); padding: 20px 22px; display: flex; align-items: center; gap: 16px; }
.fcall > * { margin: 0 !important; }
.fcall p { color: #fff !important; font-size: .875rem; font-weight: 600; }
.fcall::before { content: ""; flex: none; width: 44px; height: 44px; border-radius: 999px; background: var(--f-verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2a3 3 0 0 0-3 3v6a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3z'/%3E%3Cpath d='M19 10v1a7 7 0 0 1-14 0v-1'/%3E%3C/svg%3E") center / 20px no-repeat; }
.fcall::after { content: ""; flex: 1; height: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 24'%3E%3Cg stroke='%232BD47D' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M14 8v8M24 4v16M34 9v6M44 6v12M54 10v4M64 3v18M74 8v8M84 11v2M94 6v12M104 9v6M114 4v16M124 8v8M134 11v2M144 7v10M154 10v4M164 5v14M174 9v6M184 11v2M194 8v8M204 10v4'/%3E%3C/g%3E%3C/svg%3E") left center / 100% 24px no-repeat; }

/* Preguntas frecuentes */
.ffaq .wp-block-details { border-bottom: 1px solid var(--f-linea); padding: 8px 0 18px; margin: 0 !important; }
.ffaq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; font-family: var(--wp--preset--font-family--space-grotesk); font-weight: 600; font-size: 1.25rem; }
.ffaq summary::-webkit-details-marker { display: none; }
.ffaq summary::after { content: "+"; color: var(--f-verde); font-size: 1.5rem; transition: transform .2s; }
.ffaq details[open] summary::after { transform: rotate(45deg); }
.ffaq details p { color: var(--f-pizarra); margin-top: 8px; }

/* Contenido legal y texto largo */
.fprose { max-width: 800px; }
.fprose h2 { font-size: 1.75rem; margin-top: 2.5rem !important; }
.fprose h3 { font-size: 1.25rem; margin-top: 1.75rem !important; }
.fprose p, .fprose li { color: var(--f-pizarra); }
.fpending { background: #FFF1DB; color: #8A4B00 !important; padding: 2px 8px; border-radius: 6px; font-weight: 600; }

/* Botones */
.wp-element-button, .wp-block-button__link { transition: transform .2s ease, background-color .2s ease; min-height: 48px; display: inline-flex !important; align-items: center; justify-content: center; box-sizing: border-box; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; border: 1px solid currentColor; color: var(--f-noche); padding: calc(.95rem - 1px) calc(1.75rem - 1px); }
.fs--dark .wp-block-button.is-style-outline > .wp-block-button__link,
.fs--hero .wp-block-button.is-style-outline > .wp-block-button__link { color: #fff; border-color: var(--f-pizarra); }
.fs--dark .wp-block-button.is-style-outline > .wp-block-button__link:hover,
.fs--hero .wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--f-senal); background: transparent; }
.fs--green .wp-block-button__link { background: #fff; color: var(--f-verde); }
.wp-block-buttons { gap: 14px; }

/* ---------- Cabecera ---------- */
.fheader { position: sticky; top: 0; z-index: 50; background: var(--f-noche); color: #fff; transition: box-shadow .25s ease, padding .25s ease; margin: 0 !important; }
.admin-bar .fheader { top: 32px; }
@media (max-width: 782px) { .admin-bar .fheader { top: 46px; } }
.fheader.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.fheader-in { max-width: 1280px; margin: 0 auto; padding: 18px var(--f-pad-x); display: flex !important; align-items: center; justify-content: space-between; gap: 24px; box-sizing: border-box; }
.fheader-in > * { margin: 0 !important; }
.fheader.is-scrolled .fheader-in { padding-top: 12px; padding-bottom: 12px; }
.flogo-link img { height: 44px; width: auto; display: block; }
.fheader-right { display: flex !important; align-items: center; gap: 28px; }
.fheader-right > * { margin: 0 !important; }
.fheader .wp-block-navigation { font-size: .9375rem; gap: 28px; }
.fheader .wp-block-navigation a { color: #fff; text-decoration: none; }
.fheader .wp-block-navigation a:hover { color: var(--f-senal); }
.fheader .wp-block-navigation__submenu-container { background: var(--f-noche-2) !important; border: 1px solid var(--f-borde-osc) !important; border-radius: 16px; padding: 10px !important; min-width: 260px !important; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.fheader .wp-block-navigation__submenu-container a { padding: 10px 14px !important; border-radius: 10px; color: var(--f-bruma) !important; }
.fheader .wp-block-navigation__submenu-container a:hover { background: var(--f-borde-osc); color: #fff !important; }
.fheader .ftel a { color: var(--f-bruma); text-decoration: none; font-size: .9375rem; white-space: nowrap; }
.fheader .wp-block-button__link { padding: .7rem 1.25rem; min-height: 44px; font-size: .9375rem; }
.fheader .wp-block-navigation__responsive-container-open, .fheader .wp-block-navigation__responsive-container-close { color: #fff; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--f-pizarra); border-radius: 12px; }
.fheader .wp-block-navigation__responsive-container-close { border: 0; }
.fheader .wp-block-navigation__responsive-container.is-menu-open { background: var(--f-noche) !important; color: #fff !important; padding: 24px var(--f-pad-x); }
.fheader .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px; }
.fheader .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { font-family: var(--wp--preset--font-family--space-grotesk); font-size: 1.5rem; font-weight: 600; }
.fheader .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { background: transparent !important; border: 0 !important; box-shadow: none; padding: 8px 0 0 !important; font-family: var(--wp--preset--font-family--inter); font-size: 1rem; font-weight: 400; }
@media (max-width: 900px) {
  .fheader .ftel, .fheader .fheader-cta { display: none !important; }
  .flogo-link img { height: 36px; }
}

/* ---------- Pie ---------- */
.ffooter { background: var(--f-noche); color: var(--f-bruma); margin: 0 !important; }
.ffooter-in { max-width: 1280px; margin: 0 auto; padding: 72px var(--f-pad-x) 40px; box-sizing: border-box; }
.ffooter-in > * + * { margin-top: 48px !important; }
.ffooter .fgrid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; }
.ffooter p, .ffooter li { color: var(--f-bruma); font-size: .9375rem; margin: 0; }
.ffooter h2 { font-family: var(--wp--preset--font-family--inter); font-size: .9375rem; font-weight: 600; letter-spacing: 0; color: #fff; margin: 0 0 14px !important; }
.ffooter a { color: var(--f-bruma); text-decoration: none; }
.ffooter a:hover { color: #fff; text-decoration: underline; }
.ffooter .flinks { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 10px; }
.ffooter .flogo-link img { height: 44px; }
.ffeder { border: 1px dashed var(--f-pizarra); border-radius: 12px; padding: 16px; font-size: .8125rem !important; }
.fbottom { display: flex !important; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid var(--f-borde-osc); }
.fbottom > * { margin: 0 !important; }
.fbottom p { font-size: .8125rem; }
.fbottom .flegal { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; }
.fbottom .flegal li { font-size: .8125rem; }

/* Barra fija de llamada en móvil */
.fcallbar { display: none !important; }
@media (max-width: 782px) {
  .fcallbar { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60; padding: 8px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); margin: 0 !important; }
  .fcallbar > * { margin: 0 !important; }
  .fcallbar .wp-block-button, .fcallbar .wp-block-button__link { width: 100%; border-radius: 14px; }
  .fcallbar .is-style-outline .wp-block-button__link { background: var(--f-niebla); border: 0; color: var(--f-noche); }
  body { padding-bottom: 88px; }
}

/* ---------- Contact Form 7 ---------- */
.wpcf7 form { display: grid; gap: 18px; }
.wpcf7 form > p { margin: 0; }
.wpcf7 label { display: flex; flex-direction: column; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--f-noche); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 textarea { width: 100%; box-sizing: border-box; min-height: 48px; border: 1px solid var(--f-bruma); border-radius: 12px; padding: 12px 14px; font: inherit; font-weight: 400; background: #fff; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: var(--f-verde); outline: 3px solid rgba(0, 133, 62, .25); }
.wpcf7 .wpcf7-acceptance label, .wpcf7 .wpcf7-list-item label { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--f-pizarra); }
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--f-verde); flex: none; }
.wpcf7 .finfo { font-size: .75rem; line-height: 1.55; color: var(--f-pizarra); }
.wpcf7 input[type="submit"] { justify-self: start; min-height: 52px; padding: 0 32px; border: 0; border-radius: 999px; background: var(--f-verde); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { background: var(--f-verde-oscuro); }
.fform { background: #fff; border-radius: var(--f-radio); padding: clamp(24px, 3vw, 40px); box-shadow: 0 1px 2px rgba(11, 22, 32, .06); }
.fcontact a[href^="tel"] { font-family: var(--wp--preset--font-family--space-grotesk); font-size: 1.875rem; font-weight: 600; text-decoration: none; }

/* ---------- Animaciones de entrada ---------- */
.fx-on .fx { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.fx-on .fx.fx-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fx-on .fx { opacity: 1; transform: none; transition: none; }
  .wp-block-button__link:hover, .fcard:hover { transform: none !important; }
}

/* Editor: evita que las animaciones oculten bloques */
.editor-styles-wrapper .fx { opacity: 1 !important; transform: none !important; }

/* Ajustes */
.fgrid--metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fcard .fchips { position: relative; z-index: 1; }
.fdemo { display: flex; flex-direction: column; gap: 16px; max-width: 480px; width: 100%; justify-self: center; }
.fdemo > * { margin: 0 !important; }
.fcard .fph { margin: calc(-1 * clamp(24px, 3vw, 36px)) calc(-1 * clamp(24px, 3vw, 36px)) 8px !important; border-radius: var(--f-radio) var(--f-radio) 0 0; min-height: 260px; border: 0; }
.fcard--white:has(.fph) { overflow: hidden; }
.fs--hero .fph { min-height: 380px; }
.fs--hero .fph--tall { min-height: 520px; }
.ffull { grid-column: 1 / -1; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.wp-block-table th, .wp-block-table td { border-bottom: 1px solid var(--f-linea); padding: 10px 12px; text-align: left; vertical-align: top; }
.wp-block-table th { font-weight: 600; background: var(--f-niebla); }
.fprose > .wp-block-table { overflow-x: auto; }
