/* E.F.R. Agency — isolated visual explorations. Loaded after the production CSS. */
.preview-page {
  --preview-toolbar-height: 42px;
  padding-top: var(--preview-toolbar-height);
  text-rendering: optimizeLegibility;
}
.preview-page .preview-toolbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  min-height: var(--preview-toolbar-height);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 7px 18px;
  color: #dce6f2;
  background: #08111f;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
}
.preview-toolbar strong { white-space: nowrap; color: #fff; letter-spacing: .04em; }
.preview-toolbar nav { display: flex; gap: 5px; margin-right: auto; }
.preview-toolbar a { padding: 5px 9px; border-radius: 999px; opacity: .72; }
.preview-toolbar a[aria-current="page"] { color: #07111f; background: #fff; opacity: 1; }
.preview-toolbar > span { color: #9fb0c4; white-space: nowrap; }
.preview-page .topbar { top: var(--preview-toolbar-height); }
.preview-page .primary,
.preview-page .whatsapp,
.preview-page button,
.preview-page input,
.preview-page select { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease; }
.preview-page .primary:hover,
.preview-page .whatsapp:hover,
.preview-page button:not(:disabled):hover { transform: translateY(-2px); }
.preview-page input:focus,
.preview-page select:focus { outline: none; }

/* 01 — FINTECH PREMIUM */
.theme-fintech-premium {
  --navy: #07162d;
  --navy-2: #102849;
  --green: #16c784;
  --green-dark: #0ca66a;
  --bg: #f3f6fa;
  --card: #ffffff;
  --text: #0a1930;
  --muted: #5b6b80;
  --border: #dce4ee;
  color: var(--text);
  background: var(--bg);
}
.theme-fintech-premium .topbar {
  background: rgba(5,18,38,.94);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.theme-fintech-premium .nav { min-height: 76px; }
.theme-fintech-premium .brand { font-size: 19px; letter-spacing: .13em; }
.theme-fintech-premium .brand span { color: #4ce0a2; }
.theme-fintech-premium .nav nav a { padding: 9px 0; border-bottom: 1px solid transparent; }
.theme-fintech-premium .nav nav a:hover { color: #69e8b1; border-color: #69e8b1; }
.theme-fintech-premium .hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
  background:
    radial-gradient(circle at 84% 12%, rgba(42,211,148,.2), transparent 25%),
    radial-gradient(circle at 10% 90%, rgba(45,104,190,.23), transparent 30%),
    linear-gradient(135deg, #061225 0%, #0b2341 52%, #123659 100%);
}
.theme-fintech-premium .hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .28;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.theme-fintech-premium .hero-grid { position: relative; z-index: 1; grid-template-columns: 1.18fr .82fr; gap: 62px; }
.theme-fintech-premium .hero h1 { max-width: 760px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 6.1vw, 76px); font-weight: 500; letter-spacing: -.035em; }
.theme-fintech-premium .hero p { max-width: 600px; color: #bccce0; font-size: 19px; line-height: 1.65; }
.theme-fintech-premium .status { color: #aaf2d2; background: rgba(22,199,132,.1); border: 1px solid rgba(76,224,162,.25); }
.theme-fintech-premium .primary { padding: 15px 22px; color: #041910; background: #4ce0a2; border-radius: 10px; box-shadow: 0 10px 28px rgba(24,199,133,.2); }
.theme-fintech-premium .hero-card {
  min-height: 300px; border-radius: 20px; border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
  box-shadow: 0 35px 80px rgba(0,0,0,.34), inset 0 1px rgba(255,255,255,.12);
}
.theme-fintech-premium .hero-card::before { content: "EFR / TRANSFER"; align-self: flex-start; margin-bottom: auto; color: #7bf0bd; font-size: 11px; letter-spacing: .18em; }
.theme-fintech-premium .quick-access-section { margin-top: -42px; padding: 0 0 34px; background: transparent; border: 0; position: relative; z-index: 3; }
.theme-fintech-premium .quick-access-section h2 { display: none; }
.theme-fintech-premium .quick-access-grid { padding: 16px; grid-template-columns: repeat(6,1fr); gap: 8px; background: rgba(255,255,255,.96); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 18px 45px rgba(10,25,48,.13); }
.theme-fintech-premium .quick-access-grid a { min-height: 82px; flex-direction: column; justify-content: center; text-align: center; background: transparent; border: 0; }
.theme-fintech-premium .quick-access-grid a:hover { background: #eafbf4; }
.theme-fintech-premium .section { padding: 88px 0; }
.theme-fintech-premium h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -.025em; }
.theme-fintech-premium .offers-section { background: linear-gradient(180deg,#f3f6fa,#eaf0f7); }
.theme-fintech-premium .offer-tabs button { border-radius: 8px; }
.theme-fintech-premium .offer-tabs button.is-active { background: #0c2747; border-color: #0c2747; }
.theme-fintech-premium .offer-card,
.theme-fintech-premium .calculator,
.theme-fintech-premium .cash-calculator { border-radius: 16px; box-shadow: 0 18px 50px rgba(8,28,55,.09); }

/* Fintech calculator presentation; financial values remain owned by app.js. */
.theme-fintech-premium #calculadora { background: linear-gradient(180deg, #f1f7f8, #ffffff); }
.theme-fintech-premium #calculadora .calculator { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 18px 30px; align-items: start; padding: clamp(18px, 3vw, 34px); border-color: #d6e5e9; }
.theme-fintech-premium .calculator-intro { grid-column: 1; }
.theme-fintech-premium .calculator-intro h3 { margin: 8px 0; color: #102b43; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.theme-fintech-premium .calculator-intro p { margin: 0 0 10px; color: #52677a; line-height: 1.5; }
.theme-fintech-premium .calculator > .field, .theme-fintech-premium .calculator > .verified-row { grid-column: 1; margin: 0; }
.theme-fintech-premium .calculator > .result-card { grid-column: 2; grid-row: 1 / span 4; background: linear-gradient(145deg, #0a2740, #102f4e); padding: clamp(20px, 3vw, 32px); border-radius: 22px; box-shadow: 0 18px 42px rgba(10, 39, 64, .18); }
.theme-fintech-premium .calculator > .whatsapp { grid-column: 2; margin: 0; min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 14px; font-weight: 800; }
.theme-fintech-premium .calculator-result-heading { display: flex; justify-content: space-between; align-items: center; color: #b8eadb; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.theme-fintech-premium .calculator-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #6ce8bc; box-shadow: 0 0 12px #6ce8bc; }
.theme-fintech-premium .transfer-input-hint { margin: 10px 0 20px; text-align: left; }
.theme-fintech-premium .transfer-amount-field { padding: 15px; border: 1px solid rgba(255,255,255,.16); border-radius: 15px; background: rgba(255,255,255,.06); }
.theme-fintech-premium .transfer-amount-field + .transfer-amount-field { margin-top: 12px; border-color: rgba(108,232,188,.45); background: rgba(108,232,188,.1); }
.theme-fintech-premium .transfer-amount-field label { letter-spacing: .08em; }
.theme-fintech-premium .transfer-amount-control { border-radius: 10px; }
.theme-fintech-premium #receiveAmount { font-size: 24px; font-weight: 800; color: #102b43; }
.theme-fintech-premium .transfer-breakdown { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; border: 0; padding: 0; }
.theme-fintech-premium .result-card .calculator-detail-card { display: grid; gap: 5px; padding: 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.06); }
.theme-fintech-premium .calculator-detail-card strong { font-size: 17px; overflow-wrap: anywhere; }
.theme-fintech-premium .calculator-status { min-height: 20px; margin: 14px 0 0; color: #bedbdc; font-size: 13px; }
.theme-fintech-premium .calculator-status.is-error { color: #ffd0c6; }
.theme-fintech-premium .result-card.is-updating .transfer-amount-field, .theme-fintech-premium .result-card.is-updating .calculator-detail-card { animation: calculator-refresh .28s ease-out; }
@keyframes calculator-refresh { from { opacity: .72; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) {
  .theme-fintech-premium #calculadora { padding-block: 40px; }
  .theme-fintech-premium #calculadora .calculator { grid-template-columns: minmax(0,1fr); gap: 14px; padding: 18px; }
  .theme-fintech-premium .calculator-intro, .theme-fintech-premium .calculator > .field, .theme-fintech-premium .calculator > .verified-row, .theme-fintech-premium .calculator > .result-card, .theme-fintech-premium .calculator > .whatsapp { grid-column: 1; grid-row: auto; }
  .theme-fintech-premium .calculator > .result-card { padding: 19px; }
  .theme-fintech-premium .calculator > .whatsapp { min-height: 54px; }
}
@media (prefers-reduced-motion: reduce) { .theme-fintech-premium .result-card.is-updating .transfer-amount-field, .theme-fintech-premium .result-card.is-updating .calculator-detail-card { animation: none; } }
.theme-fintech-premium .offers-track .daily-offer { background: linear-gradient(145deg,#07162d,#123a61); }
.theme-fintech-premium .result-card { background: linear-gradient(145deg,#07162d,#123a61); }
.theme-fintech-premium input:focus,
.theme-fintech-premium select:focus { border-color: #16c784; box-shadow: 0 0 0 4px rgba(22,199,132,.13); }
.theme-fintech-premium .whatsapp { border-radius: 10px; background: #0ca66a; }
.theme-fintech-premium footer { background: #051326; }
.site-footer { text-align: left; padding: 45px 0 20px; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0,1fr)); gap: clamp(20px, 3vw, 48px); }
.site-footer .footer-brand strong { color: #aaf2d7; font-size: 17px; letter-spacing: .08em; }
.site-footer .footer-brand p { max-width: 26ch; color: #b5c7d7; line-height: 1.55; }
.site-footer nav { display: flex; flex-direction: column; align-items: start; gap: 10px; }
.site-footer nav h2 { color: #e8f7f3; font-size: 15px; margin: 0 0 4px; }
.site-footer nav a { color: #bdcfdb; font-size: 14px; line-height: 1.4; text-decoration: none; }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: #aaf2d7; text-decoration: underline; }
.site-footer .footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.14); color: #a6bdc8; font-size: 13px; }
@media (max-width: 760px) { .site-footer .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 27px 16px; } .site-footer nav a { font-size: 14px; } .site-footer { padding-bottom: 95px; } }
@media (max-width: 380px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }

/* 02 — MODERNA Y CERCANA */
.theme-moderna-cercana {
  --navy: #173a3e;
  --navy-2: #24545a;
  --green: #178f73;
  --green-dark: #11715c;
  --bg: #fffaf3;
  --card: #fffefd;
  --text: #193b3e;
  --muted: #687876;
  --border: #eadfd3;
  --warning: #fff0d6;
  background: #fffaf3;
}
.theme-moderna-cercana .topbar { color: #173a3e; background: rgba(255,250,243,.95); border-bottom: 1px solid #eadfd3; }
.theme-moderna-cercana .nav { min-height: 72px; }
.theme-moderna-cercana .brand { font-size: 19px; }
.theme-moderna-cercana .brand span { color: #e46c4b; }
.theme-moderna-cercana .nav nav a:hover { color: #d8573c; }
.theme-moderna-cercana .hero {
  padding: 88px 0 104px; color: #173a3e;
  background:
    radial-gradient(circle at 13% 18%, rgba(255,183,77,.2), transparent 26%),
    radial-gradient(circle at 85% 75%, rgba(31,156,128,.16), transparent 29%),
    linear-gradient(135deg,#fff8ed,#f7efe3);
}
.theme-moderna-cercana .hero-grid { gap: 56px; }
.theme-moderna-cercana .hero h1 { max-width: 720px; font-size: clamp(45px,6.2vw,72px); line-height: 1.01; letter-spacing: -.05em; }
.theme-moderna-cercana .hero p { color: #57706f; font-size: 19px; line-height: 1.6; }
.theme-moderna-cercana .status { color: #116852; background: #dff6ec; border: 1px solid #b9e6d5; }
.theme-moderna-cercana .primary { color: #fff; background: #c7462f; border-radius: 999px; box-shadow: 0 12px 24px rgba(199,70,47,.22); }
.theme-moderna-cercana .hero-card {
  position: relative; min-height: 292px; overflow: hidden; color: #fff; border: 0; border-radius: 36px 36px 36px 8px;
  background: linear-gradient(150deg,#1c8f76,#135d61); box-shadow: 0 28px 55px rgba(20,90,86,.2);
}
.theme-moderna-cercana .hero-card::before { content: "♥"; position: absolute; right: 24px; top: 18px; color: #ffd08d; font-size: 58px; opacity: .8; }
.theme-moderna-cercana .hero-card strong { font-size: 28px; }
.theme-moderna-cercana .hero-card span { color: #d6f2e9; }
.theme-moderna-cercana .quick-access-section { padding: 38px 0; background: #fffaf3; border-color: #eadfd3; }
.theme-moderna-cercana .quick-access-grid { gap: 14px; }
.theme-moderna-cercana .quick-access-grid a { min-height: 76px; border-color: #eadfd3; border-radius: 20px; background: #fff; box-shadow: 0 8px 20px rgba(77,62,43,.05); }
.theme-moderna-cercana .quick-access-grid a:hover { border-color: #f2a58f; background: #fff3ee; }
.theme-moderna-cercana .section { padding: 82px 0; }
.theme-moderna-cercana h2 { letter-spacing: -.035em; }
.theme-moderna-cercana .eyebrow { color: #d8573c; }
.theme-moderna-cercana .offers-section { background: #f4ece2; }
.theme-moderna-cercana .offer-tabs button { border-color: #dfd0c1; border-radius: 999px; }
.theme-moderna-cercana .offer-tabs button.is-active { background: #c7462f; border-color: #c7462f; }
.theme-moderna-cercana .offer-card,
.theme-moderna-cercana .calculator,
.theme-moderna-cercana .cash-calculator,
.theme-moderna-cercana .card { border-color: #eadfd3; border-radius: 26px; box-shadow: 0 15px 35px rgba(74,60,44,.07); }
.theme-moderna-cercana .offers-track .daily-offer { background: linear-gradient(145deg,#176d63,#1e9580); border-radius: 28px; }
.theme-moderna-cercana .result-card { background: #173a3e; border-radius: 22px; }
.theme-moderna-cercana input,
.theme-moderna-cercana select { border-color: #dfd2c6; border-radius: 14px; }
.theme-moderna-cercana input:focus,
.theme-moderna-cercana select:focus { border-color: #e26648; box-shadow: 0 0 0 4px rgba(226,102,72,.13); }
.theme-moderna-cercana .cash-section { background: #fffaf3; }
.theme-moderna-cercana .cash-whatsapp,
.theme-moderna-cercana .whatsapp { background: #178f73; border-radius: 999px; }
.theme-moderna-cercana .section.alt { background: #e7f4ef; }
.theme-moderna-cercana footer { background: #173a3e; }

/* 03 — MINIMALISTA PROFESIONAL */
.theme-minimalista-profesional {
  --navy: #111827;
  --navy-2: #202938;
  --green: #0d9488;
  --green-dark: #0f766e;
  --bg: #ffffff;
  --card: #ffffff;
  --text: #111827;
  --muted: #667085;
  --border: #d8dee8;
  background: #fff;
}
.theme-minimalista-profesional .topbar { color: #111827; background: rgba(255,255,255,.97); border-bottom: 1px solid #e5e7eb; backdrop-filter: blur(18px); }
.theme-minimalista-profesional .nav { min-height: 68px; }
.theme-minimalista-profesional .brand { font-size: 18px; letter-spacing: .1em; }
.theme-minimalista-profesional .brand span { color: #0d9488; }
.theme-minimalista-profesional .nav nav { gap: 24px; }
.theme-minimalista-profesional .nav nav a { color: #344054; opacity: 1; }
.theme-minimalista-profesional .hero { padding: 72px 0 70px; color: #111827; background: #fff; border-bottom: 1px solid #e5e7eb; }
.theme-minimalista-profesional .hero-grid { grid-template-columns: 1fr .56fr; gap: 70px; }
.theme-minimalista-profesional .hero h1 { max-width: 720px; font-size: clamp(43px,5.8vw,68px); line-height: .98; letter-spacing: -.06em; }
.theme-minimalista-profesional .hero p { max-width: 580px; color: #667085; font-size: 18px; line-height: 1.55; }
.theme-minimalista-profesional .status { padding: 6px 10px; color: #087467; background: #e9fbf7; border: 1px solid #b5eee3; }
.theme-minimalista-profesional .primary { color: #fff; background: #111827; border-radius: 8px; box-shadow: none; }
.theme-minimalista-profesional .hero-card { min-height: 230px; color: #111827; background: #f7f9fc; border: 1px solid #d8dee8; border-radius: 10px; box-shadow: none; }
.theme-minimalista-profesional .hero-card strong { font-size: 22px; }
.theme-minimalista-profesional .hero-card span { color: #667085; }
.theme-minimalista-profesional .quick-access-section { padding: 24px 0; background: #fff; }
.theme-minimalista-profesional .quick-access-section h2 { display: none; }
.theme-minimalista-profesional .quick-access-grid { grid-template-columns: repeat(6,1fr); gap: 0; border: 1px solid #d8dee8; border-radius: 10px; overflow: hidden; }
.theme-minimalista-profesional .quick-access-grid a { min-height: 64px; background: #fff; border: 0; border-right: 1px solid #e5e7eb; border-radius: 0; }
.theme-minimalista-profesional .quick-access-grid a:last-child { border-right: 0; }
.theme-minimalista-profesional .quick-access-grid a:hover { background: #f7f9fc; }
.theme-minimalista-profesional .section { padding: 68px 0; }
.theme-minimalista-profesional h2 { font-size: clamp(27px,3.5vw,38px); letter-spacing: -.04em; }
.theme-minimalista-profesional .offers-section { background: #f7f9fc; }
.theme-minimalista-profesional .eyebrow { color: #0d9488; }
.theme-minimalista-profesional .offer-tabs { border-bottom: 1px solid #d8dee8; }
.theme-minimalista-profesional .offer-tabs button { margin-bottom: -1px; color: #667085; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; }
.theme-minimalista-profesional .offer-tabs button.is-active { color: #111827; background: transparent; border-color: #0d9488; }
.theme-minimalista-profesional .offer-card,
.theme-minimalista-profesional .calculator,
.theme-minimalista-profesional .cash-calculator,
.theme-minimalista-profesional .card { border-radius: 10px; box-shadow: none; }
.theme-minimalista-profesional .offers-track .daily-offer { background: #111827; border-radius: 10px; }
.theme-minimalista-profesional #calculadora { padding-top: 56px; }
.theme-minimalista-profesional .calculator { display: grid; grid-template-columns: .7fr 1.3fr; gap: 22px 28px; padding: 28px; border: 1px solid #cbd5e1; }
.theme-minimalista-profesional .calculator > .field,
.theme-minimalista-profesional .calculator > .verified-row { grid-column: 1; }
.theme-minimalista-profesional .calculator > .result-card { grid-column: 2; grid-row: 1 / span 5; }
.theme-minimalista-profesional .result-card { border-radius: 8px; background: #111827; }
.theme-minimalista-profesional input,
.theme-minimalista-profesional select { border-radius: 7px; }
.theme-minimalista-profesional input:focus,
.theme-minimalista-profesional select:focus { border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13,148,136,.12); }
.theme-minimalista-profesional .whatsapp { border-radius: 7px; background: #0d9488; }
.theme-minimalista-profesional .section.alt { background: #f7f9fc; }
.theme-minimalista-profesional footer { background: #111827; }

@media (max-width: 850px) {
  .preview-page { --preview-toolbar-height: 50px; }
  .preview-page .preview-toolbar { gap: 7px; padding: 6px 10px; overflow-x: auto; }
  .preview-toolbar strong,
  .preview-toolbar > span { display: none; }
  .preview-toolbar nav { width: max-content; margin: auto; gap: 3px; }
  .preview-toolbar a { padding: 6px 8px; font-size: 11px; }
  .theme-fintech-premium .hero,
  .theme-moderna-cercana .hero,
  .theme-minimalista-profesional .hero { padding: 52px 0 58px; }
  .theme-fintech-premium .hero-grid,
  .theme-moderna-cercana .hero-grid,
  .theme-minimalista-profesional .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .theme-fintech-premium .hero h1,
  .theme-moderna-cercana .hero h1,
  .theme-minimalista-profesional .hero h1 { font-size: clamp(40px,13vw,58px); }
  .theme-fintech-premium .hero-card,
  .theme-moderna-cercana .hero-card,
  .theme-minimalista-profesional .hero-card { min-height: 160px; }
  .theme-fintech-premium .quick-access-section { margin-top: -22px; }
  .theme-fintech-premium .quick-access-grid,
  .theme-minimalista-profesional .quick-access-grid { grid-template-columns: repeat(2,1fr); }
  .theme-fintech-premium .quick-access-grid a { min-height: 64px; flex-direction: row; text-align: left; }
  .theme-minimalista-profesional .quick-access-grid a { border-right: 0; border-bottom: 1px solid #e5e7eb; }
  .theme-minimalista-profesional .calculator { display: block; padding: 18px; }
  .theme-minimalista-profesional .calculator > .result-card { margin-top: 16px; }
}
