/* AeroLex: original glass interface, refined proportions and readable controls. */
:root { --alx-ink:#202b38; --alx-steel:#556b80; --alx-line:rgba(107,126,148,.2); }
html { scroll-padding-top:110px; }
body { color:var(--alx-ink); }
:where(a,button,input,select,summary):focus-visible { outline:3px solid #426b95; outline-offset:4px; }
.skip-content { position:fixed; top:8px; left:12px; z-index:100; transform:translateY(-180%); background:white; padding:14px 22px; border:2px solid #426b95; border-radius:12px; }
.skip-content:focus { transform:none; }
body > header { padding-top:16px; }
body > header > div { background:rgba(255,255,255,.92); border:1px solid rgba(255,255,255,.94); border-radius:20px; padding:6px 22px; box-shadow:0 6px 24px rgba(33,49,67,.07),inset 0 1px 0 #fff; backdrop-filter:blur(24px); }
body > header nav { box-shadow:none !important; background:transparent !important; border:0 !important; padding-inline:8px !important; }
body > header nav :is(a,button) { min-height:44px; font-size:14px; padding-inline:12px; }
body > header nav { padding-block:0 !important; margin-right:0; }
body > header .dock-brand { display:flex; align-items:center; flex:0 0 auto; transform:none; }
body > header .dock-logo { display:block; width:184px; height:auto; max-width:none; aspect-ratio:1109 / 381; object-fit:contain; filter:none; transform:none; }
#inicio { padding-top:170px; padding-bottom:44px; background:radial-gradient(ellipse at 50% 35%,rgba(209,222,235,.35),transparent 65%); }
#inicio > div:first-child { background:linear-gradient(120deg,#fff,#edf2f7); color:#465e77; border-color:#d3dee8; padding:9px 17px; font-size:11px; letter-spacing:.13em; }
#inicio h1 { font-size:clamp(2rem,4.1vw,3.8rem); line-height:1.13; max-width:1100px; letter-spacing:-.045em; }
#inicio h1 span { display:inline-block; margin-top:10px; font-size:.76em; background-image:linear-gradient(115deg,#526c86,#8a9bad); }
#inicio > p:first-of-type { max-width:790px; font-size:17px; line-height:1.75; color:#536171; }
#inicio > .hero-contact { margin-top:28px; gap:12px; }
.hero-contact a { min-height:54px; padding:15px 24px; font-size:15px; border-radius:16px; font-weight:700; transition:transform .18s,box-shadow .18s; }
.hero-contact a:first-child { background:#25D366; color:#12351f; box-shadow:0 8px 20px rgba(37,211,102,.23),inset 0 1px 0 rgba(255,255,255,.3); }
.hero-contact a:first-child:hover { background:#20c55d; box-shadow:0 10px 24px rgba(37,211,102,.28); }
.hero-contact a:last-child { background:rgba(255,255,255,.94); color:#26374b; border:1px solid #c8d4df; box-shadow:0 4px 12px rgba(26,43,64,.04); }
.hero-contact a:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(26,43,64,.18); }
#inicio > p:not(:first-of-type) { font-size:14px; color:#586778; }
#inicio nav { gap:8px 22px; }
#inicio nav a { font-size:14px; text-decoration-color:#acbdcd; min-height:36px; display:flex; align-items:center; }
.hero-shortcuts { margin-top:23px !important; padding-top:22px; border-top:1px solid var(--alx-line); }
.hero-shortcuts > a { min-height:46px; font-size:14px; background:rgba(255,255,255,.72); border-color:#d5dfe8; box-shadow:0 3px 10px rgba(26,43,64,.035); }
.urgent-access { background:linear-gradient(115deg,#172333,#2c4054) !important; border:1px solid #506176; box-shadow:0 18px 40px rgba(23,35,51,.14); border-radius:24px; }
.urgent-option { min-height:90px; background:rgba(255,255,255,.07); border-color:rgba(255,255,255,.2); padding:18px; }
.urgent-option:hover { background:rgba(255,255,255,.14); border-color:rgba(255,255,255,.42); }
.urgent-option strong { font-size:15px; line-height:1.45; }
.urgent-option span span { font-size:13px; line-height:1.55; color:#d2deea; }
#herramientas > .glass-effect { background:rgba(255,255,255,.88); border:1px solid #dbe3ec; box-shadow:0 14px 45px rgba(37,52,72,.08); }
#herramientas .tool-tab, :is(#soy-cliente, #modal-calculadora, #modal-mi-causa) .alc-tab { min-height:46px; font-size:14px; padding:11px 18px; border-radius:13px; white-space:normal; }
#herramientas .tool-tab.active, :is(#soy-cliente, #modal-calculadora, #modal-mi-causa) .alc-tab.active { background:linear-gradient(130deg,#30445a,#1d2a3a); border-color:#30445a; color:white; box-shadow:0 5px 12px rgba(26,43,64,.16); }
#herramientas .event-card { border:1px solid #d9e2ec; background:linear-gradient(135deg,#fff,#f6f8fb); padding:18px; border-radius:16px; box-shadow:0 3px 10px rgba(26,43,64,.025); }
#herramientas .event-card:hover { border-color:#7892ab; background:#eef3f8; }
#herramientas .event-card strong { font-size:15px; line-height:1.4; }
#herramientas .event-card > span:last-child { font-size:14px; line-height:1.5; color:#586778; }

/* Plazos & Situaciones Stepper y Botones Dinámicos */
.deadline-stepper-wrap { background:rgba(255,255,255,.8); border:1px solid #d9e2ec; border-radius:18px; padding:8px 12px; }
.deadline-step-btn { display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius:12px; font-size:12.5px; font-weight:800; color:#586778; background:transparent; border:1px solid transparent; cursor:pointer; transition:all .2s; }
.deadline-step-btn:hover { background:#f1f5f9; color:#1d2a3a; }
.deadline-step-btn .step-num { width:22px; height:22px; border-radius:50%; background:#e2e8f0; color:#475569; display:inline-flex; align-items:center; justify-content:center; font-size:11px; font-weight:900; }
.deadline-step-btn.active { background:linear-gradient(130deg,#30445a,#1d2a3a); color:#fff; box-shadow:0 4px 12px rgba(26,43,64,.15); }
.deadline-step-btn.active .step-num { background:#38bdf8; color:#0f172a; }
.deadline-step-btn.completed { color:#047857; }
.deadline-step-btn.completed .step-num { background:#d1fae5; color:#047857; }
.event-filter-pill { border:1px solid #d9e2ec; background:#fff; color:#586778; border-radius:999px; padding:6px 14px; font-size:12px; font-weight:700; cursor:pointer; transition:all .18s; }
.event-filter-pill:hover { border-color:#94a3b8; color:#1d2a3a; background:#f8fafc; }
.event-filter-pill.active { background:linear-gradient(130deg,#30445a,#1d2a3a); color:#fff; border-color:#30445a; box-shadow:0 3px 8px rgba(26,43,64,.14); }
.deadline-tag { display:inline-flex; align-items:center; gap:5px; padding:3px 9px; border-radius:999px; font-size:11px; font-weight:800; background:#eff6ff; color:#1e40af; border:1px solid #bfdbfe; }
.deadline-tag.urgent { background:#fef2f2; color:#991b1b; border-color:#fecaca; }
.deadline-tag.warn { background:#fffbeb; color:#92400e; border-color:#fde68a; }
.deadline-tag.ok { background:#f0fdf4; color:#166534; border-color:#bbf7d0; }
#herramientas :is(.tool-input,.tool-label), :is(#soy-cliente, #modal-calculadora, #modal-mi-causa) :is(.alc-field,label > span) { font-size:16px !important; }
#herramientas .tool-input, :is(#soy-cliente, #modal-calculadora, #modal-mi-causa) .alc-field { min-height:48px; border-color:#bccbda; background:#fff; }
#soy-cliente .alc-wrap { border:1px solid #dbe3ec; box-shadow:0 12px 36px rgba(37,52,72,.07); }
:is(#soy-cliente, #modal-calculadora, #modal-mi-causa) .alc-cta { min-height:50px; font-size:15px; background:linear-gradient(130deg,#30445a,#1d2a3a); box-shadow:0 6px 14px rgba(26,43,64,.13); }
:is(#soy-cliente, #modal-calculadora, #modal-mi-causa) label > span { color:#46586a; }
#herramientas .tool-tab:focus-visible, :is(#soy-cliente, #modal-calculadora, #modal-mi-causa) .alc-tab:focus-visible { outline-offset:2px; }
.tool-navigation { display:flex; flex-wrap:wrap; gap:10px; overflow:visible !important; }
.tool-navigation button { flex:1 1 180px; justify-content:center; }
#mi-causa { scroll-margin-top:120px; }
.menu-toggle { min-width:62px; min-height:46px; border-radius:14px; padding-inline:10px; font-size:14px; font-weight:700; }
@media (max-width:1279px) { body > header { padding:10px 12px 0; } body > header > div { padding:6px 14px; } }
@media (max-width:767px) {
  body > header .dock-logo { width:164px; }
  body > header > div { border-radius:18px; gap:8px; padding:5px 14px; }
  body > header > div > div { gap:8px; }
  #inicio { padding-top:135px; padding-bottom:32px; }
  #inicio h1 { font-size:34px; letter-spacing:-.035em; }
  #inicio h1 span { font-size:.74em; line-height:1.3; }
  #inicio > p:first-of-type { font-size:16px; line-height:1.7; }
  .hero-contact { width:100%; max-width:420px; }
  .hero-contact a { width:100%; justify-content:center; font-size:15px; }
  .hero-shortcuts { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
  .hero-shortcuts > a { border-radius:15px; padding:12px 10px; font-size:13px; line-height:1.4; gap:7px; }
  .hero-shortcuts > a > div { flex-shrink:0; }
  .tool-navigation button { flex-basis:100%; }
  .urgent-option { min-height:85px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; } }
@media (max-width:390px) { body > header .dock-logo { width:156px; } .menu-toggle { min-width:56px; } }
