:root{
--black:#0b0b0b;
--dark:#121212;
--white:#fff;
--gold:#c9a14a;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Inter',sans-serif;
background:var(--white);
color:#222;
}

/* HERO */
.hero{
position:relative;
height:100vh;
overflow:hidden;
}

.hero-video{
position:absolute;
width:100%;
height:100%;
object-fit:cover;
}

.hero-overlay{
position:absolute;
inset:0;
background:rgba(0,0,0,0.65);
}

.hero-content{
position:relative;
z-index:2;
height:100%;
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
text-align:center;
color:white;
padding:40px;
animation:fadeUp 1.5s ease;
}

.hero h1{
font-size:3.5rem;
letter-spacing:2px;
}

.hero p{
max-width:600px;
margin:20px 0;
opacity:0.8;
}

.hero-brand{
  margin:25px 0 35px;
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  opacity:.85;
}


.hero-logo{
width:140px;
height:auto;
filter:drop-shadow(0 5px 15px rgba(0,0,0,.4));
}

/* BUTTON */
.btn-primary{
background:var(--gold);
color:black;
padding:14px 40px;
text-decoration:none;
font-weight:600;
border-radius:40px;
transition:.3s;
}

.btn-primary:hover{
background:white;
}

/* SECTIONS */
.section{
padding:120px 0;
}

.container{
width:90%;
max-width:1200px;
margin:auto;
}

.dark{
background:var(--black);
color:white;
}

.light{
background:#f5f5f5;
}

h2{
font-size:2.5rem;
margin-bottom:40px;
}

/* ABOUT / TEXTO INSTITUCIONAL */
.about-text {
  max-width: 900px;
}

.about-text h2 {
  font-size: 2.8rem;
  margin-bottom: 50px;
  letter-spacing: 2px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  letter-spacing: 0.3px;
  margin-bottom: 28px;
  opacity: 0.85;
}

/* Primer párrafo con más peso visual */
.about-text p:first-of-type {
  font-size: 1.15rem;
  opacity: 1;
}

/* Separación visual elegante entre párrafos */
.about-text p:not(:last-child) {
  position: relative;
}

.about-text p:not(:last-child)::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-top: 25px;
  opacity: 0.6;
}

/* METHOD */
.method-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.method-card{
  background:linear-gradient(180deg,#ffffff,#f7f9fc);
  padding:45px 35px;
  border-radius:22px;
  box-shadow:0 20px 40px rgba(0,0,0,.08);
  transition:.4s ease;
  position:relative;
  overflow:hidden;
}

.method-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(0,0,0,.04),transparent);
  opacity:0;
  transition:.4s;
}

.method-card:hover{
  transform:translateY(-10px);
  box-shadow:0 30px 60px rgba(0,0,0,.12);
}

.method-card:hover::before{
  opacity:1;
}

.method-icon{
  width:60px;
  height:60px;
  background:linear-gradient(135deg,#000,#333);
  color: var(--gold);
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  font-size:26px;
  margin-bottom:25px;
}

.method-card h3{
  font-size:1.3rem;
  margin-bottom:10px;
}

.method-card p{
  line-height:1.6;
  color:#555;
}

/* SERVICES */
.services-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
margin-top:60px;
}


.service-card{
padding:45px 35px;
border:1px solid rgba(255,255,255,.15);
border-radius:24px;
text-align:left;
transition:.4s;
background:rgba(255,255,255,0.02);
backdrop-filter: blur(4px);
}

.service-card:hover{
transform:translateY(-10px);
background:linear-gradient(135deg,var(--gold),#e0c27a);
color:#000;
}

.service-icon{
font-size:2.5rem;
margin-bottom:20px;
color:var(--gold);
}

.service-card:hover .service-icon{
color:#000;
}

.service-card h3{
font-size:1.2rem;
letter-spacing:1px;
margin-bottom:15px;
}

.service-card p{
font-size:0.95rem;
line-height:1.6;
opacity:.85;
}

.service-card:hover p{
opacity:1;
}

.services-cta{
margin-top:60px;
text-align:center;
}

/* TEAM */
.team-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:30px;
}

.team-card{
background:white;
border-radius:20px;
overflow:hidden;
box-shadow:0 20px 40px rgba(0,0,0,.1);
text-align:center;
transition:.4s;
}

.team-card img{
width:100%;
height:280px;
object-fit:cover;
}

.team-card h3{
margin-top:15px;
}

.team-card span{
color:var(--gold);
font-size:.9rem;
}

.team-card p{
padding:10px 20px 20px;
font-size:.9rem;
opacity:.8;
}

.team-card:hover{
transform:translateY(-12px);
}

/* FOUNDER */
.founder{
border:2px solid var(--gold);
}

/* CONTACT */
.contact-wrapper{
display:flex;
flex-direction:column;
align-items:center;
text-align:center;
gap:30px;
max-width:700px;
margin:auto;
}

.contact-text{
font-size:1.05rem;
line-height:1.7;
opacity:.85;
}

.whatsapp-btn{
display:inline-flex;
align-items:center;
gap:12px;
padding:18px 40px;
border-radius:50px;
background:linear-gradient(135deg,var(--gold),#e0c27a);
color:#000;
font-weight:600;
letter-spacing:1px;
text-decoration:none;
transition:.4s;
box-shadow:0 10px 30px rgba(0,0,0,.3);
}

.whatsapp-btn i{
font-size:1.5rem;
}

.whatsapp-btn:hover{
transform:translateY(-5px);
box-shadow:0 20px 40px rgba(0,0,0,.4);
background:linear-gradient(135deg,#e0c27a,var(--gold));
}
/* ANIMATION */
@keyframes fadeUp{
from{opacity:0;transform:translateY(40px);}
to{opacity:1;transform:translateY(0);}
}

/* TESTIMONIOS */


.testimonials-section{
background:#0b0b0b;
color:white;
padding:120px 0;
text-align:center;
}

.testimonials-section h2{
color:var(--gold);
}

.section-subtitle{
max-width:700px;
margin:0 auto 60px;
opacity:.7;
}

.testimonials-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:40px;
}

.testimonial-card{
background:linear-gradient(145deg,#111,#1a1a1a);
padding:50px 40px;
border-radius:25px;
box-shadow:0 30px 80px rgba(0,0,0,.6);
transition:.5s;
animation:fadeUp 1s ease both;
position:relative;
overflow:hidden;
}

.testimonial-card::before{
content:"";
position:absolute;
inset:0;
background:linear-gradient(120deg,transparent,rgba(201,161,74,.15),transparent);
opacity:0;
transition:.5s;
}

.testimonial-card:hover::before{
opacity:1;
}

.testimonial-card:hover{
transform:translateY(-10px) scale(1.01);
}

.testimonial-card p{
font-size:1.05rem;
line-height:1.7;
margin-bottom:30px;
opacity:.9;
}

.testimonial-author strong{
display:block;
font-size:.95rem;
letter-spacing:1px;
}

.testimonial-author span{
font-size:.8rem;
opacity:.6;
}

/* MARCAS */
.brands-section{
  background: #ffffff;
  padding: 120px 0;
  text-align: center;
}

.brands-section h2{
  color: #0b0b0b;
  font-size: 2.6rem;
  margin-bottom: 10px;
}

/* SIN FONDO GRIS */
.section-subtitle.dark{
  background: transparent !important;
  color: #333;
  opacity: .7;
  margin-bottom: 70px;
  font-size: 1rem;
}

/* GRID PREMIUM */
.brands-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Desktop: 4 en fila */
  gap: 70px;
  align-items: center;
  justify-items: center;
}

/* Segunda fila centrada */
.brands-grid > .brand-logo:nth-child(n+5) {
  grid-column: span 1; /* Cada logo ocupa 1 columna */
  justify-self: center; /* Centra los logos que quedan en la segunda fila */
}


/* CONTENEDOR */
.brand-logo{
  position: relative;
  padding: 30px;
  border-radius: 22px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  transition: all 0.5s ease;
}

/* GLOW SUAVE */
.brand-logo::after{
  content:'';
  position:absolute;
  inset:0;
  border-radius:22px;
  background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0));
  opacity:0;
  transition: opacity .5s ease;
}

.brand-logo:hover::after{
  opacity:1;
}

/* LOGO */
.brand-logo img{
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  filter: grayscale(100%) contrast(0.85);
  opacity: .7;
  transition: all .5s ease;
}

/* HOVER PRO */
.brand-logo:hover{
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 40px 90px rgba(0,0,0,0.14);
}

.brand-logo:hover img{
  filter: grayscale(0%) contrast(1);
  opacity: 1;
}

/* TABLET */
@media (max-width: 1200px){
  .brands-grid{
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    justify-content: center;
  }
}

/* MOBILE: 2 POR FILA */
@media (max-width: 768px){
  .brands-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .brand-logo{
    padding: 22px;
  }

  .brand-logo img{
    max-height: 90px;
  }
}
/* ANIMACION */
@keyframes fadeUp{
from{
opacity:0;
transform:translateY(30px);
}
to{
opacity:1;
transform:translateY(0);
}
}
/* NAVBAR PREMIUM */

/* HAMBURGER */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: white;
  transition: .3s;
}

/* MOBILE */
@media (max-width: 900px) {

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0,0,0,0.95);
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 30px 0;
    gap: 20px;
    transform: translateY(-200%);
    transition: .4s;
  }

  .nav-links.active {
    transform: translateY(0);
  }
}

.premium-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 1.2rem;
}

.nav-brand{
display:flex;
align-items:center;
gap:12px;
text-decoration:none;
}

.nav-brand-text{
font-size:1.3rem;
font-weight:700;
letter-spacing:2px;
color:white;
}

.nav-logo-img{
height:90px;   
width:auto;
display:block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 5px;
  transition: .3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: .3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  border: 1px solid var(--gold);
  padding: 8px 18px;
  border-radius: 30px;
  transition: .3s;
}

.nav-cta:hover {
  background: var(--gold);
  color: black !important;
}

.nav-cta:hover::after {
  display: none;
}

.nav-logo img{
height:42px;
width:auto;
display:block;
}

/* FOOTER PREMIUM */
.premium-footer {
  background: #000;
  color: white;
  padding: 80px 0 40px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 40px;
  padding: 0 40px;
}

.footer-brand h3 {
  letter-spacing: 3px;
}

.footer-brand p {
  opacity: 0.6;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.7;
  transition: .3s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social a {
  color: white;
  text-decoration: none;
  opacity: 0.7;
}

.footer-social a:hover {
  color: var(--gold);
}

.footer-bottom {
  margin-top: 60px;
  text-align: center;
  opacity: 0.4;
  font-size: 0.8rem;
}