body{
}



/* =========================
   HERO
========================= */
/* =========================
   HERO BASE
========================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 72px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* =========================
   BACKGROUND IMAGE (ANIMATED)
========================= */
.hero-bg {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  animation: heroZoom 18s ease-in-out infinite alternate;
  transform-origin: center;
}

/* zoom lento */
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* =========================
   OVERLAY OSCURECIDO
========================= */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(17, 24, 39, 0.65) 0%,
      rgba(17, 24, 39, 0.45) 40%,
      rgba(17, 24, 39, 0.75) 100%
    );
}

/* glow dorado sutil */
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle at top,
    rgba(198, 161, 91, 0.22),
    transparent 60%
  );
  animation: glowMove 12s ease-in-out infinite alternate;
}

@keyframes glowMove {
  from { transform: translateY(-40px); }
  to   { transform: translateY(40px); }
}

/* =========================
   CONTENT
========================= */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-white);

  animation: heroFadeUp 1.2s ease both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   TEXT
========================= */
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.hero-title span {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-6);
}

/* =========================
   ACTIONS
========================= */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}



@media (max-width: 768px) {

  .hero-actions {
    flex-direction: column;
    margin: 10px 30px;
  }

  .hero-content{
    padding: 10px;
  }


}


















/* =========================
   ABOUT SECTION
========================= */
.about {
  background: var(--color-primary-light);
  padding: var(--space-16) var(--space-6);
  border: var(--border-light);
}

/* =========================
   CONTAINER
========================= */
.about-container {
  max-width: var(--container-xl);
  margin: 0 auto;

  display: flex;
  align-items: center;
  gap: var(--space-12);
}

/* =========================
   TEXT CONTENT
========================= */
.about-content {
  flex: 1;
}

.about-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.about-title {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.about-title span {
  color: var(--color-accent-dark);
}

.about-text {
  font-size: var(--text-base);
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.about-text.muted {
  color: var(--color-text-muted);
}

/* =========================
   MEDIA / IMAGE
========================= */
.about-media {
  position: relative;
  flex: 1;
  max-width: 280px;
}

.about-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;

  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-medium);

  overflow: hidden;


  inset: 0;
  background: center / cover no-repeat;
  transform-origin: center;
}


/* simulación de imagen */
.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.25)
  );
}

/* =========================
   DECORATIVE GLOW
========================= */
.about-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle,
    rgba(198, 161, 91, 0.25),
    transparent 60%
  );
  z-index: var(--z-back);
  pointer-events: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-media {
    display: none;
  }

  .about-title {
    font-size: var(--text-2xl);
  }
}












/* =========================
   SERVICES SECTION
========================= */
.services {
  position: relative;
  padding: var(--space-16) var(--space-6);
  overflow: hidden;
  background-image: 
    radial-gradient(
      circle at top left,
      rgba(198, 161, 91, 0.08),
      transparent 40%
    );

  border: var(--border-strong);
  overflow: hidden;
  isolation: isolate;
}


/* =========================
   BACKGROUND DECORATIONS
========================= */
.services-bg {
  position: absolute;
  pointer-events: none;
  z-index: var(--z-back);
  filter: blur(10px);
}


/* =========================
   SERVICE ICONS ANIMATION
========================= */
.service-icon {
  font-size: 2.5rem;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.1);
  box-shadow: 0 0 20px rgba(198, 161, 91, 0.2);
  margin-bottom: 16px;

  animation: iconEntrance 0.8s ease forwards;
}

.service-card{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:nth-child(1) .service-icon {
  animation-delay: 0.2s;
}
.service-card:nth-child(2) .service-icon {
  animation-delay: 0.4s;
}
.service-card:nth-child(3) .service-icon {
  animation-delay: 0.6s;
}
.service-card:nth-child(4) .service-icon {
  animation-delay: 0.8s;
}

/* REBOTE + LUZ */
@keyframes iconEntrance {
  0% {
    transform: scale(0) rotate(-15deg);
    opacity: 0;
    box-shadow: 0 0 0 rgba(198,161,91,0);
  }
  50% {
    transform: scale(1.2) rotate(10deg);
    opacity: 1;
    box-shadow: 0 0 15px rgba(198,161,91,0.5);
  }
  70% {
    transform: scale(0.95) rotate(-5deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 20px rgba(198,161,91,0.3);
  }
}

/* Hover glow effect */
.service-icon:hover {
  transform: scale(1.2);
  box-shadow: 0 0 25px rgba(198,161,91,0.7),
              0 0 40px rgba(198,161,91,0.5) inset;
  transition: all 0.3s ease;
}

/* Icon color inside */
.service-icon i {
  color: var(--color-accent-dark);
  transition: transform 0.3s ease, color 0.3s ease;
}

.service-icon:hover i {
  transform: rotate(20deg) scale(1.2);
  color: var(--color-accent-light);
}


/* =========================
   CÍRCULO GRANDE DORADO
========================= */
.services-bg--circle {
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(198, 161, 91, 0.45),
    rgba(198, 161, 91, 0.25),
    transparent 70%
  );
}

/* círculo grande */
.services-bg--circle.c1 {
  width: 520px;
  height: 520px;
  top: -200px;
  right: -200px;
  opacity: 0.2;
  animation: floatSlow 18s ease-in-out infinite;
}

/* círculo medio */
.services-bg--circle.c2 {
  width: 320px;
  height: 320px;
  bottom: 120px;
  left: -140px;
  opacity: 0.2;
  animation: floatReverse 22s ease-in-out infinite;
}

/* círculo chico */
.services-bg--circle.c3 {
  width: 220px;
  height: 220px;
  top: 40%;
  right: 15%;
  opacity: 0.2;
  animation: floatSlow 26s ease-in-out infinite;
}

/* =========================
   ONDA DORADA
========================= */
.services-bg--wave {
  width: 900px;
  height: 360px;
  opacity: 0.2;
  bottom: -160px;
  right: 5%;

  background: linear-gradient(
    120deg,
    rgba(198, 161, 91, 0.5),
    rgba(198, 161, 91, 0.2),
    transparent
  );

  border-radius: 50%;
  animation: waveMove 30s ease-in-out infinite;
}



/* =========================
   CONTAINER
========================= */
.services-container {
  max-width: var(--container-xl);
  margin: 0 auto;
  position: relative;
  z-index: var(--z-normal);
}

/* =========================
   HEADER
========================= */
.services-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-12);
}

.services-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.services-title {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.services-title span {
  color: var(--color-accent-dark);
}

.services-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =========================
   GRID
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* =========================
   CARD
========================= */
.service-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;

  box-shadow: var(--shadow-soft);
  border: var(--border-light);

  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

/* =========================
   ICON
========================= */
.service-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-4);
}

/* =========================
   TEXT
========================= */
.service-card h3 {
  font-family: var(--font-title);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-title {
    font-size: var(--text-2xl);
  }
}

@keyframes floatSlow {
  0%   { transform: translateY(0) translateX(0); }
  50%  { transform: translateY(-30px) translateX(20px); }
  100% { transform: translateY(0) translateX(0); }
}

@keyframes floatReverse {
  0%   { transform: translateY(0) translateX(0); }
  50%  { transform: translateY(25px) translateX(-15px); }
  100% { transform: translateY(0) translateX(0); }
}

@keyframes waveMove {
  0%   { transform: translateX(0) rotate(-6deg); }
  50%  { transform: translateX(-40px) rotate(-4deg); }
  100% { transform: translateX(0) rotate(-6deg); }
}












/* =========================
   GALLERY SECTION
========================= */
.gallery {
  padding: var(--space-16) var(--space-6);
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.gallery-container {
  max-width: var(--container-xl);
  margin: 0 auto;
}

/* HEADER */
.gallery-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-12);
}

.gallery-eyebrow {
  text-transform: uppercase;
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

.gallery-title {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  margin: var(--space-3) 0;
}

.gallery-title span {
  color: var(--color-accent-dark);
}

.gallery-subtitle {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =========================
   FLEX LAYOUT
========================= */
.gallery-flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

/* BASE ITEM */
.gallery-item {
  position: relative;
  flex: 1 1 calc(33.333% - var(--space-6));
  max-width: calc(33.333% - var(--space-6));
  aspect-ratio: 4 / 3;

  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-normal),
              box-shadow var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

/* VARIANTES EDITORIALES */
.gallery-item.large {
  flex-basis: calc(66.666% - var(--space-6));
  max-width: calc(66.666% - var(--space-6));
}

.gallery-item.tall {
  aspect-ratio: 3 / 4;
}

.gallery-item.wide {
  aspect-ratio: 16 / 9;
}

/* IMAGE */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.18);
}

/* OVERLAY */
.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-5);

  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 40%,
    rgba(17,24,39,0.65) 100%
  );

  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--color-white);
  font-weight: 500;
}

.gallery-overlay button {
  align-self: flex-start;
  background: var(--gradient-accent);
  border: none;
  color: var(--color-black);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  cursor: pointer;
}

/* =========================
   LIGHTBOX
========================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,0.9);
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  z-index: var(--z-modal);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 2rem;
  color: var(--color-white);
  background: none;
  border: none;
  cursor: pointer;
}

/* =========================
   LIGHTBOX MOBILE MODE
========================= */
.lightbox-track {
  display: none;
  width: 100%;
  height: 100%;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.lightbox-track::-webkit-scrollbar {
  display: none;
}

.lightbox-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;

  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-slide img {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

/* =========================
   MOBILE BEHAVIOR
========================= */
@media (max-width: 768px) {
  .lightbox-image {
    display: none;
  }

  .lightbox-track {
    display: flex;
  }
}


/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  .gallery-item,
  .gallery-item.large {
    flex: 1 1 calc(50% - var(--space-6));
    max-width: calc(50% - var(--space-6));
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    flex: 1 1 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }
}



/* =========================
   MOBILE CAROUSEL
========================= */
.gallery-carousel {
  display: none;
  margin-top: var(--space-8);
}

/* TRACK */
.carousel-track {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-4);

  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* SLIDE */
.carousel-slide {
  flex: 0 0 80%;
  scroll-snap-align: center;

  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.carousel-slide img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* OVERLAY TEXT */
.carousel-slide span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 12px 16px;
  font-size: var(--text-sm);
  color: var(--color-white);

  background: linear-gradient(
    180deg,
    rgba(0,0,0,0),
    rgba(17,24,39,0.75)
  );
}

/* DOTS */





.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-4);
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(198,161,91,0.35);
  cursor: pointer;
}

.carousel-dots button.active {
  background: var(--color-accent);
}


/* =========================
   VISIBILITY CONTROL
========================= */
@media (max-width: 768px) {
  .gallery-flex {
    display: none;
  }

  .gallery-carousel {
    display: block;
  }
}


















/* =========================
   CONTACT SECTION
========================= */
.contact {
  padding: var(--space-16) var(--space-6);
  background: var(--gradient-dark);
  border: var(--border-strong);
}

/* =========================
   CONTAINER
========================= */
.contact-container {
  max-width: var(--container-md);
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */
.contact-header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.contact-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.contact-title {
  font-family: var(--font-title);
  font-size: var(--text-3xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.contact-title span {
  color: var(--color-accent-dark);
}

.contact-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =========================
   FORM
========================= */



.contact-form {
  background: var(--color-bg-card);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: var(--border-light);
}

/* =========================
   GROUP
========================= */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-5);
}

.form-group label {
  font-size: var(--text-sm);
  color: var(--color-text-dark);
  margin-bottom: var(--space-2);
}

/* =========================
   INPUTS
========================= */
.form-group input,
.form-group textarea {
  font-family: var(--font-text);
  font-size: var(--text-base);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: var(--border-light);
  background: var(--color-bg-light);
  color: var(--color-text);

  transition:
    border var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* focus */
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow-accent);
}





/* =========================
   FORM STATES
========================= */
.form-error {
  font-size: var(--text-xs);
  color: var(--color-error);
  margin-top: 4px;
  display: none;
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--color-error);
}

.form-group.success input,
.form-group.success textarea {
  border-color: var(--color-accent);
}

/* =========================
   SUBMIT LOADER
========================= */
.form-submit {
  position: relative;
  overflow: hidden;
}

.btn-loader {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white;
  border-radius: 50%;
  display: none;
  animation: spin 0.8s linear infinite;
}

.form-submit.loading .btn-text {
  display: none;
}

.form-submit.loading .btn-loader {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* =========================
   STATUS MESSAGE
========================= */
.form-status {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  text-align: center;
  display: none;
}

.form-status.success {
  color: var(--color-success);
}

.form-status.error {
  color: var(--color-error);
}

/* =========================
   WHATSAPP BUTTON
========================= */
.contact-whatsapp {
  display: block;
  margin-top: var(--space-5);
  text-align: center;
  font-size: var(--text-sm);
  text-decoration: none;
  color: var(--color-accent-dark);
  transition: opacity var(--transition-fast);
}

.contact-whatsapp:hover {
  opacity: 0.7;
}


/* =========================
   BUTTON
========================= */
.contact-form .btn {
  width: 100%;
  margin-top: var(--space-4);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 640px) {
  .contact-form {
    padding: var(--space-6);
  }

  .contact-title {
    font-size: var(--text-2xl);
  }
}











/* =========================
   WHATSAPP FLOAT BUTTON
========================= */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;

  background: linear-gradient(135deg, #25D366, #1ebe5d);
  color: #ffffff;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1.8rem;
  z-index: var(--z-fixed);

  box-shadow:
    0 10px 30px rgba(37, 211, 102, 0.35),
    0 0 0 0 rgba(37, 211, 102, 0.4);

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

/* Hover desktop */
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 14px 40px rgba(37, 211, 102, 0.45),
    0 0 0 12px rgba(37, 211, 102, 0.15);
}

/* Animación sutil */
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: whatsappPulse 2.5s infinite;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Mobile safe spacing */
@media (max-width: 768px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
}
