/* index.css - Modern Light Professional Theme */

/* === COLOR VARIABLES === */
:root {
  --bg-cream: #fdfbf7;
  --bg-white: #ffffff;
  --bg-light-alt: #f5f0e8;
  --color-coffee: #3e2723;
  --color-gold: #c5a059;
  --text-dark: #333333;
  --text-muted: #666666;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 40px rgba(197, 160, 89, 0.2);
  --border-light: rgba(197, 160, 89, 0.15);
}

/* === SMOOTH SCROLL === */
html {
  scroll-behavior: smooth;
}

/* === ANIMATIONS (JS Triggered) === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal.fade-in {
  transform: translateY(0);
}

.reveal.fade-in.active {
  opacity: 1;
}

.reveal.zoom-in {
  transform: scale(0.92);
}

.reveal.zoom-in.active {
  transform: scale(1);
}

.reveal.slide-left {
  transform: translateX(-60px);
  opacity: 0;
}

.reveal.slide-left.active {
  transform: translateX(0);
  opacity: 1;
}

.reveal.slide-right {
  transform: translateX(60px);
  opacity: 0;
}

.reveal.slide-right.active {
  transform: translateX(0);
  opacity: 1;
}

.reveal.fade-up {
  opacity: 0;
  transform: translateY(50px);
}

.reveal.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal.fade-down {
  opacity: 0;
  transform: translateY(-50px);
}

.reveal.fade-down.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for child elements */
.stagger-container>* {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.stagger-container.active>* {
  opacity: 1;
  transform: translateY(0);
}

.stagger-container.active>*:nth-child(1) {
  transition-delay: 0.1s;
}

.stagger-container.active>*:nth-child(2) {
  transition-delay: 0.2s;
}

.stagger-container.active>*:nth-child(3) {
  transition-delay: 0.3s;
}

.stagger-container.active>*:nth-child(4) {
  transition-delay: 0.4s;
}

.stagger-container.active>*:nth-child(5) {
  transition-delay: 0.5s;
}

/* === PRESENTACION SECTION === */
.presentacion {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light-alt) 100%);
  padding: 120px 5% 100px;
  position: relative;
  overflow: hidden;
}

.presentacion::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(197, 160, 89, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.presentacion-contenido {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 1;
}

.presentacion-texto {
  padding-right: 30px;
}

.titulo-seccion {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: var(--color-coffee);
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.parrafo-movimiento p {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.cita-alma {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--color-gold);
  padding: 30px;
  background: rgba(197, 160, 89, 0.08);
  border-left: 5px solid var(--color-gold);
  border-radius: 10px;
  margin: 35px 0;
  position: relative;
}

.cita-alma::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 5rem;
  color: rgba(197, 160, 89, 0.2);
  font-family: Georgia, serif;
}

.llamada-accion {
  font-size: 1.15rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 25px;
}

.presentacion-imagen {
  position: relative;
}

.presentacion-imagen img {
  width: 100%;
  border-radius: 25px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  border: 1px solid var(--border-light);
}

.presentacion-imagen:hover img {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* === DESTACADOS / PROJECTS SECTION (Redesign) === */
.destacados {
  padding: 120px 5%;
  background: var(--bg-white);
  text-align: center;
  position: relative;
}

.destacados .titulo-seccion {
  margin-bottom: 20px;
}

.destacados::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* Section subtitle */
.destacados>p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Force 4 columns */
  gap: 25px;
  /* Smaller gap */
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 0;
}


.card {
  background: #ffffff;
  border-radius: 30px;
  /* More rounded */
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  /* Soft shadow instead of border */
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
  /* Very subtle border */
}

/* Removed top gradient line for cleaner look */

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  /* Deeper shadow on hover */
}

.card-imagen {
  height: 220px;
  /* More compact height */
  overflow: hidden;
  position: relative;
}


/* Clean image hover without dark overlay */
.card-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-imagen img {
  transform: scale(1.08);
}

.card-contenido {
  padding: 25px 20px;
  /* Compact padding */
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left;
}

.card-contenido h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  /* Smaller title */
  color: var(--color-coffee);
  margin-bottom: 12px;
  transition: color 0.3s ease;
  line-height: 1.3;
}


.card:hover .card-contenido h3 {
  color: var(--color-gold);
}

.card-contenido p {
  font-size: 0.95rem;
  /* Smaller text */
  color: var(--text-muted);
  margin-bottom: 25px;
  flex-grow: 1;
  line-height: 1.6;
}


.boton-card {
  align-self: flex-start;
  padding: 12px 0;
  background: transparent;
  color: var(--color-gold);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  position: relative;
  border-bottom: 2px solid transparent;
}

.boton-card::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.boton-card:hover {
  color: var(--color-coffee);
  border-bottom-color: var(--color-gold);
}

.boton-card:hover::after {
  transform: translateX(5px);
}

/* === NOSOTROS SECTION (Redesign) === */
.nosotros {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light-alt) 100%);
  padding: 120px 5%;
  text-align: center;
  color: var(--text-dark);
  position: relative;
}

.nosotros .titulo-seccion {
  margin-bottom: 25px;
}

.mensaje-nosotros {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 50px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.9;
}

.divisor {
  width: 100px;
  height: 4px;
  background: var(--color-gold);
  margin: 0 auto 80px;
  border-radius: 2px;
  opacity: 0.6;
}

.container {
  max-width: 1000px;
  /* Wider for better reading */
  margin: 0 auto;
}

/* Details/Accordion Minimalist Styling */
details {
  background: #ffffff;
  border: none;
  /* Remove border */
  border-radius: 20px;
  margin-bottom: 30px;
  padding: 35px;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Very soft shadow */
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

details:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

details[open] {
  background: #ffffff;
  /* Keep white */
  box-shadow: 0 20px 50px rgba(197, 160, 89, 0.15);
  /* Gold glow */
}

summary {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.5rem;
  /* Larger */
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-coffee);
  transition: color 0.3s ease;
  padding-right: 20px;
}

summary:hover {
  color: var(--color-gold);
}

summary::after {
  content: '+';
  font-size: 2.2rem;
  color: var(--color-gold);
  transition: transform 0.4s ease;
  font-weight: 300;
  line-height: 1;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin-top: 25px;
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 1.15rem;
  padding-right: 20px;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.boton-novedades {
  margin-top: 70px;
}

.btn-novedades {
  display: inline-block;
  padding: 18px 55px;
  background: linear-gradient(135deg, var(--color-gold), #d4af37);
  color: #ffffff;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s ease;
  text-decoration: none;
  box-shadow: 0 15px 30px rgba(197, 160, 89, 0.4);
  /* Stronger shadow */
  position: relative;
  overflow: hidden;
  font-size: 1.1rem;
}

.btn-novedades::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  /* Shine effect instead of color change */
  transition: left 0.4s ease;
  z-index: 1;
}

.btn-novedades:hover::before {
  left: 0;
}

.btn-novedades:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(197, 160, 89, 0.6);
}

/* === CONOCE HENRY SECTION === */
.conoce-henry {
  background: var(--bg-white);
  padding: 100px 5%;
}

.conoce-henry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}

.conoce-henry-card {
  background: #ffffff;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--border-light);
  transition: all 0.4s ease;
}

.conoce-henry-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--color-gold);
}

.card-henry-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-henry-media {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.card-henry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.conoce-henry-card:hover .card-henry-img {
  transform: scale(1.08);
}

.card-henry-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(62, 39, 35, 0.8) 0%, transparent 60%);
}

.card-henry-content {
  padding: 45px 40px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(253, 251, 247, 1) 100%);
}

.card-henry-subtitle {
  color: var(--color-gold);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
  font-weight: 700;
}

.card-henry-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--color-coffee);
  margin-bottom: 20px;
  line-height: 1.3;
}

.card-henry-description {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 35px;
  font-size: 1.05rem;
}

.card-henry-button {
  display: inline-block;
  padding: 14px 40px;
  background: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
  border-radius: 50px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.35s ease;
  letter-spacing: 1px;
}

.card-henry-button:hover {
  background: var(--color-gold);
  color: #ffffff;
  transform: translateX(5px);
}

/* === LLAMADO / VISIT CTA SECTION === */
.llamado {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light-alt) 100%);
  padding: 100px 5%;
}

.llamado-contenido {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.llamado-texto h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  text-align: left;
  margin-bottom: 25px;
  color: var(--color-coffee);
  line-height: 1.2;
}

.llamado-texto p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 35px;
  color: var(--text-muted);
}

.llamado-texto .boton {
  display: inline-block;
  padding: 17px 45px;
  background: linear-gradient(135deg, var(--color-gold), #d4af37);
  color: #ffffff;
  font-weight: 700;
  border-radius: 50px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(197, 160, 89, 0.3);
  letter-spacing: 1px;
}

.llamado-texto .boton:hover {
  background: linear-gradient(135deg, var(--color-coffee), #5d4037);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(62, 39, 35, 0.4);
}

.llamado-imagen {
  position: relative;
}

.llamado-imagen img {
  width: 100%;
  border-radius: 25px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  border: 1px solid var(--border-light);
}

.llamado-imagen:hover img {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {

  .presentacion-contenido,
  .conoce-henry-grid,
  .llamado-contenido {
    gap: 50px;
  }
}

@media (max-width: 968px) {

  .presentacion-contenido,
  .conoce-henry-grid,
  .llamado-contenido {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .presentacion-texto {
    padding-right: 0;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on tablet */
    gap: 25px;
  }


  .titulo-seccion {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {

  .presentacion,
  .destacados,
  .nosotros,
  .conoce-henry,
  .llamado {
    padding: 80px 20px;
  }

  .titulo-seccion {
    font-size: 2.3rem;
  }

  .cards {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .cita-alma {
    font-size: 1.2rem;
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .titulo-seccion {
    font-size: 2rem;
  }

  .presentacion,
  .destacados,
  .nosotros,
  .conoce-henry,
  .llamado {
    padding: 60px 15px;
  }

  .cita-alma {
    font-size: 1.1rem;
    padding: 20px;
  }

  .parrafo-movimiento p {
    font-size: 1.05rem;
  }
}