/* ====================================
   PATAGONIA CORPORATE. - ESTILOS PRINCIPALES
   ====================================
   
   Este archivo contiene todos los estilos CSS del sitio web.
   Los estilos están organizados en secciones para facilitar la edición:
   
   1. Variables CSS (Colores, fuentes, etc.)
   2. Reset y configuración base
   3. Componentes generales
   4. Header/Navegación
   5. Sección Hero
   6. Sección de servicios
   7. Responsive design
*/

/* ====================================
   1. VARIABLES CSS - FÁCIL PERSONALIZACIÓN
   ====================================
   Cambia estos valores para personalizar colores, fuentes y espaciados
*/
:root {
  /* Colores principales */
  --color-primary: #286a4d;        /* Verde principal */
  --color-secondary: #620606;      /* Rojo secundario */
  --color-text: #545454;           /* Color de texto principal */
  --color-text-light: #666666;     /* Color de texto secundario */
  --color-background: #ffffff;     /* Fondo principal */
  --color-white: #ffffff;
  --color-black: #000000;
  
  /* Fuentes */
  --font-family: 'Inter', sans-serif;
  --font-size-small: 0.875rem;     /* 14px */
  --font-size-base: 1rem;          /* 16px */
  --font-size-large: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;         /* 20px */
  --font-size-hero: 3.5rem;        /* 56px */
  --font-size-h2: clamp(2rem, 3vw, 2.6rem);
  --font-size-h3: clamp(1.2rem, 1.5vw, 1.45rem);
  --font-size-body-lg: clamp(1.05rem, 1.2vw, 1.2rem);
  
  /* Espaciados */
  --spacing-small: 0.5rem;         /* 8px */
  --spacing-base: 1rem;            /* 16px */
  --spacing-large: 2rem;           /* 32px */
  --spacing-xl: 3rem;              /* 48px */
  
  /* Bordes - Sistema unificado */
  --border-radius: 0.25rem;        /* 4px */
  --border-radius-lg: 0.5rem;      /* 8px */
  --border-radius-full: 9999px;    /* Completamente redondeado */
  --radius-sm: 0.5rem;             /* inputs, badges */
  --radius-md: 0.75rem;            /* tarjetas pequeñas */
  --radius-lg: 1rem;               /* tarjetas principales */
  
  /* Sombras - Sistema unificado */
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow-base: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 18px 36px rgba(16, 24, 40, 0.12);
  
  /* Transiciones */
  --transition-base: all 0.3s ease;
}

/* ====================================
   2. RESET Y CONFIGURACIÓN BASE
   ====================================
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
}

/* Foco accesible y consistente */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(40, 106, 77, 0.5);
  outline-offset: 3px;
}

/* ====================================
   3. COMPONENTES GENERALES
   ====================================
*/

/* Contenedor principal */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-base);
}

/* Botones */
.btn {
  display: inline-block;
  padding: var(--spacing-small) var(--spacing-large);
  border: none;
  border-radius: var(--border-radius-full);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-base);
  text-align: center;
}

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

.btn-primary:hover {
  background-color: #1e5a3d;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: var(--spacing-base) var(--spacing-xl);
  font-size: var(--font-size-large);
}

.btn-secondary:hover {
  background-color: #4a0404;
  transform: translateY(-2px);
}

/* ====================================
   4. HEADER/NAVEGACIÓN
   ====================================
*/
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: var(--spacing-large) var(--spacing-base);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-base);
  text-decoration: none;
  color: var(--color-white);
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-primary);
}

.logo-text {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.5);
}

/* Navegación */
.nav {
  display: none;
  gap: var(--spacing-xl);
}

/* Navegación móvil */
.nav.nav-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.95);
  flex-direction: column;
  padding: var(--spacing-large);
  gap: var(--spacing-base);
  backdrop-filter: blur(10px);
}

.nav-link {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-small);
  transition: var(--transition-base);
    text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.5);
}

.nav-link:hover {
  color: var(--color-primary);
}

/* Botones del header */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-base);
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--color-white);
  cursor: pointer;
}

.menu-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ====================================
   5. SECCIÓN HERO (PRINCIPAL)
   ====================================
*/
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Imagen de fondo del hero */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('../images/hero-background.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

/* Hero background principal */
.hero-background,
.hero-background-fade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transition: opacity 0.7s;
}

/* Contenido del hero */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1024px;
  padding: 0 var(--spacing-base);
}

.hero-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: var(--spacing-large);
  letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.5);
}

.hero-description {
  font-size: var(--font-size-large);
  color: #d1d5db;
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7), 0 1px 2px rgba(0,0,0,0.5);
}

/* Indicadores del carrusel */
.hero-indicators {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-small);
}

.indicator {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--color-white);
  opacity: 0.5;
  cursor: pointer;
  transition: var(--transition-base);
}

.indicator.active {
  opacity: 1;
}

/* ====================================
   HERO ESTILO LANDING (INDEX)
   ====================================
*/
.landing-corporate {
  background: #ffffff;
}

.landing-corporate .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(40, 106, 77, 0.2);
  z-index: 50;
}

.landing-corporate .header-container {
  max-width: 1120px;
  min-height: 76px;
  padding: 0 1rem;
}

.logo-image {
  width: auto;
  height: 62px;
  object-fit: contain;
  display: block;
}

.landing-corporate .nav {
  gap: 1.3rem;
}

.landing-corporate .nav-link {
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 700;
  text-shadow: none;
  position: relative;
  padding: 0.2rem 0;
}

.landing-corporate .nav-link:hover {
  color: var(--color-primary);
}

.landing-corporate .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.landing-corporate .nav-link:hover::after,
.landing-corporate .nav-link.active::after {
  transform: scaleX(1);
}

.landing-corporate .nav-link.active {
  color: var(--color-primary);
}

.landing-corporate .menu-toggle {
  color: var(--color-primary);
}

.landing-corporate .hero {
  height: 100svh;
  min-height: 100svh;
  align-items: flex-start;
  justify-content: space-between;
  text-align: left;
  padding: 140px 1rem 90px;
}

.landing-corporate .hero-background {
  z-index: -2;
}

.landing-corporate .hero-background-fade {
  opacity: 0;
  z-index: -1;
}

.landing-corporate .hero-content {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  margin-top: 24px;
  padding: 0;
}

.landing-corporate .hero-title {
  max-width: 610px;
  font-size: 3.2rem;
  line-height: 1.08;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: none;
}

/* Entrada suave del hero al cargar */
.landing-corporate .hero-content > * {
  opacity: 0;
  transform: translateY(16px);
}

.landing-corporate.hero-ready .hero-content > * {
  animation: heroFadeUp 0.55s ease forwards;
}

.landing-corporate.hero-ready .hero-content > *:nth-child(1) {
  animation-delay: 0.08s;
}

.landing-corporate.hero-ready .hero-content > *:nth-child(2) {
  animation-delay: 0.18s;
}

.landing-corporate.hero-ready .hero-content > *:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.landing-corporate .hero-description {
  margin: 0 0 1.65rem;
  color: #eaf7f0;
  max-width: 430px;
  text-shadow: none;
  font-size: 1.3rem;
}

.landing-corporate .hero .btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 0;
  color: #ffffff;
  letter-spacing: 0.02em;
  font-size: 1rem;
  padding: 0.8rem 2.3rem;
  margin-top: 1.8rem;
}

.landing-corporate .hero .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.landing-corporate .hero-indicators {
  left: calc(50% - 544px);
  transform: none;
  bottom: 76px;
}

.landing-corporate .indicator {
  width: 10px;
  height: 10px;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.55);
}

.landing-corporate .indicator.active {
  background-color: #ffffff;
}

.landing-corporate .hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 60px;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.82);
  color: #ffffff;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* ====================================
   6. SECCIÓN CAPACIDAD OPERATIVA
   ====================================
*/
.capacity-section {
  padding: 5rem 0;
  background:
    radial-gradient(circle at top left, rgba(40, 106, 77, 0.08), transparent 32%),
    linear-gradient(180deg, #f4f7f2 0%, #ffffff 52%);
}

.capacity-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-base);
}

.capacity-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3rem;
}

.capacity-title {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-text);
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.capacity-description {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.capacity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.capacity-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  justify-self: center;
  background-color: #ffffff;
  border: 1px solid rgba(40, 106, 77, 0.13);
  border-radius: 0.95rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.capacity-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 26px 48px rgba(16, 24, 40, 0.2);
  border-color: rgba(40, 106, 77, 0.24);
}

.capacity-image {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: background-size 0.4s ease;
}

.capacity-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 16, 0.62) 0%, rgba(10, 20, 16, 0.34) 72%);
  transition: background 0.32s ease;
}

.capacity-card:hover .capacity-image {
  background-size: 106%;
}

.capacity-card:hover .capacity-image::before {
  background: linear-gradient(180deg, rgba(10, 20, 16, 0.52) 0%, rgba(10, 20, 16, 0.28) 72%);
}

.capacity-metric {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
  background: linear-gradient(120deg, rgba(14, 36, 27, 0.9) 0%, rgba(40, 106, 77, 0.85) 68%, rgba(98, 6, 6, 0.78) 100%);
  border-radius: 0.55rem;
  border-left: 4px solid #ffffff;
  padding: 0.78rem 0.95rem 0.74rem;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.capacity-card:hover .capacity-metric {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.35);
}

.capacity-card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.capacity-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.capacity-card-text {
  color: var(--color-text-light);
  line-height: 1.62;
  font-size: 0.96rem;
}

/* ====================================
   7. SECCIÓN DE SERVICIOS
   ====================================
   Estilos para la presentación de nuestros servicios principales
*/
.services {
  padding: 5rem 0;
  background-color: var(--color-background);
  color: var(--color-text) !important;
  border-top: 1px solid rgba(40, 106, 77, 0.14);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-base);
    color: var(--color-text);
}

/* Encabezado de servicios */
.services-header {
  text-align: center;
  margin-bottom: 3rem;
    color: var(--color-text);
}

.services-title {
  font-size: var(--font-size-h2);
  font-weight: 900;
  margin-bottom: var(--spacing-base);
  letter-spacing: -0.025em;
}

.services-description {
  font-size: var(--font-size-body-lg);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid de servicios */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}


/* Tarjetas de servicio */
.service-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 340px;
  justify-self: center;
  background-color: #ffffff;
  border: 1px solid rgba(40, 106, 77, 0.13);
  border-radius: 0.95rem;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  min-height: 100%;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(40, 106, 77, 0.34);
  box-shadow: 0 26px 48px rgba(16, 24, 40, 0.2);
}

.service-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  transition: background-size 0.45s ease;
}

.service-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 16, 0.62) 0%, rgba(10, 20, 16, 0.34) 72%);
  transition: background 0.35s ease;
}

.service-card:hover .service-image {
  background-size: 108%;
}

.service-card:hover .service-image::before {
  background: linear-gradient(180deg, rgba(10, 20, 16, 0.52) 0%, rgba(10, 20, 16, 0.28) 72%);
}

.service-title-overlay {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 50%;
  transform: translateY(50%);
  margin: 0;
  padding: 0.78rem 0.95rem 0.74rem;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 900;
  text-align: left;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  background: linear-gradient(120deg, rgba(14, 36, 27, 0.9) 0%, rgba(40, 106, 77, 0.85) 68%, rgba(98, 6, 6, 0.78) 100%);

  z-index: 2;
  border-radius: 0.55rem;
  border-left: 4px solid #ffffff;
  pointer-events: none;
  max-width: unset;
  width: auto;
  box-sizing: border-box;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.3);
  transition: bottom 0.35s ease, transform 0.35s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-title-overlay {
  bottom: 0.85rem;
  transform: translateY(0);
  box-shadow: 0 16px 34px rgba(16, 24, 40, 0.42);
}

.service-content h3 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-small);
}

.service-content p {
  padding: 0;
  color: #4d4d4d;
  line-height: 1.62;
  text-align: left;
  font-size: 1.12rem;
  font-weight: 500;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, #ffffff 100%);
  border-top: 1px solid rgba(40, 106, 77, 0.12);
  padding: 0.9rem 1.1rem 1.3rem;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ====================================
  8. SECCIÓN NOSOTROS
  ====================================
*/

/* Banda superior verde */
.about-header-band {
  background-color: var(--color-primary);
  padding: 3.5rem 1rem 3rem;
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-title {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.about-tagline {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 500px;
  line-height: 1.6;
}

/* Área blanca de principios */
.about-main {
  background:
    radial-gradient(circle at top right, rgba(40, 106, 77, 0.08), transparent 34%),
    #f5f5f5;
  padding: 3rem 1rem 4rem;
}

.about-subtitle {
  text-align: center;
  font-size: var(--font-size-h3);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.about-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4rem;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

/* Layout imagen + filas */
.about-principles-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.about-circle-wrap {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  background: transparent;
}

.about-circle-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-image: url('../images/logo_original.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

/* Filas de principios */
.about-principles-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.principle-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: stretch;
  border-radius: 0.4rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.principle-tag {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  text-align: center;
}

.principle-tag--values {
  background-color: var(--color-secondary);
}

.principle-desc {
  background-color: #e8e8e8;
  color: var(--color-text);
  font-size: 0.875rem;
  line-height: 1.65;
  padding: 0.875rem 1.25rem;
}

.principle-desc p {
  margin-bottom: 0.3rem;
}

.principle-desc p:last-child {
  margin-bottom: 0;
}

.principle-desc strong {
  color: #333;
}

/* ====================================
  9. SECCIÓN ¿POR QUÉ ELEGIRNOS?
  ====================================
*/
.why-us {
  padding: 5rem 0;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(180deg, #2f7a59 0%, #286a4d 58%, #225840 100%);
}

.why-us-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-base);
}

.why-us-header {
  text-align: center;
  margin-bottom: 3rem;
}

.why-us-title {
  font-size: var(--font-size-h2);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.025em;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.why-us-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4.8rem;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
}

.why-us-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.7rem;
  justify-content: center;
}

.why-us-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 252, 248, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-top: 5px solid var(--color-secondary);
  border-radius: 0.95rem;
  padding: 1.75rem;
  width: 100%;
  max-width: 360px;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  box-shadow: 0 18px 40px rgba(7, 26, 18, 0.3);
  backdrop-filter: blur(6px);
}

.why-us-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(98, 6, 6, 0.18) 0%, rgba(98, 6, 6, 0.07) 100%);
  transition: width 0.28s ease;
}

.why-us-card:hover {
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(7, 26, 18, 0.4);
  border-top-color: #8a1111;
  border-color: rgba(40, 106, 77, 0.25);
}

.why-us-card:hover::after {
  width: 10px;
}

.why-us-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.6rem;
  background: linear-gradient(135deg, rgba(40, 106, 77, 0.15) 0%, rgba(40, 106, 77, 0.3) 100%);
  border: 1px solid rgba(40, 106, 77, 0.25);
  color: var(--color-primary);
}

.why-us-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.why-us-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.why-us-card-title {
  font-size: var(--font-size-h3);
  font-weight: 800;
  color: #1c2e25;
  line-height: 1.25;
  text-shadow: none;
}

.why-us-card-desc {
  font-size: 1.02rem;
  color: #395448;
  line-height: 1.62;
  font-weight: 500;
}

/* ====================================
  10. FOOTER
  ====================================
*/
.footer {
  border-top: 1px solid rgba(40, 106, 77, 0.2);
  margin-top: 4rem;
  padding: 2.5rem 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 1rem;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(84, 84, 84, 0.7);
  text-decoration: none;
  transition: var(--transition-base);
}

.footer-link:hover {
  color: var(--color-primary);
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(84, 84, 84, 0.7);
  margin: 0;
}

/* ====================================
   11. BOTÓN SCROLL TO TOP
   ====================================
*/
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(40, 106, 77, 0.4);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: var(--color-secondary);
  box-shadow: 0 6px 20px rgba(98, 6, 6, 0.5);
  transform: translateY(-3px);
}

.scroll-to-top:active {
  transform: translateY(-1px);
}

/* ====================================
   9. RESPONSIVE DESIGN
   ====================================
*/


/* ====================================
   UTILIDADES ADICIONALES
   ====================================
*/

/* Ocultar elementos visualmente pero mantenerlos accesibles */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}