/* ===== RESET ===== */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root{
  --bg:#0B0B0F;
  --bg-alt:#111118;
  --bg-card:#16161E;
  --bg-card-hover:#1C1C26;
  --white:#FFFFFF;
  --text:#E4E4E7;
  --text-muted:#8B8B96;
  --gold:#B8732A;
  --gold-light:#E8C98A;
  --gold-glow:rgba(184,115,42,0.15);
  --accent:#C4622D;
  --border:rgba(255,255,255,0.08);
  --border-hover:rgba(255,255,255,0.15);
  --radius:16px;
  --radius-lg:24px;
}

html{scroll-behavior:smooth}

body{
  background:var(--bg);
  color:var(--text);
  font-family:'Plus Jakarta Sans',sans-serif;
  font-weight:400;
  line-height:1.6;
  overflow-x:hidden;
}

img{max-width:100%;display:block}

/* ===== NAV ===== */
nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:1rem 5%;
  background:rgba(11,11,15,0.85);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border);
  transition:background .3s;
}

.logo-img{height:32px;width:auto;}

.nav-links{display:flex;align-items:center;gap:2rem;}
.nav-links a{font-size:.875rem;color:var(--text-muted);text-decoration:none;font-weight:500;transition:color .2s;}
.nav-links a:hover{color:var(--white);}

.nav-cta{
  background:var(--gold);color:var(--white)!important;
  padding:.5rem 1.25rem;border-radius:100px;
  font-size:.875rem!important;font-weight:600;
  transition:background .2s,transform .2s!important;
}
.nav-cta:hover{background:var(--accent)!important;transform:translateY(-1px);}

.hamburger{display:none;background:none;border:none;cursor:pointer;padding:4px;}
.hamburger span{display:block;width:24px;height:2px;background:var(--white);margin:5px 0;border-radius:2px;transition:all .3s;}

/* ===== HERO ===== */
.hero{
  min-height:100vh;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  text-align:center;
  padding:8rem 5% 5rem;
  position:relative;overflow:hidden;
}

.hero-glow{
  position:absolute;top:-20%;left:50%;transform:translateX(-50%);
  width:800px;height:600px;
  background:radial-gradient(ellipse,rgba(184,115,42,0.12) 0%,transparent 70%);
  z-index:0;pointer-events:none;
}

.hero-grid-bg{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,0.03) 1px,transparent 1px);
  background-size:60px 60px;
  mask-image:radial-gradient(ellipse 60% 50% at 50% 50%,black,transparent);
  z-index:0;
}

.hero-content{position:relative;z-index:1;max-width:850px;}

.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(184,115,42,0.1);color:var(--gold-light);
  font-size:.8rem;font-weight:600;
  padding:6px 18px;border-radius:100px;
  margin-bottom:2rem;
  border:1px solid rgba(184,115,42,0.2);
  animation:fadeUp .6s ease both;
}
.hero-badge::before{content:'';width:6px;height:6px;background:var(--gold);border-radius:50%;animation:pulse 2s infinite;}

h1{
  font-family:'Playfair Display',serif;
  font-size:clamp(2.8rem,7vw,5.5rem);
  line-height:1.08;letter-spacing:-.03em;
  color:var(--white);margin-bottom:1.5rem;
  animation:fadeUp .6s .1s ease both;
}
h1 em{color:var(--gold-light);font-style:italic;}

.hero-sub{
  font-size:1.1rem;color:var(--text-muted);
  max-width:560px;margin:0 auto 2.5rem;line-height:1.75;
  animation:fadeUp .6s .2s ease both;
}

.hero-actions{
  display:flex;gap:1rem;justify-content:center;flex-wrap:wrap;
  animation:fadeUp .6s .3s ease both;
}

.btn-primary{
  background:var(--gold);color:var(--white);
  padding:.875rem 2rem;border-radius:100px;
  font-size:.95rem;font-weight:600;text-decoration:none;
  transition:all .25s;border:none;cursor:pointer;
  box-shadow:0 0 20px rgba(184,115,42,0.3);
}
.btn-primary:hover{background:var(--accent);transform:translateY(-2px);box-shadow:0 0 30px rgba(184,115,42,0.4);}

.btn-secondary{
  background:transparent;color:var(--text);
  padding:.875rem 2rem;border-radius:100px;
  font-size:.95rem;font-weight:500;text-decoration:none;
  border:1.5px solid var(--border-hover);
  transition:all .25s;
}
.btn-secondary:hover{border-color:var(--gold);color:var(--white);transform:translateY(-2px);}

/* ===== STATS BAR ===== */
.stats-bar{
  background:var(--bg-alt);
  border-top:1px solid var(--border);border-bottom:1px solid var(--border);
  padding:3rem 5%;
  text-align:center;
}
.stats-bar-text{
  font-family:'Playfair Display',serif;
  font-size:clamp(1.2rem,3vw,1.8rem);
  color:var(--text-muted);font-weight:400;
}
.stats-bar-text strong{color:var(--gold-light);font-weight:700;}

.hero-stats{
  display:flex;gap:3rem;justify-content:center;
  margin-top:4rem;padding-top:3rem;
  border-top:1px solid var(--border);
  animation:fadeUp .6s .4s ease both;
}
.stat-num{font-family:'Playfair Display',serif;font-size:2.2rem;font-weight:700;color:var(--white);}
.stat-num span{color:var(--gold-light);}
.stat-label{font-size:.8rem;color:var(--text-muted);margin-top:2px;}

/* ===== SECTIONS ===== */
section{padding:6rem 5%;}
.section-label{
  font-size:.75rem;font-weight:600;letter-spacing:.1em;
  text-transform:uppercase;color:var(--gold);margin-bottom:1rem;
}
.section-title{
  font-family:'Playfair Display',serif;
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.15;letter-spacing:-.02em;
  margin-bottom:1rem;color:var(--white);
}
.section-sub{font-size:1rem;color:var(--text-muted);max-width:520px;line-height:1.75;}
.section-header{margin-bottom:3.5rem;}

/* ===== ALTERNATING SERVICES ===== */
.service-row{
  display:grid;grid-template-columns:1fr 1fr;gap:4rem;
  align-items:center;padding:5rem 5%;
}
.service-row.reverse .service-img{order:2;}
.service-row.reverse .service-text{order:1;}

.service-img{border-radius:var(--radius-lg);overflow:hidden;position:relative;}
.service-img img{
  width:100%;height:auto;
  border-radius:var(--radius-lg);
  transition:transform .4s;
}
.service-img:hover img{transform:scale(1.03);}
.service-img::after{
  content:'';position:absolute;inset:0;
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
  pointer-events:none;
}

.service-text .section-label{margin-bottom:.75rem;}
.service-text h3{
  font-family:'Playfair Display',serif;
  font-size:clamp(1.6rem,3vw,2.4rem);
  color:var(--white);line-height:1.2;margin-bottom:1rem;
}
.service-text p{color:var(--text-muted);line-height:1.8;margin-bottom:1.5rem;}
.service-text ul{list-style:none;margin-bottom:2rem;}
.service-text ul li{
  font-size:.9rem;color:var(--text-muted);
  padding:.4rem 0;display:flex;align-items:center;gap:8px;
}
.service-text ul li::before{content:'✓';color:var(--gold);font-weight:700;font-size:.8rem;}

/* ===== SPECIALTIES GRID ===== */
.especialidades{background:var(--bg-alt);}
.esp-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:1.5rem;
}
.esp-item{
  text-align:center;padding:2rem 1rem;
  border-radius:var(--radius);
  background:var(--bg-card);
  border:1px solid var(--border);
  transition:all .3s;cursor:default;
}
.esp-item:hover{
  border-color:var(--gold);
  background:var(--bg-card-hover);
  transform:translateY(-4px);
  box-shadow:0 8px 30px var(--gold-glow);
}
.esp-icon{font-size:2rem;margin-bottom:.75rem;display:block;}
.esp-name{font-weight:600;font-size:.9rem;color:var(--white);margin-bottom:.25rem;}
.esp-desc{font-size:.75rem;color:var(--text-muted);line-height:1.5;}

/* ===== SHOWCASE ===== */
.showcase{
  background:var(--bg);
  padding:6rem 5%;text-align:center;
}
.showcase-frame{
  position:relative;max-width:1000px;margin:0 auto;
  border-radius:var(--radius-lg);overflow:hidden;
  border:1px solid var(--border);
  box-shadow:0 20px 60px rgba(0,0,0,0.5);
}
.showcase-frame img{width:100%;height:auto;display:block;}
.showcase-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top,rgba(11,11,15,0.7) 0%,transparent 50%);
  display:flex;align-items:flex-end;justify-content:center;
  padding:3rem;
}
.showcase-overlay .btn-primary{font-size:1rem;padding:1rem 2.5rem;}

/* ===== TESTIMONIALS ===== */
.testimonios{background:var(--bg-alt);}
.testimonios-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:1.5rem;
}
.testimonio-card{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:2rem;
  transition:all .3s;
}
.testimonio-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 48px rgba(184,115,42,0.08);
  border-color:var(--border-hover);
}
.testimonio-stars{color:var(--gold-light);font-size:.9rem;margin-bottom:1rem;letter-spacing:2px;}
.testimonio-text{font-size:.95rem;color:var(--text);line-height:1.75;margin-bottom:1.5rem;font-style:italic;}
.testimonio-author{display:flex;align-items:center;gap:.75rem;}
.testimonio-avatar{
  width:48px;height:48px;border-radius:50%;object-fit:cover;
  border:2px solid var(--gold);
}
.testimonio-avatar-placeholder{
  width:48px;height:48px;border-radius:50%;
  background:rgba(184,115,42,0.15);
  display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;border:2px solid var(--gold);flex-shrink:0;
}
.testimonio-name{font-weight:600;font-size:.9rem;color:var(--white);}
.testimonio-role{font-size:.78rem;color:var(--text-muted);}

/* ===== PRICING ===== */
.precios{background:var(--bg);}
.precios-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.5rem;
}
.precio-card{
  background:var(--bg-card);border:1px solid var(--border);
  border-radius:var(--radius-lg);padding:2rem;
  transition:all .3s;position:relative;overflow:hidden;
}
.precio-card.featured{border:2px solid var(--gold);background:linear-gradient(135deg,#1a1520,#16161E);}
.precio-card:hover{transform:translateY(-4px);border-color:var(--border-hover);}
.precio-card.featured:hover{border-color:var(--gold-light);}

.featured-badge{
  position:absolute;top:1.25rem;right:1.25rem;
  background:var(--gold);color:var(--white);
  font-size:.7rem;font-weight:700;
  padding:4px 12px;border-radius:100px;
  text-transform:uppercase;letter-spacing:.05em;
}
.plan-name{font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--gold);margin-bottom:.75rem;}
.plan-price{font-family:'Playfair Display',serif;font-size:2.8rem;font-weight:700;line-height:1;margin-bottom:.25rem;color:var(--white);}
.plan-period{font-size:.85rem;color:var(--text-muted);margin-bottom:1.5rem;}
.plan-desc{font-size:.875rem;color:var(--text-muted);margin-bottom:1.5rem;line-height:1.6;}
.plan-features{list-style:none;margin-bottom:2rem;}
.plan-features li{
  font-size:.875rem;padding:.5rem 0;
  border-bottom:1px solid var(--border);
  display:flex;align-items:center;gap:8px;
  color:var(--text-muted);
}
.plan-features li::before{content:'✓';color:var(--gold);font-weight:700;font-size:.8rem;flex-shrink:0;}
.plan-features li:last-child{border-bottom:none;}

.btn-plan{
  width:100%;padding:.875rem;border-radius:100px;
  font-size:.9rem;font-weight:600;
  border:1.5px solid var(--border-hover);
  background:transparent;color:var(--text);
  cursor:pointer;transition:all .25s;
  text-align:center;display:block;text-decoration:none;
}
.btn-plan:hover{background:var(--white);color:var(--bg);border-color:var(--white);}
.featured .btn-plan{background:var(--gold);color:var(--white);border-color:var(--gold);}
.featured .btn-plan:hover{background:var(--accent);border-color:var(--accent);}

/* ===== CONTACT ===== */
.contacto-wrap{
  display:grid;grid-template-columns:1fr 1fr;
  gap:5rem;align-items:start;
}
.contacto-info h2{margin-bottom:1rem;}
.contacto-dato{
  display:flex;align-items:flex-start;gap:1rem;
  padding:1.25rem 0;border-bottom:1px solid var(--border);
}
.contacto-dato:last-child{border-bottom:none;}
.dato-icon{
  width:40px;height:40px;border-radius:10px;
  background:rgba(184,115,42,0.12);
  display:flex;align-items:center;justify-content:center;
  font-size:1rem;flex-shrink:0;
}
.dato-label{font-size:.75rem;color:var(--text-muted);margin-bottom:2px;}
.dato-val{font-size:.95rem;font-weight:500;color:var(--white);}

form{display:flex;flex-direction:column;gap:1rem;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}

label{font-size:.8rem;font-weight:600;color:var(--text-muted);display:block;margin-bottom:.4rem;}

input,select,textarea{
  width:100%;padding:.75rem 1rem;
  border:1.5px solid var(--border);border-radius:10px;
  font-size:.9rem;font-family:inherit;
  background:var(--bg-card);color:var(--white);
  outline:none;transition:border-color .2s;
}
input:focus,select:focus,textarea:focus{border-color:var(--gold);}
input::placeholder,textarea::placeholder{color:var(--text-muted);}
select{color:var(--text-muted);}
textarea{resize:vertical;min-height:120px;}

.form-submit{
  background:var(--gold);color:var(--white);
  padding:.875rem;border-radius:100px;
  font-size:.95rem;font-weight:600;border:none;cursor:pointer;
  transition:all .25s;margin-top:.5rem;
  box-shadow:0 0 20px rgba(184,115,42,0.2);
}
.form-submit:hover{background:var(--accent);transform:translateY(-2px);}
.form-note{font-size:.75rem;color:var(--text-muted);text-align:center;margin-top:.5rem;}

/* ===== FOOTER ===== */
footer{
  background:var(--bg-alt);
  border-top:1px solid var(--border);
  padding:4rem 5% 2rem;
}
.footer-top{
  display:grid;grid-template-columns:2fr 1fr 1fr 1fr;
  gap:3rem;margin-bottom:3rem;
}
.footer-brand p{font-size:.875rem;color:var(--text-muted);margin-top:1rem;max-width:280px;line-height:1.7;}
.footer-col h4{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--white);margin-bottom:1rem;}
.footer-col a{display:block;font-size:.85rem;color:var(--text-muted);text-decoration:none;padding:.3rem 0;transition:color .2s;}
.footer-col a:hover{color:var(--gold-light);}
.footer-bottom{
  border-top:1px solid var(--border);
  padding-top:2rem;
  display:flex;justify-content:space-between;align-items:center;
  font-size:.8rem;color:var(--text-muted);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}

.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease;}
.reveal.visible{opacity:1;transform:translateY(0);}

/* ===== RESPONSIVE ===== */
@media(max-width:968px){
  .service-row{grid-template-columns:1fr;gap:2rem;}
  .service-row.reverse .service-img{order:0;}
  .service-row.reverse .service-text{order:0;}
  .footer-top{grid-template-columns:1fr 1fr;gap:2rem;}
  .contacto-wrap{grid-template-columns:1fr;}
}

@media(max-width:768px){
  .nav-links{
    display:none;position:fixed;top:0;left:0;right:0;bottom:0;
    background:rgba(11,11,15,0.98);
    flex-direction:column;justify-content:center;align-items:center;
    gap:2rem;
  }
  .nav-links.active{display:flex;}
  .hamburger{display:block;}
  .hamburger.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px);}
  .hamburger.active span:nth-child(2){opacity:0;}
  .hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px);}
  .nav-links a{font-size:1.2rem;}

  .hero-stats{gap:1.5rem;flex-wrap:wrap;}
  .form-row{grid-template-columns:1fr;}
  .esp-grid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));}
  .footer-top{grid-template-columns:1fr;}
  .footer-bottom{flex-direction:column;gap:1rem;text-align:center;}
}
