/* Identidad Habemus Compañía (Manual de Identidad v1.0).
   Navy #1C2B4A + Oro #C4922A. Tipografía: Poppins (marca/interfaz), Cormorant (citas). */
:root {
  --hc-navy: #1C2B4A;
  --hc-navy-700: #16223b;
  --hc-ink: #1A1A1B;            /* Negro Oxford */
  --hc-muted: #5b6b86;
  --hc-bg: #ffffff;
  --hc-bg-soft: #F5F3EF;        /* Fondo Institucional */
  --hc-accent: #C4922A;         /* Oro Institucional (sobre claro) */
  --hc-gold: #C4922A;
  --hc-gold-bright: #D4A237;    /* Oro Luminoso (sobre navy) */
}

/* Tipografía institucional de toda la web. */
body { font-family: 'Poppins', system-ui, sans-serif; }

/* Scaffold inicial (se irá sustituyendo por las secciones de AIOR). */
.hc-shell { font-family: 'Poppins', system-ui, sans-serif; color: var(--hc-ink); background: var(--hc-bg); }
.hc-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.hc-nav { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.hc-nav__logo { height: 34px; width: auto; }
.hc-nav__links { display: flex; gap: 28px; align-items: center; }
.hc-nav__links a { color: var(--hc-ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.hc-nav__links a:hover { color: var(--hc-accent); }
.hc-btn { display: inline-block; background: var(--hc-navy); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.hc-btn:hover { background: var(--hc-navy-700); color: #fff; }

.hc-hero { padding: 90px 0 70px; background: linear-gradient(180deg, var(--hc-bg-soft), #fff); }
.hc-hero__eyebrow { color: var(--hc-accent); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.hc-hero h1 { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; margin: 14px 0 18px; color: var(--hc-ink); }
.hc-hero p { font-size: 1.15rem; color: var(--hc-muted); max-width: 640px; }
.hc-hero__cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

.hc-footer { background: var(--hc-navy); color: #c7d2e6; padding: 48px 0; margin-top: 60px; }
.hc-footer a { color: #e6ecf7; text-decoration: none; }
.hc-footer__logo { height: 30px; margin-bottom: 14px; }
.hc-footer__legal { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; margin-top: 14px; }

/* ===== Override del tema AIOR a identidad HC (navy + oro) ===== */
:root {
  --theme-color: #1C2B4A;   /* era morado #7B5DFF */
  --theme-color2: #C4922A;  /* era lima #D4FF12 */
  --title-color: #1C2B4A;
  --yellow-color: #D4A237;
}
/* Botones: primarios navy, secundarios oro */
.th-btn { --theme-color: #1C2B4A; }
.th-btn.style2 { background-color: var(--hc-gold); color: #fff; border-color: var(--hc-gold); }
.th-btn.style2:hover { background-color: #fff; color: var(--hc-navy); }

/* Hero institucional navy (sustituye el fondo oscuro/roto de la plantilla) */
.th-hero-wrapper.hero-3 {
  background: radial-gradient(1100px 620px at 72% 8%, #26375c 0%, #1C2B4A 52%, #16223b 100%) !important;
}
.hero-3 .hero-shape, .hero-img-one, .hero-img-two { display: none !important; }
.hero-style3 .hero-title { color: #fff; }
.hero-style3 .hero-text { color: #c7d0e2; }
.hero-style3 .hero-subtitle { color: var(--hc-gold-bright) !important; }
/* CTA principal del hero en oro */
.hero-style3 .btn-group .th-btn:first-child { background-color: var(--hc-gold) !important; color: #fff !important; border-color: var(--hc-gold) !important; }
.hero-style3 .btn-group .th-btn:first-child:hover { background-color: #fff !important; color: var(--hc-navy) !important; }

/* Cabecera sobre hero navy: navegación clara */
.header-layout3 .main-menu > ul > li > a { color: #eaf0fa; }
.header-layout3 .main-menu > ul > li > a:hover { color: var(--hc-gold-bright); }

/* Marquee del hero en oro tenue */
.hero-3 .marquee .item span { color: #d6c08a; }

/* ===== Logo de marca (HC + barra dorada + wordmark), fiel al Manual ===== */
.hc-logo { display: inline-flex; align-items: center; gap: 13px; font-family: 'Poppins', sans-serif; text-decoration: none; line-height: 1; }
.hc-logo__iso { position: relative; font-weight: 700; font-size: 30px; letter-spacing: -1.5px; padding-bottom: 8px; }
.hc-logo__iso::after { content: ""; position: absolute; left: 0; right: 2px; bottom: 0; height: 4px; border-radius: 1px; background: var(--hc-gold-bright); }
.hc-logo__div { width: 1px; height: 30px; background: currentColor; opacity: .3; }
.hc-logo__wm { display: flex; flex-direction: column; gap: 3px; }
.hc-logo__wm b { font-weight: 700; font-size: 15px; letter-spacing: 1.5px; }
.hc-logo__wm i { font-style: normal; font-weight: 500; font-size: 10px; letter-spacing: 4px; opacity: .72; }
.hc-logo--light { color: #fff; }
.hc-logo--light .hc-logo__iso::after { background: var(--hc-gold-bright); }
.hc-logo--dark { color: var(--hc-navy); }
.hc-logo--dark .hc-logo__iso::after { background: var(--hc-gold); }
.hc-logo--sm .hc-logo__iso { font-size: 26px; }
.hc-logo--sm .hc-logo__div { height: 26px; }

/* ===== Brújula del hero (concepto A · Norte) ===== */
.hc-compass-wrap { display: flex; align-items: center; justify-content: center; }
.hc-compass { width: 100%; max-width: 440px; height: auto; animation: hc-float 7s ease-in-out infinite; }
.hc-needle { transform-origin: 260px 260px; animation: hc-settle 7s cubic-bezier(.4,0,.2,1) infinite; }
.hc-rose { transform-origin: 260px 260px; animation: hc-rose-spin 60s linear infinite; }
.hc-beacon { transform-origin: 260px 110px; animation: hc-beacon 2.6s ease-in-out infinite; }
.hc-north { animation: hc-north 2.6s ease-in-out infinite; }
.hc-pulse { transform-origin: 260px 260px; opacity: 0; }
.hc-pulse-1 { animation: hc-pulse 4s ease-out infinite; }
.hc-pulse-2 { animation: hc-pulse 4s ease-out infinite 2s; }

@keyframes hc-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes hc-settle {
  0%   { transform: rotate(-52deg); }
  35%  { transform: rotate(14deg); }
  55%  { transform: rotate(-6deg); }
  72%  { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}
@keyframes hc-rose-spin { to { transform: rotate(360deg); } }
@keyframes hc-pulse { 0% { opacity: .5; transform: scale(.75); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes hc-beacon { 0%,100% { opacity: .35; r: 6px; } 50% { opacity: 1; r: 9px; } }
@keyframes hc-north { 0%,100% { opacity: .65; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .hc-compass, .hc-needle, .hc-rose, .hc-beacon, .hc-north, .hc-pulse { animation: none; }
  .hc-needle { transform: rotate(0deg); }
}

/* ---- Secciones de la Home (sobre las clases de AIOR) ---- */
.hc-lead { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--hc-navy); margin-top: 24px; }
.hc-problems p { background: #fff; border: 1px solid #e7ecf4; border-radius: 14px; padding: 22px 24px; font-size: 1.05rem; color: var(--hc-ink); margin: 0; }

.hc-step { background: #fff; border: 1px solid #e7ecf4; border-radius: 16px; padding: 26px 22px; height: 100%; }
.hc-step__n { display: inline-block; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--hc-accent); }
.hc-step__s { font-size: 1.05rem; font-weight: 700; color: var(--hc-navy); margin: 8px 0 10px; }
.hc-step__t { color: var(--hc-muted); font-size: .98rem; margin: 0; }

.hc-price { background: var(--hc-navy); color: #fff; border-radius: 22px; padding: 40px; }
.hc-price__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hc-price__head h3 { color: #fff; margin: 0 0 8px; }
.hc-price__head p { color: #c7d2e6; max-width: 460px; }
.hc-price__amount { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 3rem; line-height: 1; }
.hc-price__sub { border-top: 1px solid rgba(255,255,255,.15); margin-top: 24px; padding-top: 18px; color: #e6ecf7; }
.hc-price__list { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 10px; }
.hc-price__list li { position: relative; padding-left: 28px; color: #d7e0f0; }
.hc-price__list li::before { content: "✓"; position: absolute; left: 0; color: #7fe3b0; font-weight: 800; }

.hc-promise { background: #fff; border: 1px solid #e7ecf4; border-radius: 18px; padding: 32px; display: grid; gap: 16px; }
.hc-promise p { margin: 0; color: var(--hc-ink); font-size: 1.05rem; }

.hc-stat { text-align: center; padding: 20px; }
.hc-stat__n { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 3rem; color: var(--hc-navy); line-height: 1; }
.hc-stat__s { font-size: 1.05rem; font-weight: 700; color: var(--hc-ink); margin: 8px 0 6px; }
.hc-stat__t { color: var(--hc-muted); font-size: .95rem; margin: 0; }

.hc-faq { display: grid; gap: 12px; }
.hc-faq__item { background: #fff; border: 1px solid #e7ecf4; border-radius: 14px; padding: 18px 22px; }
.hc-faq__item > summary { cursor: pointer; font-weight: 700; color: var(--hc-navy); list-style: none; font-size: 1.05rem; }
.hc-faq__item > summary::-webkit-details-marker { display: none; }
.hc-faq__item > summary::after { content: "+"; float: right; color: var(--hc-accent); font-weight: 800; }
.hc-faq__item[open] > summary::after { content: "−"; }
.hc-faq__item > p { margin: 12px 0 0; color: var(--hc-muted); }

/* ---- Recursos (hub + artículo) ---- */
.hc-card { display: block; background: #fff; border: 1px solid #e7ecf4; border-radius: 16px; padding: 26px; height: 100%; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.hc-card:hover { box-shadow: 0 12px 30px rgba(28,43,74,.08); transform: translateY(-2px); }
.hc-card__cat { display: inline-block; background: var(--hc-bg-soft); color: var(--hc-navy); font-weight: 700; font-size: .78rem; padding: 4px 10px; border-radius: 999px; }
.hc-card__time { color: var(--hc-muted); font-size: .82rem; margin-left: 8px; }
.hc-card__title { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--hc-navy); margin: 14px 0 8px; font-size: 1.2rem; }
.hc-card__desc { color: var(--hc-muted); margin: 0 0 14px; }
.hc-card__more { color: var(--hc-accent); font-weight: 700; }

.hc-article__title { font-family: 'Poppins', sans-serif; font-weight: 800; color: var(--hc-ink); font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; margin: 10px 0 10px; }
.hc-article__meta { color: var(--hc-muted); font-size: .9rem; margin-bottom: 26px; }
.hc-article__body { font-size: 1.08rem; line-height: 1.75; color: var(--hc-ink); }
.hc-article__body h2 { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--hc-navy); font-size: 1.5rem; margin: 34px 0 12px; }
.hc-article__body h3 { font-weight: 700; color: var(--hc-navy); font-size: 1.15rem; margin: 24px 0 8px; }
.hc-article__body a { color: var(--hc-accent); }
.hc-article__body ul, .hc-article__body ol { padding-left: 1.2em; }
.hc-article__body li { margin: 6px 0; }
.hc-article__body table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.hc-article__body th, .hc-article__body td { border: 1px solid #e7ecf4; padding: 10px 12px; text-align: left; }
.hc-article__body hr { border: none; border-top: 1px solid #e7ecf4; margin: 30px 0; }
.hc-article__back { margin-top: 36px; }

/* ===== Secciones nuevas de la home (nivel WordPress) ===== */
.hc-inline-link { color: var(--hc-accent); font-weight: 700; white-space: nowrap; }

/* Nota "Yo presento las solicitudes…" */
.hc-note { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: baseline; justify-content: center;
  background: var(--hc-navy); color: #fff; border-radius: 14px; padding: 18px 26px; margin: 28px auto 0; max-width: 760px; text-align: center; }
.hc-note__k { font-weight: 700; color: var(--hc-gold-bright); }
.hc-note__v { color: #e6ecf7; }

/* Ayudas que existen */
.hc-bigstat { text-align: center; font-family: 'Poppins', sans-serif; font-size: 1.25rem; color: var(--hc-navy); margin: 0 auto 30px; max-width: 760px; }
.hc-bigstat strong { color: var(--hc-accent); }
.hc-aid { background: #fff; border: 1px solid #e7ecf4; border-radius: 16px; padding: 26px 22px; height: 100%; }
.hc-aid__brand { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hc-muted); }
.hc-aid__amount { display: block; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--hc-navy); margin: 8px 0 10px; }
.hc-aid__text { color: var(--hc-muted); font-size: .98rem; margin: 0; }

/* Antes / Después */
.hc-ba__card { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid #e7ecf4; background: #fff; height: 100%; }
.hc-ba__bar { background: #eef1f6; color: #8a97ab; font-size: .82rem; padding: 10px 16px; border-bottom: 1px solid #e7ecf4; font-family: ui-monospace, monospace; }
.hc-ba__bar--ok { background: #eef6f0; color: #2f7d52; }
.hc-ba__screen { display: grid; gap: 7px; padding: 24px; color: #6b7687; font-size: .95rem; }
.hc-ba__screen strong { color: #9aa5b5; font-size: 1.05rem; }
.hc-ba__screen--ok { color: var(--hc-ink); }
.hc-ba__screen--ok strong { color: var(--hc-navy); font-size: 1.1rem; }
.hc-ba__stale { color: #c0392b; font-size: .82rem; }
.hc-ba__fresh { color: #1a8a53; font-size: .82rem; font-weight: 600; }
.hc-ba__tag { position: absolute; top: 14px; right: 14px; background: #eef1f6; color: #8a97ab; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; }
.hc-ba__tag--ok { background: var(--hc-gold); color: #fff; }

/* Comparativa Ahora / Con nosotros */
.hc-cmp { margin-top: 10px; }
.hc-cmp__card { border-radius: 16px; padding: 26px 24px; height: 100%; }
.hc-cmp__now { background: #fff; border: 1px solid #e7ecf4; }
.hc-cmp__with { background: var(--hc-navy); }
.hc-cmp__h { font-size: 1.05rem; font-weight: 700; margin: 0 0 14px; }
.hc-cmp__now .hc-cmp__h { color: var(--hc-navy); }
.hc-cmp__with .hc-cmp__h { color: var(--hc-gold-bright); }
.hc-cmp__card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.hc-cmp__card li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.hc-cmp__now li { color: var(--hc-ink); }
.hc-cmp__with li { color: #dbe3f0; }
.hc-cmp__x { color: #c0392b; font-weight: 800; }
.hc-cmp__v { color: #7fe3b0; font-weight: 800; }

/* Dos maneras */
.hc-way { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid #e7ecf4; border-radius: 18px; padding: 30px; height: 100%; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.hc-way:hover { box-shadow: 0 14px 34px rgba(28,43,74,.1); transform: translateY(-2px); color: inherit; }
.hc-way__k { font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--hc-accent); }
.hc-way__t { font-family: 'Poppins', sans-serif; font-size: 1.35rem; color: var(--hc-navy); }
.hc-way__d { color: var(--hc-muted); margin: 4px 0 12px; }
.hc-way__price { font-size: .95rem; color: var(--hc-ink); margin-top: auto; }
.hc-way__price em { font-style: normal; font-weight: 800; font-size: 1.5rem; color: var(--hc-navy); margin-right: 6px; }
.hc-way__more { color: var(--hc-accent); font-weight: 700; margin-top: 8px; }

/* Features llave en mano */
.hc-feat { background: #fff; border: 1px solid #e7ecf4; border-radius: 16px; padding: 28px 24px; height: 100%; }
.hc-feat__icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--hc-bg-soft); margin-bottom: 16px; }
.hc-feat__icon img { width: 28px; height: 28px; }
.hc-feat__t { font-size: 1.12rem; font-weight: 700; color: var(--hc-navy); margin: 0 0 8px; }
.hc-feat__d { color: var(--hc-muted); font-size: .98rem; margin: 0; }

/* Proceso: enlace + aside "al terminar" */
.hc-steplink { margin-top: 20px; }
.hc-deliver { background: var(--hc-navy); border-radius: 18px; padding: 30px; height: 100%; }
.hc-deliver__k { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--hc-gold-bright); margin-bottom: 16px; }
.hc-deliver ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hc-deliver li { display: flex; gap: 10px; align-items: flex-start; color: #e6ecf7; font-weight: 600; }
.hc-deliver__v { color: #7fe3b0; font-weight: 800; }

/* Precio con selector de región */
.hc-region { display: inline-flex; gap: 4px; background: #fff; border: 1px solid #e7ecf4; border-radius: 999px; padding: 4px; margin: 0 auto 28px; left: 50%; position: relative; transform: translateX(-50%); }
.hc-region__btn { border: 0; background: transparent; font-family: inherit; font-weight: 700; font-size: .95rem; color: var(--hc-muted); padding: 9px 22px; border-radius: 999px; cursor: pointer; }
.hc-region__btn.is-active { background: var(--hc-navy); color: #fff; }
.hc-plan { background: var(--hc-navy); color: #fff; border-radius: 22px; padding: 40px; }
.hc-plan[hidden] { display: none; }
.hc-plan__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hc-plan__k { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--hc-gold-bright); margin-bottom: 8px; }
.hc-plan__d { color: #c7d2e6; max-width: 460px; margin: 0; }
.hc-plan__amount { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 3rem; line-height: 1; }
.hc-plan__member { border-top: 1px solid rgba(255,255,255,.15); margin-top: 26px; padding-top: 22px; }
.hc-plan__memberhead { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 16px; }
.hc-plan__memberhead span { color: #c7d2e6; }
.hc-plan__memberhead strong { font-size: 1.4rem; color: var(--hc-gold-bright); }
.hc-plan__memberhead em { font-style: normal; color: #9fb0ca; font-size: .9rem; }
.hc-plan__list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.hc-plan__list li { position: relative; padding-left: 26px; color: #d7e0f0; font-size: .97rem; }
.hc-plan__list li::before { content: "✓"; position: absolute; left: 0; color: #7fe3b0; font-weight: 800; }
.hc-plan__list strong { color: #fff; }

/* ===== Banner de cookies ===== */
.hc-cookie { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 9999;
  width: min(760px, calc(100% - 32px)); background: var(--hc-navy); color: #e6ecf7;
  border: 1px solid rgba(212,162,55,.35); border-radius: 16px; padding: 18px 22px;
  display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  box-shadow: 0 16px 40px rgba(16,24,48,.35); }
.hc-cookie[hidden] { display: none; }
.hc-cookie__text { font-size: .92rem; margin: 0; flex: 1 1 320px; }
.hc-cookie__text a { color: var(--hc-gold-bright); }
.hc-cookie__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hc-cookie__btn { border: 0; cursor: pointer; font-family: inherit; font-weight: 700; font-size: .9rem; padding: 10px 18px; border-radius: 999px; }
.hc-cookie__btn--ghost { background: transparent; color: #cdd7e8; border: 1px solid rgba(255,255,255,.3); }
.hc-cookie__btn--gold { background: var(--hc-gold); color: #fff; }
.hc-cookie__btn--gold:hover { background: var(--hc-gold-bright); }

/* ---- Formulario (diagnóstico / contacto) ---- */
.hc-form { background: #fff; border: 1px solid #e7ecf4; border-radius: 18px; padding: 30px; display: grid; gap: 16px; }
.hc-form label { display: grid; gap: 6px; font-weight: 600; color: var(--hc-navy); font-size: .95rem; }
.hc-form input, .hc-form textarea { font-family: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #d8e0ec; border-radius: 10px; color: var(--hc-ink); font-weight: 400; }
.hc-form input:focus, .hc-form textarea:focus { outline: none; border-color: var(--hc-accent); box-shadow: 0 0 0 3px rgba(47,109,246,.12); }
.hc-form__grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 575px) { .hc-form__grid { grid-template-columns: 1fr; } }
.hc-form__hint { font-size: .85rem; color: var(--hc-muted); margin: 0; }
.hc-form__msg { margin: 8px 0 0; font-weight: 600; }
.hc-form__msg.is-ok { color: #1a8a53; }
.hc-form__msg.is-error { color: #c0392b; }
