/*
Theme Name: AEGIS Restoration — Restoration Landing
Theme URI: https://aegisrestoration.com
Author: AEGIS Restoration, LLC
Author URI: https://aegisrestoration.com
Description: Landing bilingüe (ES/EN) para AEGIS Restoration, LLC — restauración de daños por agua, moho, fuego y tormentas en Miami Beach y todo Florida. Estilo navy editorial, doble formulario de inspección (inicio + contacto) con casilla de consentimiento, ventana emergente de agradecimiento, modales legales (Términos, Privacidad, SMS y Llamadas), botón WhatsApp y datos de empresa configurables desde el Personalizador.
Version: 1.8.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: restaura-florida
Tags: one-column, custom-menu, custom-logo, translation-ready
*/


/* =========================================================
   RESTAURA FLORIDA — Landing "Navy Editorial"
   Design tokens (portables al tema WordPress)
   ========================================================= */
:root {
  --rf-navy-950: #081426;
  --rf-navy-900: #0b1f3a;
  --rf-navy-800: #102a4c;
  --rf-navy-700: #16345c;
  --rf-navy-600: #1e4373;
  --rf-orange: #ff6a2b;
  --rf-orange-dark: #e8551b;
  --rf-orange-soft: #fff1ea;
  --rf-cream: #f7f5f0;
  --rf-ink: #0b1f3a;
  --rf-muted: #5a6b85;
  --rf-line: #e6e9f0;
  --rf-white: #ffffff;
  --rf-green: #1fbb5c;
  --rf-serif: "Playfair Display", Georgia, serif;
  --rf-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rf-shadow: 0 24px 48px rgba(11, 31, 58, 0.10);
  --rf-shadow-sm: 0 10px 24px rgba(11, 31, 58, 0.08);
  --rf-radius: 16px;
}

html { scroll-behavior: smooth; }
body.rf-body {
  font-family: var(--rf-sans);
  color: var(--rf-ink);
  background: var(--rf-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.rf-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Tipografía editorial ---------- */
.rf-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--rf-orange);
}
.rf-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--rf-orange); }
.rf-eyebrow--light::before { background: currentColor; }

.rf-h1, .rf-h2, .rf-h3 { font-family: var(--rf-serif); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
.rf-h1 { font-size: clamp(38px, 5vw, 60px); margin: 18px 0 20px; }
.rf-h2 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 16px; }
.rf-h3 { font-size: 22px; margin: 0 0 8px; }
.rf-h1 em, .rf-h2 em, .rf-h3 em { font-style: italic; color: var(--rf-orange); }
.rf-lead { font-size: 18px; color: var(--rf-muted); max-width: 640px; }
.rf-lead--light { color: rgba(255, 255, 255, 0.78); }
.rf-on-dark .rf-lead { color: rgba(255, 255, 255, 0.78); }
.rf-on-dark .rf-h3 { color: #fff; }

/* ---------- Botones ---------- */
.rf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 12px; font-weight: 600; font-size: 16px;
  border: 1px solid transparent; cursor: pointer; transition: all 0.25s ease;
  font-family: var(--rf-sans); line-height: 1.2; min-height: 48px;
}
.rf-btn--primary { background: var(--rf-orange); color: #fff; box-shadow: 0 12px 24px rgba(255, 106, 43, 0.32); }
.rf-btn--primary:hover { background: var(--rf-orange-dark); transform: translateY(-2px); }
.rf-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.rf-btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.rf-btn--dark { background: var(--rf-navy-900); color: #fff; }
.rf-btn--dark:hover { background: var(--rf-navy-800); transform: translateY(-2px); }
.rf-btn--white { background: #fff; color: var(--rf-navy-900); }
.rf-btn--white:hover { transform: translateY(-2px); box-shadow: var(--rf-shadow-sm); }
.rf-btn svg { width: 18px; height: 18px; }

/* ---------- Topbar ---------- */
.rf-topbar { background: var(--rf-navy-950); color: rgba(255, 255, 255, 0.85); font-size: 13.5px; }
.rf-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.rf-topbar__msg { display: flex; align-items: center; gap: 8px; }
.rf-topbar__msg svg { width: 15px; height: 15px; color: var(--rf-orange); flex: none; }
.rf-topbar__right { display: flex; align-items: center; gap: 18px; }
.rf-topbar__phone { display: flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; white-space: nowrap; }
.rf-topbar__phone svg { width: 15px; height: 15px; color: var(--rf-orange); }
.rf-lang { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 3px; gap: 2px; }
.rf-lang button {
  border: 0; background: transparent; color: rgba(255, 255, 255, 0.7);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; padding: 4px 12px;
  border-radius: 999px; cursor: pointer; transition: all 0.2s ease; font-family: var(--rf-sans);
}
.rf-lang button.is-active { background: var(--rf-orange); color: #fff; }

/* ---------- Header ---------- */
.rf-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rf-line); transition: box-shadow 0.3s ease; }
.rf-header.is-scrolled { box-shadow: 0 10px 30px rgba(11, 31, 58, 0.08); }
.rf-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.rf-logo { display: flex; align-items: center; gap: 12px; }
.rf-logo__mark {
  width: 44px; height: 44px; border-radius: 12px; background: var(--rf-navy-900);
  display: grid; place-items: center; flex: none;
}
.rf-logo__mark svg { width: 24px; height: 24px; color: var(--rf-orange); }
.rf-logo__name { font-family: var(--rf-serif); font-weight: 700; font-size: 21px; line-height: 1.1; color: var(--rf-navy-900); }
.rf-logo__tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rf-muted); font-weight: 600; }
.rf-nav { display: flex; align-items: center; gap: 28px; }
.rf-nav a { font-size: 15px; font-weight: 500; color: var(--rf-navy-800); transition: color 0.2s; }
.rf-nav a:hover { color: var(--rf-orange); }
.rf-header__cta { display: flex; align-items: center; gap: 14px; }
.rf-header__cta .rf-btn { padding: 12px 22px; min-height: 44px; }
.rf-burger { display: none; border: 1px solid var(--rf-line); background: #fff; border-radius: 10px; width: 46px; height: 46px; place-items: center; cursor: pointer; }
.rf-burger svg { width: 22px; height: 22px; color: var(--rf-navy-900); }

/* ---------- Hero ---------- */
.rf-hero { background: linear-gradient(140deg, var(--rf-navy-950) 0%, var(--rf-navy-900) 55%, var(--rf-navy-800) 100%); color: #fff; position: relative; overflow: hidden; }
.rf-hero::before {
  content: ""; position: absolute; right: -180px; top: -180px; width: 560px; height: 560px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 43, 0.16), transparent 65%);
}
.rf-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 88px 0 96px; position: relative; }
.rf-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.rf-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500;
  color: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.05);
}
.rf-chip svg { width: 15px; height: 15px; color: var(--rf-orange); }
.rf-hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.rf-hero__media { position: relative; }
.rf-hero__frame { position: relative; border-radius: var(--rf-radius); overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.14); }
.rf-hero__frame::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 10px; pointer-events: none; }
.rf-hero__badge {
  position: absolute; left: -22px; bottom: 36px; z-index: 2;
  background: var(--rf-orange); color: #fff; border-radius: 14px; padding: 16px 20px;
  box-shadow: 0 20px 40px rgba(255, 106, 43, 0.4); display: flex; align-items: center; gap: 12px;
}
.rf-hero__badge svg { width: 26px; height: 26px; }
.rf-hero__badge b { display: block; font-size: 18px; line-height: 1.1; }
.rf-hero__badge span { font-size: 12.5px; opacity: 0.92; }

/* ---------- El espejo (mensaje persuasivo) ---------- */
.rf-mirror { position: relative; background: var(--rf-cream); border-bottom: 1px solid var(--rf-line); overflow: hidden; }
.rf-mirror__ring { position: absolute; border-radius: 50%; pointer-events: none; border: 1.5px solid rgba(11, 31, 58, 0.10); }
.rf-mirror__ring--a { width: 380px; height: 380px; right: -130px; top: 50%; margin-top: -190px; }
.rf-mirror__ring--b { width: 250px; height: 250px; right: -65px; top: 50%; margin-top: -125px; border-color: rgba(255, 106, 43, 0.28); }
.rf-mirror__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; padding: 46px 0; }
.rf-mirror .rf-mirror__inner .rf-eyebrow::before { display: none; }
.rf-mirror__title { font-family: var(--rf-serif); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; font-size: clamp(22px, 2.9vw, 31px); color: var(--rf-navy-900); margin: 9px 0 9px; }
.rf-mirror__title em { font-style: italic; color: var(--rf-orange); }
.rf-mirror__sub { font-size: 15.5px; line-height: 1.65; color: var(--rf-muted); max-width: 56ch; margin: 0 auto; }

/* ---------- Secciones ---------- */
.rf-section { padding: 96px 0; }
.rf-section--cream { background: var(--rf-cream); }
.rf-section--dark { background: linear-gradient(140deg, var(--rf-navy-950), var(--rf-navy-900)); color: #fff; }
.rf-section__head { max-width: 720px; margin-bottom: 52px; }
.rf-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.rf-section__head--center .rf-eyebrow::before { display: none; }

/* ---------- Servicios ---------- */
.rf-services__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.rf-service {
  position: relative; background: #fff; border: 1px solid var(--rf-line); border-radius: var(--rf-radius);
  padding: 34px 32px 30px; transition: transform 0.3s ease, box-shadow 0.3s ease; overflow: hidden;
}
.rf-service:hover { transform: translateY(-6px); box-shadow: var(--rf-shadow); border-color: rgba(255, 106, 43, 0.35); }
.rf-service__num {
  position: absolute; top: 18px; right: 26px; font-family: var(--rf-serif); font-style: italic;
  font-size: 58px; font-weight: 700; color: rgba(11, 31, 58, 0.08); line-height: 1;
}
.rf-service__icon {
  width: 58px; height: 58px; border-radius: 14px; background: var(--rf-orange-soft);
  display: grid; place-items: center; margin-bottom: 20px;
}
.rf-service__icon svg { width: 28px; height: 28px; color: var(--rf-orange); }
.rf-service p { color: var(--rf-muted); font-size: 15.5px; margin: 0 0 18px; }
.rf-service__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--rf-navy-900); font-size: 15px; }
.rf-service__link svg { width: 16px; height: 16px; color: var(--rf-orange); transition: transform 0.2s; }
.rf-service:hover .rf-service__link svg { transform: translateX(4px); }

/* ---------- Por qué elegirnos (dark) ---------- */
.rf-trust__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.rf-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.rf-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; color: rgba(255, 255, 255, 0.88); }
.rf-points svg { width: 22px; height: 22px; color: var(--rf-orange); flex: none; margin-top: 2px; }
.rf-certs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rf-cert {
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--rf-radius); padding: 26px 24px; text-align: center; transition: background 0.25s;
}
.rf-cert:hover { background: rgba(255, 255, 255, 0.09); }
.rf-cert svg { width: 34px; height: 34px; color: var(--rf-orange); margin: 0 auto 14px; }
.rf-cert b { display: block; font-size: 15.5px; margin-bottom: 4px; }
.rf-cert span { font-size: 13px; color: rgba(255, 255, 255, 0.65); }

/* ---------- Proceso ---------- */
.rf-process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.rf-step { background: #fff; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); padding: 30px 26px; position: relative; transition: transform 0.3s, box-shadow 0.3s; }
.rf-step:hover { transform: translateY(-6px); box-shadow: var(--rf-shadow-sm); }
.rf-step__num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--rf-navy-900); color: #fff;
  font-family: var(--rf-serif); font-size: 20px; font-weight: 700; display: grid; place-items: center; margin-bottom: 18px;
}
.rf-step:nth-child(4) .rf-step__num { background: var(--rf-orange); }
.rf-step p { color: var(--rf-muted); font-size: 15px; margin: 0; }
.rf-step__arrow { position: absolute; right: -22px; top: 44px; width: 22px; height: 22px; color: rgba(11, 31, 58, 0.25); z-index: 2; }
.rf-step:last-child .rf-step__arrow { display: none; }

/* ---------- Antes / Después ---------- */
.rf-ba__slider {
  position: relative; border-radius: var(--rf-radius); overflow: hidden; box-shadow: var(--rf-shadow);
  user-select: none; touch-action: none; aspect-ratio: 4 / 2.6; cursor: ew-resize; background: #0b1f3a;
}
.rf-ba__slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.rf-ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.rf-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); }
.rf-ba__knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%; background: var(--rf-orange);
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.rf-ba__knob svg { width: 22px; height: 22px; color: #fff; }
.rf-ba__tag {
  position: absolute; top: 18px; z-index: 3; font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  padding: 7px 14px; border-radius: 999px; text-transform: uppercase;
}
.rf-ba__tag--before { left: 18px; background: rgba(8, 20, 38, 0.75); color: #fff; backdrop-filter: blur(4px); }
.rf-ba__tag--after { right: 18px; background: rgba(255, 106, 43, 0.92); color: #fff; }
.rf-ba__caption { margin-top: 18px; text-align: center; font-size: 14px; color: var(--rf-muted); display: flex; align-items: center; justify-content: center; gap: 8px; }
.rf-ba__caption svg { width: 16px; height: 16px; color: var(--rf-orange); }
.rf-ba__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.rf-ba-card { border-radius: var(--rf-radius); overflow: hidden; position: relative; box-shadow: var(--rf-shadow-sm); border: 1px solid var(--rf-line); }
.rf-ba-card__imgs { position: relative; aspect-ratio: 4 / 2.4; }
.rf-ba-card__imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease; }
.rf-ba-card__imgs img.is-hidden { opacity: 0; }
.rf-ba-card:hover .rf-ba-card__imgs .rf-ba-card__before { opacity: 0; }
.rf-ba-card__tag { position: absolute; bottom: 14px; left: 14px; z-index: 2; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; padding: 6px 12px; border-radius: 999px; background: rgba(8, 20, 38, 0.75); color: #fff; text-transform: uppercase; backdrop-filter: blur(4px); transition: opacity 0.4s ease, transform 0.4s ease; }
.rf-ba-card__tag--after { background: var(--rf-green); opacity: 0; transform: translateY(6px); }
.rf-ba-card:hover .rf-ba-card__tag--before { opacity: 0; transform: translateY(6px); }
.rf-ba-card:hover .rf-ba-card__tag--after { opacity: 1; transform: none; }
.rf-ba-card__body { padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; }
.rf-ba-card__body b { font-size: 15.5px; }
.rf-ba-card__body span { font-size: 13px; color: var(--rf-muted); }
.rf-ba-card__hint { font-size: 12px; color: var(--rf-orange); font-weight: 600; white-space: nowrap; }

/* ---------- Testimonios ---------- */
.rf-testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rf-testi { background: #fff; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); padding: 32px 30px; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.rf-testi:hover { transform: translateY(-6px); box-shadow: var(--rf-shadow-sm); }
.rf-testi__stars { display: flex; gap: 3px; margin-bottom: 18px; }
.rf-testi__stars svg { width: 18px; height: 18px; color: #f5a623; }
.rf-testi blockquote { font-family: var(--rf-serif); font-size: 18.5px; line-height: 1.5; color: var(--rf-navy-800); margin: 0 0 22px; flex: 1; }
.rf-testi__who { display: flex; align-items: center; gap: 14px; }
.rf-testi__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--rf-navy-900); color: #fff; font-family: var(--rf-serif); font-weight: 700; display: grid; place-items: center; font-size: 17px; flex: none; }
.rf-testi__who b { display: block; font-size: 15px; }
.rf-testi__who span { font-size: 13px; color: var(--rf-muted); }

/* ---------- FAQ ---------- */
.rf-faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.rf-faq__item { background: #fff; border: 1px solid var(--rf-line); border-radius: 14px; overflow: hidden; transition: border-color 0.25s, box-shadow 0.25s; }
.rf-faq__item.is-open { border-color: rgba(255, 106, 43, 0.45); box-shadow: var(--rf-shadow-sm); }
.rf-faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--rf-sans); font-size: 16.5px; font-weight: 600; color: var(--rf-navy-900);
}
.rf-faq__q svg { width: 20px; height: 20px; color: var(--rf-orange); flex: none; transition: transform 0.3s; }
.rf-faq__item.is-open .rf-faq__q svg { transform: rotate(45deg); }
.rf-faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.rf-faq__a p { margin: 0; padding: 0 26px 24px; color: var(--rf-muted); font-size: 15.5px; }

/* ---------- CTA emergencia ---------- */
.rf-cta-band { background: linear-gradient(120deg, var(--rf-orange) 0%, #ff8149 100%); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.rf-cta-band::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.18); }
.rf-cta-band::before { content: ""; position: absolute; right: -40px; bottom: -220px; width: 380px; height: 380px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.12); }
.rf-cta-band .rf-wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; position: relative; z-index: 1; }
.rf-cta-band h2 { font-family: var(--rf-serif); font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 10px; }
.rf-cta-band p { margin: 0; opacity: 0.94; font-size: 16.5px; }
.rf-cta-band__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.rf-cta-band .rf-btn--white { box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18); }
.rf-cta-band .rf-btn--wa { background: var(--rf-green); color: #fff; }
.rf-cta-band .rf-btn--wa:hover { filter: brightness(0.95); transform: translateY(-2px); }

/* ---------- Contacto ---------- */
.rf-contact__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: start; }
.rf-form { background: #fff; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); padding: 38px; box-shadow: var(--rf-shadow-sm); }
.rf-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rf-field { display: flex; flex-direction: column; gap: 7px; }
.rf-field--full { grid-column: 1 / -1; }
.rf-field label { font-size: 13.5px; font-weight: 600; color: var(--rf-navy-800); }
.rf-field input, .rf-field select, .rf-field textarea {
  font-family: var(--rf-sans); font-size: 15px; color: var(--rf-ink);
  border: 1.5px solid var(--rf-line); border-radius: 10px; padding: 13px 15px;
  background: #fbfcfe; transition: border-color 0.2s, box-shadow 0.2s; width: 100%;
}
.rf-field textarea { resize: vertical; min-height: 104px; }
.rf-field input:focus, .rf-field select:focus, .rf-field textarea:focus {
  outline: none; border-color: var(--rf-orange); box-shadow: 0 0 0 4px rgba(255, 106, 43, 0.12);
}
.rf-form__foot { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.rf-form__note { font-size: 12.5px; color: var(--rf-muted); text-align: center; }
.rf-form__ok { text-align: center; padding: 30px 10px; }
.rf-form__ok svg { width: 56px; height: 56px; color: var(--rf-green); margin: 0 auto 16px; }
.rf-form__ok b { font-size: 19px; display: block; margin-bottom: 6px; color: var(--rf-navy-900); }
.rf-form__ok p { color: var(--rf-muted); margin: 0; }
.rf-info { display: grid; gap: 16px; }
.rf-info__card { background: var(--rf-navy-900); color: #fff; border-radius: var(--rf-radius); padding: 30px; }
.rf-info__row { display: flex; align-items: flex-start; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.rf-info__row:last-child { border-bottom: 0; }
.rf-info__row svg { width: 20px; height: 20px; color: var(--rf-orange); flex: none; margin-top: 2px; }
.rf-info__row span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.rf-info__row b { font-size: 15.5px; font-weight: 600; }
.rf-areas { background: #fff; border: 1px solid var(--rf-line); border-radius: var(--rf-radius); padding: 26px 28px; }
.rf-areas b { font-size: 15px; display: block; margin-bottom: 14px; }
.rf-areas__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rf-areas__chips span { font-size: 13px; font-weight: 500; color: var(--rf-navy-800); background: var(--rf-cream); border: 1px solid var(--rf-line); padding: 7px 14px; border-radius: 999px; }

/* ---------- Footer ---------- */
.rf-footer { background: var(--rf-navy-950); color: rgba(255, 255, 255, 0.75); padding: 70px 0 0; }
.rf-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.rf-footer .rf-logo__name { color: #fff; }
.rf-footer__about { font-size: 14.5px; margin-top: 16px; max-width: 300px; }
.rf-footer h4 { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; margin: 6px 0 18px; }
.rf-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14.5px; }
.rf-footer ul a:hover { color: var(--rf-orange); }
.rf-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0; font-size: 13px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- WhatsApp flotante ---------- */
.rf-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: var(--rf-green);
  display: grid; place-items: center; box-shadow: 0 14px 30px rgba(31, 187, 92, 0.45);
  transition: transform 0.25s ease;
}
.rf-wa:hover { transform: scale(1.08); }
.rf-wa svg { width: 30px; height: 30px; color: #fff; }
.rf-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--rf-green); animation: rf-pulse 2s infinite; }
@keyframes rf-pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Anclas ---------- */
.rf-hero, .rf-section { scroll-margin-top: 84px; }

/* ---------- Reveal ---------- */
.rf-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; min-width: 0; }
.rf-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rf-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .rf-hero__grid, .rf-trust__grid, .rf-contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .rf-hero__media { max-width: 640px; }
  .rf-hero__badge { left: 14px; }
  .rf-process__grid { grid-template-columns: repeat(2, 1fr); }
  .rf-step__arrow { display: none; }
  .rf-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .rf-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--rf-line); box-shadow: 0 24px 40px rgba(11, 31, 58, 0.12); padding: 8px 0;
  }
  .rf-nav.is-open { display: flex; }
  .rf-nav a { padding: 15px 26px; border-bottom: 1px solid var(--rf-line); font-size: 16px; }
  .rf-nav a:last-child { border-bottom: 0; }
  .rf-burger { display: grid; }
  .rf-header__cta .rf-btn { display: none; }
  .rf-services__grid, .rf-testi__grid, .rf-ba__grid { grid-template-columns: 1fr; }
  .rf-topbar__msg { font-size: 12px; }
}
@media (max-width: 620px) {
  .rf-section { padding: 72px 0; }
  .rf-hero__grid { padding: 64px 0 72px; }
  .rf-form { padding: 26px 20px; }
  .rf-form__grid { grid-template-columns: 1fr; }
  .rf-mirror__inner { padding: 34px 0; }
  .rf-mirror__ring--a { width: 220px; height: 220px; right: -110px; margin-top: -110px; }
  .rf-mirror__ring--b { width: 150px; height: 150px; right: -55px; margin-top: -75px; }
  .rf-cta-band .rf-wrap { flex-direction: column; align-items: flex-start; }
  .rf-topbar__phone span { display: none; }
  .rf-topbar__in { justify-content: center; }
  .rf-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .rf-hero__badge { padding: 12px 16px; bottom: 20px; }
}

/* ---------- Específico de WordPress ---------- */
.rf-logo__img { display: block; height: 60px; width: auto; }
@media (max-width: 720px) { .rf-logo__img { height: 42px; } }
.rf-footer .rf-logo__img { height: 72px; }
.admin-bar .rf-header { top: 32px; }
@media screen and (max-width: 782px) {
        .admin-bar .rf-header { top: 46px; }
}
.rf-nav.is-open ~ .rf-header__cta .rf-burger .i-close { display: block; }
.rf-burger .i-close { display: none; }
.rf-burger.is-open .i-menu { display: none; }
.rf-burger.is-open .i-close { display: block; }

/* ---------- Cotización rápida (form tras el hero) ---------- */
.rf-quick {
  background: linear-gradient(160deg, var(--rf-navy-950) 0%, var(--rf-navy-900) 60%, var(--rf-navy-800) 100%);
  color: #fff; padding: 88px 0; position: relative; overflow: hidden; scroll-margin-top: 84px;
}
.rf-quick::before {
  content: ""; position: absolute; left: -180px; bottom: -240px; width: 520px; height: 520px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 106, 43, 0.14), transparent 65%);
}
.rf-quick__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; position: relative; }
.rf-quick .rf-points { margin-top: 26px; }
.rf-quick__talk { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 32px 0 0; font-size: 15.5px; color: rgba(255, 255, 255, 0.78); }
.rf-quick__talk a {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #fff;
  font-size: 17.5px; border-bottom: 2px solid var(--rf-orange); padding-bottom: 2px; transition: color 0.2s;
}
.rf-quick__talk a svg { width: 17px; height: 17px; color: var(--rf-orange); }
.rf-quick__talk a:hover { color: var(--rf-orange); }
.rf-form--quick { box-shadow: 0 34px 70px rgba(0, 0, 0, 0.38); border: 1px solid rgba(255, 255, 255, 0.12); }
.rf-form__title { font-family: var(--rf-serif); font-size: 21px; font-weight: 700; color: var(--rf-navy-900); margin: 0 0 16px; }
.rf-quick-time {
  display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--rf-navy-800); background: var(--rf-orange-soft); border: 1px dashed rgba(255, 106, 43, 0.45);
  padding: 10px 12px; border-radius: 10px; margin: 0;
}
.rf-quick-time svg { width: 16px; height: 16px; color: var(--rf-orange); flex: none; }
@media (max-width: 1080px) {
  .rf-quick__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) {
  .rf-quick { padding: 64px 0; }
}

/* ================= Consentimiento del formulario (1.3.0) ================= */
.rf-consent {
  grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px; line-height: 1.55; color: var(--rf-muted); margin: 0; cursor: pointer;
}
.rf-consent input {
  width: 17px; height: 17px; margin-top: 1px; flex: none; accent-color: var(--rf-orange); cursor: pointer;
}
.rf-consent button, .rf-consent .rf-consent__link {
  background: none; border: 0; padding: 0; font: inherit; color: var(--rf-orange);
  text-decoration: underline; cursor: pointer; font-weight: 600;
}
.rf-consent button:hover { color: var(--rf-orange-dark); }

/* ================= Modales (agradecimiento + legales) ================= */
.rf-modal {
  position: fixed; inset: 0; z-index: 1200; visibility: hidden; opacity: 0;
  transition: opacity 0.28s ease, visibility 0.28s;
}
.rf-modal.is-open { visibility: visible; opacity: 1; }
.rf-modal__backdrop {
  position: absolute; inset: 0; background: rgba(7, 20, 39, 0.74);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.rf-modal__wrap {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 22px; pointer-events: none;
}
.rf-modal__box {
  pointer-events: auto; background: #fff; border-radius: 18px; width: 100%;
  max-width: 560px; max-height: min(86vh, 780px); overflow-y: auto; position: relative;
  box-shadow: 0 44px 96px rgba(0, 0, 0, 0.45);
  transform: translateY(18px) scale(0.97); transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.rf-modal.is-open .rf-modal__box { transform: none; }
.rf-modal--legal .rf-modal__box { max-width: 780px; }

.rf-modal__close {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rf-line);
  background: #fff; color: var(--rf-navy-800); display: grid; place-items: center;
  cursor: pointer; flex: none; transition: background 0.2s;
}
.rf-modal__close svg { width: 17px; height: 17px; }
.rf-modal__close:hover { background: var(--rf-cream); }
.rf-modal__close--abs { position: absolute; top: 16px; right: 16px; z-index: 2; }

.rf-modal__head {
  position: sticky; top: 0; z-index: 1; background: #fff; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; padding: 20px 28px 14px; border-bottom: 1px solid var(--rf-line);
}
.rf-modal__title {
  font-family: var(--rf-serif); font-size: 22px; font-weight: 700; color: var(--rf-navy-900); margin: 0;
}
.rf-modal__body { padding: 18px 28px 32px; }
.rf-modal__updated { font-size: 12.5px; color: var(--rf-muted); font-style: italic; margin: 0 0 4px; }
.rf-modal__body h3 {
  font-family: var(--rf-serif); font-size: 16.5px; font-weight: 700; color: var(--rf-navy-800);
  margin: 22px 0 8px;
}
.rf-modal__body h3:first-of-type { margin-top: 14px; }
.rf-modal__body p {
  font-size: 14px; line-height: 1.7; color: #44506a; margin: 0 0 10px;
}

.rf-modal__box--thanks { max-width: 620px; }
.rf-thanks { text-align: center; padding: 48px 44px 42px; }
.rf-thanks__logo {
  position: relative; display: inline-block; margin: 0 auto 16px;
  animation: rf-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.rf-thanks__logo img {
  display: block; height: 92px; width: auto; max-width: 300px; object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(11, 31, 58, 0.16));
}
.rf-thanks__badge {
  position: absolute; right: -16px; bottom: -4px;
  width: 38px; height: 38px; border-radius: 50%; background: #12b76a; color: #fff;
  display: grid; place-items: center; border: 3px solid #fff;
  box-shadow: 0 10px 22px rgba(18, 183, 106, 0.4);
}
.rf-thanks__badge svg { width: 18px; height: 18px; }
@keyframes rf-pop {
  0% { transform: scale(0.35); opacity: 0; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.rf-thanks h3 {
  font-family: var(--rf-serif); font-size: 28px; font-weight: 700; color: var(--rf-navy-900); margin: 0 0 12px;
}
.rf-thanks p { font-size: 15.5px; line-height: 1.65; color: var(--rf-muted); margin: 0 auto 10px; max-width: 52ch; }
.rf-thanks__call { font-size: 14.5px; color: var(--rf-navy-800); font-weight: 600; margin-top: 14px; }
.rf-thanks__call a { color: var(--rf-orange); font-weight: 700; text-decoration: none; white-space: nowrap; }
.rf-thanks__call a:hover { text-decoration: underline; }
.rf-thanks__btn { margin-top: 18px; min-width: 170px; }

.rf-footer__legal {
  display: flex; flex-wrap: wrap; gap: 8px 26px; padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13.5px;
}
.rf-footer__legal button {
  background: none; border: 0; padding: 0; font: inherit; color: rgba(255, 255, 255, 0.75);
  cursor: pointer; transition: color 0.2s;
}
.rf-footer__legal button:hover { color: var(--rf-orange); }

@media (max-width: 620px) {
  .rf-modal__wrap { padding: 14px; }
  .rf-modal__head { padding: 16px 18px 12px; }
  .rf-modal__head .rf-modal__title { font-size: 18px; }
  .rf-modal__body { padding: 14px 18px 26px; }
  .rf-thanks { padding: 38px 22px 32px; }
  .rf-thanks h3 { font-size: 23px; }
  .rf-thanks__logo img { height: 74px; max-width: 240px; }
  .rf-thanks__badge { width: 32px; height: 32px; right: -10px; }
  .rf-thanks__badge svg { width: 15px; height: 15px; }
}

/* Evitar overflow de grid en móvil */
.rf-ba__grid > .rf-reveal, .rf-process__grid > .rf-reveal { min-width: 0; }
