:root {
  --black: #111111;
  --white: #f2f2f2;
  --gold: #c9a24d;
  --gray: #b5b5b5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--white);
  color: var(--black);
  line-height: 1.7;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider {
  display: flex;
  height: 100%;
  width: 100%;
}

.slide {
  width: 100%;
  height: 100vh;
  flex-shrink: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Reemplaza estas imágenes */
.slide-1 { background-image: url('../img/hero/hero1.PNG'); }
.slide-2 { background-image: url('../img/hero/hero2.JPEG'); }
.slide-3 { background-image: url('../img/hero/Hero3.PNG'); }
.slide-4 { background-image: url('../img/hero/hero4.PNG');}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
}

.hero-title h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  letter-spacing: 0.35em;
  font-weight: 400;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  margin-top: 15px;
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  color: var(--gray);
}

/* ================= SECTIONS ================= */
.section-light {
  background: #f7f7f7;
}

.section-soft {
  background: linear-gradient(
    to bottom,
    #ffffff,
    #f3f3f3
  );
}


.section {
  padding: 55px 25%;
}

.section-logo{
  max-width: 60px;
  height: auto;
  opacity: 0.85;
}

.container {
  max-width: 1000px;
  margin: auto;
}

.about-logo img {
  max-width: 280px;       /* 🔑 antes estaba muy grande */
  opacity: 0.85;          /* lujo silencioso */
}

.about {
  text-align: center;
  font-size: 1.05rem;
}

.about-text {
  text-align: center;
}

.benefits-list {
  text-align: center;
}
/* ================= SERVICES ================= */

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

.service-card {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-link:hover .service-card {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  cursor: pointer;
  overflow: hidden;
}

.service-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}


/**/
/* === INTERACCIÓN SERVICES === */

.service-card {
  text-align: center;
  cursor: pointer;
}

.service-image {
  position: relative;
  overflow: hidden;
}

/* Zoom imagen */
.service-image img {
  transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

/* Descripción oculta */
.service-details {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

/* Mostrar descripción */
.service-card:hover .service-details {
  opacity: 1;
  max-height: 200px;
}

/* ================= SOCIALS ================= */

.socials-links {
  
  display: flex;
  justify-content: center;
  gap: 30px;
  
}

.socials-links a {
  
  width: 46px;
  height: 46px;
  border: 1px solid var(--gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.socials-links a:hover {
  background: var(--black);
}

.socials-links img {
  width: 50px;
  filter: invert(0);
}

.socials-links a:hover img {
  filter: saturate(35);
}
/* ============================= */
/* LIGHTBOX GALERÍA */
/* ============================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* cuando está activa */
.lightbox.active {
  display: flex;
}

/* contenedor de imagen */
.lightbox-content {
  position: relative;
  width: 80%;
  max-width: 900px;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* imágenes */
.lightbox-content img {
  position: absolute;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox-content img.active {
  opacity: 1;
}

/* botones */
.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 10px;
  transition: opacity 0.3s ease;
}

.lightbox button:hover {
  opacity: 0.7;
}

/* cerrar */
.lightbox .close {
  top: 20px;
  right: 30px;
  font-size: 3rem;
}

/* flechas */
.lightbox .prev {
  left: 30px;
}

.lightbox .next {
  right: 30px;
}

/* responsive */
@media (max-width: 768px) {
  .lightbox-content {
    width: 90%;
    height: 70vh;
  }

  .lightbox button {
    font-size: 2rem;
  }
}


/* ================= FOOTER ================= */

.footer {
  padding: 40px;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .section {
    padding: 70px 6%;
  }

  .hero {
    height: 90vh;
  }
}



.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  letter-spacing: 0.25em;
  margin-bottom: 60px;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.work-item {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3; /* proporción elegante */
  overflow: hidden;
  background: linear-gradient(to bottom, #bbbbbb, #f3f3f3);
  border-radius: 6px;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.work-item:hover {
  transform: scale(1.02);
}



.work-item {
  background-size: cover;
  background-position: center;
}
/*Section of decoration*/

.section-light {
  background: linear-gradient(to top, #f3f3f3, #bbbbbb);
}

.section-soft {
  background: linear-gradient(to bottom, #bbbbbb, #f3f3f3);
}

.card,
.service-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.divider {
  width: 60px;
  height: 2px;
  margin: 24px auto;
  background: linear-gradient(
    to right,
    transparent,
    #c9a24d,
    transparent
  );
}

section {
  padding: 80px 0;
}

/* ================= Integers services ================= */

.servicios-integrales {
  padding: 80px 20px;
  background: linear-gradient(to top, #bbbbbb, #f3f3f3);
}

.servicios-integrales h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 15px;
}

.servicios-intro {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
  color: #555;
  line-height: 1.6;
}

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

.servicio-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  
}

.servicio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

.servicio-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.servicio-card p {
  color: #666;
  line-height: 1.6;
}

.cta-servicios {
  margin-top: 50px;
  text-align: center;
  
}

/* Centrar la última tarjeta cuando quede sola */
/*.servicios-grid .servicio-card:last-child {
  grid-column: 1 / -1;
  max-width: 360px;
  margin: 0 auto;
  
}*/

.btn-principal {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-principal:hover {
  background-color: #000;
  color: #fff;
}

@media (min-width: 1024px) {
  .servicios-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .servicios-grid .servicio-card:last-child {
    grid-column: 2;
  }
}

.proximos-servicios {
  padding: 70px 20px;
  background-color: #fff;
  text-align: center;
}

.proximos-servicios h2 {
  font-size: 2.2rem;
  margin-bottom: 5px;
}

.proximos-servicios .subtitulo {
  font-size: 1rem;
  color: #777;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.proximos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.proximos-grid span {
  padding: 12px 22px;
  border: 1px solid #ddd;
  border-radius: 25px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.proximos-grid span:hover {
  border-color: #000;
}

.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.divider {
  position: relative;
  width: 300px;
  height: 4px;
  margin: 20px auto;

  background: linear-gradient(
    to right,
    rgba(212,175,55,0.2) 0%,
    rgba(212,175,55,0.6) 20%,
    rgba(255,215,100,1) 50%,
    rgba(212,175,55,0.6) 80%,
    rgba(212,175,55,0.2) 100%
  );

  border-radius: 999px;
}

.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.8),
    transparent
  );

  transform: translate(-50%, -50%);
  opacity: 0.7;
}

@keyframes shimmer {
  0% { opacity: 0.4; }
  50% { opacity: 0.9; }
  100% { opacity: 0.4; }
}

.divider::after {
  animation: shimmer 3s ease-in-out infinite;
}

.faq-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 680;
  letter-spacing: 0.3px;

  background: none;
  border: none;
  padding: 18px 0;
  width: 100%;

  text-align: left;
  cursor: pointer;
  color: #111;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.section-high{
  background: linear-gradient(
    to top,
    #ffffff,
    #f3f3f3
  );
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.benefits-list li {
  margin: 20px 0;
  font-size: 1.1rem;
  letter-spacing: 1px;
  position: relative;
}

.benefits-list li::after {
  content: "";
  display: block;
  width: 150px;
  height: 2px;
  background: var(--gold);
  margin: 12px auto 0;
  opacity: 0.5;
}
