/* ==========================================================================
   index.css — Inicio: hero, historia, valores, qué hacemos, FAQ
   ========================================================================== */

.stroke-wrap{position:relative;display:inline-block;white-space:nowrap}
.stroke-wrap svg{position:absolute;left:-3%;top:8%;width:106%;height:84%;pointer-events:none}
.stroke-wrap svg path{fill:none;stroke:var(--orange);stroke-width:14;stroke-linecap:round;stroke-dasharray:500;stroke-dashoffset:500;opacity:.55}
.stroke-wrap.in svg path{animation:draw .9s var(--ease) forwards}
@keyframes draw{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.stroke-wrap svg path{stroke-dashoffset:0;animation:none;opacity:.55}}

.hero{padding:calc(80px + var(--header-h)) 0 60px;min-height:100vh;display:flex;align-items:center;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1fr 0.92fr;gap:50px;align-items:center;width:100%}
.hero-watermark{
  position:absolute;z-index:0;top:50%;left:50%;transform:translate(-50%,-52%);
  font-family:'Bricolage Grotesque',sans-serif;font-weight:900;font-size:min(34vw,620px);line-height:1;
  color:transparent;-webkit-text-stroke:4px rgba(19,69,178,0.16);white-space:nowrap;pointer-events:none;
  letter-spacing:-.02em;
}
.hero-spot{
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(circle at var(--x,50%) var(--y,20%),rgba(255,122,30,0.16),transparent 42%);
  transition:background .1s linear;
}
.hero-h1{font-size:clamp(48px,7.2vw,92px);position:relative;z-index:2}
.hero-h1 .line-mask{display:block;overflow:hidden}
.hero-h1 .line-inner{display:block;animation:line-rise .85s var(--ease) both}
@keyframes line-rise{from{transform:translateY(112%)}to{transform:translateY(0)}}
.hero-h1 .line-mask:nth-child(1) .line-inner{animation-delay:.05s}
.hero-h1 .line-mask:nth-child(2) .line-inner{animation-delay:.16s}
.hero-h1 .line-mask:nth-child(3) .line-inner{animation-delay:.27s}
.hero-h1 em{font-style:italic;font-weight:500;color:var(--orange-burnt)}
@media (prefers-reduced-motion:reduce){.hero-h1 .line-inner{animation:none;transform:none}}
.hero-sub{max-width:40ch;margin:22px 0 32px;font-size:17px;color:var(--ink-soft)}
.scroll-cue{
  position:absolute;bottom:28px;left:40px;z-index:2;
  width:26px;height:42px;border:1.5px solid var(--ink);border-radius:14px;
  display:flex;justify-content:center;padding-top:8px;
}
.scroll-cue span{width:4px;height:8px;background:var(--orange-burnt);border-radius:2px;animation:cue 1.6s ease-in-out infinite}
@keyframes cue{0%{transform:translateY(0);opacity:1}60%{transform:translateY(10px);opacity:0}100%{opacity:0}}
@media (max-width:900px){.scroll-cue{display:none}.hero{padding:calc(60px + var(--header-h)) 0 50px}.hero-grid{grid-template-columns:1fr}}

.historia{background:var(--black);color:var(--cream);overflow:hidden}
.historia .section-head h2{color:var(--cream)}
.historia-top{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center;margin-bottom:20px;margin-top:36px}
.impact-quote{font-family:'Bricolage Grotesque',sans-serif;font-style:italic;font-weight:500;font-size:clamp(28px,3.6vw,42px);color:var(--orange-soft);line-height:1.15}
.crea-list{display:flex;flex-direction:column;gap:2px}
.crea-list li{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(20px,2.1vw,27px);padding:11px 0;border-bottom:1px solid var(--line-dark);font-weight:500}
.crea-list li em{font-style:italic;color:var(--orange-burnt);font-weight:600}
@media (max-width:900px){.historia-top{grid-template-columns:1fr;gap:32px}}

.valores-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.valor-card{
  background:var(--cream-deep);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px;cursor:pointer;transition:background .25s,transform .25s var(--ease);
}
.valor-card:hover{transform:translateY(-4px)}
.valor-card.open{background:var(--black);color:var(--cream)}
.valor-icon{width:30px;height:30px;color:var(--orange-burnt);margin-bottom:16px;transition:color .25s}
.valor-card:nth-child(2n) .valor-icon{color:var(--blue-deep)}
.valor-card.open .valor-icon{color:var(--orange-soft)}
.valor-card:nth-child(2n).open .valor-icon{color:var(--blue-soft)}
.valor-card h3{font-size:18px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.valor-plus{width:20px;height:20px;position:relative;flex-shrink:0}
.valor-plus::before,.valor-plus::after{content:'';position:absolute;background:currentColor;top:50%;left:50%;transform:translate(-50%,-50%);transition:transform .3s}
.valor-plus::before{width:14px;height:1.6px}
.valor-plus::after{width:1.6px;height:14px}
.valor-card.open .valor-plus::after{transform:translate(-50%,-50%) rotate(90deg);opacity:0}
.valor-desc{max-height:0;overflow:hidden;transition:max-height .4s var(--ease)}
.valor-desc p{font-size:13.5px;padding-top:14px;color:var(--ink-soft)}
.valor-card.open .valor-desc p{color:rgba(28,23,18,0.72)}
@media (max-width:900px){.valores-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.valores-grid{grid-template-columns:1fr}}

/* ---- Qué hacemos: tarjetas de servicios ---- */
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.service-card{
  border:1px solid var(--line);border-radius:16px;padding:28px 24px;
  background:linear-gradient(165deg,var(--cream-deep) 60%,#0c0d13 100%);
  transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s;
}
.service-card:hover{transform:translateY(-5px);box-shadow:0 22px 42px -16px rgba(19,69,178,.4);border-color:var(--blue-soft)}
.service-card .sc-icon{
  width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;
  background:linear-gradient(135deg,var(--orange-soft),var(--blue-soft));margin-bottom:18px;
}
.service-card .sc-icon svg{width:22px;height:22px}
.service-card:nth-child(3n+2) .sc-icon{background:linear-gradient(135deg,var(--blue-soft),var(--orange-soft))}
.service-card h3{font-size:18px;margin-bottom:8px}
.service-card p{font-size:13.5px;color:var(--ink-soft);line-height:1.55;margin-bottom:18px;min-height:58px}
.service-card .sc-link{font-family:'IBM Plex Mono',monospace;font-size:12px;font-weight:600;letter-spacing:.04em;color:var(--orange-soft);display:inline-flex;align-items:center;gap:6px;transition:gap .2s}
.service-card:hover .sc-link{gap:10px}
@media (max-width:900px){.services-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.services-grid{grid-template-columns:1fr}}

.faq-wrap{max-width:760px}
