/* ============================================================================
   ALBERTOIA.COM — ESTILOS WEB OFICIAL (ESTRUCTURA ALEXLEGAL.AI + DISEÑO ALBERTO AI)
   Colores oficiales Alberto AI: Verde #06500C, Dorado #E8B904, Grafito #1E221F / #313131 / #3B3B3B
   Sin fotos de personas: composiciones UI nativas, pantallas reales y tarjetas interactivas
   ============================================================================ */

/* Permitir scroll vertical fluido cuando está activa la web pública */
html.web-mode-active,
body.web-mode-active {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background-color: #191D1A;
  color: #F7F8F8;
}

body.web-mode-active.theme-day {
  background-color: #F4F7F4;
  color: #1F2421;
}

body.web-mode-active #albertoAppWrapper,
body.web-mode-active .desktop-toolbar {
  display: none !important;
}

body:not(.web-mode-active) #albertoWebRoot {
  display: none !important;
}

/* Barra superior en el Chat/App para volver a la web albertoia.com */
.web-return-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #06500C 0%, #096811 100%);
  color: #FFFFFF;
  border: 1px solid rgba(232, 185, 4, 0.55);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.2s ease;
  text-decoration: none;
}

.web-return-btn:hover {
  background: #E8B904;
  color: #1A1A1A;
  border-color: #E8B904;
  transform: translateY(-1px);
}

/* Botón integrado en la cabecera del chat en móvil y escritorio */
.header-web-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(6, 80, 12, 0.35);
  color: #F7F8F8;
  border: 1px solid rgba(232, 185, 4, 0.4);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-web-home-btn:hover {
  background: #E8B904;
  color: #1A1A1A;
  border-color: #E8B904;
}

/* ============================================================================
   CONTENEDOR Y ELEMENTOS BASE DE LA WEB (ESTILO ALEXLEGAL.AI + ALBERTO AI)
   ============================================================================ */
#albertoWebRoot {
  width: 100%;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #191D1A;
  color: #F7F8F8;
  position: relative;
}

body.theme-day #albertoWebRoot {
  background-color: #F5F7F5;
  color: #1F2421;
}

.aw-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 56px;
}

@media (max-width: 900px) {
  .aw-container {
    padding: 0 20px;
  }
}

/* En modo pantalla completa, dejar libre el botón amarillo '+' de la esquina superior derecha */
body.fullscreen-mode .desktop-toolbar {
  top: 12px !important;
  right: 64px !important;
}

@media (min-width: 601px) {
  .header-web-home-btn {
    display: none !important;
  }
}

/* Botones idénticos en proporción a alexlegal.ai pero con el dorado #E8B904 y verde #06500C de Alberto AI */
.aw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 280px;
  height: 54px;
  padding: 12px 30px;
  font-size: 18px;
  line-height: 24px;
  font-weight: 800;
  white-space: nowrap;
  color: #1A1A1A;
  background-color: #E8B904;
  border: 2px solid #E8B904;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 10px 26px rgba(232, 185, 4, 0.22);
}

.aw-btn:hover {
  background-color: #F5C71A;
  border-color: #F5C71A;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(232, 185, 4, 0.34);
}

.aw-btn.small {
  min-width: auto;
  height: 40px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  white-space: nowrap;
  box-shadow: none;
}

.aw-btn.outline {
  background-color: transparent;
  color: #F7F8F8;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

body.theme-day .aw-btn.outline {
  color: #1F2421;
  border-color: rgba(6, 80, 12, 0.4);
}

.aw-btn.outline:hover {
  border-color: #E8B904;
  color: #E8B904;
  background-color: rgba(232, 185, 4, 0.08);
}

.aw-btn.green {
  background-color: #06500C;
  border-color: #096811;
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(6, 80, 12, 0.35);
}

.aw-btn.green:hover {
  background-color: #096811;
  border-color: #E8B904;
}

@media (max-width: 568px) {
  .aw-btn {
    width: 100%;
    min-width: 0;
  }
}

/* ============================================================================
   CABECERA (HEADER) — ESTRUCTURA IDÉNTICA A ALEXLEGAL.AI
   ============================================================================ */
.aw-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  z-index: 1000;
  background: rgba(25, 29, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

body.theme-day .aw-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(6, 80, 12, 0.12);
}

.aw-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.aw-header .aw-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.aw-header-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.aw-header-logo .alberto-logo {
  font-size: 30px;
}

.aw-domain-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(6, 80, 12, 0.55);
  color: #E8B904;
  border: 1px solid rgba(232, 185, 4, 0.35);
  letter-spacing: 0.02em;
}

.aw-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 32px;
}

.aw-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.aw-dropdown {
  position: relative;
}

.aw-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #F7F8F8;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  padding: 14px 4px;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.theme-day .aw-dropdown-toggle {
  color: #1F2421;
}

.aw-dropdown-toggle svg {
  transition: transform 0.22s ease;
  stroke: #E8B904;
}

.aw-dropdown:hover .aw-dropdown-toggle,
.aw-dropdown.open .aw-dropdown-toggle {
  color: #E8B904;
}

@media (min-width: 961px) {
  .aw-dropdown:hover .aw-dropdown-toggle svg {
    transform: rotate(180deg);
  }
  .aw-dropdown:hover > .aw-dropdown-menu {
    display: flex;
  }
}

.aw-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 320px;
  background: #252A26;
  border: 1px solid rgba(232, 185, 4, 0.25);
  border-radius: 0 0 22px 22px;
  padding: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  flex-direction: column;
  gap: 4px;
  z-index: 1100;
}

body.theme-day .aw-dropdown-menu {
  background: #FFFFFF;
  border-color: rgba(6, 80, 12, 0.16);
  box-shadow: 0 18px 40px rgba(6, 80, 12, 0.14);
}

.aw-dropdown-menu li {
  list-style: none;
}

.aw-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  color: #EAEAEA;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.16s ease;
  cursor: pointer;
}

body.theme-day .aw-dropdown-menu a {
  color: #242A26;
}

.aw-dropdown-menu a::before {
  content: "›";
  color: #E8B904;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.aw-dropdown-menu a:hover {
  background: rgba(6, 80, 12, 0.45);
  color: #E8B904;
  transform: translateX(3px);
}

body.theme-day .aw-dropdown-menu a:hover {
  background: rgba(6, 80, 12, 0.08);
  color: #06500C;
}

.aw-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aw-theme-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #E8B904;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

body.theme-day .aw-theme-btn {
  border-color: rgba(6, 80, 12, 0.25);
  background: rgba(6, 80, 12, 0.06);
  color: #06500C;
}

.aw-theme-btn:hover {
  border-color: #E8B904;
  transform: scale(1.05);
}

.aw-hamburger {
  display: none;
  background: none;
  border: none;
  color: #F7F8F8;
  cursor: pointer;
  padding: 6px;
}

body.theme-day .aw-hamburger {
  color: #1F2421;
}

@media (max-width: 960px) {
  .aw-hamburger {
    display: inline-flex;
  }
  .aw-nav {
    position: fixed;
    top: 82px;
    left: -100vw;
    width: 100vw;
    height: calc(100dvh - 82px);
    background: #1E221F;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 24px 20px 40px;
    overflow-y: auto;
    transition: left 0.28s ease;
    gap: 24px;
  }
  body.theme-day .aw-nav {
    background: #FFFFFF;
  }
  .aw-nav.open {
    left: 0;
  }
  .aw-nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
  }
  .aw-dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .aw-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .aw-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding: 0 0 12px 10px;
    background: transparent;
    width: 100%;
  }
  .aw-dropdown.open > .aw-dropdown-menu {
    display: flex;
  }
  .aw-header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .aw-header-actions .aw-btn {
    width: 100%;
  }
}

/* ============================================================================
   SECCIÓN 1: HERO BANNER PRINCIPAL (IDÉNTICO EN ESTRUCTURA A ALEXLEGAL.AI)
   ============================================================================ */
.aw-hero {
  position: relative;
  padding: 138px 0 80px;
  background: radial-gradient(circle at 75% 20%, rgba(6, 80, 12, 0.48) 0%, rgba(25, 29, 26, 0.98) 65%),
              linear-gradient(180deg, #1E2820 0%, #191D1A 100%);
  overflow: hidden;
}

body.theme-day .aw-hero {
  background: radial-gradient(circle at 75% 20%, rgba(6, 80, 12, 0.14) 0%, #EAF1EB 65%),
              linear-gradient(180deg, #E8F0E9 0%, #F5F7F5 100%);
}

/* Marca de agua A gigante de fondo */
.aw-hero::before {
  content: "";
  position: absolute;
  right: -80px;
  top: 60px;
  width: 540px;
  height: 540px;
  background-image: url("../assets/a_icon.svg");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.035;
  pointer-events: none;
}

.aw-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.aw-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 80, 12, 0.55);
  border: 1px solid rgba(232, 185, 4, 0.45);
  color: #E8B904;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}

body.theme-day .aw-hero-badge {
  background: rgba(6, 80, 12, 0.1);
  color: #06500C;
  border-color: rgba(6, 80, 12, 0.3);
}

.aw-hero-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #61CF8E;
  box-shadow: 0 0 8px #61CF8E;
}

.aw-hero-left h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  color: #FFFFFF;
}

body.theme-day .aw-hero-left h1 {
  color: #141A16;
}

.aw-hero-left h1 .gold-highlight {
  color: #E8B904;
}

body.theme-day .aw-hero-left h1 .gold-highlight {
  color: #06500C;
  text-decoration: underline;
  text-decoration-color: #E8B904;
  text-underline-offset: 6px;
}

.aw-hero-left p {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  color: #D0D5D1;
  margin: 0 0 28px;
  max-width: 640px;
}

body.theme-day .aw-hero-left p {
  color: #3E4741;
}

.aw-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

/* Sugerencias rápidas estilo píldora debajo del botón principal */
.aw-hero-quick-Chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.aw-quick-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #E2E6E3;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s ease;
}

body.theme-day .aw-quick-chip {
  background: #FFFFFF;
  border-color: rgba(6, 80, 12, 0.2);
  color: #263029;
}

.aw-quick-chip:hover {
  border-color: #E8B904;
  background: rgba(232, 185, 4, 0.15);
  color: #FFFFFF;
  transform: translateY(-1px);
}

body.theme-day .aw-quick-chip:hover {
  color: #06500C;
}

/* Composición visual derecha del Hero (SIN FOTOS DE PERSONAS: Mockup real de Alberto AI + tarjetas flotantes) */
.aw-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aw-phone-showcase {
  position: relative;
  width: 310px;
  border-radius: 34px;
  overflow: hidden;
  border: 3px solid rgba(232, 185, 4, 0.45);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65), 0 0 40px rgba(6, 80, 12, 0.45);
  background: #232A24;
  transition: transform 0.3s ease;
}

.aw-phone-showcase:hover {
  transform: translateY(-5px);
}

.aw-phone-showcase img {
  width: 100%;
  height: auto;
  display: block;
}

.aw-floating-badge {
  position: absolute;
  background: rgba(34, 41, 36, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(232, 185, 4, 0.45);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  color: #F7F8F8;
  font-size: 13px;
  max-width: 225px;
  z-index: 2;
}

body.theme-day .aw-floating-badge {
  background: rgba(255, 255, 255, 0.96);
  color: #1F2421;
  box-shadow: 0 14px 32px rgba(6, 80, 12, 0.18);
}

.aw-floating-badge.top-left {
  top: 112px;
  left: -48px;
}

.aw-floating-badge.bottom-right {
  bottom: 58px;
  right: -42px;
}

.aw-floating-badge strong {
  display: block;
  color: #E8B904;
  font-size: 13.5px;
  margin-bottom: 3px;
}

body.theme-day .aw-floating-badge strong {
  color: #06500C;
}

/* Stats Grid idéntico a alexlegal.ai */
.aw-stats-grid {
  margin-top: 48px;
  background: #262D28;
  border: 1px solid rgba(232, 185, 4, 0.25);
  border-radius: 22px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}

body.theme-day .aw-stats-grid {
  background: #FFFFFF;
  border-color: rgba(6, 80, 12, 0.16);
  box-shadow: 0 14px 36px rgba(6, 80, 12, 0.1);
}

.aw-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 12px;
}

body.theme-day .aw-stat-item {
  border-right-color: rgba(6, 80, 12, 0.1);
}

.aw-stat-item:last-child {
  border-right: none;
}

.aw-stat-number {
  font-size: clamp(32px, 3.5vw, 46px);
  font-weight: 800;
  color: #E8B904;
  line-height: 1.1;
  margin-bottom: 6px;
}

body.theme-day .aw-stat-number {
  color: #06500C;
}

.aw-stat-title {
  font-size: 15px;
  font-weight: 500;
  color: #C9D0CB;
}

body.theme-day .aw-stat-title {
  color: #4A544D;
}

@media (max-width: 980px) {
  .aw-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .aw-hero-left p {
    margin-left: auto;
    margin-right: auto;
  }
  .aw-hero-ctas,
  .aw-hero-quick-Chips {
    justify-content: center;
  }
  .aw-floating-badge {
    display: none;
  }
  .aw-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px 18px;
  }
  .aw-stat-item {
    border-right: none;
    padding: 8px;
  }
}

/* ============================================================================
   SECCIÓN 2: "ALBERTO ES TU ORIENTADOR IA" (EQUIVALENTE A .single_section.ayudarte)
   ============================================================================ */
.aw-single-section {
  padding: 84px 0;
  background: linear-gradient(135deg, #043808 0%, #06500C 52%, #172B1A 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(232, 185, 4, 0.22);
  border-bottom: 1px solid rgba(232, 185, 4, 0.22);
}

.aw-single-heading {
  max-width: 920px;
  margin: 0 auto 20px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
  font-weight: 900;
  color: #FFFFFF;
}

.aw-single-sub {
  max-width: 720px;
  margin: 0 auto 44px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

/* 3 tarjetas visuales interactivas sin fotos de personas */
.aw-showcase-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.aw-showcase-card {
  background: rgba(25, 31, 26, 0.88);
  border: 1px solid rgba(232, 185, 4, 0.32);
  border-radius: 26px;
  padding: 26px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
  transition: transform 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.aw-showcase-card:hover {
  transform: translateY(-6px);
  border-color: #E8B904;
}

.aw-showcase-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.aw-showcase-tag {
  background: rgba(232, 185, 4, 0.18);
  color: #E8B904;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.aw-showcase-icon {
  font-size: 28px;
}

.aw-showcase-card h3 {
  font-size: 21px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px;
  line-height: 1.3;
}

.aw-showcase-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: #D0D6D2;
  margin: 0 0 20px;
}

.aw-showcase-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E8B904;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .aw-showcase-trio {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   SECCIONES DUALES Y TARJETAS DUALES (IDÉNTICAS A .dual_section y .dual_section_card)
   ============================================================================ */
.aw-section {
  padding: 78px 0;
}

.aw-section.alt-bg {
  background: #202622;
}

body.theme-day .aw-section.alt-bg {
  background: #EBF1EC;
}

.aw-dual-card-wrap {
  background: #262D28;
  border: 1px solid rgba(232, 185, 4, 0.22);
  border-radius: 40px;
  padding: 52px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

body.theme-day .aw-dual-card-wrap {
  background: #FFFFFF;
  border-color: rgba(6, 80, 12, 0.15);
  box-shadow: 0 16px 40px rgba(6, 80, 12, 0.08);
}

.aw-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 54px;
}

.aw-dual-info h2 {
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.18;
  font-weight: 900;
  margin: 0 0 22px;
  color: #FFFFFF;
}

body.theme-day .aw-dual-info h2 {
  color: #161C18;
}

.aw-dual-info p {
  font-size: 17.5px;
  line-height: 1.62;
  color: #CFD5D1;
  margin: 0 0 24px;
}

body.theme-day .aw-dual-info p {
  color: #3F4842;
}

.aw-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aw-bullet-list li {
  position: relative;
  padding-left: 36px;
  font-size: 17px;
  line-height: 1.5;
  color: #E5E9E6;
}

body.theme-day .aw-bullet-list li {
  color: #2A322D;
}

.aw-bullet-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #06500C;
  border: 1.5px solid #E8B904;
  color: #E8B904;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Visuales de sección sin fotos de personas */
.aw-visual-box {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.aw-visual-screen {
  width: 100%;
  max-width: 340px;
  border-radius: 28px;
  border: 2px solid rgba(232, 185, 4, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  background: #1E221F;
}

.aw-visual-screen img {
  width: 100%;
  height: auto;
  display: block;
}

/* Grid de 6 fuentes oficiales de España (sin fotos de personas) */
.aw-sources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
}

.aw-source-card {
  background: #262D28;
  border: 1px solid rgba(232, 185, 4, 0.28);
  border-radius: 20px;
  padding: 20px;
  transition: all 0.2s ease;
}

body.theme-day .aw-source-card {
  background: #FFFFFF;
  border-color: rgba(6, 80, 12, 0.18);
  box-shadow: 0 8px 24px rgba(6, 80, 12, 0.06);
}

.aw-source-card:hover {
  border-color: #E8B904;
  transform: translateY(-3px);
}

.aw-source-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.aw-source-badge {
  background: #06500C;
  color: #E8B904;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
}

.aw-source-card h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

body.theme-day .aw-source-card h4 {
  color: #161C18;
}

.aw-source-card p {
  font-size: 13px;
  line-height: 1.45;
  color: #BFC7C1;
  margin: 0;
}

body.theme-day .aw-source-card p {
  color: #4A544D;
}

@media (max-width: 960px) {
  .aw-dual-card-wrap,
  .aw-dual-grid {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: center;
  }
  .aw-bullet-list {
    text-align: left;
  }
  .aw-sources-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* ============================================================================
   SECCIÓN DESCARGA LA APP + QR (IDÉNTICA A #download-app DE ALEXLEGAL.AI)
   ============================================================================ */
.aw-download-section {
  padding: 76px 0;
  background: linear-gradient(125deg, #06500C 0%, #043808 55%, #162418 100%);
  border-top: 1px solid rgba(232, 185, 4, 0.3);
  border-bottom: 1px solid rgba(232, 185, 4, 0.3);
}

.aw-download-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 48px;
}

.aw-download-phones {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.aw-download-phones img {
  width: 48%;
  max-width: 220px;
  border-radius: 24px;
  border: 2px solid rgba(232, 185, 4, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
}

.aw-download-info h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  line-height: 1.2;
  color: #FFFFFF;
  margin: 0 0 16px;
}

.aw-download-info p {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px;
}

.aw-store-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.aw-playstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111111;
  color: #FFFFFF;
  border: 1.5px solid rgba(232, 185, 4, 0.6);
  padding: 10px 22px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.aw-playstore-badge:hover {
  border-color: #E8B904;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.aw-playstore-badge span.small-txt {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #CCCCCC;
}

.aw-playstore-badge span.big-txt {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #FFFFFF;
}

.aw-qr-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.aw-qr-box {
  background: #FFFFFF;
  padding: 10px;
  border-radius: 12px;
  width: 116px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aw-qr-box img,
.aw-qr-box canvas {
  width: 96px !important;
  height: 96px !important;
}

.aw-qr-text {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.aw-qr-text strong {
  display: block;
  color: #E8B904;
  font-size: 15px;
  margin-bottom: 4px;
}

@media (max-width: 960px) {
  .aw-download-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .aw-store-buttons,
  .aw-qr-row {
    justify-content: center;
  }
  .aw-qr-text {
    text-align: left;
  }
}

/* ============================================================================
   SECCIÓN DE HERRAMIENTAS INTERACTIVAS EN PORTADA Y PÁGINA /HERRAMIENTAS
   ============================================================================ */
.aw-tools-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.aw-tool-web-card {
  background: #262D28;
  border: 1px solid rgba(232, 185, 4, 0.22);
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.22s ease;
}

body.theme-day .aw-tool-web-card {
  background: #FFFFFF;
  border-color: rgba(6, 80, 12, 0.15);
  box-shadow: 0 10px 28px rgba(6, 80, 12, 0.07);
}

.aw-tool-web-card:hover {
  border-color: #E8B904;
  transform: translateY(-4px);
}

.aw-tool-web-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(6, 80, 12, 0.55);
  border: 1px solid rgba(232, 185, 4, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 14px;
}

.aw-tool-web-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px;
}

body.theme-day .aw-tool-web-card h3 {
  color: #161C18;
}

.aw-tool-web-card p {
  font-size: 14.5px;
  line-height: 1.5;
  color: #C4CCC6;
  margin: 0 0 20px;
}

body.theme-day .aw-tool-web-card p {
  color: #4A544D;
}

@media (max-width: 960px) {
  .aw-tools-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   SECCIÓN FAQ (PREGUNTAS FRECUENTES — ACORDEÓN IDÉNTICO A ALEXLEGAL.AI)
   ============================================================================ */
.aw-faq-section {
  padding: 80px 0;
}

.aw-faq-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 42px;
}

.aw-faq-heading h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 14px;
  color: #FFFFFF;
}

body.theme-day .aw-faq-heading h2 {
  color: #161C18;
}

.aw-faq-heading p {
  font-size: 16px;
  line-height: 1.55;
  color: #B8C1BA;
  margin: 0;
}

body.theme-day .aw-faq-heading p {
  color: #4A544D;
}

.aw-faq-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
}

.aw-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0;
}

body.theme-day .aw-faq-item {
  border-bottom-color: rgba(6, 80, 12, 0.15);
}

.aw-faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 17px;
  font-weight: 700;
  color: #F7F8F8;
  cursor: pointer;
  padding: 6px 0;
}

body.theme-day .aw-faq-question {
  color: #1A211C;
}

.aw-faq-question:hover {
  color: #E8B904;
}

.aw-faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(232, 185, 4, 0.15);
  color: #E8B904;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}

.aw-faq-item.active .aw-faq-icon {
  transform: rotate(45deg);
  background: #E8B904;
  color: #1A1A1A;
}

.aw-faq-answer {
  display: none;
  padding: 12px 36px 8px 0;
  font-size: 15.5px;
  line-height: 1.62;
  color: #C7CFC9;
}

body.theme-day .aw-faq-answer {
  color: #3F4842;
}

.aw-faq-item.active .aw-faq-answer {
  display: block;
}

/* ============================================================================
   VISTAS DE COMUNIDAD (ESTRUCTURA IDÉNTICA A /trabajo DE ALEXLEGAL.AI)
   ============================================================================ */
.aw-comunidad-banner {
  margin-top: 82px;
  padding: 72px 0 60px;
  background: linear-gradient(135deg, #06500C 0%, #043808 60%, #191D1A 100%);
  border-bottom: 1px solid rgba(232, 185, 4, 0.3);
}

.aw-comunidad-banner h1 {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 14px;
  line-height: 1.1;
}

.aw-comunidad-banner p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 720px;
  margin: 0 0 26px;
  line-height: 1.5;
}

.aw-breadcrumbs {
  padding: 24px 0 0;
  font-size: 13px;
}

.aw-breadcrumbs .aw-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aw-crumb-home {
  background: rgba(255, 255, 255, 0.08);
  color: #C7CFC9;
  padding: 5px 12px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
}

.aw-crumb-tag {
  background: rgba(232, 185, 4, 0.18);
  color: #E8B904;
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 700;
}

/* Consultas TOP (3 columnas como en alexlegal.ai/trabajo) */
.aw-consultas-top {
  padding: 48px 0 64px;
}

.aw-section-title {
  text-align: center;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 900;
  margin: 0 0 38px;
  color: #FFFFFF;
}

body.theme-day .aw-section-title {
  color: #161C18;
}

.aw-top-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.aw-top-category {
  background: #242A26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 28px 24px;
}

body.theme-day .aw-top-category {
  background: #FFFFFF;
  border-color: rgba(6, 80, 12, 0.14);
}

.aw-top-category h3 {
  font-size: 21px;
  font-weight: 800;
  color: #E8B904;
  margin: 0 0 20px;
  text-align: center;
}

body.theme-day .aw-top-category h3 {
  color: #06500C;
}

.aw-top-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aw-top-category li a {
  display: block;
  position: relative;
  padding-left: 30px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #D7DDD9;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease;
}

body.theme-day .aw-top-category li a {
  color: #2E3731;
}

.aw-top-category li a::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #06500C;
  color: #E8B904;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aw-top-category li a:hover {
  color: #E8B904;
}

/* Contenido destacado (2 tarjetas + 1 tarjeta featured con badge "Más popular" igual que alexlegal.ai) */
.aw-destacado {
  padding: 56px 0;
  background: #202622;
}

body.theme-day .aw-destacado {
  background: #EBF1EC;
}

.aw-destacado-cards {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.aw-dest-card {
  width: calc(50% - 11px);
  background: #282F2A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.theme-day .aw-dest-card {
  background: #FFFFFF;
  border-color: rgba(6, 80, 12, 0.15);
}

.aw-dest-card.featured {
  width: 100%;
  background: linear-gradient(125deg, #06500C 0%, #043808 65%, #1A2C1D 100%);
  border-color: rgba(232, 185, 4, 0.5);
  position: relative;
  padding-top: 56px;
}

.aw-dest-badge {
  position: absolute;
  top: 20px;
  left: 26px;
  background: rgba(232, 185, 4, 0.22);
  color: #E8B904;
  border: 1px solid rgba(232, 185, 4, 0.5);
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.aw-dest-card h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
  color: #FFFFFF;
  margin: 0 0 12px;
}

body.theme-day .aw-dest-card:not(.featured) h3 {
  color: #161C18;
}

.aw-dest-card p {
  font-size: 15px;
  line-height: 1.55;
  color: #C9D1CB;
  margin: 0 0 20px;
}

body.theme-day .aw-dest-card:not(.featured) p {
  color: #4A544D;
}

.aw-dest-card.featured p {
  color: rgba(255, 255, 255, 0.9);
}

/* Explora más contenido */
.aw-explora-mas {
  padding: 56px 0 80px;
}

.aw-explora-inner {
  max-width: 980px;
  margin: 0 auto;
}

.aw-explora-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 3px solid #E8B904;
  width: fit-content;
}

.aw-explora-header h2 {
  font-size: 30px;
  font-weight: 900;
  margin: 0;
}

.aw-explora-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.aw-explora-list li {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme-day .aw-explora-list li {
  border-bottom-color: rgba(6, 80, 12, 0.14);
}

.aw-explora-list h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #FFFFFF;
}

body.theme-day .aw-explora-list h3 {
  color: #161C18;
}

.aw-explora-list p {
  font-size: 15.5px;
  line-height: 1.55;
  color: #BFC7C1;
  margin: 0 0 12px;
}

body.theme-day .aw-explora-list p {
  color: #4A544D;
}

.aw-explora-link {
  color: #E8B904;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}

body.theme-day .aw-explora-link {
  color: #06500C;
}

@media (max-width: 900px) {
  .aw-top-categories {
    grid-template-columns: 1fr;
  }
  .aw-dest-card {
    width: 100%;
  }
}

/* ============================================================================
   VISTA LOGIN / REGISTRO (ESTRUCTURA IDÉNTICA A /login Y /register DE ALEX AI)
   ============================================================================ */
.aw-auth-section {
  min-height: calc(100vh - 82px);
  margin-top: 82px;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 0%, rgba(6, 80, 12, 0.45) 0%, #191D1A 70%);
}

body.theme-day .aw-auth-section {
  background: radial-gradient(circle at 50% 0%, rgba(6, 80, 12, 0.12) 0%, #F5F7F5 70%);
}

.aw-auth-card {
  width: 100%;
  max-width: 440px;
  background: #262D28;
  border: 1px solid rgba(232, 185, 4, 0.32);
  border-radius: 28px;
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

body.theme-day .aw-auth-card {
  background: #FFFFFF;
  border-color: rgba(6, 80, 12, 0.2);
}

.aw-auth-card h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 18px 0 8px;
  color: #FFFFFF;
}

body.theme-day .aw-auth-card h2 {
  color: #161C18;
}

.aw-auth-card p.sub {
  font-size: 14.5px;
  color: #C2CAC4;
  margin: 0 0 26px;
  line-height: 1.45;
}

body.theme-day .aw-auth-card p.sub {
  color: #4A544D;
}

.aw-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #9CA59E;
  font-size: 13px;
}

.aw-divider::before,
.aw-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.14);
}

/* ============================================================================
   FOOTER COMPLETO (IDÉNTICO A .landing_footer DE ALEXLEGAL.AI)
   ============================================================================ */
.aw-footer {
  background: #131714;
  color: #EAEAEA;
  padding: 64px 0 42px;
  border-top: 1px solid rgba(232, 185, 4, 0.2);
  font-size: 14px;
}

.aw-footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.aw-footer-info {
  margin: 16px 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: #B7C0B9;
  max-width: 360px;
}

.aw-footer-col h4 {
  font-size: 16px;
  font-weight: 800;
  color: #E8B904;
  margin: 0 0 16px;
}

.aw-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aw-footer-col a {
  color: #C2CAC4;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.18s ease;
}

.aw-footer-col a:hover {
  color: #E8B904;
}

.aw-footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #9BA49D;
}

.aw-footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.aw-footer-legal-links a {
  color: #C2CAC4;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.aw-footer-legal-links a:hover {
  color: #E8B904;
}

@media (max-width: 900px) {
  .aw-footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 568px) {
  .aw-footer-top {
    grid-template-columns: 1fr;
  }
  .aw-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .aw-footer-legal-links {
    justify-content: center;
  }
}

/* Botón flotante para subir arriba (idéntico a #anchor de alexlegal.ai) */
.aw-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #06500C;
  border: 1.5px solid #E8B904;
  color: #E8B904;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 950;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.25s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.aw-scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.aw-scroll-top:hover {
  background: #E8B904;
  color: #1A1A1A;
}

/* Modal de lectura de guía / herramienta en la web */
.aw-web-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}

.aw-web-modal-backdrop.open {
  display: flex;
}

.aw-web-modal-card {
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  background: #262D28;
  border: 1px solid rgba(232, 185, 4, 0.4);
  border-radius: 26px;
  padding: 32px;
  color: #F7F8F8;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

body.theme-day .aw-web-modal-card {
  background: #FFFFFF;
  color: #1A211C;
}

.aw-web-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.aw-web-modal-header h3 {
  font-size: 23px;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
}

.aw-web-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: inherit;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.aw-web-modal-body {
  font-size: 16px;
  line-height: 1.65;
}

.aw-web-modal-body ul {
  padding-left: 20px;
  margin: 14px 0;
}

.aw-web-modal-body li {
  margin-bottom: 10px;
}

.aw-web-modal-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
