/* ==========================================================================
   BioAmbiente - Estilos CSS3 (Moderno, Limpio y Responsivo)
   ========================================================================== */

/* --- Importación de Fuentes (Google Fonts) --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,700;1,400&display=swap');

/* --- Variables Globales y Paleta de Colores --- */
:root {
  /* Paleta de Colores - Inspirada en la Naturaleza */
  --primary-color: #1E5631;       /* Verde Bosque Profundo (Logotipo y Brand) */
  --primary-dark: #143B21;        /* Verde Oscuro Sólido */
  --accent-color: #4C9A2A;        /* Verde Hoja Vibrante (CTAs, Detalles) */
  --accent-hover: #3E8021;        /* Verde Hoja Oscurecido */
  --earth-brown: #8D6E63;         /* Café Tierra Suave */
  --earth-light: #F5F2EB;         /* Beige Claro Cálido */
  --bg-light: #F9FBF7;            /* Off-white con toque verde */
  --text-dark: #2D312E;           /* Antracita para alta legibilidad */
  --text-muted: #616662;          /* Gris suave para texto secundario */
  --white: #ffffff;
  
  /* Tipografía */
  --font-headers: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Sombras y Efectos */
  --shadow-sm: 0 2px 8px rgba(30, 86, 49, 0.05);
  --shadow-md: 0 8px 24px rgba(30, 86, 49, 0.08);
  --shadow-lg: 0 16px 40px rgba(30, 86, 49, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 12px;
  --header-height: 80px;
}

/* --- Reseteo Estándar y Estilos Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
}

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

/* --- Estructura y Contenedores --- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Encabezados y Textos comunes */
h1, h2, h3, h4 {
  font-family: var(--font-headers);
  color: var(--primary-color);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 400;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
}

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 10px;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(76, 154, 42, 0.3);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(76, 154, 42, 0.4);
}

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

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

/* --- Header & Navegación --- */
header {
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  align-items: center;
}

header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Logotipo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headers);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo svg {
  width: 32px;
  height: 32px;
  fill: var(--accent-color);
}

.logo span {
  color: var(--earth-brown);
  font-weight: 400;
}

/* Menú de Navegación */
.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
}

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

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Botón Hamburguesa */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(245, 242, 235, 0.8) 0%, rgba(249, 251, 247, 0.9) 100%), 
              radial-gradient(circle at 80% 20%, rgba(76, 154, 42, 0.15) 0%, transparent 50%);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 20px);
  padding-bottom: 50px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

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

.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-subtitle svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-color);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
}

/* Ilustración/Imagen en Hero */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatAnimation 6s ease-in-out infinite;
}

.hero-circle-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(76, 154, 42, 0.2) 0%, rgba(30, 86, 49, 0.05) 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(20px);
}

.hero-illustration {
  width: 100%;
  max-width: 450px;
  filter: drop-shadow(0 15px 30px rgba(30, 86, 49, 0.15));
}

/* --- Sección Nosotros --- */
.nosotros {
  background-color: var(--white);
}

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

.nosotros-visual {
  position: relative;
}

.nosotros-image-box {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.nosotros-image-box img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: var(--transition);
}

.nosotros-image-box:hover img {
  transform: scale(1.05);
}

/* Placa flotante en imagen */
.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: floatAnimation 5s ease-in-out infinite;
}

.experience-badge .years {
  font-size: 2.2rem;
  font-weight: 800;
  display: block;
  font-family: var(--font-headers);
  line-height: 1;
  color: #C5E1A5;
}

.experience-badge .text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.nosotros-content h3 {
  font-size: 1.8rem;
  margin: 25px 0 15px 0;
  color: var(--primary-color);
}

.values-list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.value-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: var(--accent-color);
  margin-top: 3px;
}

.value-text h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-weight: 600;
}

.value-text p {
  font-size: 0.9rem;
}

/* --- Sección Servicios --- */
.servicios {
  background-color: var(--earth-light);
}

.servicios .section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: -10px auto 50px auto;
}

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

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(30, 86, 49, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon-box {
  width: 70px;
  height: 70px;
  background-color: rgba(76, 154, 42, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition);
}

.service-icon-box svg {
  width: 35px;
  height: 35px;
  fill: var(--accent-color);
  transition: var(--transition);
}

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

.service-card:hover .service-icon-box svg {
  fill: var(--white);
  transform: rotateY(180deg);
}

.service-card h3 {
  font-size: 1.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.service-link svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-color);
  transition: var(--transition);
}

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

.service-card:hover .service-link svg {
  fill: var(--accent-color);
  transform: translateX(5px);
}

/* --- Sección Impacto/Estadísticas --- */
.impacto {
  background: linear-gradient(rgba(30, 86, 49, 0.92), rgba(20, 59, 33, 0.96)), 
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><path d="M30 5 C15 5 5 15 5 30 C5 45 15 55 30 55 C45 55 55 45 55 30 C55 15 45 5 C30 5 z" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>') repeat;
  color: var(--white);
  text-align: center;
}

.impacto h2 {
  color: var(--white);
}

.impacto h2::after {
  background-color: #C5E1A5;
}

.impacto .section-subtitle {
  color: #E2EFE0;
  max-width: 650px;
  margin: -10px auto 60px auto;
}

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

.stat-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 20px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.stat-card:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
  border-color: rgba(197, 225, 165, 0.4);
}

.stat-icon {
  width: 48px;
  height: 48px;
  fill: #C5E1A5;
  margin: 0 auto 20px auto;
}

.stat-number {
  font-family: var(--font-headers);
  font-size: 3rem;
  font-weight: 700;
  color: #C5E1A5;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: #F1F8E9;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Sección Contacto --- */
.contacto {
  background-color: var(--white);
}

.contacto-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.contacto-description {
  margin-bottom: 35px;
}

.contacto-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

.contact-item-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(76, 154, 42, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-color);
}

.contact-item-text h4 {
  font-size: 1rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item-text p {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* Formulario Estético */
.contact-form-container {
  background-color: var(--bg-light);
  padding: 45px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(30, 86, 49, 0.05);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--white);
  border: 2px solid transparent;
  border-radius: 8px;
  box-shadow: inset 0 2px 4px rgba(30, 86, 49, 0.02);
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(76, 154, 42, 0.1);
}

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

.form-group.error .form-control {
  border-color: #D32F2F;
}

.form-error-msg {
  color: #D32F2F;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 5px;
  display: none;
}

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

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

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

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-brand .logo svg {
  fill: #C5E1A5;
}

.footer-brand .logo span {
  color: #C5E1A5;
}

.footer-brand p {
  color: #B2DFDB;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--white);
  transition: var(--transition);
}

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

.footer-column h4 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: #C5E1A5;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-links a {
  color: #E2EFE0;
  font-size: 0.95rem;
}

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

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-list li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
  color: #E2EFE0;
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  fill: #C5E1A5;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Derechos de autor y base de footer */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.9rem;
  color: #B2DFDB;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.footer-bottom-links a {
  font-size: 0.9rem;
  color: #B2DFDB;
}

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

/* --- Alerta / Modal Estético de Éxito --- */
.custom-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 59, 33, 0.6);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.custom-alert-overlay.show {
  opacity: 1;
  visibility: visible;
}

.custom-alert-box {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  max-width: 450px;
  width: 90%;
  text-align: center;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(30, 86, 49, 0.1);
}

.custom-alert-overlay.show .custom-alert-box {
  transform: translateY(0);
}

.custom-alert-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: rgba(76, 154, 42, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
}

.custom-alert-icon-wrapper svg {
  width: 40px;
  height: 40px;
  fill: var(--accent-color);
  animation: scalePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s both;
}

.custom-alert-box h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.custom-alert-box p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: var(--text-muted);
}

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

@keyframes floatAnimation {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes scalePop {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


/* ==========================================================================
   Media Queries (Responsive Mobile-First overrides)
   ========================================================================== */

/* --- Pantallas Medianas (Laptops y Tablets Horizontales < 1024px) --- */
@media (max-width: 1024px) {
  h2 {
    font-size: 2.2rem;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Pantallas Móviles y Tablets Verticales (< 768px) --- */
@media (max-width: 768px) {
  /* Espaciado general reducido en móviles */
  section {
    padding: 70px 0;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  /* Header y Menú Hamburguesa */
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -10px 0 30px rgba(30, 86, 49, 0.15);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1005;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    font-size: 1.3rem;
    font-weight: 600;
  }
  
  /* Animación del Hamburguesa a 'X' */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--accent-color);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent-color);
  }
  
  /* Hero Section Móvil */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 70px;
  }
  
  .hero-subtitle {
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    order: -1; /* Poner la ilustración por encima del texto en celular */
  }
  
  .hero-illustration {
    max-width: 280px;
  }
  
  /* Nosotros Sección */
  .nosotros-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .nosotros-image-box img {
    height: 320px;
  }
  
  .experience-badge {
    padding: 15px 20px;
    bottom: -15px;
    right: 15px;
  }
  
  .experience-badge .years {
    font-size: 1.8rem;
  }
  
  /* Servicios Sección */
  .servicios-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contacto Sección */
  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-form-container {
    padding: 30px 20px;
  }
  
  /* Footer Sección */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
}

/* --- Pantallas Extremadamente Pequeñas (< 480px) --- */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  
  .hero-ctas .btn {
    width: 100%;
  }
  
  .values-list {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 10px;
  }
}
