
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Cormorant+Garamond:wght@600;700&display=swap');

:root{
  --bg:#0F1115;
  --bg2:#171b22;
  --card:#121720;
  --card-2:rgba(18,23,32,.88);
  --text:#F5F5F5;
  --muted:#A0A6AF;
  --gold:#C5A15E;
  --gold-soft: rgba(197,161,94,.18);
  --gold-line: rgba(197,161,94,.38);
  --border:rgba(197,161,94,.22);
  --border-strong:rgba(197,161,94,.42);
  --shadow: 0 18px 40px rgba(0,0,0,.35);
  --shadow-glow: 0 20px 50px rgba(0,0,0,.35), 0 0 0 1px rgba(197,161,94,.10), 0 0 30px rgba(197,161,94,.06);
  --radius: 20px;
  --radius-sm: 14px;
  --max: 1140px;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Manrope", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1000px 600px at 85% -10%, rgba(197,161,94,.10), transparent 60%),
    radial-gradient(700px 500px at 10% 10%, rgba(197,161,94,.06), transparent 50%),
    linear-gradient(180deg, #0d1015 0%, #10141b 100%);
  color:var(--text);
  line-height:1.7;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
p{margin:0 0 14px}
img{max-width:100%; display:block}
.container{max-width:var(--max);margin:0 auto;padding:0 20px}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(150%) blur(18px);
  background: rgba(10,12,17,.68);
  border-bottom:1px solid rgba(255,255,255,.05);
}
.nav{display:flex; align-items:center; justify-content:space-between; padding:14px 0;}
.brand{display:flex; align-items:center; gap:12px;}
.brand img{height:34px;width:auto}
.brand .name{display:flex;flex-direction:column;line-height:1.1}
.brand .name strong{letter-spacing:.18em;font-size:11px;color:var(--muted);text-transform:uppercase}
.brand .name span{font-weight:700;letter-spacing:.08em}

.menu{display:flex; gap:10px; align-items:center;}
.menu a{
  color:#d6d8dc;
  padding:10px 12px;
  border-radius:12px;
  transition: all .22s ease;
  font-weight:700;
  font-size:14px;
  letter-spacing:.03em;
}
.menu a:hover{color:var(--text); background:rgba(255,255,255,.045)}
.menu a.active{color:var(--text); background:rgba(197,161,94,.10); outline:1px solid rgba(197,161,94,.20)}

.cta,.btn,.btn-secondary{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:13px 18px;
  border-radius:14px;
  border:1px solid rgba(197,161,94,.35);
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
  font-weight:800;
  letter-spacing:.01em;
}
.btn,.cta{
  background: linear-gradient(180deg, rgba(197,161,94,.18), rgba(197,161,94,.10));
  color: var(--text);
}
.btn-secondary{
  background: rgba(255,255,255,.04);
  color: var(--text);
}
.btn:hover,.cta:hover,.btn-secondary:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.28), 0 0 0 1px rgba(197,161,94,.18), 0 0 18px rgba(197,161,94,.12);
}

.burger{display:none}

.hero{
  position:relative;
  padding:72px 0 44px;
  overflow:hidden;
}
.hero .container{position:relative; z-index:2}
.hero-grid{
  display:grid; gap:28px; align-items:center;
  grid-template-columns: 1.2fr .8fr;
}
.hero-home{
  min-height: min(92vh, 900px);
  display:flex;
  align-items:center;
  background-size: cover;
  background-position: center right;
  background-repeat:no-repeat;
}
.page-home .hero-home{
  background-image: url("../img/INICI0.webp");
}

.page-about .hero-home{
  background-image: url("../img/QUIENES SOMOS.webp");
}
.page-servicios .hero-home{
  background-image: url("../img/SERVICIOS.webp");
}

.page-contacto .hero-home{
  background-image: url("../img/CONTACTO.webp");
}
.hero-home::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(7,9,14,.92) 0%, rgba(7,9,14,.82) 36%, rgba(7,9,14,.46) 68%, rgba(7,9,14,.22) 100%);
  z-index:0;
}
.kicker{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.24em;
  font-weight:800;
  font-size:12px;
  margin-bottom:8px;
}
h1,h2{
  margin:0 0 12px;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-weight:700;
  line-height:1.04;
  letter-spacing:-.02em;
}
h1{
  font-size: clamp(3rem, 5vw, 4.8rem);
  max-width: 12ch;
  text-wrap: balance;
}
h2{
  font-size: clamp(2.15rem, 3.1vw, 3.1rem);
  max-width: 18ch;
}
h3{
  margin:0;
  font-family:"Manrope", sans-serif;
  font-size:1.1rem;
  line-height:1.35;
  font-weight:800;
  letter-spacing:.005em;
}
.sub{
  color:rgba(245,245,245,.76);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  max-width:62ch;
}
.hero-card,.card{
  position:relative;
  background: linear-gradient(180deg, rgba(20,24,35,.78), rgba(14,18,26,.86));
  border:1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding:24px;
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-card::after,.card::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(197,161,94,.28), transparent);
}
.hero-card{box-shadow: var(--shadow-glow);}
.badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:18px}
.badge{
  border:1px solid rgba(197,161,94,.24);
  background: rgba(197,161,94,.10);
  color: var(--text);
  border-radius:999px;
  padding:8px 12px;
  font-weight:700;
  font-size:12px;
  letter-spacing:.02em;
  backdrop-filter: blur(4px);
}
.section{
  position:relative;
  padding:92px 0;
  overflow:hidden;
}
.section.alt{background: linear-gradient(180deg, rgba(255,255,255,.015), rgba(255,255,255,0));}
.section > .container{position:relative; z-index:2}

.section-services,
.section-experience{
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;
}
.section-services{
  background-image:url("../img/section_2.webp");
}
.section-experience{
  background-image:url("../img/section_3.webp");
}
.section-services::before,
.section-experience::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(8,10,14,.88), rgba(8,10,14,.82));
  z-index:0;
}

.has-particles::after{
  content:"";
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background-image:
    radial-gradient(circle, rgba(229,188,108,.75) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(197,161,94,.6) 0 1.2px, transparent 2px),
    radial-gradient(circle, rgba(255,220,150,.38) 0 1px, transparent 1.6px);
  background-size: 240px 240px, 340px 340px, 460px 460px;
  background-position: 0 0, 40px 80px, 120px 40px;
  opacity:.18;
  animation: particleDrift 20s linear infinite;
}
@keyframes particleDrift{
  0%{transform:translate3d(0,0,0)}
  50%{transform:translate3d(-18px,12px,0)}
  100%{transform:translate3d(0,0,0)}
}

.split{display:grid; grid-template-columns:1fr 1fr; gap:24px;}
.grid-2,.grid-3,.grid-4{
  display:grid; gap:18px;
}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}

.card.outline,
.service-card{
  border:1px solid var(--border);
  box-shadow: var(--shadow-glow);
}
.service-card{
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
.service-card:hover{
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px rgba(0,0,0,.38), 0 0 0 1px rgba(197,161,94,.16), 0 0 24px rgba(197,161,94,.12);
  background: linear-gradient(180deg, rgba(23,28,39,.92), rgba(14,18,26,.95));
}
.service-card:hover .icon-wrap{
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 0 1px rgba(197,161,94,.25), 0 0 18px rgba(197,161,94,.14);
}
.icon-title{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin-bottom:10px;
}
.icon-wrap{
  flex:0 0 50px;
  width:50px; height:50px;
  border-radius:14px;
  display:grid; place-items:center;
  border:1px solid rgba(197,161,94,.26);
  background:linear-gradient(180deg, rgba(197,161,94,.14), rgba(197,161,94,.06));
  transition:all .28s ease;
}
.icon-wrap svg{
  width:24px; height:24px;
  stroke:var(--gold);
  stroke-width:1.75;
  fill:none;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.note,.small{color:var(--muted); font-size:.96rem}
.hr{height:1px;background:linear-gradient(90deg, transparent, rgba(197,161,94,.38), transparent);margin:16px 0}
.link{color:var(--gold); font-weight:800}
.link:hover{text-decoration:underline}
.list{display:grid; gap:12px; padding:0; margin:14px 0 0; list-style:none}
.list li{display:flex; gap:12px; align-items:flex-start}
.tick{
  width:20px;height:20px;border-radius:999px;display:inline-grid;place-items:center;
  background:rgba(197,161,94,.14);border:1px solid rgba(197,161,94,.28);color:var(--gold);font-size:12px;flex:0 0 20px
}

.footer{
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(10,12,17,.76);
}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:24px;padding:34px 0}
.footer h3{margin-bottom:10px}
.footer p,.footer li{color:var(--muted); font-size:15px}
.footer ul{margin:0;padding:0;list-style:none;display:grid;gap:8px}
.copy{border-top:1px solid rgba(255,255,255,.06); color:var(--muted); font-size:14px; padding:14px 0}

.form{display:grid; gap:14px}
.input, textarea{
  width:100%;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  color:var(--text);
  border-radius:14px;
  padding:14px 15px;
  font:inherit;
}
textarea{min-height:160px; resize:vertical}
.input:focus, textarea:focus{
  outline:none;
  border-color:rgba(197,161,94,.42);
  box-shadow:0 0 0 4px rgba(197,161,94,.08);
}

.toast{
  position:fixed; right:18px; bottom:18px; z-index:60;
  background:#111723; border:1px solid rgba(197,161,94,.28);
  color:var(--text); border-radius:14px; padding:14px 16px; box-shadow:var(--shadow);
  opacity:0; transform:translateY(8px); pointer-events:none; transition:all .2s ease;
}
.toast.show{opacity:1; transform:translateY(0)}

@media (max-width: 980px){
  .menu{display:none}
  .burger{
    display:inline-flex; align-items:center; gap:10px; padding:10px 12px;
    border-radius:12px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.04); color:var(--text);
  }
  .menu.mobile{
    position:absolute; right:20px; top:68px; width:min(340px, calc(100vw - 40px));
    display:flex; flex-direction:column; background:#111723; border:1px solid rgba(255,255,255,.08);
    border-radius:16px; padding:12px; box-shadow:var(--shadow);
  }
  .hero-grid,.split,.footer-grid,.grid-4,.grid-3,.grid-2{grid-template-columns:1fr}
  .hero{padding:54px 0 32px}
  .hero-home{min-height:auto; background-position:70% center}
  h1{max-width:15ch}
  h2{max-width:none}
}

@media (max-width: 640px){
  .container{padding:0 16px}
  .hero, .section{padding:68px 0}
  .hero-home::before{
    background: linear-gradient(180deg, rgba(7,9,14,.88) 0%, rgba(7,9,14,.72) 40%, rgba(7,9,14,.56) 100%);
  }
  .brand .name span{font-size:14px}
  .icon-title{align-items:center}
}
