/* ==========================================================================
   ABOG@RED - ESTILO 2026 (Branding Original Adaptado: Navy + Oro + Rojo CTA)
   ========================================================================== */

:root {
  --primary-navy: #070c1b;
  --primary-slate: #0f172a;
  --primary-dark: #050811;
  --accent-gold: #c59b27;
  --accent-gold-light: #e5b93b;
  --accent-gold-hover: #a8821a;
  --accent-gold-bg: rgba(197, 155, 39, 0.1);
  --accent-red: #dc2626;
  --accent-red-hover: #b91c1c;
  --accent-red-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.35);
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

/* Visibility Utilities */
.mobile-only {
  display: none !important;
}

.desktop-only {
  display: inline-flex !important;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.75rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.5rem; }
p { margin-bottom: 1.25rem; color: #334155; }
p.lead { font-size: 1.2rem; font-weight: 400; color: #475569; line-height: 1.6; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
}

/* Brand Red CTA Button */
.btn-primary, .btn-red {
  background: var(--accent-red);
  color: #ffffff !important;
  box-shadow: var(--accent-red-shadow);
}

.btn-primary:hover, .btn-red:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(220, 38, 38, 0.45);
  color: #ffffff !important;
}

/* Gold Accent Button */
.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #ffffff !important;
  box-shadow: 0 10px 25px -5px rgba(197, 155, 39, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(197, 155, 39, 0.4);
}

.btn-secondary {
  background: var(--primary-navy);
  color: #ffffff !important;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: #1e293b;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: #ffffff;
}

.btn-white {
  background: #ffffff;
  color: var(--primary-navy) !important;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.35rem;
  font-size: 0.875rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.topbar {
  background: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cbd5e1;
}

.topbar-item a:hover {
  color: var(--accent-gold-light);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

/* NAVBAR LOGO EN NEGRO NÍTIDO */
.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0); /* Garantiza negro 100% puro y nítido */
  transition: opacity 0.2s ease;
}

.logo-link:hover .brand-logo-img {
  opacity: 0.85;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.75rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e293b;
  padding: 0.5rem 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

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

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: #ffffff;
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 0.75rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: var(--transition);
}

.dropdown-link:hover {
  background: var(--bg-page);
  color: var(--accent-gold);
  padding-left: 1.5rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.5rem;
  color: var(--primary-navy);
}

/* Hero Section con Imagen Traslúcida Sutil */
.hero-section-home {
  position: relative;
  background: linear-gradient(135deg, rgba(7, 12, 27, 0.85) 0%, rgba(15, 23, 42, 0.88) 100%),
              url('/images/hero-bg.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 7rem 0 6.5rem;
  text-align: center;
  overflow: hidden;
}

.hero-home-inner {
  max-width: 860px;
  margin: 0 auto;
}

.hero-gold-tag {
  color: var(--accent-gold);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-title-home {
  color: #ffffff;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-meta-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0 2.5rem;
  font-size: 1.1rem;
  color: #e2e8f0;
}

.hero-meta-strip a {
  color: #ffffff;
  font-weight: 700;
}

.hero-meta-strip a:hover {
  color: var(--accent-gold-light);
}

/* Page Hero para Subpáginas con Fotos Traslúcidas */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(7, 12, 27, 0.82) 0%, rgba(15, 23, 42, 0.88) 100%),
              url('/images/hero-bg.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
}

.page-hero-revolving {
  background: linear-gradient(135deg, rgba(7, 12, 27, 0.82) 0%, rgba(15, 23, 42, 0.88) 100%),
              url('/images/tarjetas-revolving-scaled-1.webp') center/cover no-repeat;
}

.page-hero-prestamos {
  background: linear-gradient(135deg, rgba(7, 12, 27, 0.82) 0%, rgba(15, 23, 42, 0.88) 100%),
              url('/images/sg-gallery1-900x525-1.webp') center/cover no-repeat;
}

.page-hero-hipotecas {
  background: linear-gradient(135deg, rgba(7, 12, 27, 0.82) 0%, rgba(15, 23, 42, 0.88) 100%),
              url('/images/Confianza_Euroburo-1024x666.jpg') center/cover no-repeat;
}

.page-hero-especialidades {
  background: linear-gradient(135deg, rgba(7, 12, 27, 0.82) 0%, rgba(15, 23, 42, 0.88) 100%),
              url('/images/expertise-bg-r1az22e5gd5f293prsc2wgehyjfqgxpzqx8tcicisg.jpg') center/cover no-repeat;
}

.page-hero-herencias {
  background: linear-gradient(135deg, rgba(7, 12, 27, 0.82) 0%, rgba(15, 23, 42, 0.88) 100%),
              url('/images/importancia-del-testamento.jpg') center/cover no-repeat;
}

.page-hero-penal {
  background: linear-gradient(135deg, rgba(7, 12, 27, 0.82) 0%, rgba(15, 23, 42, 0.88) 100%),
              url('/images/sg-gallery1-900x525-1.webp') center/cover no-repeat;
}

.page-hero-civil {
  background: linear-gradient(135deg, rgba(7, 12, 27, 0.82) 0%, rgba(15, 23, 42, 0.88) 100%),
              url('/images/Confianza_Euroburo-1024x666.jpg') center/cover no-repeat;
}

.page-hero-accidentes {
  background: linear-gradient(135deg, rgba(7, 12, 27, 0.82) 0%, rgba(15, 23, 42, 0.88) 100%),
              url('/images/expertise-bg-r1az22e5gd5f293prsc2wgehyjfqgxpzqx8tcicisg.jpg') center/cover no-repeat;
}

.page-hero-contacto {
  background: linear-gradient(135deg, rgba(7, 12, 27, 0.82) 0%, rgba(15, 23, 42, 0.88) 100%),
              url('/images/hero-bg.jpg') center/cover no-repeat;
}

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.page-hero p.lead {
  color: #cbd5e1;
  max-width: 800px;
}

/* Hero Grid Layout (2 Columnas en Desktop) */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Tarjeta de Formulario: SÓLIDA, BLANCA Y DE ALTO CONTRASTE */
.lead-card {
  background: #ffffff !important;
  color: #0f172a !important;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  position: relative;
  z-index: 10;
}

.lead-card label,
.lead-card span,
.lead-card p,
.lead-card h3,
.lead-card input,
.lead-card textarea {
  color: #0f172a;
}

.lead-card .lead-card-tag {
  color: #b45309 !important;
}

.lead-card .lead-card-subtitle,
.lead-card .form-legal {
  color: #64748b !important;
}

.lead-card .btn-primary,
.lead-card .btn-primary * {
  color: #ffffff !important;
}

.lead-card-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.lead-card-tag {
  display: inline-block;
  background: rgba(197, 155, 39, 0.12);
  color: var(--accent-gold-hover);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.lead-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a !important;
  margin-bottom: 0.35rem;
}

.lead-card-subtitle {
  font-size: 0.9rem;
  color: #64748b !important;
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
  width: 100%;
}

.form-label,
.lead-card .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a !important;
  margin-bottom: 0.45rem;
}

.form-control,
.lead-card .form-control {
  width: 100%;
  display: block;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: var(--radius-md);
  background: #ffffff !important;
  color: #0f172a !important;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-control:focus,
.lead-card .form-control:focus {
  outline: none;
  border-color: var(--accent-red) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
}

.form-control::placeholder,
.lead-card .form-control::placeholder {
  color: #94a3b8 !important;
}

select.form-control,
.lead-card select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 1.15em !important;
  padding-right: 2.75rem !important;
  cursor: pointer;
}

textarea.form-control,
.lead-card textarea.form-control {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Contact Grid Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 576px) {
  .contact-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Expense Tags (Single row of 4) */
.expense-tags-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.expense-tag-card {
  background: #f8fafc;
  padding: 0.85rem 0.45rem;
  border-radius: var(--radius-md);
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 700;
  color: #0f172a;
  font-size: 0.88rem;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  min-width: 0;
  box-sizing: border-box;
}

.expense-tag-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.1);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .expense-tags-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .expense-tags-grid {
    grid-template-columns: 1fr;
  }
}

/* Pill Checkboxes y Opciones Interactivas */
.pill-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pill-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: var(--radius-md);
  background: #f8fafc !important;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a !important;
  user-select: none;
}

.pill-chip {
  padding: 0.65rem 0.4rem !important;
  text-align: center;
  justify-content: center;
  font-size: 0.82rem !important;
}

.pill-chip input {
  display: none !important;
}

.pill-option:hover {
  background: #ffffff !important;
  border-color: #94a3b8 !important;
}

.pill-option span {
  color: #0f172a !important;
  font-weight: 600;
}

.pill-option input[type="checkbox"],
.pill-option input[type="radio"] {
  accent-color: var(--accent-red);
  width: 17px;
  height: 17px;
}

.pill-option.selected {
  border-color: var(--accent-red) !important;
  background: rgba(220, 38, 38, 0.06) !important;
}

.pill-option.selected span {
  color: var(--accent-red) !important;
  font-weight: 700;
}

.form-legal {
  font-size: 0.75rem;
  color: #64748b !important;
  line-height: 1.4;
  margin-top: 1rem;
}

.form-legal a {
  color: var(--accent-red) !important;
  text-decoration: underline;
}

/* Three Trust Badges (Gratis Bono 100€, No Te Cuesta NADA, Éxito Asegurado) */
.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  text-align: center;
}

.trust-badge-item {
  background: #ffffff;
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.trust-badge-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.trust-badge-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.trust-badge-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: #ffffff;
}

.section-dark {
  background: var(--primary-navy);
  color: #ffffff;
}

.section-dark h1, .section-dark h2, .section-dark h3 {
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(197, 155, 39, 0.4);
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--accent-gold-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-gold);
  font-size: 1.75rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-red);
  font-weight: 700;
  font-size: 0.9rem;
}

.feature-link:hover {
  gap: 0.65rem;
  color: var(--accent-red-hover);
}

/* Google Reviews Styles */
.google-rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: #ffffff;
  padding: 1.25rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  max-width: 580px;
  margin: 0 auto 3rem;
}

.google-brand-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.google-g-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.google-stars {
  color: #fbbc04;
  font-size: 1.25rem;
  letter-spacing: 2px;
  line-height: 1;
}

.google-score {
  font-weight: 800;
  font-size: 1.35rem;
  color: #0f172a;
}

.google-count {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

.google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .google-reviews-grid {
    grid-template-columns: 1fr;
  }
}

.google-review-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.google-review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

.google-review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.google-user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.google-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1rem;
  flex-shrink: 0;
}

.google-user-name {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.google-check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  background: #1a73e8;
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}

.google-review-tag {
  font-size: 0.75rem;
  color: #64748b;
}

.google-review-body {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.google-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.8rem;
  color: #94a3b8;
}

.google-source-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #1a73e8;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.8rem;
}

.google-source-link:hover {
  text-decoration: underline;
}

/* Online Attention Section con Fondo de Columnas Traslúcido */
.section-online-bg {
  position: relative;
  background: linear-gradient(135deg, rgba(7, 12, 27, 0.88) 0%, rgba(15, 23, 42, 0.92) 100%),
              url('/images/expertise-bg-r1az22e5gd5f293prsc2wgehyjfqgxpzqx8tcicisg.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 6rem 0;
}

.badge-gold {
  background: var(--accent-gold);
  color: #ffffff;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent-red);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  display: none;
}

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

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 1rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.breadcrumb-separator {
  color: #cbd5e1;
}

.breadcrumb-link {
  color: var(--text-muted);
}

.breadcrumb-link:hover {
  color: var(--accent-gold);
}

.breadcrumb-current {
  color: var(--primary-navy);
  font-weight: 600;
}

/* Legal / Text Page Styling */
.legal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  margin: 3rem auto;
}

.legal-content h2 { margin-top: 2rem; margin-bottom: 1rem; }
.legal-content h3 { margin-top: 1.5rem; margin-bottom: 0.75rem; }
.legal-content h4 { margin-top: 1.25rem; margin-bottom: 0.5rem; }
.legal-content ul, .legal-content ol { margin: 1rem 0 1.5rem 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; color: #334155; }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold-light);
  padding-left: 0.35rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

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

/* Floating Phone / Call Button */
.call-float,
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px;
  height: 62px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
}

.call-float:hover,
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.6);
  color: #ffffff !important;
}

.call-float svg,
.whatsapp-float svg {
  animation: phoneRing 3.5s ease-in-out infinite;
}

@keyframes phoneRing {
  0%, 100% { transform: rotate(0deg); }
  5%, 15% { transform: rotate(-15deg); }
  10%, 20% { transform: rotate(15deg); }
  25% { transform: rotate(0deg); }
}

/* Captcha Security Modal */
.captcha-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 27, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.captcha-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.captcha-modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
  transform: scale(0.92);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.captcha-modal-overlay.active .captcha-modal-card {
  transform: scale(1);
}

.captcha-modal-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.1);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-light);
  z-index: 10000;
  display: none;
  animation: slideUp 0.3s ease-out;
}

.cookie-banner.show {
  display: block;
}

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

.cookie-text {
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  gap: 0.5rem;
}

/* Admin Styling */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: #f1f5f9;
}

.admin-sidebar {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.admin-nav {
  margin-top: 2rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-nav-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  color: #94a3b8;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

.admin-nav-item a:hover,
.admin-nav-item.active a {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.admin-content {
  padding: 2.5rem;
  overflow-y: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.admin-table th, .admin-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.admin-table th {
  background: #f8fafc;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-badges-grid { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .mobile-toggle { display: block; }
  .nav-dropdown { position: static; box-shadow: none; border: none; padding-left: 1rem; display: none; }
  .nav-item.active-mobile .nav-dropdown { display: block; }
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  .footer-grid { grid-template-columns: 1fr; }
}
