/* ==========================================================================
   ALJABA — Identidad Corporativa Oficial (Blanco · Perla · Grafito · Índigo & Oro)
   ========================================================================== */

:root {
  /* Corporate Palette matching Aljaba */
  --bg-white: #ffffff;
  --bg-pearl: #f5f6f8;
  --bg-silver: #eaedf1;
  --surface-card: #ffffff;

  --graphite-900: #1d2024;
  --graphite-700: #373c44;
  --graphite-500: #5f6672;
  --silver-400: #9aa1ad;
  --silver-300: #cfd4dc;
  --silver-200: #e3e6eb;

  /* Aljaba Noble Indigo + Warm Gold Accent (mapped onto Valsara architectural tokens) */
  --copper: #312e81;
  --copper-hover: #1e1b4b;
  --copper-soft: rgba(49, 46, 129, 0.08);
  --copper-border: rgba(49, 46, 129, 0.25);
  --aljaba-gold: #b45309;
  --aljaba-gold-bright: #d97706;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease-architect: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--bg-white);
  color: var(--graphite-900);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================================================
   CORPORATE HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--silver-200);
  transition: box-shadow 0.3s var(--ease-architect);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(29, 32, 36, 0.06);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--graphite-700);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s;
}

.nav-item::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-architect);
}

.nav-item:hover {
  color: var(--graphite-900);
}

.nav-item:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-register-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--copper-border);
  background: var(--copper-soft);
  color: var(--copper);
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.25s, color 0.25s;
}

.btn-register-nav svg {
  width: 15px;
  height: 15px;
}

.btn-register-nav:hover {
  background: var(--copper);
  color: #ffffff;
}

.header-phone {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--graphite-700);
}

.header-phone:hover {
  color: var(--copper);
}

.btn-corporate {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.25rem;
  background: var(--graphite-900);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 4px;
  transition: background-color 0.25s, transform 0.15s;
}

.btn-corporate svg {
  width: 15px;
  height: 15px;
}

.btn-corporate:hover {
  background: var(--copper);
}

.btn-corporate:active {
  transform: scale(0.97);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  position: absolute;
  width: 22px;
  height: 1.75px;
  background: var(--graphite-900);
  transition: transform 0.3s var(--ease-architect);
}

.menu-toggle span:first-child { transform: translateY(-4px); }
.menu-toggle span:last-child { transform: translateY(4px); }

.menu-toggle.is-open span:first-child { transform: rotate(45deg); }
.menu-toggle.is-open span:last-child { transform: rotate(-45deg); }

.mobile-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: calc(100dvh - 76px);
  background-color: #ffffff;
  z-index: 95;
  padding: 2rem 1.75rem 3rem;
  overflow-y: auto;
  border-top: 1px solid var(--silver-200);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--graphite-900);
  border-bottom: 1px solid var(--silver-200);
  padding-bottom: 0.75rem;
}

.mobile-drawer-contact {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: var(--graphite-700);
}

.mobile-drawer-contact a {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--copper);
  font-size: 1.1rem;
}

/* ==========================================================================
   HERO FULL-BLEED ANIMATED BANNER SLIDER
   ========================================================================== */
.hero-slider-section {
  position: relative;
  height: min(88vh, 820px);
  min-height: 580px;
  margin-top: 76px;
  overflow: hidden;
  background: var(--graphite-900);
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s var(--ease-architect);
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 7s ease-out;
}

.hero-slide.is-active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(22, 24, 29, 0.84) 0%,
    rgba(22, 24, 29, 0.56) 48%,
    rgba(22, 24, 29, 0.18) 100%
  );
}

.hero-slide-scrim--soft {
  background: linear-gradient(
    90deg,
    rgba(20, 22, 26, 0.88) 0%,
    rgba(20, 22, 26, 0.65) 55%,
    rgba(20, 22, 26, 0.32) 100%
  );
}

.hero-slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-caption-box {
  max-width: 650px;
  color: #ffffff;
  transform: translateY(22px);
  opacity: 0;
  transition: transform 0.75s var(--ease-architect) 0.18s, opacity 0.75s var(--ease-architect) 0.18s;
}

.hero-slide.is-active .hero-caption-box {
  transform: translateY(0);
  opacity: 1;
}

.slide-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: #f49b6c;
  margin-bottom: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(244, 155, 108, 0.45);
}

.hero-caption-box h1,
.hero-caption-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.8vw, 4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
}

.hero-caption-box p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  max-width: 560px;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn-solid-copper {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.6rem;
  background: var(--copper);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 4px;
  transition: background-color 0.25s, transform 0.15s;
}

.btn-solid-copper:hover {
  background: var(--copper-hover);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.25s, border-color 0.25s;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
}

/* Slider Thumbnails & Controls */
.hero-controls-bar {
  position: absolute;
  bottom: 1.75rem;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}

.slide-thumbs,
.slide-arrows {
  pointer-events: auto;
}

.slide-thumbs {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.slide-thumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--graphite-900);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.72;
  transition: opacity 0.25s, transform 0.25s, box-shadow 0.25s;
}

.slide-thumb img {
  width: 44px;
  height: 30px;
  object-fit: cover;
  border-radius: 2px;
}

.slide-thumb.is-active,
.slide-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.slide-thumb.is-active {
  border-bottom: 2.5px solid var(--copper);
}

.slide-arrows {
  display: flex;
  gap: 0.5rem;
}

.arrow-btn {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--graphite-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s, color 0.25s;
}

.arrow-btn svg {
  width: 20px;
  height: 20px;
}

.arrow-btn:hover {
  background: var(--copper);
  color: #ffffff;
}

.hero-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 12;
}

.hero-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--copper);
}

/* ==========================================================================
   ANIMATED MARQUEE STRIP (SILVER METALLIC BAND)
   ========================================================================== */
.marquee-band {
  background: var(--bg-pearl);
  border-top: 1px solid var(--silver-200);
  border-bottom: 1px solid var(--silver-200);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--graphite-700);
  text-transform: uppercase;
  animation: marqueeScroll 32s linear infinite;
}

.marquee-track .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   CORPORATE INTRO SPLIT
   ========================================================================== */
.section-corporate-intro {
  padding: 6.5rem 0;
  background: var(--bg-white);
}

.intro-split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.intro-brand-frame {
  background: var(--bg-pearl);
  border: 1px solid var(--silver-200);
  padding: 1.5rem;
  border-radius: 6px;
}

.intro-official-card {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--silver-200);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.intro-copy h2,
.section-heading-row h2,
.gallery-header-row h2,
.coverage-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--graphite-900);
  margin-bottom: 1.1rem;
}

.lead-text {
  font-size: 1.05rem;
  color: var(--graphite-500);
  margin-bottom: 2rem;
  max-width: 620px;
}

.intro-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pillar-box {
  padding: 1.25rem;
  background: var(--bg-pearl);
  border-left: 3px solid var(--copper);
}

.pillar-box strong {
  display: block;
  font-size: 1rem;
  color: var(--graphite-900);
  margin-bottom: 0.35rem;
}

.pillar-box span {
  font-size: 0.86rem;
  color: var(--graphite-500);
  line-height: 1.45;
  display: block;
}

/* ==========================================================================
   SPECIALTIES VISUAL GRID
   ========================================================================== */
.section-specialties {
  padding: 6.5rem 0;
  background: var(--bg-pearl);
  border-top: 1px solid var(--silver-200);
  border-bottom: 1px solid var(--silver-200);
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.heading-note {
  max-width: 380px;
  font-size: 0.94rem;
  color: var(--graphite-500);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.specialty-card {
  background: var(--bg-white);
  border: 1px solid var(--silver-200);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-architect), box-shadow 0.4s var(--ease-architect);
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(29, 32, 36, 0.08);
}

.specialty-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-pearl);
  display: flex;
  align-items: center;
  justify-content: center;
}

.specialty-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-architect);
}

.specialty-media--contain {
  background: #5b636e;
}

.specialty-media--contain img {
  object-fit: contain;
}

.specialty-card:hover .specialty-media img {
  transform: scale(1.05);
}

.specialty-body {
  padding: 1.5rem;
}

.spec-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--copper);
  margin-bottom: 0.5rem;
}

.specialty-body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--graphite-900);
}

.specialty-body p {
  font-size: 0.88rem;
  color: var(--graphite-500);
  line-height: 1.55;
}

/* ==========================================================================
   REAL PROJECTS INTERACTIVE CAROUSEL & GALLERY
   ========================================================================== */
.section-gallery {
  padding: 6.5rem 0;
  background: var(--bg-white);
}

.gallery-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-tabs {
  display: inline-flex;
  background: var(--bg-pearl);
  padding: 0.25rem;
  border-radius: 4px;
  border: 1px solid var(--silver-200);
}

.filter-tab {
  padding: 0.45rem 1rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--graphite-700);
  border-radius: 3px;
  transition: background-color 0.2s, color 0.2s;
}

.filter-tab.is-active {
  background: var(--graphite-900);
  color: #ffffff;
}

.carousel-nav-btns {
  display: flex;
  gap: 0.4rem;
}

.circle-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--silver-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite-900);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

.circle-nav-btn svg {
  width: 18px;
  height: 18px;
}

.circle-nav-btn:hover {
  background: var(--copper);
  border-color: var(--copper);
  color: #ffffff;
}

.projects-carousel-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.projects-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.projects-carousel-track {
  display: flex;
  gap: 1.5rem;
}

.project-slide-card {
  flex: 0 0 360px;
  border: 1px solid var(--silver-200);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-white);
  transition: transform 0.35s var(--ease-architect), box-shadow 0.35s;
}

.project-slide-card.is-hidden {
  display: none;
}

.project-slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(29, 32, 36, 0.08);
}

.project-photo-btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-silver);
}

.project-photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-architect);
}

.project-slide-card:hover .project-photo-btn img {
  transform: scale(1.04);
}

.zoom-pill {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  background: rgba(29, 32, 36, 0.85);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 500;
}

.project-card-info {
  padding: 1.25rem;
}

.project-loc {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.project-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--graphite-900);
}

/* ==========================================================================
   DATOS VALSARA (TECHNICAL INFOGRAPHICS)
   ========================================================================== */
.section-benefits {
  padding: 6.5rem 0;
  background: var(--bg-pearl);
  border-top: 1px solid var(--silver-200);
  border-bottom: 1px solid var(--silver-200);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.benefit-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-white);
  border: 1px solid var(--silver-200);
  border-radius: 6px;
  overflow: hidden;
  align-items: stretch;
}

.benefit-img-box {
  background: #0d0e11;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.benefit-img-box img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

.benefit-copy {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.benefit-copy h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--graphite-900);
  line-height: 1.25;
}

.benefit-copy p {
  font-size: 0.9rem;
  color: var(--graphite-500);
}

/* ==========================================================================
   COVERAGE & DIRECT CONTACT SECTION
   ========================================================================== */
.section-coverage {
  padding: 6.5rem 0;
  background: var(--bg-white);
}

.coverage-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: start;
}

.coverage-text > p {
  font-size: 1rem;
  color: var(--graphite-500);
  margin-bottom: 2rem;
}

.cities-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--silver-200);
}

.city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--silver-200);
}

.city-row strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--graphite-900);
}

.city-row span {
  font-size: 0.85rem;
  color: var(--graphite-500);
  text-align: right;
}

.coverage-banner-card {
  background: var(--bg-pearl);
  border: 1px solid var(--silver-200);
  border-radius: 6px;
  padding: 2.25rem;
}

.contact-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.contact-card-logo {
  height: 54px;
  width: auto;
}

.cfdi-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  background: var(--copper-soft);
  border: 1px solid var(--copper-border);
  color: var(--copper);
  font-weight: 500;
}

.coverage-banner-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.45rem;
}

.contact-sub {
  font-size: 0.9rem;
  color: var(--graphite-500);
  margin-bottom: 1.5rem;
}

.contact-links-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.contact-row-link {
  padding: 0.95rem 1rem;
  background: var(--bg-white);
  border: 1px solid var(--silver-200);
  border-radius: 4px;
  transition: border-color 0.25s, transform 0.2s;
}

.contact-row-link:hover {
  border-color: var(--copper);
  transform: translateY(-2px);
}

.c-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--graphite-500);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.c-val {
  display: block;
  font-size: 0.92rem;
  color: var(--graphite-900);
  word-break: break-all;
}

.fb-official-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--graphite-900);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  transition: background-color 0.25s;
}

.fb-official-btn:hover {
  background: var(--copper);
}

/* ==========================================================================
   FOOTER & FLOATING WHATSAPP
   ========================================================================== */
.site-footer {
  background: var(--bg-pearl);
  border-top: 1px solid var(--silver-200);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  height: 58px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer-brand-block p {
  font-size: 0.88rem;
  color: var(--graphite-500);
  max-width: 440px;
}

.footer-meta-block {
  text-align: right;
  font-size: 0.86rem;
  color: var(--graphite-700);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.copyright {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: var(--graphite-500);
}

.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.35);
  transition: transform 0.25s, background-color 0.25s;
}

.wa-float svg {
  width: 19px;
  height: 19px;
}

.wa-float:hover {
  background: #15803d;
  transform: translateY(-2px);
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-bg {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 26, 0.9);
}

.lightbox-frame {
  position: relative;
  z-index: 2;
  max-width: 960px;
  width: 100%;
  background: #ffffff;
  padding: 1rem;
  border-radius: 6px;
}

.lightbox-frame img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #111317;
}

.lb-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--graphite-900);
  color: #ffffff;
  font-size: 1rem;
}

.lb-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--graphite-900);
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lb-arrow--prev { left: 1.5rem; }
.lb-arrow--next { right: 1.5rem; }

.lb-caption {
  padding: 0.85rem 0.25rem 0.15rem;
}

.lb-caption span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--copper);
  text-transform: uppercase;
}

.lb-caption h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--graphite-900);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION
   ========================================================================== */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-architect), transform 0.65s var(--ease-architect);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .main-nav,
  .header-phone,
  .btn-register-nav,
  .header-actions .btn-corporate {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-slider-section {
    height: auto;
    min-height: 540px;
  }
  .hero-slide.is-active {
    position: relative;
  }
  .hero-slide-content {
    padding: 3.5rem 0 5.75rem;
    align-items: flex-start;
  }
  .intro-split,
  .coverage-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer-meta-block {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .slide-thumbs {
    display: none;
  }
  .hero-controls-bar {
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1.15rem;
  }
  .header-inner {
    height: 68px;
  }
  .hero-slider-section {
    margin-top: 68px;
    height: auto;
    min-height: 490px;
  }
  .hero-slide-content {
    padding: 2.25rem 0 5rem;
  }
  .slide-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
  }
  .hero-caption-box h1,
  .hero-caption-box h2 {
    font-size: clamp(1.75rem, 7.2vw, 2.3rem);
    line-height: 1.1;
    margin-bottom: 0.85rem;
  }
  .hero-caption-box p {
    font-size: 0.94rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
  }
  .slide-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .slide-actions a {
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.2rem;
  }
  .hero-controls-bar {
    bottom: 1rem;
  }
  .section-corporate-intro,
  .section-specialties,
  .section-gallery,
  .section-benefits,
  .section-coverage,
  .section-discipulado {
    padding: 3.5rem 0;
  }
  .section-heading-row,
  .gallery-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .gallery-controls {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .filter-tabs {
    flex-wrap: wrap;
  }
  .specialties-grid,
  .intro-pillars,
  .benefit-panel,
  .contact-links-stack {
    grid-template-columns: 1fr;
  }
  .benefit-img-box {
    padding: 0.5rem;
  }
  .benefit-img-box img {
    max-height: 280px;
  }
  .benefit-copy {
    padding: 1.35rem;
  }
  .coverage-banner-card {
    padding: 1.5rem;
  }
  .contact-card-header {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .plan-price-amount {
    font-size: 2.65rem;
  }
  .project-slide-card {
    flex: 0 0 84vw;
    max-width: 340px;
  }
  .wa-float span {
    display: none;
  }
  .wa-float {
    padding: 0.85rem;
  }
}

/* ==========================================================================
   ALJABA — Extensiones de Marca, Plan Anual $600 y Modales Limpios
   ========================================================================== */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-lockup img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--silver-200);
  background: #ffffff;
  padding: 2px;
}

.brand-lockup-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-lockup-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--graphite-900);
}

.brand-lockup-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--graphite-500);
}

.price-badge-nav {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--aljaba-gold);
  background: rgba(180, 83, 9, 0.08);
  border: 1px solid rgba(180, 83, 9, 0.25);
  padding: 0.42rem 0.75rem;
  border-radius: 4px;
  white-space: nowrap;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.75rem 0 0.35rem;
}

.plan-price-amount {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--graphite-900);
  letter-spacing: -0.03em;
}

.plan-price-currency {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--aljaba-gold);
}

.plan-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
  margin: 1.25rem 0 1.5rem;
}

.plan-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--graphite-700);
  line-height: 1.35;
}

.plan-checklist li svg {
  width: 16px;
  height: 16px;
  color: #059669;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .plan-checklist {
    grid-template-columns: 1fr;
  }
  .price-badge-nav {
    display: none;
  }
}

/* ==========================================================================
   ALJABA — Sección Tablero de Ruta de Discipulado (6 Etapas)
   ========================================================================== */
.section-discipulado {
  padding: 5.5rem 0;
  background: var(--bg-pearl);
  border-top: 1px solid var(--silver-200);
  border-bottom: 1px solid var(--silver-200);
}

.discipulado-board-wrap {
  margin-top: 2rem;
  background: var(--bg-white);
  border: 1px solid var(--silver-200);
  border-radius: 6px;
  padding: 0.85rem;
  box-shadow: 0 18px 40px -24px rgba(29, 32, 36, 0.2);
}

.minuto-duo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.minuto-duo-grid .discipulado-board-wrap {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.minuto-card-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.15rem 0.25rem;
}

.minuto-card-caption strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--graphite-900);
}

.minuto-card-caption span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--copper);
  background: var(--copper-soft);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .minuto-duo-grid {
    grid-template-columns: 1fr;
  }
}

.discipulado-board-btn {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--silver-200);
  cursor: zoom-in;
}

.discipulado-board-btn img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s var(--ease-architect);
}

.discipulado-board-btn:hover img {
  transform: scale(1.015);
}

.discipulado-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.discipulado-step-card {
  background: var(--bg-white);
  border: 1px solid var(--silver-200);
  border-radius: 4px;
  padding: 1.35rem 1.4rem;
  transition: border-color 0.25s ease, transform 0.25s var(--ease-architect);
}

.discipulado-step-card:hover {
  border-color: var(--copper-border);
  transform: translateY(-2px);
}

.discipulado-step-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper);
  background: var(--copper-soft);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 0.65rem;
}

.discipulado-step-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--graphite-900);
  margin-bottom: 0.4rem;
}

.discipulado-step-card p {
  font-size: 0.87rem;
  color: var(--graphite-500);
  line-height: 1.55;
}

@media (max-width: 960px) {
  .discipulado-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .discipulado-steps-grid {
    grid-template-columns: 1fr;
  }
}

/* 3-Column Visual Progression Grid for Membresía y Ruta de Discipulado */
.discipulado-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.discipulado-visual-card {
  background: var(--bg-white);
  border: 1px solid var(--silver-200);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 30px -20px rgba(29, 32, 36, 0.18);
  transition: transform 0.3s var(--ease-architect), border-color 0.25s ease;
}

.discipulado-visual-card:hover {
  transform: translateY(-3px);
  border-color: var(--copper-border);
}

.discipulado-visual-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-silver);
}

.discipulado-visual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.discipulado-visual-body {
  padding: 1.15rem 1.25rem;
}

.discipulado-visual-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--graphite-900);
  margin: 0.35rem 0 0.35rem;
}

.discipulado-visual-body p {
  font-size: 0.86rem;
  color: var(--graphite-500);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .discipulado-visual-grid {
    grid-template-columns: 1fr;
  }
}
