/*
Theme Name: N4R
Theme URI: 
Author: Modo + 1984
Author URI: m84
Description: Tema personalizado para Nexus4Running - Running experience
Version: 2.0
License: 
License URI: 
Text Domain: n4r
*/

/* ========== IMPORT FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;500;600;700;800;900&display=swap');

/* ========== RESET Y BASE ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
}

:root {
    --primary: #550EDD;
    --primary-orange: #FE5000;
    --secondary-cyan: #00FFE5;
    --secondary-yellow: #FFF200;
    
    --black: #1A1A1A;
    --black-light: #2C2C2C;
    --gray: #6B6B6B;
    --gray-light: #E8E8E8;
    --white: #FFFFFF;
    --white-off: #F5F5F5;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--black);
    font-weight: 400;
    background: var(--white);
    font-size: 16px;
    line-height: 1.5;
}

*:focus {
    outline: none;
}

/* ========== TIPOGRAFÍA ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

p {
    font-weight: 400;
    color: var(--black-light);
}

/* ========== HEADER ========== */
.site-header {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 3rem;
    z-index: 1000;
    background: transparent;
	transform: translateY(-100%);
    transition: all 0.5s ease;
}

body.loaded .site-header {
	transform: translateY(0);
	opacity: 1;
}

.site-header.scrolled {
    background: var(--black);
    padding: 0.75rem 3rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

#logo {
    max-width: 180px;
    min-width: 100px;
	height: 65px;
    display: flex;
    align-items: center;
}

#logo svg .cls-1 {
    fill: var(--white);
    transition: fill 0.3s ease;
}

/* Menú Desktop */
.desktop-menu {
    display: block;
}

.menu-items {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.menu-items li a {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.menu-items li a:hover {
    color: var(--primary);
}

/* Menú Mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.2, 0.9, 0.3, 1);
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu .menu-item {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--white);
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 0.5rem;
}

.mobile-menu .menu-item:hover {
    color: var(--primary);
}

/* Hamburguesa */
.menu-toggle {
    display: none;
}

.menu-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
}

.menu-text {
    font-size: 0.9rem;
    font-family: 'Nunito', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.menu-icon {
    width: 32px;
    height: 26px;
    overflow: visible;
}

.bar {
    fill: currentColor;
    transition: transform .45s cubic-bezier(.76, 0, .24, 1), opacity .25s ease;
    transform-origin: center;
    transform-box: fill-box;
}

.menu-btn.active .top {
    transform: translateY(10px) rotate(45deg);
}

.menu-btn.active .middle {
    opacity: 0;
}

.menu-btn.active .bottom {
    width: 31.76px;
    transform: translateY(-10px) rotate(-45deg);
}

/* ========== HERO CON VIDEO ========== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(84, 14, 221, 0.1)), linear-gradient(rgba(85, 14, 221, 0.15) 1px, transparent 1px), 
		linear-gradient(90deg, rgba(85, 14, 221, 0.1) 1px, transparent 1px);
    background-size: 100% 100%, 3px 3px, 3px 3px;
}

.hero-arrow {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	width: 20px;
	z-index: 2;
	animation: bounce 2s infinite;
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
	40% { transform: translateX(-50%) translateY(-10px); }
	60% { transform: translateX(-50%) translateY(-5px); }
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== CLAIM SECTION ========== */
.claim {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: var(--white-off);
}

.claim-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.claim-text {
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.6;
    font-weight: 500;
    color: var(--black);
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
  -webkit-text-fill-color: currentColor;
  color: color-mix(in srgb, currentColor 25%, transparent);
  -webkit-background-clip: text;
  background-clip: text;
  display: inline;
}

  .claim-text {
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-image: linear-gradient(90deg, var(--primary) 90%, transparent);
    animation: intro-text-color-fill linear both;
    animation-timeline: view();
    animation-range: cover 20% contain 70%;
  }

  @keyframes intro-text-color-fill {
    from { background-size: 0% 100%; }
    to { background-size: 110% 100%; }
  }

.claim-text::before {
    content: "“";
    font-size: 7rem;
	line-height: 4rem;
    color: var(--primary);
    display: block;
    margin-bottom: 1rem;
}

/* ========== ABOUT SECTION ========== */
#about {
    padding: 5rem 2rem;
    background: var(--white);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    display: inline-block;
    margin-bottom: 1rem;
}

.about-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    color: var(--black);
}

.about-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    color: var(--gray);
}

.btn-about {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    border: 2px solid var(--primary);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-about:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateX(10px);
}

/* ========== HOW WE DO SECTION ========== */
.how-we-do-section {
    position: relative;
    height: 600vh;
    width: 100%;
    background: #08111f;
	padding: 0 0;
}

.how-we-do-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.how-we-do-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("assets/images/mountains.png") center center / cover no-repeat;
    z-index: 1;
}

.how-we-do-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(85, 14, 221,.40), rgba(85, 14, 221,.5));
    z-index: 2;
}

.how-we-do-header {
    position: absolute;
    top: 150px;
    left: 5%;
    width: 25%;
    z-index: 20;
}

.how-we-do-section.active .how-we-do-header {
    position: fixed;
}

.how-we-do-header span {
    display: block;
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: .7;
    margin-bottom: 15px;
    font-weight: 200;
    color: var(--primary, #FFF200);
	font-weight: 700;
}

.how-we-do-header h2 {
    font-size: 56px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
    /*background: linear-gradient(135deg, #fff, #94a3b8);*/
    /*-webkit-background-clip: text;*/
    background-clip: text;
    color: var(--white);
}

.how-we-do-header p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--white);
    font-weight: 200;
}

.how-we-do-svg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 600vh;
    z-index: 5;
    pointer-events: none;
}

.route-path {
    fill: none;
    stroke: var(--secondary-yellow, #FFF200);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 0.3s linear;
}

.route-marker {
    fill: var(--secondary-yellow, #FFF200);
    opacity: 1;
    transition: opacity 0.3s ease;
}

/*.route-marker.active {
    opacity: 1;
}
*/
.altitude-label {
    font-size: 9px;
    fill: rgba(255,242,0,0.5);
    font-family: 'Nunito', monospace;
    font-weight: 200;
}

.location-label {
    font-size: 8px;
    fill: rgba(255,242,0,0.4);
    font-family: 'Nunito', monospace;
    font-weight: 200;
}

.checkpoint {
    position: absolute;
    width: 32%;
    z-index: 20;
    opacity: 0;
    transform: translateY(80px);
    transition: opacity .8s ease, transform .8s ease;
    background: rgba(8, 17, 31, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.checkpoint.active {
    opacity: 1;
    transform: translateY(0);
}

.checkpoint .number {
    font-size: 64px;
    font-weight: 200;
    line-height: 1;
    opacity: 0.4;
    margin-bottom: 5px;
    color: #fff;
}

.checkpoint h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.checkpoint h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--secondary-yellow, #FFF200);
    letter-spacing: 1px;
    opacity: 1;
    text-transform: uppercase;
}

.checkpoint p {
    color: var(--white-off);
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 300;
}

.cp1 { top: 8%; left: 38%; }
.cp2 { top: 22%; right: 8%; left: auto; }
.cp3 { top: 38%; left: 38%; }
.cp4 { top: 54%; right: 8%; left: auto; }
.cp5 { top: 72%; left: 38%; }
.cp6 { top: 88%; right: 8%; left: auto; }

.stats-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 20;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    padding: 6px 12px;
    border: none;
    pointer-events: none;
    font-family: 'Nunito', monospace;
    display: flex;
    gap: 16px;
}

.how-we-do-section.active .stats-card {
    position: fixed;
}

.stat-item {
    text-align: right;
}

.stat-value {
    font-size: 11px;
    font-weight: 200;
    color: rgba(255,255,255,0.4);
    line-height: 1.3;
}

.stat-unit {
    font-size: 9px;
    font-weight: 200;
    color: rgba(255,255,255,0.3);
    margin-left: 1px;
}

.how-we-do-content {
    position: relative;
    height: 600vh;
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-align: center;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.scroll-indicator span {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 300;
    color: var(--white);
}

.scroll-indicator .mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    80% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
}

/* ========== SERVICES SECTION ========== */
.services-section {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--white-off);
	margin:auto;
	padding: 5rem 0;
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
}


.section-kicker {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #5b4bff; /* mismo morado del botón */
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: #111;
}

.section-line {
  width: 60px;
  height: 2px;
  background: #5b4bff;
  margin: 20px auto 0;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
    align-items: center;
}

.service{
    min-height: 80vh;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;

    opacity:.35;
    transform:translateY(70px) scale(.85);

    transition: all .7s ease;
}

/* alternancia sin romper nada */
.service:nth-child(odd){
    grid-template-areas: "content visual";
}

.service:nth-child(even){
    grid-template-areas: "visual content";
}

.service .content{
    grid-area: content;
    max-width:550px;
}

.service .visual{
    grid-area: visual;
}

/* alineación texto */
.service:nth-child(odd) .content{
    text-align:left;
}

.service:nth-child(even) .content{
    text-align:right;
}

/* ACTIVO */
.service.active{
    opacity:1;
    transform:translateY(0) scale(1);
}

/* TEXTO */
.service .label{
    font-size:.8rem;
    text-transform:uppercase;
    letter-spacing:.18em;
    color:var(--primary);
    margin-bottom:20px;
	font-weight: 700;
}

.service h2{
    font-size:clamp(3rem,6vw,5rem);
    line-height:.92;
    font-weight:700;
    margin-bottom:24px;
}

.description{
    font-size:1.15rem;
    line-height:1.7;
    color:#555;
}

/* IMAGEN */
.visual img{
    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:32px;

    transform:scale(.95);
    transition: transform .8s ease, box-shadow .8s ease;
}

/* activa imagen */
.service.active img{
    transform:scale(1);
    box-shadow:0 40px 90px rgba(0,0,0,.25);
}


/* ========== EVENTS SECTION ========== */
.events-section {
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--white-off);
	padding: 5rem 2rem;
}

.events-header {
	text-align: center;
	margin-bottom: 50px;
}

.events-container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
   max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
    align-items: center;
}

.event-card {
  text-decoration: none;
  color: #fff;
  background: var(--primary);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s ease;
}

.event-card:hover {
  transform: translateY(-6px);
}

.event-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.event-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) saturate(1.1);
}

/* LOGO CENTRADO ENCIMA */
.event-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* CONTENIDO */
.event-content {
  padding: 16px;
}

.event-content h3 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 1px;
}

.event-content p {
	color: var(--secondary-yellow);
  margin: 6px 0;
  opacity: 0.8;
}

.event-content span {
  font-weight: bold;
  font-size: 14px;
  opacity: 0.9;
}

/* MOBILE */
@media (max-width: 768px) {
  .events-container {
    grid-template-columns: 1fr;
  }
}


.equipo{
    --equipo-black: #111114;
    --equipo-gray-text: #5B5B66;
    --equipo-bg-light: #F5F5F7;
    --equipo-white: #FFFFFF;
    --equipo-border: #E7E7EC;
    --equipo-radius-lg: 22px;

    background: var(--white);
    padding: 96px 24px;
    font-family: 'Inter', sans-serif;
  }

  .equipo-header{
    max-width: 760px;
    margin: 0 auto 64px;
    text-align: center;
  }

  .equipo-header h2{
    font-weight: 800;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    color: var(--equipo-black);
    margin: 0 0 20px;
    letter-spacing: -0.01em;
  }

 
  .equipo-header h2::before{
    content: "Nuestro Equipo";
    display: block;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 16px;
  }

  .equipo-header p{
    font-size: 17px;
    line-height: 1.7;
    color: var(--equipo-gray-text);
    margin: 0 0 12px;
  }

  .equipo-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1180px;
    margin: 0 auto;
  }

  @media (max-width: 1024px){
    .equipo-grid{ grid-template-columns: repeat(2, 1fr); }
  }
  @media (max-width: 620px){
    .equipo-grid{ grid-template-columns: 1fr; }
  }

  .equipo-card{
    background: var(--equipo-white);
    border-radius: var(--equipo-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(17, 17, 20, 0.06);
    border: 1px solid var(--equipo-border);
    display: flex;
    flex-direction: column;
    padding: 0 0 26px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .equipo-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(17, 17, 20, 0.1);
  }

  .equipo-foto{
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
  }

  .equipo-card h3{
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--equipo-black);
    margin: 0 22px 4px;
    line-height: 1.25;
  }

  .equipo-cargo{
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    margin: 0 22px 14px;
  }

  .equipo-card p{
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--equipo-gray-text);
    margin: 0 22px 10px;
  }

  .equipo-card p:last-child{
    margin-bottom: 0;
  }



/* ========== FOOTER ========== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo img {
    max-width: 150px;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
}

/* ========== UTILITIES ========== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

.mobile-only {
    display: none;
}

/* ========== ANIMACIONES ========== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-container,
.claim-container,
.contact-window {
    animation: fadeIn 0.8s ease;
}




/* ========== TESTIMONIOS SECTION ========== */
/* ========== TESTIMONIOS CON VIDEOS ========== */
.testimonios-section {
    min-height: 100vh;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
}

.testimonios-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.testimonios-header {
    margin-bottom: 4rem;
}

.testimonios-header h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.testimonios-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.testimonio-card-video {
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    aspect-ratio: 9 / 16; /* Formato vertical de celular */
}

.testimonio-card-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: transparent;
}

/* Controles personalizados (opcional, para que se vean mejor en fondo oscuro) */
.testimonio-card-video video::-webkit-media-controls-panel {
    
}

.testimonio-card-video video::-webkit-media-controls-play-button {
    filter: invert(1);
}

/* Paginación */
.testimonios-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.pagination-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 992px) {
    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .testimonios-section {
        padding: 3rem 1.5rem;
    }
    
    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .testimonio-card-video {
        aspect-ratio: 9 / 16;
    }
}

@media (max-width: 480px) {
    .testimonios-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
}




/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .how-we-do-header {
        width: 35%;
    }
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-content {
        text-align: center;
    }
}

@media (max-width: 991px) {
    .how-we-do-header {
        position: absolute !important;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 0 20px;
        text-align: center;
        background: transparent;
    }
    
    .how-we-do-section.active .how-we-do-header {
        position: fixed !important;
        top: 60px;
    }

    .how-we-do-header h2 {
        font-size: 36px;
    }

    .how-we-do-header p {
        max-width: 90%;
        margin: 0 auto;
        font-size: 14px;
    }

    .how-we-do-svg {
        width: 280px;
    }

    .checkpoint {
        width: 85%;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) translateY(80px);
        text-align: center;
        padding: 18px;
    }

    .checkpoint.active {
        transform: translateX(-50%) translateY(0);
    }
    
    .checkpoint .number {
        font-size: 48px;
    }
    
    .checkpoint h3 {
        font-size: 22px;
    }
    
    .checkpoint p {
        font-size: 13px;
    }

    .cp1 { top: 18%; }
    .cp2 { top: 32%; }
    .cp3 { top: 48%; }
    .cp4 { top: 64%; }
    .cp5 { top: 80%; }
    .cp6 { top: 94%; }
    
    .stats-card {
        position: fixed !important;
        bottom: 10px;
        right: 10px;
        padding: 4px 10px;
        gap: 12px;
        background: rgba(0,0,0,0.5);
    }
    
    .how-we-do-section.active .stats-card {
        position: fixed !important;
    }
    
    .stat-value {
        font-size: 9px;
    }
    
    .location-label, 
    .altitude-label {
        display: none;
    }
    
    .scroll-indicator {
        bottom: 70px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 1rem 1.5rem;
    }
    
    .site-header.scrolled {
        padding: 0.75rem 1.5rem;
    }
    
    .desktop-menu {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .mobile-only {
        display: block;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
        padding: 0 1rem;
    }
    
    .claim {
        padding: 3rem 1.5rem;
    }
    
    .claim-text {
        font-size: 1.1rem;
    }
    
    .contact-window {
        padding: 2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
	.service{
		max-width: 80%;
		margin: 0 auto;
		display: flex;
		grid-template-columns: 1fr;
		flex-direction:  column;
	}
	.visual img {
		height: auto;
	}
}

@media (max-width: 480px) {
    .site-header {
        padding: 0.75rem 1rem;
    }
    
    #logo {
        max-width: 120px;
    }
    
    .section-placeholder h2 {
        font-size: 1.8rem;
    }
    
    .contact-window {
        padding: 1.5rem;
    }
    
    .send-btn {
        width: 100%;
    }
    
    .how-we-do-header {
        top: 40px;
    }
    
    .how-we-do-header h2 {
        font-size: 28px;
    }
    
    .how-we-do-header span {
        font-size: 10px;
        letter-spacing: 2px;
    }
    
    .checkpoint {
        padding: 14px;
        width: 90%;
    }
    
    .checkpoint .number {
        font-size: 36px;
    }
    
    .checkpoint h3 {
        font-size: 18px;
    }
    
    .checkpoint h4 {
        font-size: 10px;
    }
    
    .checkpoint p {
        font-size: 11px;
    }
    
    .stats-card {
        gap: 8px;
        padding: 3px 8px;
    }
    
    .stat-value {
        font-size: 7px;
    }
    
    .stat-unit {
        font-size: 6px;
    }
}
















/* =========================================
   ABOUT PAGE
========================================= */

.about-page{
    background: var(--white);
    color: var(--black);
    overflow: hidden;
}

/* GLOBAL */

.container{
    width: min(1200px, 90%);
    margin: auto;
}

section{
    padding: 100px 0;
}

.section-label{
    display:inline-block;
    font-size:12px;
    letter-spacing:3px;
    color:var(--primary);
    font-weight:700;
    margin-bottom:20px;
    text-transform:uppercase;
}

.section-head{
    margin-bottom:60px;
}

.section-head h2{
    font-size: clamp(2rem,4vw,3.5rem);
    line-height:1.1;
    max-width:800px;
}

.center{
    text-align:center;
}

/* HERO */

.about-hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    background:
    linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.65)),
    url('./assets/images/about/about-hero.jpeg');
    background-size:cover;
    background-position:center;
}

.hero-inner{
    max-width:700px;
}

.hero-inner h1{
    font-size: clamp(3rem,7vw,6rem);
    line-height:0.95;
    color:var(--white);
    margin-bottom:25px;
    font-weight:900;
}

.hero-inner p{
    color:rgba(255,255,255,.8);
    font-size:1.1rem;
    max-width:500px;
}

/* ORIGIN */

.grid-2{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:60px;
    align-items:center;
}

.origin-content h2{
    font-size:3rem;
    margin-bottom:30px;
}

.origin-content p{
    color:var(--gray);
    line-height:1.9;
    margin-bottom:20px;
}

.origin-image img{
    width:100%;
    display:block;
    border-radius:8px;
}

/* SERVICES */

.about-services{
    background: var(--white-off);
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.service-box{
    padding:35px;
    background:white;
    border-left:4px solid var(--primary);
    transition:.3s;
}

.service-box:hover{
    transform:translateY(-5px);
}

.service-box h3{
    margin-bottom:15px;
}

.service-box p{
    color:var(--gray);
    line-height:1.7;
}

/* DIFFERENTIALS */

.diff-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    margin-bottom:70px;
    align-items:center;
}

.diff-row img{
    width:100%;
    display:block;
    border-radius:8px;
    min-height:400px;
    object-fit:cover;
}

.diff-row h3{
    font-size:2rem;
    margin-bottom:20px;
}

.diff-row p{
    line-height:1.8;
    color:var(--gray);
}

.narrow{
    max-width:900px;
}

.diff-content{
    font-size:1.15rem;
    line-height:2;
}

.diff-lead{
    font-size:1.4rem;
    font-weight:600;
    margin-bottom:40px;
}

.diff-content p{
    margin-bottom:30px;
    color:var(--gray);
}

.diff-content blockquote{
    margin-top:50px;
    font-size:2rem;
    font-weight:700;
    border-left:4px solid var(--primary);
    padding-left:30px;
}

/* MISSION */

.about-mission{
    background: var(--black);
    color:white;
}

.about-mission h2{
    font-size:3rem;
    max-width:900px;
    margin:auto;
    margin-bottom:30px;
}

.about-mission p{
    max-width:700px;
    margin:auto;
    margin-bottom:40px;
    color:rgba(255,255,255,.7);
}

.about-mission ul{
    list-style:none;
    padding:0;
}

.about-mission li{
    margin:15px 0;
}

/* WHY */

.why-list{
    max-width:800px;
}

.why-item{
    padding:35px 0;
    border-bottom:1px solid #ddd;
}

.why-item h3{
    margin-bottom:15px;
    font-size:1.4rem;
}

.why-item p{
    color:var(--gray);
    line-height:1.8;
}

/* PILLARS */

.about-pillars{
    background: var(--white-off);
}

.pillar-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.pillar-card{
    background:white;
    padding:40px;
    border-top:4px solid var(--primary);
}

.pillar-card h3{
	font-size: 1.4rem;
	font-weight: 500;
    margin-bottom: 0.5rem;
}

.pillar-card p{
    color:var(--gray);
    line-height:1.8;
	text-align: justify;
	padding-bottom: 0.5rem;
}

.pillar-card p.title{
	font-weight: 600;
	color: var(--primary);
	font-size: 1.75rem;
	text-align: left;
	line-height: 2rem;
	margin: 0 0 1rem 0;
}

.project-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    margin-bottom:100px;
    align-items:center;
}

.project-row.reverse{
    grid-template-columns:1fr 1fr;
}

.project-row.reverse .project-image{
    order:2;
}

.project-row.reverse .project-content{
    order:1;
}

.project-content h3{
    font-size:2rem;
    margin-bottom:10px;
}

.project-content h4{
    color:var(--primary);
    margin-bottom:30px;
    font-size:1.2rem;
}

.project-content p{
    line-height:1.9;
    margin-bottom:20px;
}

.project-quote{
    margin-top:30px;
    font-size:1.3rem;
    font-weight:700;
}

.project-image{
    width:100%;
    height:100%;
}

.project-image img{
    width:100%;
    height:550px;
    object-fit:cover;
    display:block;
    border-radius:10px;
}

/* CTA */

.about-cta{
    background: var(--black);
}

.about-cta h2{
    color:white;
    font-size:3rem;
    margin-bottom:20px;
}

.about-cta p{
    color:rgba(255,255,255,.7);
    max-width:600px;
    margin:auto auto 30px;
}

.btn-main{
    display:inline-block;
    padding:16px 40px;
    background:var(--primary);
    color:white;
    text-decoration:none;
    font-weight:700;
}

/* MOBILE */

@media(max-width:992px){

    .grid-2,
    .diff-row,
    .services-grid,
    .pillar-grid{
        grid-template-columns:1fr;
    }

    .diff-row.reverse{
        display:flex;
        flex-direction:column-reverse;
    }

    section{
        padding:70px 0;
    }

}

@media(max-width:768px){

    .hero-inner h1{
        font-size:3rem;
    }

    .origin-content h2,
    .about-mission h2,
    .about-cta h2,
    .section-head h2{
        font-size:2rem;
    }

    .service-box,
    .pillar-card{
        padding:25px;
    }

}