/* ==========================================================================
   ESTUDIO JURÍDICO HÉCTOR A. SARABIA Y ASOC. ABOGADOS
   Estilos Principales - Paleta Morado Oscuro Sobrio & Dorado Noble
   Reglas de diseño: Cero degradados, cortes rectos y elegantes (sin clichés IA)
   ========================================================================== */

:root {
  /* Paleta cromática sólida (sin degradados) */
  --bg-darkest: #120719;
  --bg-base: #180a22;
  --bg-surface: #200f2d;
  --bg-surface-elevated: #281438;
  --bg-card: #1d0e28;
  --bg-card-hover: #261234;

  /* Dorados nobles y sobrios */
  --gold-primary: #c5a059;
  --gold-light: #dfb86c;
  --gold-dark: #8e6c2d;
  --gold-muted: rgba(197, 160, 89, 0.25);
  --gold-subtle: rgba(197, 160, 89, 0.12);

  /* Textos y contrastes */
  --text-pure: #ffffff;
  --text-main: #f5f2eb;
  --text-muted: #ffffff;
  --text-subtle: #7d7285;

  /* Bordes sobrios y ortogonales (máximo 2px a 3px de radio) */
  --border-subtle: #341a46;
  --border-gold: #c5a059;
  --border-gold-subtle: rgba(197, 160, 89, 0.35);
  --radius-sm: 2px;
  --radius-md: 3px;

  /* Tipografías */
  --font-serif: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transiciones precisas */
  --transition: all 0.25s ease-in-out;
}

/* Reset y base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: 0.03em;
}

p {
  color: var(--text-muted);
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-primary);
}

/* Clases utilitarias de acento dorado */
.text-gold {
  color: var(--gold-light) !important;
}

.text-gold-primary {
  color: var(--gold-primary) !important;
}

.bg-morado-base {
  background-color: var(--bg-base) !important;
}

.bg-morado-dark {
  background-color: var(--bg-darkest) !important;
}

.bg-morado-surface {
  background-color: var(--bg-surface) !important;
}

.border-gold {
  border: 1px solid var(--gold-primary) !important;
}

.border-gold-subtle {
  border: 1px solid var(--border-gold-subtle) !important;
}

/* Divisores de línea sobrios */
.divider-gold {
  width: 60px;
  height: 2px;
  background-color: var(--gold-primary);
  margin: 1.2rem auto;
}

.divider-gold-left {
  width: 50px;
  height: 2px;
  background-color: var(--gold-primary);
  margin: 1rem 0;
}

/* ==========================================================================
   SECCIONES CON FONDO BLANCO / CLARO (CONTRASTE EDITORIAL)
   ========================================================================== */
.bg-light-section {
  background-color: #ffffff !important;
  color: #241731 !important;
}

.section-light .section-title {
  color: #1a0826 !important;
}

.section-light .section-eyebrow {
  color: #9c7329 !important;
  border-bottom-color: rgba(156, 115, 41, 0.35);
}

.section-light .text-muted {
  color: #554860 !important;
}

.section-light .divider-gold {
  background-color: #9c7329;
}

.section-light .divider-gold-left {
  background-color: #9c7329;
}

.section-light .about-feature-box {
  background-color: #ffffff;
  border: 1px solid #dfd8e8;
  border-left: 3px solid #9c7329;
  box-shadow: 0 4px 16px rgba(26, 8, 38, 0.04);
}

.section-light .about-feature-box:hover {
  border-color: #9c7329;
  background-color: #faf8fd;
  transform: translateY(-2px);
}

.section-light .about-feature-num {
  color: #9c7329;
}

.section-light .about-feature-title {
  color: #1a0826;
}

.section-light .jurisdiction-card {
  background-color: #ffffff;
  border: 1px solid #dfd8e8;
  border-top: 3px solid #9c7329;
  box-shadow: 0 4px 16px rgba(26, 8, 38, 0.04);
  transition: var(--transition);
}

.section-light .jurisdiction-card:hover {
  border-color: #9c7329;
  border-top-color: #9c7329;
  background-color: #faf8fd;
  transform: translateY(-2px);
}

.section-light .jurisdiction-title {
  color: #1a0826;
}

.section-light .jurisdiction-text {
  color: #554860;
}

/* ==========================================================================
   BARRA DE NAVEGACIÓN (NAVBAR)
   ========================================================================== */
.navbar-custom {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.9rem 0;
  transition: var(--transition);
}

.navbar-custom.scrolled {
  background-color: var(--bg-darkest);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.brand-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold-primary);
  background-color: var(--bg-darkest);
  color: var(--gold-light);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-right: 0.85rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-right: 0.85rem;
  flex-shrink: 0;
  transition: var(--transition);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

.navbar-brand:hover .brand-logo {
  transform: scale(1.05);
}

.footer-brand-logo {
  width: 50px;
  height: 50px;
}

.brand-text-main {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.brand-text-sub {
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-link {
  color: var(--text-main) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background-color: var(--gold-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active::after {
  box-shadow: 0 0 10px rgba(197, 160, 89, 0.45);
}

.navbar-toggler {
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
  filter: invert(70%) sepia(50%) saturate(500%) hue-rotate(5deg);
}

/* Botones Sobrios */
.btn-gold {
  background-color: var(--gold-primary);
  color: var(--bg-darkest) !important;
  border: 1px solid var(--gold-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-gold:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  color: #000000 !important;
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold-light) !important;
  border: 1px solid var(--gold-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-outline-gold:hover {
  background-color: var(--gold-primary);
  color: var(--bg-darkest) !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
/* ==========================================================================
   HERO SECTION - MODELO SOLEMNE MONUMENTAL CON IMAGEN DE FONDO
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.78) 0%, rgba(8, 8, 8, 0.88) 50%, rgba(0, 0, 0, 0.96) 100%), url('../img/hero.webp') center center / cover no-repeat;
  border-bottom: 2px solid var(--gold-primary);
  padding: 5.5rem 0 4.8rem 0;
  text-align: center;
}

.hero-logo-wrapper {
  margin-bottom: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-minimal-logo {
  width: 118px;
  height: 118px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 22px rgba(197, 160, 89, 0.2));
  transition: transform 0.3s ease;
}

.hero-minimal-logo:hover {
  transform: scale(1.05);
}

.hero-seal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.8rem;
}

.hero-seal-icon {
  width: 64px;
  height: 64px;
  border: 2px solid var(--gold-primary);
  background-color: rgba(18, 7, 25, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  padding: 6px;
}

.hero-seal:hover .hero-seal-icon {
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.28);
}

.hero-seal-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.hero-seal-eyebrow {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 3.15rem;
  line-height: 1.18;
  color: var(--text-pure);
  margin-bottom: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-title-minimal {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  line-height: 1.22;
  color: var(--text-pure);
  margin-bottom: 2.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-title-sub {
  display: block;
  font-size: 1.45rem;
  letter-spacing: 0.26em;
  color: var(--gold-light);
  font-weight: 600;
  margin-top: 0.4rem;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 2.4rem auto;
  line-height: 1.75;
}

.hero-jurisdiction-ribbon {
  background-color: rgba(12, 12, 12, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--gold-primary);
  padding: 1rem 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: 2.2rem;
  margin-bottom: 2.6rem;
  flex-wrap: wrap;
  justify-content: center;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.hero-ribbon-item {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.hero-ribbon-item span {
  color: var(--gold-primary);
  margin-right: 0.5rem;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 3.8rem 0 3.2rem 0;
  }

  .hero-minimal-logo {
    width: 88px;
    height: 88px;
  }

  .hero-title-minimal {
    font-size: 1.85rem;
    letter-spacing: 0.03em;
    margin-bottom: 1.4rem;
  }

  .hero-title-sub {
    font-size: 1.05rem;
    letter-spacing: 0.2em;
    margin-top: 0.25rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-jurisdiction-ribbon {
    gap: 0.9rem;
    padding: 0.85rem 1.2rem;
  }

  .hero-ribbon-item {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   SECCIÓN DE PRINCIPIOS INSTITUCIONALES (SERIEDAD, HONESTIDAD, ABSOLUTA RESERVA)
   ========================================================================== */
.principles-section {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 2px solid var(--gold-primary);
  padding: 4rem 0 4.5rem;
  position: relative;
  z-index: 2;
}

.principles-header {
  margin-bottom: 2.8rem;
}

.principles-main-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-pure);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.principles-gold-line {
  width: 50px;
  height: 3px;
  background-color: var(--gold-primary);
  margin: 0 auto;
}

.principle-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-top: 2px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.principle-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55), 0 0 20px rgba(197, 160, 89, 0.25);
}

.principle-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--bg-darkest);
}

.principle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
  filter: brightness(0.88) contrast(1.06);
}

.principle-card:hover .principle-img {
  transform: scale(1.08);
  filter: brightness(1.02) contrast(1.08);
}

.principle-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(18, 7, 25, 0.05) 0%, rgba(24, 10, 34, 0.8) 100%);
  pointer-events: none;
  transition: var(--transition);
}

.principle-card:hover .principle-img-overlay {
  background: linear-gradient(180deg, rgba(18, 7, 25, 0) 0%, rgba(24, 10, 34, 0.55) 100%);
}

.principle-content {
  padding: 1.35rem 1.2rem;
  text-align: center;
  position: relative;
  background: var(--bg-card);
  border-top: 1px solid rgba(197, 160, 89, 0.3);
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.principle-card:hover .principle-content {
  background: var(--bg-card-hover);
  border-top-color: var(--gold-primary);
}

.principle-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  margin-bottom: 0;
  text-transform: uppercase;
  transition: var(--transition);
}

.principle-card:hover .principle-title {
  color: var(--text-pure);
  text-shadow: 0 0 12px rgba(229, 210, 160, 0.45);
}

@media (max-width: 768px) {
  .principles-section {
    padding: 2.8rem 0 3.2rem;
  }

  .principles-header {
    margin-bottom: 2rem;
  }

  .principles-main-title {
    font-size: 1.75rem;
    letter-spacing: 0.1em;
  }

  .principle-img-wrapper {
    height: 165px;
  }

  .principle-content {
    padding: 1.1rem 1rem;
  }

  .principle-title {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
  }
}

/* ==========================================================================
   SECCIÓN: SOBRE EL ESTUDIO / PRINCIPIOS
   ========================================================================== */
.section-padding {
  padding: 5rem 0;
}

.section-eyebrow {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.3rem;
  color: var(--text-pure);
  margin-bottom: 1rem;
}


/* ==========================================================================
   SECCIÓN: ÁREAS DE PRÁCTICA
   ========================================================================== */
.practice-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--gold-primary);
  padding: 2.2rem 1.8rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  text-align: center;
}

.practice-card:hover {
  border-color: var(--gold-primary);
  border-top-color: var(--gold-light);
  background-color: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(23, 8, 34, 0.25);
}

.practice-icon-wrapper {
  width: auto;
  height: auto;
  background-color: transparent !important;
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin: 0 auto 1.2rem auto;
  transition: var(--transition);
}

.practice-icon-wrapper svg {
  display: block;
  margin: 0 auto;
}

.practice-card:hover .practice-icon-wrapper {
  background-color: transparent !important;
  border: none !important;
  transform: translateY(-2px) scale(1.08);
}

.practice-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.9rem;
  margin-bottom: 1.2rem;
}

.practice-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold-primary);
  font-weight: 700;
  text-align: center;
}

.practice-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  font-weight: 600;
  display: block;
  text-align: center;
}

.practice-title {
  font-size: 1.35rem;
  color: var(--text-pure);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  text-align: center;
}

.practice-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  text-align: center;
}

.practice-cta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.5rem auto 0 auto;
  padding: 0.65rem 1.25rem;
  border: 1px solid var(--border-gold-subtle);
  background-color: rgba(223, 184, 108, 0.08);
  border-radius: 20px;
  transition: var(--transition);
  text-decoration: none;
  width: auto;
}

.practice-cta svg {
  fill: var(--gold-primary);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: var(--transition);
}

.practice-cta:hover {
  color: #12061e !important;
  background-color: var(--gold-primary);
  border-color: var(--gold-primary);
  box-shadow: 0 5px 18px rgba(223, 184, 108, 0.3);
  transform: translateY(-2px);
}

.practice-cta:hover svg {
  fill: #12061e;
  transform: scale(1.08);
}

/* ==========================================================================
   SECCIÓN: SOBRE NOSOTROS
   ========================================================================== */
.about-portrait-card {
  background-color: #ffffff;
  border: 1px solid rgba(223, 184, 108, 0.4);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  box-shadow: 0 12px 35px rgba(26, 8, 38, 0.08);
  transition: var(--transition);
  position: relative;
}

.about-portrait-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 16px 40px rgba(26, 8, 38, 0.14);
}

.about-portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background-color: #0e0516;
}

.about-portrait-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.5s ease;
}

.about-portrait-img.about-portrait-svg {
  object-position: center center;
}

.about-portrait-card:hover .about-portrait-img {
  transform: scale(1.02);
}

.about-portrait-overlay-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
}

.about-portrait-overlay-badge .badge-tag {
  background: rgba(15, 6, 23, 0.88);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.about-portrait-footer {
  text-align: center;
  padding-top: 1.4rem;
}

.about-portrait-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a0826;
  margin-bottom: 0.25rem;
}

.about-portrait-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #6d1b34;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.about-portrait-matricula {
  font-size: 0.78rem;
  color: #635272;
  letter-spacing: 0.03em;
}

.about-member-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.about-credentials-list {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0.5rem 0;
  text-align: left;
}

.about-credential-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #4a3e54;
}

.about-credential-item strong {
  color: #1a0826;
}

.about-credential-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 3px;
  color: #9c7329;
}

.about-content-wrapper {
  padding-left: 1rem;
}

@media (max-width: 991px) {
  .about-content-wrapper {
    padding-left: 0;
    margin-top: 1.5rem;
  }
}

.about-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8c6a28;
  display: block;
  margin-bottom: 0.5rem;
}

.about-heading {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: #1a0826;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.4rem;
}

.about-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #2b1838;
  font-weight: 500;
  margin-bottom: 1.2rem;
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.1rem;
}

.about-body-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #554860;
  margin-bottom: 1.1rem;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1.8rem 0;
  padding: 1.4rem;
  background-color: #fbf9fc;
  border: 1px solid rgba(223, 184, 108, 0.25);
  border-radius: var(--radius-sm);
}

@media (max-width: 576px) {
  .about-highlights-grid {
    grid-template-columns: 1fr;
  }
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.about-highlight-icon {
  width: 32px;
  height: 32px;
  background-color: rgba(223, 184, 108, 0.15);
  color: #8c6a28;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   SECCIÓN: CONTACTO & FORMULARIO (TARJETAS SIMÉTRICAS)
   ========================================================================== */
.contact-info-card,
.contact-form-container {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 3px solid var(--gold-primary);
  padding: 2.5rem 2.2rem;
  border-radius: var(--radius-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.contact-info-card:hover,
.contact-form-container:hover {
  border-color: rgba(223, 184, 108, 0.45);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
}

.contact-card-title {
  font-family: var(--font-serif);
  color: var(--text-pure);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 1.8rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.contact-card-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 42px;
  height: 2px;
  background-color: var(--gold-primary);
}

.contact-item {
  margin-bottom: 1.6rem;
}

.contact-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.contact-value {
  font-size: 1.02rem;
  color: var(--text-pure);
  font-weight: 500;
  margin-bottom: 0;
}

.contact-value a {
  color: var(--text-pure);
}

.contact-value a:hover {
  color: var(--gold-light);
}

.contact-commitment-box {
  background-color: rgba(12, 4, 18, 0.45);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-primary);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-top: auto;
}

.contact-commitment-box p {
  color: #ffffff !important;
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-control,
.form-select {
  background-color: var(--bg-darkest) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-pure) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gold-primary) !important;
  box-shadow: 0 0 0 1px var(--gold-primary) !important;
  outline: none;
}

.form-control::placeholder {
  color: var(--text-subtle);
  font-size: 0.88rem;
}

.form-select option {
  background-color: var(--bg-darkest);
  color: var(--text-main);
}

.invalid-feedback {
  color: #e07a7a !important;
  font-size: 0.78rem;
  margin-top: 0.35rem;
  font-weight: 500;
}

.valid-feedback {
  color: #7ae094 !important;
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.form-feedback-alert {
  display: none;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--gold-primary);
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
}

.form-feedback-alert.show {
  display: block;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.whatsapp-float-container {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-float-btn {
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: #ffffff;
  border: 2px solid var(--gold-primary);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  color: #ffffff;
  border-color: var(--gold-light);
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.whatsapp-float-tooltip {
  background-color: var(--bg-darkest);
  color: var(--text-pure);
  border: 1px solid var(--gold-primary);
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  display: none;
}

@media (min-width: 768px) {
  .whatsapp-float-tooltip {
    display: block;
  }
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.footer-main {
  background-color: var(--bg-darkest);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem 0;
  font-size: 0.88rem;
}

.footer-title {
  font-size: 1.1rem;
  color: var(--text-pure);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.8rem;
  margin-top: 3rem;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

.footer-dev-credit {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.footer-dev-credit a {
  color: var(--gold-light);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.footer-dev-credit a:hover {
  color: var(--text-pure);
}

/* ==========================================================================
   RESPONSIVIDAD ESPECÍFICA
   ========================================================================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .navbar-collapse {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 1.2rem;
    margin-top: 0.8rem;
    border-radius: var(--radius-sm);
  }

  .nav-link::after {
    left: 1rem;
    right: auto;
    width: 32px;
    transform-origin: left;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .whatsapp-float-container {
    bottom: 18px;
    right: 18px;
  }

  .whatsapp-float-btn {
    width: 50px;
    height: 50px;
  }

  .whatsapp-float-btn svg {
    width: 26px;
    height: 26px;
  }
}

/* ==========================================================================
   ANIMACIONES DINÁMICAS AL HACER SCROLL (SCROLL REVEAL)
   ========================================================================== */
.reveal-init {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-init.reveal-up {
  transform: translateY(32px);
}

.reveal-init.reveal-left {
  transform: translateX(32px);
}

.reveal-init.reveal-right {
  transform: translateX(-32px);
}

.reveal-init.reveal-scale {
  transform: scale(0.95);
}

/* Estado cuando entra en el viewport */
.reveal-init.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
}

/* Retardos escalonados para efecto cascada */
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }
.delay-5 { transition-delay: 0.60s; }
.delay-6 { transition-delay: 0.72s; }

/* Accesibilidad para usuarios con reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .reveal-init {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}