/* ==========================================================================
   HERCO ASESORES - MAIN STYLESHEET
   Location: Valencia, Spain
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Palette - Executive Female-Led Firm (WCAG AA/AAA Compliant) */
  --herco-primary: #4A2E35;        /* Warm Deep Rosewood / Plum Burgundy (Luminance ratio ~11.8:1 vs #FFF) */
  --herco-primary-hover: #372026;  /* Rich Darker Rosewood */
  --herco-secondary: #AD513E;      /* Rich Terracotta Rose (Luminance ratio 4.8:1 vs #FFF - WCAG AA Pass!) */
  --herco-secondary-hover: #8F3C2B;/* Dark Terracotta (Luminance ratio 6.3:1 vs #FFF) */
  --herco-accent: #E8B499;         /* Soft Blush Rose Gold */
  --herco-accent-light: #FFDFD3;   /* High-Contrast Light Accent on Dark BG (Ratio 9.8:1 vs #4A2E35 - WCAG AAA Pass!) */
  --herco-dark: #2A1D21;           /* Warm Dark Chocolate Brown */
  --herco-light: #FAF5F3;          /* Soft Warm Cashmere Cream */
  --herco-surface: #FFFFFF;        /* Crisp White */
  --herco-border: #EFE2DE;         /* Soft Warm Blush Border */
  --herco-border-subtle: #F7EFEB;  /* Subtle Warm Cashmere Border */
  --herco-text-dark: #2A1A1E;      /* Extra Dark Brown-Grey for High Contrast (Ratio 12.5:1 vs #FFF) */
  --herco-text-muted: #5E4A4E;     /* Darker Muted Mauve (Ratio 5.8:1 vs #FFF - WCAG AA Pass!) */
  --herco-text-light: #F7EFEB;     /* Off-White Light Text on Dark Backgrounds (Ratio 10.5:1) */

  /* Typography: Elegant Serif Headings + Softer Rounded Sans Body */
  --herco-font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --herco-font-heading: 'Cormorant Garamond', 'Georgia', serif;

  /* Shadow & Elevation */
  --herco-shadow-sm: 0 2px 6px rgba(74, 46, 53, 0.04), 0 1px 3px rgba(74, 46, 53, 0.03);
  --herco-shadow-md: 0 6px 18px -2px rgba(74, 46, 53, 0.08), 0 2px 6px -1px rgba(74, 46, 53, 0.03);
  --herco-shadow-lg: 0 16px 32px -6px rgba(74, 46, 53, 0.11), 0 8px 14px -4px rgba(74, 46, 53, 0.04);
  --herco-shadow-xl: 0 26px 45px -12px rgba(74, 46, 53, 0.2);
  --herco-shadow-glow: 0 0 25px rgba(173, 81, 62, 0.35);

  /* Soft Curved Radius */
  --herco-radius-sm: 10px;
  --herco-radius-md: 16px;
  --herco-radius-lg: 24px;
  --herco-radius-xl: 32px;
  --herco-radius-full: 9999px;

  /* Transitions */
  --herco-transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --herco-transition-fast: all 0.18s ease-in-out;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--herco-font-primary);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--herco-light);
  color: var(--herco-text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--herco-primary);
  text-decoration: none;
  transition: var(--herco-transition-fast);
}
a:hover {
  color: var(--herco-secondary);
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--herco-font-heading);
  color: var(--herco-primary);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--herco-text-muted);
}
p:last-child {
  margin-bottom: 0;
}

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

/* --------------------------------------------------------------------------
   3. Utility Classes & Badges
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-gold { color: var(--herco-secondary) !important; }
.text-primary { color: var(--herco-primary) !important; }

.herco-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--herco-radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(217, 119, 6, 0.12);
  color: var(--herco-secondary);
  border: 1px solid rgba(217, 119, 6, 0.25);
  margin-bottom: 1rem;
}

.herco-badge-primary {
  background: rgba(15, 37, 55, 0.08);
  color: var(--herco-primary);
  border-color: rgba(15, 37, 55, 0.2);
}

.herco-section-title {
  max-width: 720px;
  margin: 0 auto 3rem auto;
}
.herco-section-title h2 {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.herco-section-title p {
  font-size: 1.1rem;
}

/* Buttons */
.herco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--herco-radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--herco-transition);
  box-shadow: var(--herco-shadow-sm);
  line-height: 1.2;
}

.herco-btn-primary {
  background-color: var(--herco-secondary);
  color: #FFFFFF !important;
  border-color: var(--herco-secondary);
}
.herco-btn-primary:hover {
  background-color: var(--herco-secondary-hover);
  border-color: var(--herco-secondary-hover);
  transform: translateY(-2px);
  box-shadow: var(--herco-shadow-glow);
}

.herco-btn-navy {
  background-color: var(--herco-primary);
  color: #FFFFFF !important;
  border-color: var(--herco-primary);
}
.herco-btn-navy:hover {
  background-color: var(--herco-primary-hover);
  border-color: var(--herco-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--herco-shadow-md);
}

.herco-btn-outline {
  background-color: transparent;
  color: var(--herco-primary) !important;
  border-color: var(--herco-primary);
}
.herco-btn-outline:hover {
  background-color: var(--herco-primary);
  color: #FFFFFF !important;
  transform: translateY(-2px);
}

.herco-btn-outline-white {
  background-color: transparent;
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.4);
}
.herco-btn-outline-white:hover {
  background-color: #FFFFFF;
  color: var(--herco-primary) !important;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. Header & Navigation
   -------------------------------------------------------------------------- */
/* Top Header Bar */
.herco-topbar {
  background-color: var(--herco-primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.herco-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.herco-topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.herco-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
}
.herco-topbar-item a {
  color: rgba(255, 255, 255, 0.9);
}
.herco-topbar-item a:hover {
  color: var(--herco-secondary);
}

.herco-topbar-social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.herco-topbar-social a {
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--herco-radius-full);
  background: rgba(255, 255, 255, 0.1);
  transition: var(--herco-transition-fast);
}
.herco-topbar-social a:hover {
  background: var(--herco-secondary);
  color: #FFFFFF;
}

/* Main Navbar */
.herco-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--herco-border);
  box-shadow: var(--herco-shadow-sm);
  transition: var(--herco-transition);
}
.herco-navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.herco-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.herco-logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--herco-primary), #1E3A8A);
  color: var(--herco-secondary);
  border-radius: var(--herco-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  box-shadow: var(--herco-shadow-sm);
  border: 1px solid rgba(217, 119, 6, 0.3);
}
.herco-logo-text {
  display: flex;
  flex-direction: column;
}
.herco-logo-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--herco-primary);
  letter-spacing: -0.5px;
  line-height: 1;
}
.herco-logo-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--herco-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.herco-nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.herco-nav-menu ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.herco-nav-menu a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--herco-text-dark);
  padding: 0.5rem 0;
  position: relative;
}
.herco-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--herco-secondary);
  transition: var(--herco-transition);
}
.herco-nav-menu a:hover::after,
.herco-nav-menu li.current-menu-item > a::after {
  width: 100%;
}
.herco-nav-menu li.current-menu-item > a {
  color: var(--herco-secondary);
}

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

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.herco-hero {
  position: relative;
  background: linear-gradient(135deg, var(--herco-primary) 0%, #091724 100%);
  color: #FFFFFF;
  padding: 6rem 0 7rem 0;
  overflow: hidden;
}
.herco-hero-bg-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(217, 119, 6, 0.15) 0%, transparent 60%);
  pointer-events: none;
}
.herco-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
.herco-hero-content h1 {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}
.herco-hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 580px;
}
.herco-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Feature Card Right */
.herco-hero-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--herco-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--herco-shadow-xl);
}
.herco-hero-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}
.herco-hero-card-header h3 {
  color: #FFFFFF;
  font-size: 1.35rem;
}
.herco-hero-features {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.herco-hero-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.herco-hero-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--herco-radius-sm);
  background: rgba(217, 119, 6, 0.2);
  color: var(--herco-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.herco-hero-feature-text h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.herco-hero-feature-text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   6. Statistics Bar
   -------------------------------------------------------------------------- */
.herco-stats {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
}
.herco-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: #FFFFFF;
  padding: 2rem;
  border-radius: var(--herco-radius-lg);
  box-shadow: var(--herco-shadow-lg);
  border: 1px solid var(--herco-border);
}
.herco-stat-card {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid var(--herco-border-subtle);
}
.herco-stat-card:last-child {
  border-right: none;
}
.herco-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--herco-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--herco-font-heading);
}
.herco-stat-number span {
  color: var(--herco-secondary);
}
.herco-stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--herco-text-muted);
}

/* --------------------------------------------------------------------------
   7. Services Section
   -------------------------------------------------------------------------- */
.herco-services-section {
  padding: 6rem 0;
}
.herco-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.herco-service-card {
  background: var(--herco-surface);
  border: 1px solid var(--herco-border);
  border-radius: var(--herco-radius-lg);
  padding: 2.25rem;
  transition: var(--herco-transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.herco-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--herco-primary), var(--herco-secondary));
  opacity: 0;
  transition: var(--herco-transition);
}
.herco-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--herco-shadow-xl);
  border-color: rgba(217, 119, 6, 0.3);
}
.herco-service-card:hover::before {
  opacity: 1;
}

.herco-service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--herco-radius-md);
  background: rgba(15, 37, 55, 0.06);
  color: var(--herco-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--herco-transition);
}
.herco-service-card:hover .herco-service-icon {
  background: var(--herco-primary);
  color: var(--herco-secondary);
}

.herco-service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}
.herco-service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.herco-service-list {
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--herco-border-subtle);
  padding-top: 1rem;
}
.herco-service-list li {
  font-size: 0.875rem;
  color: var(--herco-text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.herco-service-list li svg {
  color: var(--herco-secondary);
  flex-shrink: 0;
}
.herco-service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--herco-primary);
}
.herco-service-card:hover .herco-service-link {
  color: var(--herco-secondary);
}

/* --------------------------------------------------------------------------
   8. Interactive Budget Calculator Section
   -------------------------------------------------------------------------- */
.herco-calculator-section {
  background: linear-gradient(135deg, #0F172A 0%, var(--herco-primary) 100%);
  color: #FFFFFF;
  padding: 6rem 0;
  position: relative;
}
.herco-calc-box {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--herco-radius-xl);
  padding: 3rem;
  max-width: 960px;
  margin: 0 auto;
  box-shadow: var(--herco-shadow-xl);
}
.herco-calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.herco-calc-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.herco-calc-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.9);
}
.herco-calc-select, .herco-calc-input {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--herco-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.6);
  color: #FFFFFF;
  font-size: 1rem;
  outline: none;
  transition: var(--herco-transition-fast);
}
.herco-calc-select option {
  background-color: var(--herco-primary);
  color: #FFFFFF;
}
.herco-calc-select:focus, .herco-calc-input:focus {
  border-color: var(--herco-secondary);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.25);
}

.herco-calc-result-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--herco-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.herco-calc-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--herco-accent);
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.herco-calc-price {
  font-size: 3.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: var(--herco-font-heading);
}
.herco-calc-price span {
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}
.herco-calc-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   9. Why Choose Us / Features Grid
   -------------------------------------------------------------------------- */
.herco-why-section {
  padding: 6rem 0;
  background-color: var(--herco-light);
}
.herco-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.herco-why-item {
  background: var(--herco-surface);
  padding: 2rem;
  border-radius: var(--herco-radius-lg);
  border: 1px solid var(--herco-border);
  box-shadow: var(--herco-shadow-sm);
  transition: var(--herco-transition);
}
.herco-why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--herco-shadow-md);
  border-color: rgba(217, 119, 6, 0.3);
}
.herco-why-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--herco-radius-md);
  background: rgba(217, 119, 6, 0.1);
  color: var(--herco-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.herco-why-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   10. Team & Testimonials
   -------------------------------------------------------------------------- */
.herco-team-section {
  padding: 6rem 0;
  background-color: #FFFFFF;
}
.herco-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}
.herco-team-card {
  background: var(--herco-light);
  border-radius: var(--herco-radius-lg);
  overflow: hidden;
  border: 1px solid var(--herco-border);
  text-align: center;
  padding: 2rem 1.5rem;
  transition: var(--herco-transition);
}
.herco-team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--herco-shadow-lg);
}
.herco-team-avatar {
  width: 110px;
  height: 110px;
  border-radius: var(--herco-radius-full);
  margin: 0 auto 1.25rem auto;
  object-fit: cover;
  border: 3px solid var(--herco-secondary);
  box-shadow: var(--herco-shadow-md);
  background: var(--herco-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 2.2rem;
  font-weight: 800;
}
.herco-team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}
.herco-team-role {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--herco-secondary);
  margin-bottom: 0.75rem;
}
.herco-team-bio {
  font-size: 0.875rem;
}

/* Testimonials */
.herco-testimonials-section {
  padding: 6rem 0;
  background: var(--herco-light);
}
.herco-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.herco-testimonial-card {
  background: #FFFFFF;
  border-radius: var(--herco-radius-lg);
  padding: 2rem;
  border: 1px solid var(--herco-border);
  box-shadow: var(--herco-shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.herco-stars {
  color: var(--herco-accent);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}
.herco-testimonial-quote {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--herco-text-dark);
  margin-bottom: 1.5rem;
}
.herco-testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--herco-border-subtle);
  padding-top: 1rem;
}
.herco-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--herco-radius-full);
  background: var(--herco-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.herco-author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}
.herco-author-info p {
  font-size: 0.8rem;
  color: var(--herco-text-muted);
}

/* --------------------------------------------------------------------------
   11. Contact Form & Valencia Location Map Section
   -------------------------------------------------------------------------- */
.herco-contact-section {
  padding: 6rem 0;
  background-color: #FFFFFF;
}
.herco-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}
.herco-contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.herco-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}
.herco-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--herco-radius-md);
  background: rgba(15, 37, 55, 0.08);
  color: var(--herco-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.herco-contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.herco-contact-details p, .herco-contact-details a {
  font-size: 0.95rem;
  color: var(--herco-text-muted);
}

.herco-contact-form-box {
  background: var(--herco-light);
  border-radius: var(--herco-radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--herco-border);
  box-shadow: var(--herco-shadow-md);
}
.herco-form-group {
  margin-bottom: 1.25rem;
}
.herco-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--herco-text-dark);
  margin-bottom: 0.4rem;
}
.herco-form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--herco-radius-md);
  border: 1px solid var(--herco-border);
  background: #FFFFFF;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: var(--herco-transition-fast);
}
.herco-form-control:focus {
  border-color: var(--herco-primary);
  box-shadow: 0 0 0 3px rgba(15, 37, 55, 0.12);
}
textarea.herco-form-control {
  resize: vertical;
  min-height: 120px;
}

.herco-map-embed {
  margin-top: 2rem;
  border-radius: var(--herco-radius-md);
  overflow: hidden;
  border: 1px solid var(--herco-border);
  box-shadow: var(--herco-shadow-sm);
  height: 250px;
}
.herco-map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   12. Footer (Pure White #FFFFFF Text - High Contrast WCAG AAA)
   -------------------------------------------------------------------------- */
.herco-footer {
  background-color: var(--herco-primary);
  color: #FFFFFF !important;
  padding: 5rem 0 2rem 0;
  font-size: 0.95rem;
}
.herco-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}
.herco-footer-brand p {
  color: #FFFFFF !important;
  opacity: 1 !important;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.herco-footer-title {
  color: #FFFFFF !important;
  font-size: 1.25rem;
  font-family: var(--herco-font-heading);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.herco-footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.herco-footer-links p,
.herco-footer-links li {
  color: #FFFFFF !important;
  opacity: 1 !important;
}
.herco-footer-links a {
  color: #FFFFFF !important;
  opacity: 1 !important;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.6);
  text-underline-offset: 4px;
  font-weight: 500;
  transition: var(--herco-transition-fast);
}
.herco-footer-links a:hover,
.herco-footer-links a:focus {
  color: var(--herco-accent-light) !important; /* #FFDFD3 - Ratio 9.8:1 */
  text-decoration-color: var(--herco-accent-light);
  padding-left: 4px;
}

.herco-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
  color: #FFFFFF !important;
}
.herco-footer-bottom p {
  color: #FFFFFF !important;
  opacity: 1 !important;
  font-weight: 500;
}
.herco-footer-legal {
  display: flex;
  gap: 1.5rem;
}
.herco-footer-legal a {
  color: #FFFFFF !important;
  opacity: 1 !important;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.6);
  text-underline-offset: 4px;
}
.herco-footer-legal a:hover,
.herco-footer-legal a:focus {
  color: var(--herco-accent-light) !important;
  text-decoration-color: var(--herco-accent-light);
}

/* Floating WhatsApp Button */
.herco-whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: var(--herco-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--herco-transition);
}
.herco-whatsapp-float:hover {
  transform: scale(1.1);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   13. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .herco-hero-grid,
  .herco-calc-grid,
  .herco-contact-grid,
  .herco-footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .herco-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .herco-stat-card:nth-child(2) {
    border-right: none;
  }
  .herco-stat-card {
    border-bottom: 1px solid var(--herco-border-subtle);
  }
}

@media (max-width: 768px) {
  .herco-mobile-toggle {
    display: block;
  }
  .herco-nav-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--herco-shadow-lg);
    border-bottom: 1px solid var(--herco-border);
    display: none;
  }
  .herco-nav-menu.active {
    display: flex;
  }
  .herco-nav-menu ul {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 1rem;
  }
  .herco-topbar-inner {
    flex-direction: column;
    text-align: center;
  }
  .herco-stats-grid {
    grid-template-columns: 1fr;
  }
  .herco-stat-card {
    border-right: none;
  }
}
