/* =========================================================
   NIETO ABOGADOS — COMPONENTS.CSS
   Estilo: Borgoña Clásico
   Navbar blanca · Hero claro · Áreas crema
   ========================================================= */

/* =============================================
   NAVBAR — siempre sobre fondo claro
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background var(--duration-slow) var(--ease-premium),
              box-shadow var(--duration-slow) var(--ease-premium),
              border-color var(--duration-slow);
}

.navbar--transparent {
  background: rgba(248, 244, 238, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.navbar--solid {
  background: var(--color-white);
  box-shadow: 0 2px 20px rgba(45, 27, 14, 0.09);
  border-bottom: 1px solid var(--color-border);
}

/* Logo */
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  z-index: 2;
}

.navbar__logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

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

.navbar__logo-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

.navbar__logo-tagline {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  color: var(--color-text-mid);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Separador decorativo */
.navbar__logo-name::after {
  display: none;
}

/* Nav links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar__links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--color-text-mid);
  position: relative;
  transition: color var(--duration-base) var(--ease-premium);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--duration-base) var(--ease-premium);
}

.navbar__links a:hover {
  color: var(--color-navy);
}

.navbar__links a:hover::after {
  width: 100%;
}

/* CTA nav */
.btn--nav-cta {
  padding: 0.5rem 1.375rem;
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gold) !important;
  transition: background var(--duration-base) var(--ease-premium),
              color var(--duration-base) !important;
}

.btn--nav-cta::after { display: none !important; }

.btn--nav-cta:hover {
  background: var(--color-gold) !important;
  color: var(--color-white) !important;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 2;
  cursor: pointer;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-premium),
              opacity var(--duration-base);
}

.navbar__hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.is-active span:nth-child(2) { opacity: 0; }
.navbar__hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-cream);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  padding: var(--nav-height) var(--space-xl) var(--space-xl);
}

.navbar__mobile.is-open { display: flex; }

.navbar__mobile a {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-navy);
  letter-spacing: -0.01em;
  transition: color var(--duration-base);
}

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

.navbar__mobile .btn--primary {
  font-family: var(--font-body);
  font-size: var(--text-base);
  margin-top: var(--space-md);
}

/* =============================================
   BOTONES
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-premium);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-gold);
  color: var(--color-white);
  border: 2px solid var(--color-gold);
}

.btn--primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* Secundario: fondo oscuro (CTA section, footer) */
.btn--secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.45);
}

.btn--secondary:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Secundario en hero claro — override */
.hero .btn--secondary {
  color: var(--color-navy);
  border-color: rgba(45, 27, 14, 0.3);
}

.hero .btn--secondary:hover {
  border-color: var(--color-navy);
  background: rgba(45, 27, 14, 0.05);
}

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}

.btn--outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
}

.btn--ghost:hover {
  background: var(--color-gold);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--large {
  padding: 1.125rem 2.75rem;
  font-size: var(--text-base);
}

.btn--small {
  padding: 0.625rem 1.375rem;
  font-size: var(--text-xs);
}

/* =============================================
   HERO — fondo claro Borgoña
   ============================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--color-cream);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 70% at 85% 35%, rgba(122,31,46,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 60% at 5% 85%, rgba(237,229,216,0.9) 0%, transparent 55%),
    #F8F4EE;
  z-index: 0;
}

/* Patrón diagonal sutil */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(122,31,46,0.025) 0px,
      rgba(122,31,46,0.025) 1px,
      transparent 1px,
      transparent 48px
    );
  z-index: 0;
}

/* Acento decorativo: barra lateral */
.hero__bg::before {
  content: '';
  position: absolute;
  top: 15%;
  right: 0;
  width: 3px;
  height: 45%;
  background: linear-gradient(180deg, transparent, var(--color-gold), transparent);
  z-index: 1;
  opacity: 0.3;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-height);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.hero__eyebrow {
  color: var(--color-gold);
  margin-bottom: var(--space-xl);
  opacity: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin-bottom: var(--space-2xl);
  opacity: 0;
}

.hero__title em {
  font-style: italic;
  color: var(--color-gold);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 300;
  color: var(--color-text-mid);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: var(--space-2xl);
  opacity: 0;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  opacity: 0;
}

/* Decorativo: número de referencia */
.hero__ref {
  position: absolute;
  bottom: clamp(2rem, 5vw, 4rem);
  right: clamp(1.25rem, 5vw, 3rem);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  opacity: 0;
}

.hero__ref-label {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-light);
  font-family: var(--font-body);
}

.hero__ref-value {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: rgba(45, 27, 14, 0.07);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: clamp(1.5rem, 4vw, 3rem);
  left: clamp(1.25rem, 5vw, 3rem);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light);
  font-family: var(--font-body);
  opacity: 0;
}

.hero__scroll-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-border-dark);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--color-gold);
  animation: scrollLine 2s var(--ease-premium) infinite;
}

@keyframes scrollLine {
  0%   { left: -100%; }
  50%  { left: 0; }
  100% { left: 100%; }
}

/* =============================================
   STATS
   ============================================= */
.stats {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}

.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats__item {
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  border-right: 1px solid var(--color-border);
  text-align: center;
}

.stats__item:last-child { border-right: none; }

.stats__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.stats__number .suffix {
  font-size: var(--text-2xl);
  color: var(--color-gold);
}

.stats__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin-top: var(--space-xs);
  letter-spacing: 0.02em;
}

/* =============================================
   SOBRE NOSOTROS
   ============================================= */
.about {
  padding-block: var(--space-section);
  background: var(--color-cream);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about__content .eyebrow { margin-bottom: var(--space-lg); }
.about__content .section-title { margin-bottom: var(--space-xl); }

.about__lead {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  font-style: italic;
  color: var(--color-navy);
  line-height: 1.55;
  margin-bottom: var(--space-xl);
  padding-left: var(--space-xl);
  border-left: 2px solid var(--color-gold);
}

.about__text {
  color: var(--color-text-mid);
  margin-bottom: var(--space-lg);
}

.about__list { margin-top: var(--space-xl); }

.about__list li {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
  color: var(--color-text-mid);
}

.about__list li:last-child { border-bottom: none; }

.about__list-icon {
  width: 6px;
  height: 6px;
  background: var(--color-gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.about__visual { position: relative; }

.about__image-frame {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--color-sand);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.about__image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-lg);
}

.about__image-placeholder-icon { width: 80px; height: 80px; opacity: 0.2; }

.about__badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.about__badge-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 600;
  color: var(--color-gold);
  line-height: 1;
}

.about__badge-label {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: var(--space-xs);
}

/* =============================================
   ÁREAS DE PRÁCTICA — fondo crema/arena
   ============================================= */
.areas {
  padding-block: var(--space-section);
  background: var(--color-sand);
}

.areas__header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.areas__header .eyebrow {
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.areas__header .eyebrow::before { display: none; }

.areas__header .eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--color-gold);
  flex-shrink: 0;
}

.areas__header .section-title {
  color: var(--color-navy);
  margin-bottom: var(--space-lg);
}

.areas__header .section-subtitle {
  color: var(--color-text-mid);
  max-width: 560px;
  margin-inline: auto;
}

.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.area-card {
  background: var(--color-white);
  padding: clamp(2rem, 4vw, 2.75rem);
  position: relative;
  overflow: hidden;
  transition: background var(--duration-base) var(--ease-premium),
              box-shadow var(--duration-base);
  cursor: default;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity var(--duration-base);
}

.area-card:hover {
  background: var(--color-cream);
  box-shadow: inset 0 0 0 1px var(--color-gold-pale);
}

.area-card:hover::before { opacity: 1; }

.area-card__number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  color: rgba(122, 31, 46, 0.10);
  line-height: 1;
  margin-bottom: var(--space-lg);
  transition: color var(--duration-base);
}

.area-card:hover .area-card__number { color: rgba(122, 31, 46, 0.22); }

.area-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.area-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  line-height: 1.75;
}

.area-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-xl);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: gap var(--duration-base);
}

.area-card__link:hover { gap: 0.875rem; }

.area-card__arrow {
  display: inline-block;
  transition: transform var(--duration-base) var(--ease-spring);
}

.area-card:hover .area-card__arrow { transform: translateX(4px); }

/* =============================================
   POR QUÉ ELEGIRNOS
   ============================================= */
.why-us {
  padding-block: var(--space-section);
  background: var(--color-white);
}

.why-us__header { margin-bottom: clamp(3rem, 6vw, 5rem); }
.why-us__header .eyebrow { margin-bottom: var(--space-lg); }
.why-us__header .section-title { max-width: 580px; margin-bottom: var(--space-lg); }
.why-us__header .section-subtitle { max-width: 540px; }

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.pillar-card {
  padding: clamp(2rem, 4vw, 2.75rem);
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: box-shadow var(--duration-base) var(--ease-premium),
              transform var(--duration-base) var(--ease-premium),
              border-color var(--duration-base);
}

.pillar-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--color-gold);
}

.pillar-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-gold-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-xl);
}

.pillar-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.5;
}

.pillar-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
}

.pillar-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  line-height: 1.75;
}

/* =============================================
   WHATSAPP / ATENCIÓN DIGITAL
   ============================================= */
.whatsapp-section {
  padding-block: var(--space-section);
  background: var(--color-cream);
}

.whatsapp-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.whatsapp-section__content .eyebrow {
  margin-bottom: var(--space-lg);
  color: #25D366;
}

.whatsapp-section__content .eyebrow::before { background: #25D366; }
.whatsapp-section__content .section-title { margin-bottom: var(--space-xl); }

.whatsapp-section__text {
  color: var(--color-text-mid);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

.whatsapp-section__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.whatsapp-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.whatsapp-feature__icon {
  width: 36px;
  height: 36px;
  background: #e8f7ed;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}

.whatsapp-feature__title {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-navy);
  margin-bottom: 2px;
}

.whatsapp-feature__desc {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  line-height: 1.5;
}

.btn--whatsapp {
  background: #25D366;
  color: var(--color-white);
  border: 2px solid #25D366;
  font-size: var(--text-base);
  padding: 1rem 2.25rem;
}

.btn--whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

/* Widget preview del chatbot */
.whatsapp-section__widget { position: relative; }

.chat-preview {
  background: var(--color-navy);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-width: 380px;
  margin-inline: auto;
}

.chat-preview__header {
  background: var(--color-navy-light);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.chat-preview__avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
  flex-shrink: 0;
}

.chat-preview__info-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-white);
}

.chat-preview__info-status {
  font-size: var(--text-xs);
  color: #25D366;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-preview__info-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #25D366;
  border-radius: 50%;
  display: block;
}

.chat-preview__body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-height: 220px;
}

.chat-bubble {
  max-width: 82%;
  padding: var(--space-sm) var(--space-md);
  border-radius: 12px;
  font-size: var(--text-sm);
  line-height: 1.5;
}

.chat-bubble--bot {
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.85);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.chat-bubble--user {
  background: rgba(122,31,46,0.35);
  color: #F2D0D5;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-preview__footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}

.chat-preview__input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  color: var(--color-white);
  font-size: var(--text-sm);
  outline: none;
}

.chat-preview__input::placeholder { color: rgba(255,255,255,0.3); }

.chat-preview__send {
  width: 36px;
  height: 36px;
  background: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background var(--duration-base);
}

.chat-preview__send:hover { background: var(--color-gold-light); }

.chat-preview__send svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-white);
  fill: none;
}

/* =============================================
   CTA CITA — fondo borgoña oscuro
   ============================================= */
.cta-section {
  padding-block: clamp(5rem, 10vw, 9rem);
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 110%, rgba(122,31,46,0.25) 0%, transparent 55%);
  pointer-events: none;
}

/* Patrón sutil en CTA */
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 1px,
      transparent 1px,
      transparent 48px
    );
  pointer-events: none;
}

.cta-section .eyebrow {
  justify-content: center;
  margin-bottom: var(--space-xl);
  color: var(--color-gold-light);
}

.cta-section .eyebrow::before { display: none; }
.cta-section .eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--color-gold);
}

.cta-section__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: var(--space-xl);
}

.cta-section__title em {
  font-style: italic;
  color: var(--color-gold-light);
}

.cta-section__text {
  color: rgba(255,255,255,0.6);
  font-size: var(--text-lg);
  font-weight: 300;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
  line-height: 1.75;
}

.cta-section__ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

/* =============================================
   FORMULARIOS
   ============================================= */
.form-section {
  padding-block: var(--space-section);
  background: var(--color-cream);
}

.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: var(--space-xl); }

.form-group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1.125rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--duration-base), background var(--duration-base),
              box-shadow var(--duration-base);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-gold);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(122, 31, 46, 0.09);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
  font-weight: 300;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6050' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-mid);
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid var(--color-border-dark);
  border-radius: 3px;
  cursor: pointer;
  accent-color: var(--color-gold);
  margin-top: 1px;
}

.form-consent a { color: var(--color-gold); text-decoration: underline; }

.form-error {
  display: none;
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: 4px;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: var(--color-error); }

.form-group.has-error .form-error { display: block; }

.form-success {
  display: none;
  padding: var(--space-xl);
  background: #ecf7f0;
  border: 1px solid #b7e0c9;
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--color-success);
}

.form-success.is-visible { display: block; }

/* =============================================
   MAPA Y UBICACIÓN
   ============================================= */
.location-section {
  padding-block: var(--space-section);
  background: var(--color-white);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.location-info .section-title { margin-bottom: var(--space-xl); }

.location-detail {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
}

.location-detail:last-child { border-bottom: none; }

.location-detail__icon {
  width: 40px;
  height: 40px;
  background: var(--color-gold-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-detail__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.5;
}

.location-detail__label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 4px;
}

.location-detail__value {
  font-size: var(--text-base);
  color: var(--color-text);
  font-weight: 400;
}

.location-detail__value a {
  color: var(--color-gold);
  transition: color var(--duration-base);
}

.location-detail__value a:hover { color: var(--color-navy); }

.location-note {
  margin-top: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-gold-pale);
  border-left: 3px solid var(--color-gold);
  font-size: var(--text-sm);
  color: var(--color-text-mid);
}

#map {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

/* =============================================
   FOOTER — marrón oscuro cálido
   ============================================= */
footer {
  background: var(--color-navy);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

.footer__brand-tagline {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  max-width: 280px;
}

.footer__social { display: flex; gap: var(--space-md); }

.footer__social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-base), border-color var(--duration-base);
}

.footer__social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.footer__social svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255,255,255,0.7);
  fill: none;
  stroke-width: 1.5;
  transition: stroke var(--duration-base);
}

.footer__social a:hover svg { stroke: var(--color-white); }

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-xl);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-base);
}

.footer__links a:hover { color: rgba(255,255,255,0.85); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-gold);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__contact-item span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.footer__contact-item a {
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-base);
}

.footer__contact-item a:hover { color: rgba(255,255,255,0.85); }

.footer__bottom {
  padding-block: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.footer__copy { font-size: var(--text-xs); color: rgba(255,255,255,0.3); }

.footer__legal { display: flex; gap: var(--space-xl); }

.footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
  transition: color var(--duration-base);
}

.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* =============================================
   FLOATING BUTTONS
   ============================================= */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-sm);
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-base) var(--ease-spring),
              box-shadow var(--duration-base);
  cursor: pointer;
  border: none;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.fab--wa { background: #25D366; }
.fab--wa svg { width: 26px; height: 26px; fill: var(--color-white); }

.fab--chat { background: var(--color-gold); }
.fab--chat svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 2;
}

.fab-tooltip {
  position: absolute;
  right: 68px;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-family: var(--font-body);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--duration-base), transform var(--duration-base);
}

.fab-tooltip::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right: none;
  border-left-color: var(--color-navy);
}

.fab:hover .fab-tooltip { opacity: 1; transform: translateX(0); }

/* =============================================
   CHATBOT WIDGET
   ============================================= */
.chatbot-widget {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  z-index: 850;
  width: 360px;
  max-height: 520px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.85) translateY(20px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: transform var(--duration-slow) var(--ease-spring),
              opacity var(--duration-base);
}

.chatbot-widget.is-open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chatbot__header {
  background: var(--color-navy);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chatbot__header-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.chatbot__avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  flex-shrink: 0;
}

.chatbot__name { font-size: var(--text-sm); font-weight: 500; color: var(--color-white); }

.chatbot__status {
  font-size: 0.625rem;
  color: #25D366;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chatbot__status::before {
  content: '';
  width: 5px;
  height: 5px;
  background: #25D366;
  border-radius: 50%;
  display: block;
}

.chatbot__close {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--duration-base);
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1;
}

.chatbot__close:hover { background: rgba(255,255,255,0.2); color: var(--color-white); }

.chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  scroll-behavior: smooth;
  background: var(--color-cream);
}

.chatbot__messages::-webkit-scrollbar { width: 4px; }
.chatbot__messages::-webkit-scrollbar-track { background: transparent; }
.chatbot__messages::-webkit-scrollbar-thumb { background: var(--color-border-dark); border-radius: 2px; }

.msg {
  max-width: 85%;
  animation: msgAppear 0.3s var(--ease-out) forwards;
}

@keyframes msgAppear {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.msg--bot { align-self: flex-start; }
.msg--user { align-self: flex-end; }

.msg__bubble {
  padding: 0.625rem 0.875rem;
  border-radius: 12px;
  font-size: var(--text-sm);
  line-height: 1.55;
}

.msg--bot .msg__bubble {
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 4px;
}

.msg--user .msg__bubble {
  background: var(--color-navy);
  color: var(--color-white);
  border-bottom-right-radius: 4px;
}

.msg__time { font-size: 0.625rem; color: var(--color-text-light); margin-top: 4px; padding-inline: 4px; }
.msg--user .msg__time { text-align: right; }

.chatbot__quick-replies {
  padding: var(--space-sm) var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  border-top: 1px solid var(--color-border);
  background: var(--color-white);
  flex-shrink: 0;
}

.qr-btn {
  padding: 0.375rem 0.75rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-navy);
  cursor: pointer;
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.qr-btn:hover { background: var(--color-gold); border-color: var(--color-gold); color: var(--color-white); }

.chatbot__input-area {
  padding: var(--space-md) var(--space-lg);
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  flex-shrink: 0;
}

.chatbot__input {
  flex: 1;
  padding: 0.625rem 1rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  outline: none;
  color: var(--color-text);
  transition: border-color var(--duration-base);
}

.chatbot__input:focus { border-color: var(--color-gold); }

.chatbot__send {
  width: 36px;
  height: 36px;
  background: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background var(--duration-base), transform var(--duration-base) var(--ease-spring);
}

.chatbot__send:hover { background: var(--color-navy); transform: scale(1.1); }

.chatbot__send svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 2;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.75rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--color-text-light);
  border-radius: 50%;
  animation: typing 1.2s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 560px;
  background: var(--color-navy);
  border: 1px solid rgba(122, 31, 46, 0.4);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
  z-index: 1100;
  display: none;
}

.cookie-banner.is-visible {
  display: block;
  animation: slideUp 0.4s var(--ease-out) forwards;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cookie-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cookie-banner__text {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: var(--space-xl);
}

.cookie-banner__text a { color: var(--color-gold-light); text-decoration: underline; }

.cookie-banner__actions { display: flex; gap: var(--space-md); flex-wrap: wrap; }

.cookie-banner__accept {
  padding: 0.625rem 1.5rem;
  background: var(--color-gold);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: background var(--duration-base);
}

.cookie-banner__accept:hover { background: var(--color-gold-light); }

.cookie-banner__reject {
  padding: 0.625rem 1.5rem;
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--duration-base);
}

.cookie-banner__reject:hover { border-color: rgba(255,255,255,0.4); color: var(--color-white); }

/* =============================================
   HERO PÁGINAS INTERNAS — fondo oscuro
   ============================================= */
.page-hero {
  padding-top: calc(var(--nav-height) + clamp(3rem, 6vw, 5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(122,31,46,0.15) 0%, transparent 60%);
}

.page-hero__inner { position: relative; z-index: 1; }
.page-hero__eyebrow { margin-bottom: var(--space-lg); }

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.page-hero__title em { font-style: italic; color: var(--color-gold-light); }

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  max-width: 540px;
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--duration-base); }
.breadcrumb a:hover { color: var(--color-gold-light); }
.breadcrumb__sep { opacity: 0.35; }

/* =============================================
   ADMIN PANEL
   ============================================= */
.admin-body { font-family: var(--font-body); background: #F0F2F5; min-height: 100vh; }

.admin-header {
  background: var(--color-navy);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-header__brand { font-family: var(--font-display); font-size: 1.25rem; color: var(--color-white); letter-spacing: 0.02em; }

.admin-header__logout a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  transition: all 0.2s;
}

.admin-header__logout a:hover { color: var(--color-white); border-color: rgba(255,255,255,0.4); }

.admin-container { max-width: 1200px; margin: 2rem auto; padding: 0 1.5rem; }

.admin-card {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.admin-card__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-card__title { font-size: 1rem; font-weight: 600; color: #111827; }

.admin-filters { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }

.admin-filters select,
.admin-filters input {
  padding: 0.5rem 0.875rem;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #374151;
  outline: none;
  background: #F9FAFB;
}

.admin-filters select:focus,
.admin-filters input:focus { border-color: var(--color-gold); }

.admin-table-wrap { overflow-x: auto; }

.admin-table { width: 100%; border-collapse: collapse; }

.admin-table th {
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6B7280;
  background: #F9FAFB;
  border-bottom: 1px solid #E5E7EB;
  white-space: nowrap;
}

.admin-table td {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  border-bottom: 1px solid #F3F4F6;
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #FAFAFA; }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge--pending   { background: #FEF3C7; color: #92400E; }
.badge--confirmed { background: #D1FAE5; color: #065F46; }
.badge--attended  { background: #DBEAFE; color: #1E40AF; }
.badge--cancelled { background: #FEE2E2; color: #991B1B; }

.admin-action-btn {
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid;
  transition: all 0.15s;
}

.admin-action-btn--confirm { border-color: #059669; color: #059669; }
.admin-action-btn--confirm:hover { background: #059669; color: #fff; }
.admin-action-btn--attend  { border-color: #2563EB; color: #2563EB; }
.admin-action-btn--attend:hover  { background: #2563EB; color: #fff; }
.admin-action-btn--cancel  { border-color: #DC2626; color: #DC2626; }
.admin-action-btn--cancel:hover  { background: #DC2626; color: #fff; }
.admin-action-btn--delete  { border-color: #9CA3AF; color: #9CA3AF; }
.admin-action-btn--delete:hover  { background: #9CA3AF; color: #fff; }

.admin-export-btn {
  padding: 0.625rem 1.25rem;
  background: var(--color-navy);
  color: var(--color-white);
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.2s;
}

.admin-export-btn:hover { background: var(--color-navy-light); }

.admin-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.5rem; }

.admin-stat-card { background: var(--color-white); border-radius: 8px; padding: 1.25rem 1.5rem; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
.admin-stat-card__value { font-size: 1.75rem; font-weight: 700; color: var(--color-navy); line-height: 1; }
.admin-stat-card__label { font-size: 0.75rem; color: #9CA3AF; margin-top: 0.25rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: none; }
  .stats__item:nth-child(3) { border-top: 1px solid var(--color-border); }
  .admin-stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__hamburger { display: flex; }

  .about__grid,
  .whatsapp-section__inner,
  .location-grid { grid-template-columns: 1fr; }

  .about__visual { order: -1; }
  .about__image-frame { aspect-ratio: 16/9; }
  .about__badge { bottom: auto; left: auto; top: -1rem; right: -1rem; }

  .why-us__grid { grid-template-columns: 1fr; }
  .areas__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; }

  .stats__inner { grid-template-columns: 1fr 1fr; }
  .stats__item:nth-child(3) { border-top: 1px solid var(--color-border); }
  .stats__item:nth-child(4) { border-right: none; border-top: 1px solid var(--color-border); }

  .cta-section__title { font-size: var(--text-4xl); }

  .chatbot-widget { width: calc(100vw - 2rem); right: 1rem; bottom: 5rem; }
  .floating-whatsapp { right: 1rem; bottom: 1rem; }
  .cookie-banner { left: 1rem; right: 1rem; bottom: 1rem; }
  .admin-stats-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { text-align: center; justify-content: center; }

  .stats__inner { grid-template-columns: 1fr; }
  .stats__item { border-right: none !important; border-top: none; }
  .stats__item + .stats__item { border-top: 1px solid var(--color-border); }

  .cta-section__ctas { flex-direction: column; align-items: stretch; }
  .cta-section__ctas .btn { text-align: center; justify-content: center; }

  .admin-stats-row { grid-template-columns: 1fr; }
}
