/* raccoonflow.com · prefijo rf- */
.rf-sec { padding: clamp(56px, 8vw, 104px) 20px; margin: 0 !important; }
.rf-caja { max-width: 1160px; margin: 0 auto; }
.rf-caja > * + * { margin-top: 28px; }
.rf-sec h1, .rf-sec h2, .rf-sec h3 { text-wrap: balance; }
.rf-sec h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; margin: 0; }
.rf-sec h3, .rf-sec h2.rf-h3 { font-size: 1.3rem; margin: 0 0 10px; }
.rf-claro { background: var(--o-light); }
.rf-cabeza { max-width: 720px; }
.rf-cabeza > * + * { margin-top: 12px; }
.rf-sobre { color: var(--o-accent); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin: 0; }
.rf-entrada { font-size: 1.15rem; color: var(--o-subtle); max-width: 680px; }
.rf-nota { text-align: center; color: var(--o-subtle); }

/* Portada, bloque oscuro y cierre */
.rf-portada, .rf-oscuro, .rf-cierre { color: #c9d0e6; background-color: #0b1020;
  background-image: radial-gradient(60% 80% at 85% 10%, rgba(61,79,224,.45), transparent 70%), radial-gradient(40% 60% at 5% 100%, rgba(46,230,166,.18), transparent 70%); }
.rf-portada h1, .rf-oscuro h2, .rf-cierre h2 { color: #fff; }
.rf-portada .rf-sobre, .rf-oscuro .rf-sobre { color: #2ee6a6; }
.rf-portada .rf-entrada, .rf-oscuro .rf-entrada, .rf-cierre .rf-entrada { color: #c9d0e6; }
.rf-portada h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); line-height: 1.06; max-width: 860px; margin-bottom: 0; }
.rf-interior { padding-block: clamp(48px, 6vw, 76px); }
.rf-interior h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.rf-cierre { text-align: center; }
.rf-cierre .rf-entrada { margin-left: auto; margin-right: auto; }
.rf-cierre .rf-botones { justify-content: center; }
.rf-portada .is-style-outline .wp-block-button__link, .rf-cierre .is-style-outline .wp-block-button__link { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.rf-portada .is-style-outline .wp-block-button__link:hover, .rf-cierre .is-style-outline .wp-block-button__link:hover { border-color: #fff; background: rgba(255,255,255,.08); }
ul.rf-puntos { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .95rem; }
ul.rf-puntos li::before { content: "✓"; color: #2ee6a6; font-weight: 700; margin-right: 8px; }

/* Rejillas y tarjetas */
.rf-rejilla { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.rf-rejilla.rf-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.rf-rejilla > * { margin: 0 !important; }
.rf-tarjeta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid var(--o-border); border-radius: var(--o-radius); padding: clamp(22px, 3vw, 34px); }
.rf-tarjeta > * { margin: 0 !important; }
.rf-tarjeta .rf-botones { margin-top: auto !important; padding-top: 8px; }
.rf-marca { font-weight: 700; font-size: .85rem; color: var(--o-accent); letter-spacing: .06em; text-transform: uppercase; }
ul.rf-lista { list-style: none; padding: 0; }
ul.rf-lista li { position: relative; padding-left: 22px; margin: 6px 0; }
ul.rf-lista li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: #2ee6a6; }

/* Preguntas, formularios y texto largo */
.rf-faq, .rf-formulario, .rf-texto { max-width: 800px; }
.rf-faq details { background: #fff; border: 1px solid var(--o-border); border-radius: var(--o-radius); padding: 16px 20px; margin: 0 0 12px; }
.rf-faq summary { cursor: pointer; font-weight: 600; color: var(--o-strong); }
.rf-faq details p { margin: 12px 0 0; }
.rf-texto h2 { font-size: 1.4rem; margin: 32px 0 8px; }
.rf-formulario input:not([type=checkbox]):not([type=submit]), .rf-formulario textarea, .rf-formulario select { width: 100%; background: #fff; }

/* Cabecera: menú y botón en una sola línea */
.o-hrow-main .o-hzone-right { flex: 1 0 auto; justify-content: flex-end; }
.o-hrow-main .o-hitem-menu1 ul:not(ul ul) { flex-wrap: nowrap; }
.o-hrow-main .o-hitem-menu1 a, .o-hrow-main .o-hitem-button1 a { white-space: nowrap; }

/* Contacto: la tarjeta no se estira hasta el alto del formulario */
.rf-rejilla > .rf-tarjeta:has(+ .rf-formulario) { align-self: start; }
