/* 
  Consultora Oros - Hoja de Estilo Principal
  Estilo financiero moderno y limpio (Azul Corporativo y Verde Esmeralda)
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Paleta de Colores */
  --primary: #0f2b5c;       /* Azul Marino Profundo */
  --primary-light: #1d4ed8; /* Azul Interactivo */
  --primary-dark: #091a3a;  /* Azul Fondo Profundo */
  --accent: #10b981;        /* Verde Esmeralda Financiero */
  --accent-hover: #059669;  /* Verde Esmeralda Oscuro */
  --accent-light: #d1fae5;  /* Verde Claro para Fondos */
  
  /* Tonos Neutros */
  --bg-main: #f8fafc;       /* Fondo General Gris Pálido */
  --bg-card: #ffffff;       /* Fondo de Tarjetas Blanco Puro */
  --text-main: #1e293b;     /* Texto Principal (Pizarra Oscuro) */
  --text-muted: #64748b;    /* Texto Secundario / Desvanecido */
  --text-light: #f1f5f9;    /* Texto para Fondos Oscuros */
  --border-color: #e2e8f0;  /* Bordes Suaves */
  
  /* Fuentes */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Outfit', var(--font-sans);
  
  /* Sombras y Bordes */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 6px -1px rgba(15, 43, 92, 0.05), 0 2px 4px -2px rgba(15, 43, 92, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 43, 92, 0.08), 0 4px 6px -4px rgba(15, 43, 92, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(15, 43, 92, 0.1), 0 8px 10px -6px rgba(15, 43, 92, 0.1);
  --shadow-emerald: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
  
  /* Transiciones */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Contenedores */
  --container-width: 1200px;
}

/* Reset y Estilos Básicos */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}

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

button, input, select, textarea {
  font-family: inherit;
}

/* Clases de Utilidad */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Botones Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

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

.btn-accent {
  background-color: var(--accent);
  color: white;
  box-shadow: var(--shadow-emerald);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -3px rgba(5, 150, 105, 0.3);
}

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

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

.btn-white {
  background-color: white;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-white:hover {
  background-color: var(--bg-main);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-normal);
  padding: 20px 0;
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
  border: 2px solid var(--accent);
  transition: var(--transition-normal);
}

.navbar.scrolled .logo-icon {
  background-color: var(--primary);
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  font-size: 0.95rem;
}

.navbar:not(.scrolled) .nav-links a {
  color: var(--primary-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--accent-hover);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-links a.active::after {
  width: 100%;
  background-color: var(--primary);
}

.nav-cta {
  display: block;
}

/* Menú Hamburguesa Móvil */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-dark);
  border-radius: 3px;
  transition: var(--transition-normal);
  transform-origin: left center;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(15, 43, 92, 0.05) 0%, transparent 50%),
              linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  padding-top: 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
  top: -10%;
  right: -10%;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-light);
  color: var(--accent-hover);
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 25px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero-content h1 {
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero-content h1 span {
  color: var(--accent);
  background: linear-gradient(120deg, var(--primary) 30%, var(--accent) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 550px;
}

.hero-actions {
  display: flex;
  gap: 15px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-out;
}

.hero-graphic {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 450px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-graphic::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.graphic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.graphic-logo {
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--primary);
}

.graphic-status {
  padding: 4px 10px;
  background-color: var(--accent-light);
  color: var(--accent-hover);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.graphic-body {
  margin: 20px 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.graphic-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.graphic-icon-box {
  width: 45px;
  height: 45px;
  background-color: var(--bg-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.graphic-line-wrapper {
  flex-grow: 1;
}

.graphic-line-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.graphic-line-bar {
  height: 8px;
  background-color: var(--border-color);
  border-radius: 4px;
  margin-top: 5px;
  overflow: hidden;
}

.graphic-line-fill {
  height: 100%;
  background-color: var(--accent);
  width: 0%;
  transition: width 1.5s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.graphic-card {
  position: absolute;
  background: rgba(15, 43, 92, 0.95);
  color: white;
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  bottom: 40px;
  right: -20px;
  max-width: 220px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: rotate(3deg);
  transition: var(--transition-normal);
}

.graphic-card:hover {
  transform: rotate(0deg) translateY(-5px);
}

.graphic-card-value {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--font-title);
  color: var(--accent);
}

.graphic-card-label {
  font-size: 0.75rem;
  color: var(--text-light);
  opacity: 0.8;
}

/* Quiénes Somos */
.about {
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.about-exp-badge {
  position: absolute;
  bottom: -30px;
  right: 30px;
  background-color: var(--primary);
  color: white;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border-bottom: 5px solid var(--accent);
}

.about-exp-badge h3 {
  font-size: 3rem;
  color: var(--accent);
  line-height: 1;
}

.about-exp-badge p {
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 25px;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.value-icon {
  color: var(--accent);
  font-size: 1.25rem;
  margin-top: 3px;
}

.value-item h4 {
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Servicios */
.services {
  background-color: var(--bg-main);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-card);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background-color: var(--accent);
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
  width: 100%;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background-color: rgba(15, 43, 92, 0.05);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background-color: var(--primary);
  color: white;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-card:hover .service-link {
  color: var(--accent);
}

/* Cotizador Interactivo */
.estimator {
  background-color: white;
}

.estimator-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  background-color: var(--bg-main);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.estimator-form-panel {
  padding: 40px;
}

.estimator-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 30px;
}

.tab-btn {
  padding: 12px 24px;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-fast);
}

.tab-btn.active {
  color: var(--primary);
}

.tab-btn.active::after {
  width: 100%;
}

.estimator-tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.estimator-tab-content.active {
  display: block;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

/* Controles de Selección de Empresa (Radio Buttons de Estilo Ficha) */
.company-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.company-type-card {
  position: relative;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-normal);
}

.company-type-card input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.company-type-card .card-title {
  display: block;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.company-type-card .card-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.company-type-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.company-type-card input:checked + .card-content-wrapper {
  color: var(--primary);
}

.company-type-card:has(input:checked) {
  border-color: var(--accent);
  background-color: var(--accent-light);
  box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.1);
}

/* Controles Deslizantes (Range Slider) */
.range-slider-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.range-slider {
  flex-grow: 1;
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  background: var(--accent-hover);
  transform: scale(1.15);
}

.range-value-badge {
  min-width: 70px;
  padding: 6px 12px;
  background-color: var(--primary);
  color: white;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Cuadrícula de Opciones de Selección (Checkboxes) */
.options-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 12px;
}

.checkbox-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
}

.checkbox-option-text {
  flex-grow: 1;
}

.checkbox-option-title {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.checkbox-option-price {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-hover);
}

.checkbox-option:hover {
  border-color: var(--primary-light);
  background-color: rgba(15, 43, 92, 0.02);
}

.checkbox-option:has(input:checked) {
  border-color: var(--accent);
  background-color: rgba(16, 185, 129, 0.02);
}

/* Panel de Resultados del Cotizador */
.estimator-result-panel {
  background-color: var(--primary-dark);
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.estimator-result-panel::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  bottom: -50px;
  right: -50px;
  pointer-events: none;
}

.result-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.result-header h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.result-header p {
  color: var(--border-color);
  font-size: 0.85rem;
  opacity: 0.7;
}

.price-display-wrapper {
  margin: 30px 0;
  text-align: center;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  vertical-align: top;
  margin-right: 5px;
}

.price-value {
  font-family: var(--font-title);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1;
  color: white;
}

.price-period {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.7;
  margin-top: 10px;
}

.result-breakdown {
  list-style: none;
  margin-bottom: 40px;
  font-size: 0.85rem;
}

.result-breakdown li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--text-light);
  opacity: 0.85;
}

.result-breakdown li span:last-child {
  font-weight: 600;
  color: white;
}

.result-breakdown li.total-row {
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  padding-top: 12px;
  margin-top: 12px;
  font-weight: 700;
  opacity: 1;
}

.result-breakdown li.total-row span:last-child {
  color: var(--accent);
  font-size: 1rem;
}

.result-footer-text {
  font-size: 0.75rem;
  color: var(--text-light);
  opacity: 0.6;
  text-align: center;
  margin-top: 20px;
}

/* Testimonios */
.testimonials {
  background-color: var(--bg-main);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background-color: var(--bg-card);
  padding: 35px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
}

.testimonial-quote {
  font-size: 2.5rem;
  color: rgba(16, 185, 129, 0.2);
  position: absolute;
  top: 15px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--border-color);
  padding-top: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-title);
  border: 2px solid var(--accent);
}

.author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0;
  font-style: normal;
}

/* Contacto y Formulario */
.contact {
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-panel h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info-panel > p {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent-light);
  color: var(--accent-hover);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail-content h4 {
  font-size: 1.05rem;
  margin-bottom: 5px;
}

.contact-detail-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: pre-line;
}

.contact-map-placeholder {
  height: 200px;
  background-color: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  overflow: hidden;
  position: relative;
}

.contact-map-placeholder svg {
  margin-right: 10px;
  color: var(--accent);
}

.contact-form-panel {
  background-color: var(--bg-main);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-form .form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: white;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition-normal);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15, 43, 92, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Validación Visual Nativa del Formulario */
.contact-form input:focus-within:invalid,
.contact-form textarea:focus-within:invalid {
  border-color: #ef4444; /* Rojo error */
}

/* Botón de Envio y Animación de Carga */
.contact-form .btn-submit {
  width: 100%;
  position: relative;
}

.btn-submit .spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

.btn-submit.loading {
  color: transparent;
  pointer-events: none;
}

.btn-submit.loading .spinner {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Mensajes de Estado del Formulario */
.form-status-msg {
  padding: 15px;
  border-radius: var(--radius-sm);
  margin-top: 20px;
  font-weight: 500;
  font-size: 0.9rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-status-msg.success {
  display: block;
  background-color: var(--accent-light);
  color: var(--accent-hover);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status-msg.error {
  display: block;
  background-color: #fee2e2;
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 80px 0 30px 0;
  border-top: 5px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--accent);
}

.footer-about p {
  color: var(--text-light);
  opacity: 0.7;
  font-size: 0.9rem;
  margin-top: 20px;
  margin-bottom: 25px;
}

.footer-logo .logo-icon {
  border-color: var(--accent);
}

.footer-logo .logo-text {
  color: white;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition-fast);
}

.social-link:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-light);
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
  padding-left: 5px;
}

.footer-newsletter p {
  color: var(--text-light);
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form .btn-send {
  padding: 10px 15px;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-form .btn-send:hover {
  background-color: var(--accent-hover);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
  opacity: 0.6;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--accent);
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsividad (Media Queries) */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .about-grid {
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  /* Navbar Móvil */
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: white;
    box-shadow: -10px 0 20px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 40px;
    gap: 25px;
    transition: var(--transition-normal);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .nav-cta {
    display: none;
  }
  
  /* Hero Grid */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-graphic {
    max-width: 380px;
    height: 380px;
    margin: 0 auto;
  }
  
  .graphic-card {
    right: 10px;
    bottom: 20px;
  }
  
  /* Quiénes Somos */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-exp-badge {
    bottom: -20px;
    right: 20px;
    padding: 20px;
  }
  
  /* Cotizador */
  .estimator-layout {
    grid-template-columns: 1fr;
  }
  
  .company-type-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  /* Testimonios */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contacto */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .footer-legal-links {
    justify-content: center;
  }
  .range-slider-container {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .range-value-badge {
    align-self: flex-end;
  }
}
