:root {
  --rojo-origami: #d32f2f;
  --rojo-oscuro: #b71c1c;
  --rojo-claro: #f44336;
  --texto-oscuro: #1a1a1a;
  --texto-gris: #555555;
  --blanco-puro: #ffffff;
  --cristal: rgba(255, 255, 255, 0.85);
  --shadow-soft: 0 15px 45px rgba(0, 0, 0, 0.15);
  --shadow-strong: 0 25px 60px rgba(211, 47, 47, 0.25);
  --borde-sutil: 1px solid rgba(0, 0, 0, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  color: var(--texto-oscuro);
  line-height: 1.6;
  background-color: #f4f4f4; 
  background-image: url('../img/icons/fondo.webp'); 
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

/* --- CABECERA --- */
.header {
  width: 100%;
  height: 80px;
  background: var(--cristal) !important;
  position: fixed;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-bottom: 2px solid rgba(211, 47, 47, 0.2);
  animation: slideDown 0.6s ease-out;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.logos-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-img-ajustado {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.divisor-logos {
  width: 1px;
  height: 25px;
  background: rgba(0, 0, 0, 0.1);
}

.nav-menu {
  display: flex;
  gap: 20px;
  list-style: none;
  animation: fadeIn 0.8s ease-out 0.3s both;
}

.nav-menu a {
  text-decoration: none;
  color: var(--texto-oscuro);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rojo-origami), var(--rojo-claro));
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: var(--rojo-origami);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 5% 60px;
  display: flex;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.hero-content {
  flex: 1;
  animation: fadeInUp 1s ease-out;
}

.float-log {
  position: absolute;
  z-index: -1;
  opacity: 0;
  height: 600px;
  aspect-ratio: 1/1;
  bottom: -20%;
  left: -12%;
  transform: rotate(-25deg);
  animation: fadeLog 1s linear 1s forwards,float 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes fadeLog {
  0%{
    opacity: 0;
  }
  100%{
    opacity: 0.4;
  }
}

@keyframes float {
  0%, 100% {
    transform: rotate(-25deg) translateY(0);
  }
  50% {
    transform: rotate(-25deg) translateY(-20px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-strong {
  display: block;
  font-size: 0.95rem;
  color: var(--rojo-origami);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--rojo-origami);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

.hero-p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  color: #333;
  font-weight: 600;
}

.hero-a {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--rojo-origami) 0%, var(--rojo-oscuro) 100%);
  color: white;
  text-decoration: none;
  font-weight: 800;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(211, 47, 47, 0.35);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.hero-a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: left 0.3s ease;
}

.hero-a:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(211, 47, 47, 0.45);
}

.hero-a:hover::before {
  left: 100%;
}

.hero-image {
  flex: 1;
  height: 70vh;
  object-position: center 20%;
  aspect-ratio: 1/1;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(211, 47, 47, 0.2), 2px 2px 5px white;
  animation: fadeInRight 1s ease-out;
  object-fit: cover;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- SLIDER REDES SOCIALES --- */
.slider {
  background: linear-gradient(90deg, var(--rojo-origami) 0%, var(--rojo-oscuro) 100%);
  padding: 2rem 0;
  overflow: hidden;
  width: 100%;
  animation: fadeIn 0.8s ease-out 0.4s both;
  box-shadow: 0 10px 30px rgba(211, 47, 47, 0.2);
}

.slider-title {
  color: white;
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.slide-track {
  display: flex;
  width: max-content;
  gap: 40px;
  animation: scroll 30s linear infinite;
}

.slide {
  width: 180px;
  height: 100px;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  font-weight: bold;
  flex-shrink: 0;
}

.slide img {
  height: 100%;
  aspect-ratio: 1/1;
  filter: brightness(0) invert(1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- SECCIONES QUIENES SOMOS --- */
.quienes-somos {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease-out;
  border-radius: 20px;
}

.header-quienes-somos {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInDown 0.8s ease-out;
}

.header-quienes-somos h1 {
  font-size: 3.5rem;
  color: var(--rojo-origami);
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: -1px;
}

.header-quienes-somos p {
  font-size: 1.1rem;
  color: gray;
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.identity-div {
  background: linear-gradient(135deg, #fafafa 0%, #f8f8f8 100%);
  border-left: 5px solid var(--rojo-origami);
  padding: 30px;
  margin-bottom: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(211, 47, 47, 0.12);
  animation: slideInLeft 0.8s ease-out 0.2s both;
  border: 1px solid rgba(211, 47, 47, 0.08);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.identity-div h2 {
  color: var(--rojo-origami);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.identity-div p {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.identity-card {
  background: linear-gradient(135deg, #fafafa 0%, #f8f8f8 100%);
  border-left: 5px solid var(--rojo-origami);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(211, 47, 47, 0.12);
  transition: var(--transition-smooth);
  border: 1px solid rgba(211, 47, 47, 0.08);
  position: relative;
  overflow: hidden;
}

.identity-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(211, 47, 47, 0.08) 0%, transparent 70%);
  transform: translate(30px, -30px);
  transition: all 0.4s ease;
}

.identity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(211, 47, 47, 0.2);
  border-color: rgba(211, 47, 47, 0.2);
}

.identity-card:hover::before {
  transform: translate(-10px, -10px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.card-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}

.card-logo-invergami {
  width: 150px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
}

.identity-card h2 {
  color: var(--rojo-origami);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.identity-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
}

.team-gallery {
  margin-bottom: 60px;
  animation: fadeIn 0.8s ease-out 0.5s both;
}

.gallery-title {
  text-align: center;
  font-size: 2rem;
  color: var(--rojo-origami);
  margin-bottom: 40px;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 20px rgba(211, 47, 47, 0.12);
  position: relative;
  overflow: hidden;
}

.gallery-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0) 0%, rgba(211, 47, 47, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(211, 47, 47, 0.25);
}

.gallery-image:hover::after {
  opacity: 1;
}

.why-choose {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.97) 0%, rgba(250, 250, 250, 0.97) 100%);
  padding: 50px;
  border-radius: 16px;
  margin: 50px 0;
  border-left: 5px solid var(--rojo-origami);
  animation: fadeInUp 0.8s ease-out 0.6s both;
  box-shadow: 0 10px 35px rgba(211, 47, 47, 0.1);
  border: 1px solid rgba(211, 47, 47, 0.08);
}

.why-choose h2 {
  color: var(--rojo-origami);
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.reason {
  background: white;
  padding: 25px;
  border-radius: 12px;
  border-top: 4px solid var(--rojo-origami);
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  animation: scaleIn 0.6s ease-out both;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.reason::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(211, 47, 47, 0.05);
  transition: height 0.3s ease;
}

.reason:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.reason:hover::before {
  height: 100%;
}

.reason:nth-child(1) {
  animation-delay: 0.7s;
}

.reason:nth-child(2) {
  animation-delay: 0.75s;
}

.reason:nth-child(3) {
  animation-delay: 0.8s;
}

.reason h4 {
  color: var(--rojo-origami);
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.reason p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.closing {
  text-align: center;
  padding: 40px;
  background: white;
  color: var(--rojo-origami);
  border-radius: 12px;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-top: 4px solid var(--rojo-origami);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.8s ease-out 0.85s both;
  border: 1px solid rgba(211, 47, 47, 0.1);
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.03) 0%, transparent 100%);
  border-radius: 12px;
  pointer-events: none;
}

/* --- SECCIONES PRINCIPALES --- */
.seccion-principal {
  padding: 80px 5%;
}

.contenedor {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid rgba(211, 47, 47, 0.15);
  box-shadow: var(--shadow-soft);
  animation: fadeInUp 0.8s ease-out;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.contenedor::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--rojo-origami), var(--rojo-claro), transparent);
}

.contenedor:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(211, 47, 47, 0.25);
}

.col-visual {
  animation: fadeInRight 1s ease-out 0.2s both;
  display: flex;
  align-items: center;
  justify-content: center;
}

.col-texto {
  animation: fadeInLeft 1s ease-out 0.2s both;
}

.col-texto h3 {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 15px 0 10px 0;
}

.col-texto h4 {
  font-size: 1.05rem;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.marco-foto {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.marco-foto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.etiqueta-roja {
  color: var(--rojo-origami);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-align: center;
}

h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

h1 span {
  color: var(--rojo-origami);
  background: linear-gradient(135deg, var(--rojo-origami) 0%, var(--rojo-oscuro) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p {
  font-weight: 500;
  font-size: 1rem;
  color: #333;
  line-height: 1.7;
}

h2 {
  color: var(--rojo-origami);
  margin-bottom: 15px;
  font-weight: 700;
}

.btn-rojo {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--rojo-origami) 0%, var(--rojo-oscuro) 100%);
  color: white;
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(211, 47, 47, 0.35);
  transition: var(--transition-smooth);
  margin-top: 20px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-rojo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: 2;
}

.btn-rojo:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(211, 47, 47, 0.45);
}

.btn-rojo:hover::before {
  transform: translateX(100%);
}

.btn-rojo:active {
  transform: translateY(-2px);
}

.seccion-macro {
  padding: 80px 5%;
  background: rgba(0, 0, 0, 0.2);
}

.macro-container {
  max-width: 1200px;
  margin: 0 auto;
}

.macro-container h2 {
  text-align: center;
  font-size: 2.8rem;
  color: var(--rojo-origami);
  margin-bottom: 1.5rem;
}

.macro-subtitulo {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  font-size: 1.1rem;
  color: #f0f0f0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeIn 0.8s ease-out 0.2s both;
}

.macro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.macro-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(211, 47, 47, 0.08);
}

.macro-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--rojo-origami), var(--rojo-claro));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.macro-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  border-color: rgba(211, 47, 47, 0.2);
}

.macro-card:hover::before {
  transform: scaleX(1);
}

.macro-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.macro-card h3 {
  font-size: 1.8rem;
  color: var(--rojo-origami);
  margin-bottom: 1rem;
}

.macro-card p {
  color: #333;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.macro-btn {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--rojo-origami);
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: bold;
  color: var(--rojo-origami);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.macro-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--rojo-origami);
  z-index: -1;
  transition: left 0.3s ease;
}

.macro-btn:hover {
  color: white;
  transform: translateY(-2px);
}

.macro-btn:hover::before {
  left: 0;
}

/* --- SECCIÓN CONTACTO --- */
.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  animation: fadeIn 0.8s ease-out;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeInDown 0.8s ease-out;
}

.contact-header h1 {
  font-size: 3em;
  color: var(--rojo-origami);
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-header p {
  font-size: 1.1em;
  color: #666;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-card {
  background-color: #fafafa;
  border: 2px solid var(--rojo-origami);
  border-radius: 16px;
  padding: 40px;
  transition: var(--transition-smooth);
  animation: slideInUp 0.8s ease-out both;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(211, 47, 47, 0.1) 0%, transparent 70%);
  transition: all 0.4s ease;
  pointer-events: none;
}

.contact-card:nth-child(1) {
  animation-delay: 0.2s;
}

.contact-card:nth-child(2) {
  animation-delay: 0.3s;
}

.contact-card:hover {
  box-shadow: 0 15px 40px rgba(211, 47, 47, 0.2);
  transform: translateY(-6px);
  border-color: rgba(211, 47, 47, 0.8);
}

.contact-card:hover::before {
  top: -30%;
  right: -30%;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 3px solid var(--rojo-origami);
  padding-bottom: 20px;
}

.card-logo {
  width: 100px;
  height: 80px;
  object-fit: contain;
  flex-shrink: 0;
}

.card-title {
  flex: 1;
}

.card-title h2 {
  font-size: 1.8em;
  color: var(--rojo-origami);
  margin-bottom: 8px;
  font-weight: 700;
}

.card-type {
  font-size: 0.9em;
  color: #666;
  background-color: #ffe6e9;
  padding: 6px 12px;
  border-radius: 4px;
  display: inline-block;
  font-weight: 600;
}

.contact-info {
  margin-bottom: 30px;
}

.info-group {
  margin-bottom: 20px;
}

.info-label {
  font-weight: 700;
  color: var(--rojo-origami);
  font-size: 0.95em;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-content {
  color: #555;
  font-size: 1em;
  line-height: 1.6;
}

.info-content a {
  color: var(--rojo-origami);
  text-decoration: none;
  transition: all 0.2s ease;
}

.info-content a:hover {
  text-decoration: underline;
}
.location-section {
  background-color: #fff;
  border-top: 2px solid var(--rojo-origami);
  padding-top: 20px;
}

.location-section h3 {
  font-size: 1.2em;
  color: var(--rojo-origami);
  margin-bottom: 15px;
  font-weight: 700;
}

.address {
  color: #555;
  line-height: 1.8;
  font-size: 0.95em;
  margin-bottom: 15px;
}

.map-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
  border: 2px dashed var(--rojo-origami);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9em;
  margin-top: 15px;
}

.cta-section {
  background: linear-gradient(135deg, var(--rojo-origami) 0%, var(--rojo-oscuro) 100%);
  color: white;
  padding: 50px;
  text-align: center;
  border-radius: 16px;
  margin-top: 60px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  box-shadow: 0 20px 50px rgba(211, 47, 47, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section h3 {
  font-size: 2em;
  margin-bottom: 15px;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.1em;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  padding: 14px 32px;
  font-size: 1em;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-btn-primary {
  background-color: white;
  color: var(--rojo-origami);
}

.cta-btn-primary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.cta-btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cta-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.info-highlight {
  background-color: #ffe6e9;
  padding: 12px;
  border-left: 4px solid var(--rojo-origami);
  margin-top: 15px;
  border-radius: 4px;
  font-size: 0.95em;
}

/* --- SECCIÓN CATÁLOGO INVERGAMI --- */
.catalogo-preview-section {
  padding: 100px 5%;
  background: linear-gradient(135deg, rgba(250, 250, 250, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
  margin: 80px 0;
  animation: fadeIn 0.8s ease-out;
  border-top: 1px solid rgba(211, 47, 47, 0.1);
  border-bottom: 1px solid rgba(211, 47, 47, 0.1);
}

.catalogo-preview-container {
  max-width: 1200px;
  margin: 0 auto;
}

.catalogo-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInDown 0.8s ease-out;
}

.catalogo-header h2 {
  font-size: 2.8rem;
  color: var(--rojo-origami);
  margin-bottom: 15px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.catalogo-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 10px;
  font-weight: 500;
}

.catalogo-subtitle {
  color: var(--rojo-origami);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.catalogo-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.catalogo-product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.12);
  transition: var(--transition-smooth);
  animation: scaleIn 0.6s ease-out both;
  border: 1px solid rgba(211, 47, 47, 0.1);
  position: relative;
}

.catalogo-product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0) 0%, rgba(211, 47, 47, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.catalogo-product-card:hover::after {
  opacity: 1;
}

.catalogo-product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.catalogo-product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.catalogo-product-card:nth-child(3) {
  animation-delay: 0.3s;
}

.catalogo-product-card:nth-child(4) {
  animation-delay: 0.4s;
}

.catalogo-product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(211, 47, 47, 0.2);
}

.catalogo-product-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #f5f5f5 0%, #efefef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.catalogo-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.catalogo-product-card:hover .catalogo-product-image img {
  transform: scale(1.05);
}

.catalogo-product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.catalogo-product-category {
  color: var(--rojo-origami);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.catalogo-product-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  line-height: 1.3;
}

.catalogo-product-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  flex-grow: 1;
  line-height: 1.5;
}

.catalogo-cta-section {
  text-align: center;
  padding: 50px;
  background: linear-gradient(135deg, var(--rojo-origami) 0%, var(--rojo-oscuro) 100%);
  border-radius: 16px;
  color: white;
  box-shadow: 0 20px 50px rgba(211, 47, 47, 0.3);
  animation: fadeInUp 1s ease-out 0.5s both;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.catalogo-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.catalogo-cta-section h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.catalogo-cta-section p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.catalogo-btn {
  display: inline-block;
  padding: 16px 50px;
  background: white;
  color: var(--rojo-origami);
  text-decoration: none;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
  font-size: 1rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.catalogo-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(211, 47, 47, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.catalogo-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  background: #f0f0f0;
}

.catalogo-btn:hover::before {
  transform: translateX(100%);
}

/* --- FOOTER --- */
.footer {
  background: #111;
  padding: 40px 5%;
  text-align: center;
}

.footer p {
  color: white;
}

.footer-tagline {
  font-size: 0.7rem !important;
  margin-top: 10px !important;
  opacity: 0.6 !important;
}

/* --- NUEVAS CLASES PARA ESTILOS MOVIDOS --- */
.seccion-subtitle {
  color: var(--texto-gris);
  font-weight: 600;
  margin: 15px 0;
}

.info-box {
  margin: 25px 0;
  padding: 20px;
  background: rgba(211, 47, 47, 0.05);
  border-left: 4px solid var(--rojo-origami);
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.info-box:hover {
  background: rgba(211, 47, 47, 0.08);
  transform: translateX(5px);
}

.info-title {
  color: var(--rojo-origami);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 1rem;
}

.intro-paragraph {
  margin-bottom: 20px;
}

.marco-foto-dark {
  background-color: #000;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .contenedor {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-p{
    margin-inline: auto;
    text-align: center;
  }

  .hero-image {
    width: 80%;
    margin-top: 2rem;
  }

  .two-columns {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .reasons {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .catalogo-preview-section {
    padding: 60px 5%;
  }

  .catalogo-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .catalogo-header h2 {
    font-size: 2rem;
  }

  .catalogo-cta-section {
    padding: 40px 20px;
  }

  .catalogo-cta-section h3 {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0 20px;
  }

  .nav-menu {
    display: none;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-image {
    width: 60%;
  }
  .hero-title {
    font-size: 2.2rem;
  }

  .quienes-somos {
    padding: 50px 15px;
  }

  .identity-div,
  .identity-card,
  .why-choose,
  .contact-card {
    padding: 25px;
  }

  .header-quienes-somos p,
  .contact-header p {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .gallery-image {
    height: 220px;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-logo {
    width: 70px;
    height: 70px;
  }

  .cta-section {
    padding: 40px 20px;
  }

  .cta-section h3 {
    font-size: 1.5em;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-btn {
    width: 100%;
  }

  .map-placeholder {
    height: 250px;
  }

  .contact-header h1 {
    font-size: 2em;
  }

  .seccion-principal {
    padding: 40px 20px;
  }

  .contenedor {
    padding: 25px;
    border-radius: 20px;
  }

  .logos-wrapper {
    gap: 8px;
  }

  .catalogo-preview-section {
    padding: 50px 15px;
  }

  .catalogo-products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .catalogo-header h2 {
    font-size: 1.8rem;
  }

  .catalogo-product-card {
    margin: 0 auto;
  }

  .catalogo-btn {
    padding: 14px 40px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 40px 15px;
  }

  .contact-card {
    padding: 25px;
  }

  .card-title h2 {
    font-size: 1.4em;
  }

  .card-type {
    font-size: 0.85em;
  }

  .contact-header h1 {
    font-size: 1.6em;
  }

  .cta-section {
    margin-top: 40px;
  }

  .header-quienes-somos h1 {
    font-size: 2rem;
  }

  .closing {
    font-size: 1.1rem;
    padding: 30px 20px;
  }

  .identity-card h2 {
    font-size: 1.4rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-image {
    height: 250px;
  }

  .why-choose h2 {
    font-size: 1.3rem;
  }

  .reason h4 {
    font-size: 1rem;
  }

  .catalogo-products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .catalogo-header h2 {
    font-size: 1.5rem;
  }

  .catalogo-header p {
    font-size: 1rem;
  }

  .catalogo-cta-section {
    padding: 30px 15px;
  }

  .catalogo-cta-section h3 {
    font-size: 1.3rem;
  }

  .catalogo-cta-section p {
    font-size: 0.95rem;
  }
}
