/* Import Clash Display Font */
@import url('fonts/clash-display/ClashDisplay_Complete/Fonts/WEB/css/clash-display.css');

/* Reset y Fuentes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'ClashDisplay-Regular', 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 25px 50px;
    transition: all 0.3s ease;
    transform: translateY(-100%);
    opacity: 0;
}

.header.visible {
    transform: translateY(0);
    opacity: 1;
}

.header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 20px 50px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-container {
    position: relative;
}

.logo {
    height: 45px;
    transition: opacity 0.3s ease;
}

.logo-white {
    opacity: 1;
}

.logo-dark {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.header.scrolled .logo-white {
    opacity: 0;
}

.header.scrolled .logo-dark {
    opacity: 1;
}

/* Contact Link */
.contact-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    padding: 10px 0;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.contact-link:hover::after {
    width: 100%;
}

.header.scrolled .contact-link {
  color: #32494b; /* dark green */
}

.header.scrolled .contact-link::after {
  background-color: #32494b; /* dark green underline on scrolled */
}

/* Hero Section */
.hero {
    height: 100vh;
    background-image: url('img/modal-diseno-urbano.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 140px;
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
    min-height: 500px;
    padding-top: 100px;
  }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-align: center;
    max-width: 1000px;
    padding: 0 40px;
}

.hero-title {
    font-family: 'ClashDisplay-Light', sans-serif;
    font-size: clamp(22px, 3.0vw, 38px);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.3px;
    white-space: nowrap;
    overflow-wrap: normal;
}

@media (max-width: 480px) {
  .hero-title {
    white-space: normal;
    font-size: clamp(18px, 4.5vw, 22px);
  }
}

.hero-title .italic {
    font-family: 'ClashDisplay-LightItalic', 'ClashDisplay-Light', sans-serif;
    font-style: italic;
    font-weight: 300;
}

/* Bold + italic emphasis for hero phrase */
.hero-title .bold-italic {
  font-family: 'ClashDisplay-Medium', 'ClashDisplay-Regular', sans-serif;
  font-style: italic;
  font-weight: 700;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 2;
}

.scroll-indicator span {
    font-family: 'ClashDisplay-Regular', sans-serif;
    font-size: 10px;
    letter-spacing: 2.5px;
    font-weight: 400;
    color: #ffffff;
}

.scroll-line {
    width: 1px;
    height: 70px;
    background: linear-gradient(to bottom, transparent, #ffffff, transparent);
    animation: scrollLine 2.5s infinite;
}

@keyframes scrollLine {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* About Section */
.about-section {
    min-height: auto;
    background-color: #efefef;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
}

.about-container {
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 1s ease;
}

.about-logo {
    margin-bottom: 35px;
    animation: scaleIn 0.8s ease 0.2s both;
}

.about-logo img {
    height: 50px;
}

.about-subtitle {
    font-family: 'ClashDisplay-Medium', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    color: #568864;
    margin-bottom: 25px;
}

.about-divider {
    width: 100px;
    height: 1.5px;
    background-color: #568864;
    margin: 0 auto 35px;
}

.about-content {
    color: #32494b;
}

.about-intro {
    font-family: 'ClashDisplay-Regular', sans-serif;
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: 25px;
    line-height: 1.6;
    color: #32494b;
}

.about-text {
    font-family: 'ClashDisplay-Regular', sans-serif;
    font-size: clamp(14px, 1.8vw, 16px);
    line-height: 1.8;
    text-align: justify;
    color: #32494b;
}

.about-text strong {
    font-family: 'ClashDisplay-Medium', sans-serif;
    font-weight: 500;
    color: #568864;
}

/* Video Sticky Section */
.video-section {
    position: relative;
    background-color: #efefef;
    min-height: 170vh;
}

.video-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-control {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
    z-index: 5;
}

.video-control:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

/* Botón expandir video */
.video-expand-btn {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: rgba(0,0,0,0.55);
  color: white;
  border: 2px solid rgba(255,255,255,0.12);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 6px;
  cursor: pointer;
  z-index: 9999;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.video-expand-btn:hover { background: rgba(0,0,0,0.8); transform: scale(1.06); box-shadow: 0 6px 18px rgba(0,0,0,0.45); }

.video-expand-btn svg { display: block; color: white; width:20px; height:20px; }

/* Estado expandido: el contenedor del video cubre todo el viewport */
.video-container.video-expanded {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.95);
  padding: 0;
}
.video-container.video-expanded .video-player {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Mostrar video completo, con letterbox si es necesario */
}

/* Bloqueo de scroll cuando está expandido */
body.no-scroll { overflow: hidden; }

/* Ajustes para el botón de cerrar dentro del overlay (usa la misma clase) */
.video-container.video-expanded .video-expand-btn {
  left: auto;
  right: 20px;
  top: 20px;
  bottom: auto;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  padding: 6px;
}
.video-container.video-expanded .video-expand-btn svg { width: 20px; height: 20px; }

/* En overlay/expanded NO ocultamos .play-icon; sólo se ocultará en fullscreen.
  (La regla previa que escondía .play-icon en overlay se eliminó.) */

/* En modo fullscreen (API) también ocultar el icono .play-icon y posicionar la X arriba */
.video-container:fullscreen .play-icon,
.video-container:-webkit-full-screen .play-icon,
.video-container:-moz-full-screen .play-icon {
  display: none !important;
}
.video-container:fullscreen .video-expand-btn,
.video-container:-webkit-full-screen .video-expand-btn,
.video-container:-moz-full-screen .video-expand-btn {
  left: auto !important;
  right: 20px !important;
  top: 20px !important;
  bottom: auto !important;
}

/* Si el elemento video entra en fullscreen directamente, ocultar su .play-icon hermano si aplica */
video:fullscreen ~ .video-control .play-icon,
video:-webkit-full-screen ~ .video-control .play-icon { display: none !important; }
/* Además ocultar el contenedor de control y el icono de pausa en fullscreen (container o video) */
.video-container:fullscreen .video-control,
.video-container:-webkit-full-screen .video-control,
.video-container:-moz-full-screen .video-control {
  display: none !important;
}
.video-container:fullscreen .pause-icon,
.video-container:-webkit-full-screen .pause-icon,
.video-container:-moz-full-screen .pause-icon {
  display: none !important;
}
video:fullscreen ~ .video-control,
video:-webkit-full-screen ~ .video-control,
video:-moz-full-screen ~ .video-control { display: none !important; }
video:fullscreen ~ .video-control .pause-icon,
video:-webkit-full-screen ~ .video-control .pause-icon,
video:-moz-full-screen ~ .video-control .pause-icon { display: none !important; }

/* Fallback: si JS marca el body con `in-fullscreen`, ocultamos controles personalizados */
.in-fullscreen .video-control,
.in-fullscreen .play-icon,
.in-fullscreen .pause-icon,
.in-fullscreen .video-expand-btn {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.video-content {
    position: relative;
    background-color: #efefef;
    padding: 100px 40px;
    z-index: 10;
}

.arofree-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.video-logo-icon {
    height: 50px;
    margin-bottom: 20px;
}

.video-arofree-intro {
    font-family: 'ClashDisplay-Regular', sans-serif;
    font-size: clamp(16px, 2vw, 18px);
    color: #32494b;
    margin-bottom: 25px;
}

.video-arofree-logo {
    margin: 25px 0;
}

.video-arofree-logo img {
    height: 95px;
    max-width: 300px;
}

.video-arofree-text {
    font-family: 'ClashDisplay-Regular', sans-serif;
    font-size: clamp(15px, 1.8vw, 17px);
    color: #32494b;
    line-height: 1.8;
    margin: 0;
}

.arofree-highlight {
    font-family: 'ClashDisplay-Semibold', sans-serif;
    color: #568864;
    font-weight: 600;
}

/* Pilares Section - Minimal Design */
.pilares-section {
    position: relative;
    background: linear-gradient(135deg, #7cbc8e 0%, #568864 100%);
    padding: 80px 40px;
    overflow: hidden;
}

.leaf-deco {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.06; /* reduced so content is clearer */
  pointer-events: none;
  z-index: 0; /* keep decorations behind content */
  mix-blend-mode: multiply;
  filter: saturate(0.95) blur(0.4px);
}

/* Ambas decoraciones cubrirán toda la sección. El contenido se coloca encima mediante z-index. */
.leaf-deco-1,
.leaf-deco-2 {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  transform: none;
}

.pilares-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3; /* ensure content sits above decorations */
}

/* Variant for keeping a single decorative image on one side */
.leaf-deco.single-side {
  /* hidden: using a pseudo-element on the section provides better control */
  display: none !important;
}

/* Use a pseudo-element to place palma2 as a large decorative background on the right */
.pilares-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: -6%;
  bottom: 0;
  width: 66%;
  background-image: url('img/palma2.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
  opacity: 0.12; /* more visible */
  pointer-events: none;
  z-index: 1; /* behind `.pilares-container` (z-index:3) */
  transform: translateZ(0);
  filter: saturate(1.05) contrast(1.02);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 18%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 18%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0) 100%);
}

@media (max-width: 1024px) {
  .pilares-section::before {
    right: -4%;
    width: 72%;
    opacity: 0.11;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 12%, rgba(0,0,0,0.45) 38%, rgba(0,0,0,0) 100%);
  }
}

@media (max-width: 768px) {
  .pilares-section::before {
    right: 0;
    width: 120%; /* allow image to extend offscreen for composition */
    opacity: 0.10;
    background-position: center bottom;
    mask-image: linear-gradient(to left, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 25%, rgba(0,0,0,0) 60%);
  }
}

@media (max-width: 768px) {
  .leaf-deco.single-side {
    width: 60%;
    opacity: 0.08;
  }
}

/* Bottom decorative palm (smaller, subtle at lower side) */
.leaf-deco-bottom {
  position: absolute;
  /* place the decorative palm on the right-bottom, slightly outside to create a 'underneath' effect */
  right: -8%;
  bottom: -10%;
  width: 38%;
  height: auto;
  object-fit: cover;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
  transform: rotate(12deg);
  mask-image: linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,1) 100%);
}

@media (max-width: 1024px) {
  .leaf-deco-bottom {
    right: -2%;
    bottom: -6%;
    width: 50%;
    opacity: 0.08;
  }
}

@media (max-width: 768px) {
  .leaf-deco-bottom {
    right: 0;
    bottom: -4%;
    width: 70%;
    opacity: 0.06;
    transform: rotate(6deg);
  }
}

.pilares-header {
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.pilares-icon {
    height: 50px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.pilares-title {
    font-family: 'ClashDisplay-Medium', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    margin-bottom: 25px;
    color: white;
}

.pilares-title .highlight {
    font-family: 'ClashDisplay-Medium', sans-serif;
    font-weight: 500;
}

.arrow-down {
    margin: 25px 0;
}

.pilares-subtitle {
    font-family: 'ClashDisplay-Regular', sans-serif;
    font-size: clamp(15px, 1.8vw, 18px);
    color: rgba(255,255,255,0.95);
}

.pilares-grid-minimal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pilar-minimal {
    position: relative;
    animation: fadeInUp 0.8s ease both;
}

.pilar-minimal:nth-child(1) {
    animation-delay: 0.1s;
}

.pilar-minimal:nth-child(2) {
    animation-delay: 0.2s;
}

.pilar-minimal:nth-child(3) {
    animation-delay: 0.3s;
}

.pilar-visual {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    transition: transform 0.4s ease;
}

.pilar-visual:hover {
    transform: translateY(-10px);
}

.pilar-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pilar-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 40px 30px;
    color: white;
}

.pilar-number {
    font-family: 'ClashDisplay-Light', sans-serif;
    font-size: 48px;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    margin-bottom: 10px;
    line-height: 1;
}

.pilar-name {
    font-family: 'ClashDisplay-Semibold', sans-serif;
    font-size: clamp(20px, 2.2vw, 26px);
    margin: 0 0 10px 0;
    color: white;
}

.pilar-desc {
    font-family: 'ClashDisplay-Regular', sans-serif;
    font-size: clamp(13px, 1.4vw, 15px);
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.5;
}

.pilar-desc {
    font-family: 'ClashDisplay-Regular', sans-serif;
    font-size: clamp(13px, 1.4vw, 15px);
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.5;
}

/* Despertar Section */
.despertar-section {
    background-color: #ffffff;
    padding: 100px 40px;
}

.despertar-container {
    max-width: 1200px;
    margin: 0 auto;
}

.despertar-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.despertar-title {
    font-family: 'ClashDisplay-Medium', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    color: #568864;
    margin-bottom: 25px;
}

.despertar-subtitle {
    font-family: 'ClashDisplay-Regular', sans-serif;
    font-size: clamp(16px, 1.8vw, 18px);
    color: #32494b;
    line-height: 1.8;
    margin-bottom: 35px;
}

.despertar-subtitle strong {
    font-family: 'ClashDisplay-Semibold', sans-serif;
    color: #568864;
}

.despertar-logo {
    margin-top: 30px;
}

.despertar-logo img {
    height: 55px;
}

.despertar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.despertar-left {
    position: relative;
}

.despertar-image {
    width: 100%;
    height: 550px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.despertar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.despertar-right {
    padding: 20px;
}

.despertar-info-box {
    background: linear-gradient(135deg, #7cbc8e 0%, #568864 100%);
    padding: 50px 40px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 15px 50px rgba(86, 136, 100, 0.3);
}

.despertar-box-title {
    font-family: 'ClashDisplay-Semibold', sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    margin-bottom: 20px;
    color: white;
}

.despertar-highlight {
    font-family: 'ClashDisplay-Medium', sans-serif;
    font-size: clamp(16px, 1.8vw, 19px);
    margin-bottom: 20px;
    color: rgba(255,255,255,0.95);
}

.despertar-description {
    font-family: 'ClashDisplay-Regular', sans-serif;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 1.8;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.9);
}

.despertar-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px 0;
}

.despertar-logo-gh {
    height: 45px;
    filter: brightness(0) invert(1);
}

.despertar-x {
    font-family: 'ClashDisplay-Light', sans-serif;
    font-size: 32px;
    color: white;
}

.despertar-logo-intra {
    height: 70px;
}

.despertar-badge {
    font-family: 'ClashDisplay-Medium', sans-serif;
    font-size: clamp(14px, 1.6vw, 17px);
    background-color: rgba(255,255,255,0.2);
    padding: 15px 30px;
    border-radius: 50px;
    text-align: center;
    color: white;
    backdrop-filter: blur(10px);
}

.despertar-badge {
    font-family: 'ClashDisplay-Medium', sans-serif;
    font-size: clamp(14px, 1.6vw, 17px);
    background-color: rgba(255,255,255,0.2);
    padding: 15px 30px;
    border-radius: 50px;
    text-align: center;
    color: white;
    backdrop-filter: blur(10px);
}

/* Carousel Section */
.carousel-section {
  width: 100%;
  background: #efefef;
  padding: 60px 0;
  margin: 0;
  overflow: hidden;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 0;
  animation: scroll-infinite 40s linear infinite;
  will-change: transform;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.carousel-item {
  flex-shrink: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  transition: none;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Diferentes tamaños - altura uniforme */
.carousel-tall {
  width: 350px;
  height: 400px;
}

.carousel-wide {
  width: 500px;
  height: 400px;
}

.carousel-medium {
  width: 400px;
  height: 400px;
}

@media (max-width: 768px) {
  .carousel-section {
    padding: 40px 0;
  }
  
  .carousel-track {
    gap: 0;
  }
  
  .carousel-tall {
    width: 250px;
    height: 300px;
  }
  
  .carousel-wide {
    width: 350px;
    height: 300px;
  }
  
  .carousel-medium {
    width: 280px;
    height: 300px;
  }
}

/* Experiencia Banner */
.experiencia-banner {
  background: linear-gradient(135deg, #7cbc8e 0%, #568864 100%);
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.experiencia-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s;
}

.experiencia-banner:hover::before {
  left: 100%;
}

.experiencia-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(45, 95, 63, 0.3);
}

.experiencia-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.experiencia-icon {
  width: 50px;
  height: auto;
  filter: brightness(0) invert(1);
}

.experiencia-banner-title {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: white;
  margin: 0;
  letter-spacing: -0.02em;
}

.experiencia-arrow {
  animation: bounce 2s infinite;
  margin-top: 8px;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.7;
  }
}

@media (max-width: 768px) {
  .experiencia-banner-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .experiencia-banner-title {
    font-size: 1.5rem;
  }
  
  .experiencia-icon {
    width: 40px;
  }
}

/* Experiencia Section */
.experiencia-section {
  width: 100%;
  min-height: 100vh;
  background: #efefef;
  padding: 100px 40px;
  position: relative;
}

.experiencia-container {
  max-width: 1300px;
  margin: 0 auto;
}

.experiencia-header-main {
  text-align: center;
  margin-bottom: 70px;
}

.experiencia-icon-main {
  width: 50px;
  height: auto;
  margin: 0 auto 25px;
  display: block;
  opacity: 0.8;
}

.experiencia-title-main {
  font-family: 'ClashDisplay-Medium', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #568864;
  margin-bottom: 25px;
}

.experiencia-subtitle-main {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto;
  font-weight: 400;
}

.experiencia-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}

.experiencia-tour {
  position: sticky;
  top: 100px;
}

.iframe-wrapper {
  width: 100%;
  height: 650px;
  background: #f8f5f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(45, 95, 63, 0.08);
}

.tour-360 {
  width: 100%;
  height: 100%;
  border: none;
}

.experiencia-features {
  display: flex;
  flex-direction: column;
}

.experiencia-grid {
  display: grid;
  gap: 20px;
}

.exp-card-new {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(45, 95, 63, 0.06);
}

.exp-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(45, 95, 63, 0.1);
  border-color: rgba(107, 165, 133, 0.2);
}

.exp-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #f8f5f0;
}

.exp-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-card-new:hover .exp-card-img-wrapper img {
  transform: scale(1.08);
}

.exp-card-number-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  width: 50px;
  height: 50px;
  background: #32494b; /* unified dark green */
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.exp-card-info {
  padding: 22px 24px;
}

.exp-card-title-new {
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-size: 1.15rem;
  color: #568864;
  margin: 0 0 10px 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.exp-card-text-new {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 0.9rem;
  color: #32494b;
  line-height: 1.65;
  margin: 0;
  font-weight: 400;
}

@media (max-width: 1200px) {
  .experiencia-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .experiencia-tour {
    position: relative;
    top: 0;
  }
  
  .iframe-wrapper {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .experiencia-section {
    padding: 60px 20px;
  }
  
  .experiencia-header-main {
    margin-bottom: 40px;
  }
  
  .experiencia-title-main {
    font-size: 2rem;
  }
  
  .experiencia-subtitle-main {
    font-size: 1rem;
  }
  
  .iframe-wrapper {
    height: 400px;
  }
  
  .exp-card-img-wrapper {
    height: 180px;
  }
  
  .exp-card-number-overlay {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    top: 15px;
    left: 15px;
  }
  
  .exp-card-info {
    padding: 20px;
  }
  
  .exp-card-title-new {
    font-size: 1.1rem;
  }
  
  .exp-card-text-new {
    font-size: 0.9rem;
  }
}

/* Ubicacion Section */
.ubicacion-section {
    background-color: #efefef;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.ubicacion-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ubicacion-header {
    margin-bottom: 30px;
}

.ubicacion-icon {
    height: 50px;
    margin-bottom: 20px;
    animation: scaleIn 0.8s ease;
}

.ubicacion-title {
    font-family: 'ClashDisplay-Medium', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    color: #568864;
    margin-bottom: 25px;
}

.ubicacion-intro {
    font-family: 'ClashDisplay-Regular', sans-serif;
    font-size: clamp(16px, 1.8vw, 18px);
    color: #32494b;
    margin-bottom: 25px;
}

.ubicacion-intro strong {
    font-family: 'ClashDisplay-Semibold', sans-serif;
    color: #568864;
}

.ubicacion-badge {
  display: inline-block;
  background: #bfd6bd;
  color: #32494b;
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: clamp(16px, 2vw, 20px);
  padding: 12px 32px;
  border-radius: 50px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px rgba(191, 214, 189, 0.35);
  animation: scaleIn 0.6s ease 0.3s both;
}

.time-highlight {
    font-family: 'ClashDisplay-Semibold', sans-serif;
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 600;
}

.ubicacion-description {
    font-family: 'ClashDisplay-Regular', sans-serif;
    font-size: clamp(15px, 1.6vw, 17px);
    color: #32494b;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ubicacion-map-wrapper {
    position: relative;
}

.ubicacion-map {
    width: 100%;
    max-width: 700px;
    height: 450px;
    margin: 0 auto 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    position: relative;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.ubicacion-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -100%);
    animation: bounce 2s infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

@keyframes bounce {
    0%, 100% {
        transform: translate(-50%, -100%) translateY(0);
    }
    50% {
        transform: translate(-50%, -100%) translateY(-10px);
    }
}

.ubicacion-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #d5eed3 0%, #bfd6bd 100%);
    color: #32494b;
    font-family: 'ClashDisplay-Medium', sans-serif;
    font-size: clamp(14px, 1.6vw, 16px);
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(191, 214, 189, 0.4);
    animation: fadeInUp 0.8s ease 0.7s both;
}

.ubicacion-btn:hover {
    background: linear-gradient(135deg, #bfd6bd 0%, #a8c9a5 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(191, 214, 189, 0.5);
}

.ubicacion-btn svg {
    flex-shrink: 0;
}

/* Forzar icono oscuro dentro del botón de ubicación */
.ubicacion-btn svg {
  fill: #32494b;
  stroke: #32494b;
  color: #32494b;
}

.ubicacion-btn svg * {
  fill: #32494b;
  stroke: #32494b;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 20px 25px;
    }
    
    .logo {
        height: 35px;
    }
    
    .contact-link {
        font-size: 11px;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-content {
        padding: 0 25px;
    }
    
    .hero-title {
        font-size: clamp(22px, 6vw, 32px);
    }
    
    .scroll-indicator {
        bottom: 35px;
    }
    
    .scroll-indicator span {
        font-size: 9px;
    }
    
    .about-section {
        padding: 80px 30px;
    }
    
    .about-logo img {
        height: 45px;
    }
    
    .about-text {
        text-align: left;
    }
    
    .video-section {
        min-height: 200vh;
    }
    
    .video-section {
        min-height: 200vh;
    }
    
    .video-content {
        padding: 60px 25px;
    }
    
    .video-logo-icon {
        height: 40px;
    }
    
    .video-arofree-logo img {
        height: 45px;
    }
    
    .video-control {
        bottom: 20px;
        right: 20px;
    }
    
    .video-control svg {
        width: 50px;
        height: 50px;
    }
    
    .pilares-section {
        padding: 60px 25px 80px;
    }
    
    .pilares-header {
        margin-bottom: 40px;
    }
    
    .pilares-icon {
        height: 45px;
    }
    
    .pilares-grid-minimal {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .pilar-visual {
        height: 400px;
    }
    
    .pilar-overlay {
        padding: 30px 25px;
    }
    
    .leaf-deco-1 {
        width: 180px;
        top: 30px;
    }
    
    .leaf-deco-2 {
        width: 150px;
    }
    
    .despertar-section {
        padding: 60px 25px;
    }
    
    .despertar-intro {
        margin-bottom: 50px;
    }
    
    .despertar-logo img {
        height: 45px;
    }
    
    .despertar-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .despertar-image {
        height: 400px;
    }
    
    .despertar-info-box {
        padding: 35px 25px;
    }
    
    .despertar-logo-gh {
        height: 35px;
    }
    
    .despertar-logo-intra {
        height: 32px;
    }
    
    .ubicacion-section {
        padding: 60px 25px;
    }
    
    .ubicacion-icon {
        height: 40px;
    }
    
    .ubicacion-badge {
        padding: 12px 25px;
    }
    
    .ubicacion-map {
        height: 350px;
    }
    
    .map-pin svg {
        width: 45px;
        height: 45px;
    }
    
    .ubicacion-btn {
        padding: 15px 30px;
        font-size: 14px;
    }
}

/* Características del Proyecto Section */
.caracteristicas-section {
  background: linear-gradient(135deg, #7cbc8e 0%, #568864 100%);
  padding: 45px 50px;
  color: white;
  position: relative;
  overflow: hidden;
}

.caracteristicas-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100px;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background-image: url('img/palma2.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}

.caracteristicas-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.caracteristicas-title {
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-size: 28px;
  margin: 0;
  color: white;
  letter-spacing: -0.3px;
  text-align: center;
}

.caracteristicas-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.caracteristica-item {
  text-align: center;
  transition: all 0.3s ease;
}

.caracteristica-item:hover {
  transform: translateY(-5px);
}

.caracteristica-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.caracteristica-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.2));
}

.caracteristica-titulo {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 12px;
  line-height: 1.3;
  margin: 0;
  color: white;
  opacity: 0.95;
}

.caracteristicas-slogan {
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-size: 22px;
  margin: 10px 0 0 0;
  color: white;
  letter-spacing: -0.2px;
  text-align: center;
}

@media (max-width: 768px) {
  .caracteristicas-section {
    padding: 35px 20px;
  }
  
  .caracteristicas-title {
    font-size: 22px;
  }
  
  .caracteristicas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: start;
    gap: 25px;
    width: 100%;
  }
  
  .caracteristica-icon {
    width: 40px;
    height: 40px;
  }
  
  .caracteristica-titulo {
    font-size: 11px;
  }
  
  .caracteristicas-slogan {
    font-size: 18px;
  }
}

/* Urbanismo y Oportunidades Section Unificada */
.urbanismo-section {
  background: #efefef;
  padding: 100px 50px;
  position: relative;
}

.urbanismo-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Parte 1: Diseño Urbano Postmoderno */
.urbanismo-header {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.urbanismo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.urbanismo-icon {
  width: 50px;
  height: auto;
  margin-bottom: 20px;
}

.urbanismo-title {
  font-family: 'ClashDisplay-Medium', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #568864;
  margin-bottom: 25px;
}

.urbanismo-subtitle {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 1.05rem;
  color: #32494b;
  line-height: 1.7;
  margin: 0 0 15px 0;
}

.urbanismo-highlight {
  font-family: 'ClashDisplay-Medium', sans-serif;
  font-size: 1.15rem;
  color: #568864;
  margin: 0;
}

.urbanismo-layout {
  position: relative;
}

.layout-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}

.urbanismo-leyenda {
  background: white;
  padding: 25px 30px;
  border-radius: 12px;
  border: 1px solid rgba(45, 95, 63, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.leyenda-title {
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-size: 1.2rem;
  color: #568864;
  margin: 0 0 15px 0;
}

.leyenda-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 15px;
}

.leyenda-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.leyenda-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}

.leyenda-dot.disponible {
  background: #c8e870;
  border: 2px solid #b5d85e;
}

.leyenda-dot.vendido {
  background: #ffd966;
  border: 2px solid #f0c850;
}

.leyenda-text {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 0.9rem;
  color: #333;
}

.leyenda-total {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 0.95rem;
  color: #32494b;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.leyenda-total strong {
  font-family: 'ClashDisplay-Semibold', sans-serif;
  color: #568864;
}

/* Parte 2: Oportunidades de Inversión */
.oportunidades-wrapper {
  padding-top: 40px;
  border-top: 1px solid rgba(45, 95, 63, 0.1);
}

.oportunidades-header {
  text-align: center;
  margin-bottom: 50px;
}

.oportunidades-title {
  font-family: 'ClashDisplay-Medium', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #568864;
  margin-bottom: 25px;
}

.oportunidades-subtitle {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.oportunidades-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.oportunidad-card {
  background: linear-gradient(135deg, #7cbc8e 0%, #568864 100%);
  padding: 35px 30px;
  border-radius: 20px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(86, 136, 100, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.oportunidad-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(45, 95, 63, 0.3);
}

.card-icon {
  margin-bottom: 20px;
}

/* Center card content */
.oportunidad-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.oportunidad-card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title {
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-size: 1.4rem;
  margin: 0 0 25px 0;
  color: white;
}

.card-area .card-values {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.card-value {
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 12px 25px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}

.card-separator {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 1.4rem;
  opacity: 0.8;
}

.card-badge {
  background: #ffd966;
  color: #568864;
  font-family: 'ClashDisplay-Bold', sans-serif;
  font-size: 1.3rem;
  padding: 12px 30px;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.card-consulta {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.95;
  line-height: 1.6;
}

.oportunidad-card.card-adquiere,
.card-adquiere {
  /* Force the gradient for the 3rd card (higher specificity) */
  /* Use same gradient as other opportunity cards */
  background: linear-gradient(135deg, #7cbc8e 0%, #568864 100%);
}

.card-title-main {
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-size: 1.7rem;
  margin: 0 0 25px 0;
  color: white;
  text-align: center;
}

.card-pasos {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.paso-principal {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px 25px;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.paso-label {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 8px;
  opacity: 0.95;
}

.paso-percent {
  font-family: 'ClashDisplay-Bold', sans-serif;
  font-size: 2.8rem;
  display: block;
  line-height: 1;
}

.pasos-secundarios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.paso-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 18px 15px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.paso-percent-small {
  font-family: 'ClashDisplay-Bold', sans-serif;
  font-size: 1.8rem;
  line-height: 1;
}

.paso-detail {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 0.8rem;
  line-height: 1.3;
  opacity: 0.95;
}

.paso-detail strong {
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-size: 0.95rem;
}

.paso-label-small {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 0.7rem;
  opacity: 0.85;
}

/* Footer Final */
.footer-final {
  background: white;
  padding: 60px 50px;
  text-align: center;
}

.footer-final-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-icon {
  width: 80px;
  height: auto;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-icon:hover {
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .urbanismo-header {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .oportunidades-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .urbanismo-section {
    padding: 60px 25px;
  }
  
  .urbanismo-title {
    font-size: 2rem;
  }

  /* Centrar icono y título de Urbanismo en móvil */
  .urbanismo-text {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
  }

  .urbanismo-icon {
    margin: 0 0 12px 0;
  }

  .urbanismo-title {
    margin: 0 auto 0 auto;
  }
  
  .oportunidades-title {
    font-size: 1.8rem;
  }
  
  .oportunidad-card {
    padding: 25px 20px;
  }
  
  .card-value {
    font-size: 1.5rem;
    padding: 10px 20px;
  }
  
  .card-title-main {
    font-size: 1.4rem;
  }
  
  .paso-percent {
    font-size: 2.3rem;
  }
  
  .paso-percent-small {
    font-size: 1.5rem;
  }
  

/* Lightbox styles */
.expandable {
  cursor: zoom-in;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2000;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 92%;
  max-height: 92%;
  padding: 12px;
  position: relative;
}

.lightbox-image {
  width: 100%;
  height: auto;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: block;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 2100;
}

.lightbox-overlay.open .lightbox-close {
  display: flex;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.12);
}

  .pasos-secundarios {
    grid-template-columns: 1fr;
  }
  
  .footer-final {
    padding: 40px 25px;
  }
  
  .footer-icon {
    width: 60px;
  }
}

.contacto-section {
  background: #efefef;
  padding: 80px 50px;
  text-align: center;
}

/* Optimizaciones generales para móvil */
@media (max-width: 768px) {
  /* Reducción general de padding en todas las secciones */
  .about-section {
    padding: 30px 15px !important;
    min-height: auto !important;
  }
  
  .about-section,
  .pilares-section,
  .despertar-section,
  .ubicacion-section,
  .experiencia-section,
  .urbanismo-section {
    padding: 30px 15px !important;
  }
  
  /* Hero móvil optimizado */
  .hero-content {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.2;
    /* Permitir que el título haga wrap en pantallas móviles para evitar recortes */
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  
  .scroll-indicator {
    bottom: 30px;
  }
  
  /* Header móvil */
  .header {
    padding: 12px 15px;
  }
  
  .logo {
    height: 32px;
  }
  
  .contact-link {
    font-size: 11px;
  }
  
  /* Video sección optimizada para móvil */
  .video-section {
    min-height: auto !important;
    padding: 0 !important;
  }
  
  .video-sticky-wrapper {
    position: relative !important;
    height: auto !important;
    min-height: auto !important;
  }
  
  .video-container {
    height: 300px !important;
    max-height: none !important;
    position: relative !important;
  }
  
  .video-player {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
  
  .video-control {
    bottom: 15px;
    right: 15px;
    padding: 8px;
  }
  
  .video-control svg {
    width: 40px;
    height: 40px;
  }
  
  .video-content {
    padding: 30px 20px !important;
    background: white;
  }
  
  .video-logo-icon {
    height: 35px !important;
    margin-bottom: 15px;
  }
  
  .video-arofree-intro {
    font-size: 16px !important;
    margin-bottom: 15px !important;
  }
  
  .video-arofree-logo {
    margin: 15px 0 !important;
  }
  
  .video-arofree-logo img {
    height: 60px !important;
    max-width: 220px !important;
  }
  
  .video-arofree-text {
    font-size: 14px !important;
    line-height: 1.6 !important;
    margin-top: 15px !important;
  }
  
  /* Carousel móvil */
  .carousel-section {
    padding: 20px 0 !important;
  }
  
  /* Experiencia banner */
  .experiencia-banner {
    padding: 20px 15px;
  }
  
  /* Características */
  .caracteristicas-section {
    padding: 25px 15px !important;
  }
  
  /* Contacto */
  .contacto-section {
    padding: 30px 15px !important;
  }
  
  /* Espaciado entre secciones reducido */
  .about-container,
  .pilares-container,
  .despertar-container,
  .ubicacion-container,
  .experiencia-container,
  .urbanismo-container,
  .contacto-container {
    padding: 0;
  }
  
  /* Títulos más compactos */
  .about-subtitle,
  .pilares-title,
  .despertar-title,
  .ubicacion-title,
  .experiencia-title-main,
  .urbanismo-title,
  .oportunidades-title,
  .contacto-title {
    margin-bottom: 12px !important;
  }
  
  .about-logo img,
  .pilares-icon,
  .ubicacion-icon,
  .experiencia-icon-main,
  .urbanismo-icon,
  .contacto-icon {
    margin-bottom: 12px !important;
  }
  
  /* Reducir espacios entre elementos */
  .about-divider {
    margin: 15px auto !important;
  }
  
  .about-content p {
    margin-bottom: 12px !important;
  }
}

/* Contacto Section */

.contacto-container {
  max-width: 800px;
  margin: 0 auto;
}

.contacto-icon {
  width: 60px;
  height: auto;
  margin: 0 auto 30px;
  display: block;
}

.contacto-title {
  font-family: 'ClashDisplay-Medium', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #568864;
  margin-bottom: 25px;
}

.contacto-intro {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
  margin: 0 0 50px 0;
}

.contacto-info {
  margin-bottom: 50px;
}

.contacto-subtitle {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 1.3rem;
  color: #568864;
  line-height: 1.5;
  margin: 0 0 35px 0;
}

.contacto-subtitle strong {
  font-family: 'ClashDisplay-Semibold', sans-serif;
}

.contacto-detalles {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 500px;
  margin: 0 auto;
}

.contacto-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  text-align: left;
}

/* Make contact icons dark green */
.contacto-item svg,
.contacto-item svg * {
  fill: #32494b !important;
  stroke: #32494b !important;
  color: #32494b !important;
}

.contacto-icon-small {
  flex-shrink: 0;
  margin-top: 2px;
}

.contacto-text {
  flex: 1;
}

.contacto-dato,
.contacto-telefono,
.contacto-email {
  font-family: 'ClashDisplay-Medium', sans-serif;
  font-size: 1.1rem;
  color: #568864;
  margin: 0;
  line-height: 1.4;
}

.contacto-lugar {
  font-family: 'ClashDisplay-Regular', sans-serif;
  font-size: 0.95rem;
  color: #32494b;
  margin: 5px 0 0 0;
}

.contacto-redes {
  padding-top: 40px;
  border-top: 1px solid rgba(45, 95, 63, 0.15);
}

.redes-title {
  font-family: 'ClashDisplay-Semibold', sans-serif;
  font-size: 1.3rem;
  color: #568864;
  line-height: 1.5;
  margin: 0 0 25px 0;
}

.redes-iconos {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.red-social {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #7cbc8e 0%, #568864 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(86, 136, 100, 0.2);
}

.red-social:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(45, 95, 63, 0.3);
}

.red-social svg {
  width: 24px;
  height: 24px;
}

.redes-handle {
  font-family: 'ClashDisplay-Medium', sans-serif;
  font-size: 1.05rem;
  color: #568864;
  margin: 0;
}

@media (max-width: 768px) {
  .contacto-section {
    padding: 60px 25px;
  }
  
  .contacto-title {
    font-size: 2rem;
  }
  
  .contacto-subtitle {
    font-size: 1.1rem;
  }
  
  .contacto-dato,
  .contacto-telefono,
  .contacto-email {
    font-size: 1rem;
  }
  
  .redes-iconos {
    gap: 15px;
  }
  
  .red-social {
    width: 45px;
    height: 45px;
  }
}

/* Evitar desbordes horizontales por medios (imágenes, iframes, videos) */
img,
video,
iframe,
.layout-image {
  max-width: 100%;
  height: auto;
}

/* Centrar los iconos 1.png - 6.png únicamente en móvil */
@media (max-width: 768px) {
  .caracteristica-icon {
    margin-left: auto;
    margin-right: auto;
  }

  .caracteristica-icon img {
    display: block;
    margin: 0 auto;
  }
}
