/* Paleta 100% Terracota Original Kimi (#c27d63) */
:root {
  --terracotta: #c27d63 !important;
  --terracotta-light: #d18d74 !important;
  --terracotta-dark: #a6634b !important;
  --accent: #c27d63 !important;
  --gold: #c27d63 !important;
  --blue: #c27d63 !important;
  --primary: #c27d63 !important;
}

/* Kickers, números 01-04 de Método, indicador Al Aire, 97.7 FM, categorías y Contacto en terracota */
.hero-kicker,
.section-kicker,
.case-kicker,
.method-number,
.radio-live,
.radio-station strong,
.insight-category,
.contact-nav-link,
#active-area-num,
.area-visual-caption span {
  color: #c27d63 !important;
}

/* Títulos en cursiva ("propósito.", "Se trata de entender qué está en juego.", "tu causa.") */
.hero-title em,
.regional-copy h2 em,
.philosophy-grid h2 em {
  color: #c27d63 !important;
}

/* Todos los links desplegables (Áreas, FAQ, Actualidad) e internos/externos en terracota */
a.text-link,
a.text-link-light,
.hero-actions a,
.philosophy-copy a,
.area-item.is-active h3 button span,
.area-item.is-active h3 button svg,
.area-item h3 button:hover span,
.area-item h3 button:hover svg,
.area-panel ul li svg,
.area-panel-actions a,
.area-consult-link,
.faq-item.is-open h3 button span,
.faq-item.is-open h3 button svg,
.faq-item h3 button:hover span,
.faq-item h3 button:hover svg,
.region-places a,
.region-places a svg,
.whatsapp-link,
.whatsapp-link svg,
.case-sources a,
.case-sources a svg,
.case-reference figcaption a,
.insight-content h3 a:hover,
.insight-content h3 a svg,
.insight-detail a,
.insight-detail a svg,
.insights-more:hover,
.insights-more svg,
.office-map-link,
.office-map-link svg,
.office-address-link:hover,
.direct-contact a:hover,
.privacy-check a,
.radio-socials a,
.back-top:hover,
.footer-bottom a:hover,
.mobile-nav-item:hover,
.mobile-nav-item svg,
. desktop-nav .nav-link:hover {
  color: #c27d63 !important;
}

/* Filtros de Actualidad activos o al pasar el cursor */
.insight-filters button[aria-pressed="true"],
.insight-filters button:hover {
  border-color: #c27d63 !important;
  color: #c27d63 !important;
}

.insights-status i {
  background: #c27d63 !important;
}

/* Botones principales y de envío en terracota */
.button-primary,
.form-submit {
  background: #c27d63 !important;
  border: 1px solid #d18d74 !important;
  color: #fff !important;
  transition: all 0.2s ease !important;
}

.button-primary:hover,
.form-submit:hover {
  background: #a6634b !important;
  border-color: #e2a893 !important;
}

/* Enlaces del Hero hacia Áreas de práctica */
.hero-practices a {
  color: #f5f2ebd9;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.hero-practices a:hover {
  color: #c27d63 !important;
  transform: translateY(-1px);
}

/* Línea de presentación inicial (brand-intro) */
.intro-rule {
  background: #c27d63 !important;
}
#skip-intro-btn:hover {
  color: #c27d63 !important;
  border-color: #c27d63 !important;
}

/* Sección de Radio y botón "Escuchar señal en vivo" con fondo terracota */
.radio-feature {
  border-top: 1px solid rgba(194, 125, 99, 0.45) !important;
}

.radio-live {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.radio-live-dot {
  position: relative;
  display: inline-flex;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #c27d63 !important;
  flex-shrink: 0;
}

.radio-live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: rgba(194, 125, 99, 0.45) !important;
  animation: rpPulse 1.5s ease-out infinite;
}

.radio-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.radio-eq i {
  display: block;
  width: 2.5px;
  background: currentColor;
  border-radius: 2px;
}

.radio-eq i:nth-child(1) { height: 6px; animation: rpEq 0.8s ease-in-out infinite; }
.radio-eq i:nth-child(2) { height: 13px; animation: rpEq 0.65s ease-in-out 0.15s infinite; }
.radio-eq i:nth-child(3) { height: 8px; animation: rpEq 0.9s ease-in-out 0.3s infinite; }

.radio-live-cta {
  margin: 1.15rem 0 0.9rem;
  padding: 0.95rem 1.2rem;
  border-radius: 6px;
  background: linear-gradient(135deg, #c27d63, #a6634b) !important;
  border: 1px solid #d18d74 !important;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: 100%;
  text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.radio-live-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #cf886e, #b36d54) !important;
  box-shadow: 0 14px 30px rgba(194, 125, 99, 0.4);
  color: #fff !important;
}

.radio-live-cta .radio-live-dot {
  background: #fff !important;
}

.radio-live-cta .radio-live-dot::after {
  background: rgba(255, 255, 255, 0.45) !important;
}

/* Grilla lado a lado para la noticia y la foto del Juzgado de Letras de Pichilemu */
.case-grid-side {
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr !important;
  gap: 3rem !important;
  align-items: center !important;
}

.case-reference-clean {
  margin: 0 !important;
}

.case-reference-clean img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.case-reference-clean figcaption {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: #475569;
}

@media (max-width: 900px) {
  .case-grid-side {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Foco de formularios e inputs en terracota en vez de azul */
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline-color: #c27d63 !important;
  border-color: #c27d63 !important;
}

@keyframes rpPulse {
  75%, to { transform: scale(2.1); opacity: 0; }
}

@keyframes rpEq {
  0%, to { height: 4px; }
  50% { height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .radio-live-dot::after, .radio-eq i { animation: none !important; }
}
