/* =========================================================
   STAY CREATIVE — Tema blanco
   ========================================================= */
:root {
  --white: #ffffff;
  --paper: #faf8f6;        /* blanco cálido para tarjetas */
  --line: #ece8e4;         /* bordes suaves */
  --graphite: #3a3a3a;     /* texto secundario */
  --black: #141414;        /* títulos */
  --orange: #e15d28;
  --orange-dark: #c94c1c;
  --orange-soft: rgba(225, 93, 40, .1);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(20,20,20,.04), 0 12px 32px -12px rgba(20,20,20,.12);
  --shadow-lg: 0 2px 4px rgba(20,20,20,.04), 0 30px 60px -20px rgba(225,93,40,.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Montserrat', system-ui, sans-serif;
  background: var(--white);
  color: var(--graphite);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--orange); color: var(--white); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.accent { color: var(--orange); }

/* ---------- Etiqueta pequeña ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--orange-soft); color: var(--orange);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(225,93,40,.6); } 70% { box-shadow: 0 0 0 8px rgba(225,93,40,0); } 100% { box-shadow: 0 0 0 0 rgba(225,93,40,0); } }

/* ---------- Botones ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--white);
  font-weight: 700; border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 12px 28px -10px rgba(225, 93, 40, .65);
}
.btn::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-100%); transition: transform .6s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -10px rgba(225, 93, 40, .8); }
.btn:hover::after { transform: translateX(100%); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(5px); }
.btn--sm { padding: 11px 22px; font-size: .88rem; }
.btn--lg { padding: 19px 38px; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .05em; }

.btn-ghost {
  display: inline-flex; align-items: center; padding: 17px 30px; border-radius: 999px;
  border: 2px solid var(--black); color: var(--black); font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; font-size: .95rem;
  transition: background .25s, color .25s;
}
.btn-ghost:hover { background: var(--black); color: var(--white); }

/* ---------- Menú ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.nav.is-scrolled { background: rgba(255,255,255,.96); border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(20,20,20,.25); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.nav__logo img { height: 50px; width: auto; transition: transform .3s; }
.nav__logo:hover img { transform: rotate(-3deg) scale(1.05); }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link { position: relative; font-weight: 600; font-size: .93rem; color: var(--black); padding: 6px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .3s ease;
}
.nav__link:hover { color: var(--orange); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px 0 100px; background: var(--white); overflow: hidden;
}
.hero__glow {
  position: absolute; width: 760px; height: 760px; right: -220px; top: -160px;
  background: radial-gradient(circle, rgba(225, 93, 40, .16), transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(20,20,20,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(20,20,20,.045) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 25%, transparent 75%);
}
.hero__inner { position: relative; z-index: 1; max-width: 1000px; }
.hero__title {
  font-size: clamp(2.3rem, 6.2vw, 4.8rem); color: var(--black);
  font-weight: 900; line-height: 1.06; letter-spacing: -.025em;
  text-transform: uppercase; margin-bottom: 30px;
}
.underline { position: relative; white-space: nowrap; display: inline-block; }
.underline svg {
  position: absolute; left: 0; bottom: -.12em; width: 100%; height: .28em; color: var(--black);
  stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.2s ease 1s forwards;
}
.hero__text { font-size: clamp(1.05rem, 2vw, 1.28rem); color: #5a5a5a; max-width: 700px; margin-bottom: 44px; }
.hero__text strong { color: var(--black); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0; z-index: 1;
  width: 28px; height: 46px; border: 2px solid var(--black); border-radius: 20px; opacity: .5;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--orange); border-radius: 2px; animation: scroll-dot 1.8s infinite;
}
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- Vectores animados ---------- */
.shapes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.shape {
  position: absolute; color: rgba(20, 20, 20, .25);
  opacity: 0; animation: pop-in .9s cubic-bezier(.2, 1.4, .4, 1) forwards;
  transition: translate .4s ease-out;
}
.shape.o { color: rgba(225, 93, 40, .75); }
.shape > * { transform-box: fill-box; transform-origin: center; }

.s1  { width: 150px; top: 16%; left: 4%;   animation-delay: .1s; }
.s2  { width: 90px;  top: 70%; left: 7%;   animation-delay: .3s; }
.s3  { width: 70px;  top: 22%; right: 12%; animation-delay: .5s; }
.s4  { width: 46px;  top: 15%; left: 46%;  animation-delay: .7s; }
.s5  { width: 44px;  bottom: 13%; right: 30%; animation-delay: .9s; }
.s6  { width: 80px;  top: 58%; right: 5%;  animation-delay: 1.1s; }
.s7  { width: 110px; bottom: 8%; left: 36%; animation-delay: 1.3s; }
.s8  { width: 60px;  top: 44%; left: 2%;   animation-delay: 1.5s; }
.s9  { width: 90px;  top: 36%; right: 20%; animation-delay: 1.7s; }
.s10 { width: 150px; top: -30px; right: 32%; animation-delay: 1.9s; }
.s11 { width: 120px; bottom: 22%; right: 8%; animation-delay: 2.1s; }
.s12 { width: 26px;  top: 80%; left: 24%;  animation-delay: 2.3s; }

.shapes--soft .shape { color: rgba(20,20,20,.14); }
.shapes--soft .shape.o { color: rgba(225,93,40,.4); }
.t1 { width: 180px; top: 6%; left: -50px; animation-delay: .2s; }
.t2 { width: 120px; top: 10%; right: 6%; animation-delay: .4s; }
.t3 { width: 40px;  bottom: 30%; left: 4%; animation-delay: .6s; }
.t4 { width: 80px;  bottom: 8%; right: 3%; animation-delay: .8s; }

.s1 > *, .s11 > *, .t2 > * { animation: wave 6s ease-in-out infinite; }
.s2 > *, .s10 > *, .t1 > * { animation: spin 26s linear infinite; }
.s3 > *, .s8 > *  { animation: float-rot 9s ease-in-out infinite; }
.s4 > *, .s12 > *, .t3 > * { animation: twinkle 3s ease-in-out infinite; }
.s5 > *           { animation: spin 12s linear infinite; }
.s6 > *, .t4 > *  { animation: float 7s ease-in-out infinite; }
.s7 > *           { animation: float 8s ease-in-out infinite; }
.s9 > *           { animation: spin 18s linear infinite reverse; }

.draw { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s ease forwards, float 8s ease-in-out 2.4s infinite !important; }
.s1 .draw, .s11 .draw { animation: draw 2.4s ease forwards, wave 6s ease-in-out 2.4s infinite !important; }
.s9 .draw { animation: draw 3s ease forwards, spin 18s linear 3s infinite reverse !important; }

@keyframes pop-in { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes float-rot { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(25deg); } }
@keyframes wave { 0%, 100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(14px) rotate(-6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.55) rotate(45deg); opacity: .5; } }

/* ---------- Cinta ---------- */
.marquee {
  background: var(--orange); color: var(--white); overflow: hidden;
  padding: 18px 0; transform: rotate(-1.5deg) scale(1.03); margin: -10px 0 0;
  position: relative; z-index: 2; box-shadow: 0 20px 40px -20px rgba(225,93,40,.6);
}
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 22s linear infinite; }
.marquee span { font-weight: 900; font-size: clamp(1.1rem, 2.4vw, 1.6rem); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.marquee i { font-style: normal; font-size: 1.2rem; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Servicios ---------- */
.services { position: relative; background: var(--white); padding: 130px 0 120px; overflow: hidden; }
.services .container { position: relative; z-index: 1; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-title {
  font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 900; color: var(--black);
  text-transform: uppercase; letter-spacing: -.02em; line-height: 1.1;
}
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; background: var(--white); border-radius: var(--radius);
  padding: 42px 32px 34px; border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  overflow: hidden; display: flex; flex-direction: column;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, var(--orange-soft), transparent 45%);
  opacity: 0; transition: opacity .35s ease;
}
.card > * { position: relative; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(225,93,40,.35); }
.card:hover::before { opacity: 1; }
.card--featured { background: var(--paper); }
.card__num {
  position: absolute; top: 22px; right: 26px; font-size: 3.2rem; font-weight: 900; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(20,20,20,.12); transition: -webkit-text-stroke-color .35s;
}
.card:hover .card__num { -webkit-text-stroke-color: rgba(225,93,40,.5); }
.card__icon {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--orange); color: var(--white); margin-bottom: 26px;
  box-shadow: 0 12px 24px -10px rgba(225,93,40,.7);
  transition: transform .35s ease;
}
.card:hover .card__icon { transform: rotate(-8deg) scale(1.06); }
.card__icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 1.38rem; font-weight: 800; color: var(--black); margin-bottom: 14px; }
.card p { color: #5f5f5f; font-size: .96rem; flex: 1; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.card__tags li {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--black); background: var(--white);
}

/* CTA */
.cta {
  margin-top: 80px; padding: 48px 52px; border-radius: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: var(--paper); border: 2px dashed rgba(225,93,40,.35);
}
.cta__title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; color: var(--black); line-height: 1.2; margin-bottom: 6px; }
.cta__text { color: #5f5f5f; }

/* ---------- Footer ---------- */
.footer { background: var(--white); border-top: 1px solid var(--line); padding: 72px 0 28px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), #f39a6b, var(--orange)); }
.footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer__brand img { height: 84px; width: auto; margin-bottom: 16px; }
.footer__tags { color: var(--black); font-weight: 700; letter-spacing: .02em; }
.footer__tags span { color: var(--orange); margin: 0 8px; }
.footer__contact { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.footer__label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.footer__link {
  display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.15rem; color: var(--black);
  padding: 12px 20px; border: 1px solid var(--line); border-radius: 999px; transition: border-color .25s, color .25s, box-shadow .25s;
}
.footer__link svg { width: 24px; height: 24px; color: var(--orange); }
.footer__link:hover { border-color: var(--orange); color: var(--orange); box-shadow: 0 10px 24px -14px rgba(225,93,40,.7); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--black); color: var(--black); transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.footer__social a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); transform: translateY(-4px); }
.footer__social svg { width: 22px; height: 22px; }

.footer__giant {
  margin: 56px 0 10px; text-align: center; white-space: nowrap;
  font-size: clamp(3rem, 12.5vw, 11rem); font-weight: 900; line-height: .9; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 2px var(--orange); opacity: .9;
  background: linear-gradient(90deg, var(--orange), var(--orange)) no-repeat 0 0 / 0% 100%;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.2s ease;
}
.footer__giant:hover { background-size: 100% 100%; }

.footer__bottom {
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  color: #8a8a8a; font-size: .85rem;
}
.to-top { font-weight: 700; color: var(--black); transition: color .2s; }
.to-top:hover { color: var(--orange); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--white);
  box-shadow: 0 12px 30px -8px rgba(225, 93, 40, .8);
  transition: transform .25s;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--orange); animation: ring 2.4s ease-out infinite;
}
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.services__grid .card:nth-child(2) { transition-delay: .12s; }
.services__grid .card:nth-child(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shape, .shape > *, .draw, .marquee__track, .underline svg { animation: none !important; opacity: 1; stroke-dashoffset: 0; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .cta { flex-direction: column; text-align: center; padding: 40px 28px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .nav__inner { height: 68px; }
  .nav__link { display: none; }
  .nav__logo img { height: 42px; }
  .hero { padding: 110px 0 90px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn, .hero__actions .btn-ghost { justify-content: center; }
  .btn--lg { padding: 17px 28px; font-size: .95rem; }
  .underline { white-space: normal; }
  .shape { scale: .7; }
  .s4, .s9, .s12, .t2 { display: none; }
  .scroll-hint { display: none; }
  .services { padding: 90px 0; }
  .section-head { margin-bottom: 44px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__contact { align-items: flex-start; }
  .footer__giant { -webkit-text-stroke-width: 1.5px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ---------- Ajustes finos ---------- */
.s7 { bottom: 6%; left: 55%; }
.footer__giant { font-size: clamp(2.2rem, 8.6vw, 7.4rem); letter-spacing: .01em; }
.card__num { color: rgba(20,20,20,.07); -webkit-text-stroke: 0; transition: color .35s; }
.card:hover .card__num { color: rgba(225,93,40,.25); }
@media (max-width: 640px) {
  .s2, .s5, .s7, .s8, .s11 { display: none; }
  .s6 { top: 8%; right: 4%; }
  .footer__giant { font-size: 11vw; }
}
