/* Tipografías alojadas en el propio servidor (licencia SIL OFL, ver /fonts) */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/bricolage-grotesque-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/bricolage-grotesque-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/bricolage-grotesque-latin-800-normal.woff2) format('woff2')}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/instrument-sans-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/instrument-sans-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Instrument Sans';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/instrument-sans-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2')}

/* Web Creativas — estilos */
:root{
  --paper:#F3F4F0; --white:#FFFFFF; --ink:#121418; --muted:#4A4F57; --muted-dark:#C4C8CE;
  --line:#DADCD5; --line-dark:#2C3037;
  --accent:#2E3CF0; --accent-dark:#1C27B8; --accent-soft:#E7E9FD;
  --orange:#FF7A45; --orange-light:#FF9A70; --orange-soft:#FFE4D8;
  --display:'Bricolage Grotesque', system-ui, sans-serif;
  --body:'Instrument Sans', system-ui, sans-serif;
  --mono:'JetBrains Mono', ui-monospace, monospace;
  --radius:20px; --gutter:80px;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:16px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-dark)}
:focus-visible{outline:3px solid var(--orange);outline-offset:3px;border-radius:6px}
h1,h2,h3{font-family:var(--display);margin:0;text-wrap:balance}
p{margin:0}
.wrap{max-width:1440px;margin:0 auto;padding-inline:var(--gutter)}
.skip{position:absolute;left:-9999px;top:8px;background:var(--ink);color:var(--paper);padding:10px 16px;border-radius:8px;z-index:100}
.skip:focus{left:16px}
svg{stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* Botones */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 28px;border-radius:999px;font-weight:600;font-size:17px;border:1.5px solid transparent;cursor:pointer;font-family:inherit;transition:transform .15s ease, background-color .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn-accent{background:var(--accent);color:#fff}.btn-accent:hover{background:var(--accent-dark);color:#fff}
.btn-dark{background:var(--ink);color:var(--paper)}.btn-dark:hover{background:#2A2E35;color:var(--paper)}
.btn-outline{border-color:var(--ink);color:var(--ink);background:transparent}.btn-outline:hover{background:var(--ink);color:var(--paper)}
.btn-light{background:#fff;color:var(--ink)}.btn-light:hover{color:var(--ink);background:var(--paper)}
.btn-block{width:100%}

/* Cabecera */
.site-header{position:sticky;top:0;z-index:50;background:rgba(243,244,240,.88);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.header-inner{height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;color:var(--ink);font-family:var(--display);font-weight:700;font-size:24px;letter-spacing:-.5px}
.brand:hover{color:var(--ink)}
.brand svg{stroke:none}
.nav{display:flex;align-items:center;gap:32px;font-weight:500}
.nav a:not(.btn){color:var(--ink)}
.nav a:not(.btn):hover{color:var(--accent)}
.nav .btn{min-height:46px;font-size:16px;padding:0 22px}
.menu-toggle{display:none;width:48px;height:48px;border:0;background:transparent;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:6px}
.menu-toggle span{display:block;width:24px;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s, opacity .2s}
.menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* Partículas y perlas */
.particles{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.pearl{position:absolute;left:var(--x,0);top:var(--y,0);border-radius:50%;background:radial-gradient(circle at 34% 30%,#fff 0%,#E6E9EF 35%,#AEB5C2 72%,#7F8898 100%);box-shadow:0 22px 36px -16px rgba(18,20,24,.45);z-index:1;animation:float 7s ease-in-out infinite;pointer-events:none;transform:translate3d(var(--mx,0px),var(--my,0px),0);will-change:transform}
.pearl-sm{width:40px;height:40px;animation-delay:-2s}
.pearl-md{width:88px;height:88px;animation-delay:-4s}
.pearl-lg{width:72px;height:72px}
.pearl-xl{width:120px;height:120px;right:150px;top:-30px;left:auto;z-index:3}
@keyframes float{0%,100%{translate:0 0}50%{translate:0 -14px}}

/* Portada */
.hero{position:relative;overflow:hidden;padding:88px 0 104px}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;align-items:center}
.hero-copy{display:flex;flex-direction:column;gap:28px}
.eyebrow{display:flex;align-items:center;gap:10px;font-family:var(--mono);font-size:13px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}
.eyebrow .dot{width:10px;height:10px;border-radius:50%;background:var(--orange);flex:none}
.hero h1{font-size:clamp(48px,6vw,84px);line-height:.98;font-weight:800;letter-spacing:-.035em}
.hl{color:var(--accent)}
.lead{max-width:540px;font-size:20px;color:var(--muted)}
.actions{display:flex;gap:14px;flex-wrap:wrap}
.trust{list-style:none;margin:0;padding:12px 0 0;display:flex;flex-wrap:wrap;gap:12px 28px;font-size:15px;color:var(--muted)}
.trust li{display:flex;align-items:center;gap:8px}
.trust svg{width:18px;height:18px;color:var(--ink)}

.hero-visual{position:relative;height:560px}
.block-orange{position:absolute;left:40px;top:0;width:88%;height:400px;border-radius:20px;background:var(--orange)}
.browser{position:absolute;left:0;top:60px;width:92%;height:420px;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:0 30px 60px -30px rgba(18,20,24,.35);overflow:hidden;display:flex;flex-direction:column}
.browser-bar{height:40px;display:flex;align-items:center;gap:8px;padding:0 16px;border-bottom:1px solid #ECEDE8}
.browser-bar i{width:10px;height:10px;border-radius:50%;background:var(--line)}
.browser-bar span{margin-left:16px;flex:1;height:20px;border-radius:6px;background:var(--paper);font-family:var(--mono);font-size:11px;line-height:20px;padding-left:10px;color:var(--muted)}
.browser-body{padding:28px;display:flex;flex-direction:column;gap:16px}
.browser-body b,.phone-screen b{display:block;height:22px;border-radius:6px;background:var(--ink)}
.browser-body em,.phone-screen em{display:block;height:10px;border-radius:5px;background:var(--line)}
.browser-body .pill{width:140px;height:36px;border-radius:999px;background:var(--accent)}
.tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:8px}
.tiles div{height:110px;border-radius:10px;background:var(--accent-soft)}
.tiles div:nth-child(2){background:var(--orange-soft)}
.tiles div:nth-child(3){background:#ECEDE8}
.phone{position:absolute;right:0;bottom:0;width:200px;height:360px;border-radius:28px;background:var(--ink);padding:12px;box-shadow:0 30px 60px -30px rgba(18,20,24,.5);z-index:2}
.phone-screen{width:100%;height:100%;border-radius:18px;background:#fff;padding:18px 14px;display:flex;flex-direction:column;gap:10px}
.phone-screen b{height:14px}.phone-screen em{height:8px}
.phone-img{height:110px;border-radius:10px;background:var(--accent)}
.phone-btn{height:32px;border-radius:999px;background:var(--orange);margin-top:auto}
.badge{position:absolute;left:-24px;bottom:40px;z-index:3;padding:14px 18px;border-radius:14px;background:#fff;border:1px solid var(--line);display:flex;align-items:center;gap:12px;box-shadow:0 20px 40px -24px rgba(18,20,24,.35)}
.badge-icon{width:36px;height:36px;border-radius:10px;background:var(--ink);display:flex;align-items:center;justify-content:center;color:var(--paper)}
.badge-icon svg{width:20px;height:20px}
.badge strong{display:block;font-size:14px}.badge small{display:block;font-size:13px;color:var(--muted)}

/* Secciones */
.section{position:relative;padding:104px 0}
.bg-white{background:var(--white)}
.bg-ink{background:var(--ink);color:var(--paper);overflow:hidden}
.section > .wrap{position:relative;z-index:2}
.section h2{font-size:clamp(36px,4vw,56px);line-height:1.02;font-weight:800;letter-spacing:-.035em}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;margin-bottom:48px}
.section-head h2{max-width:680px}
.section-head p{max-width:420px;font-size:18px;color:var(--muted)}
.bg-ink .section-head p{color:var(--muted-dark)}
.section-head.row{align-items:center}
.more{font-weight:600}

.cards-4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.card{padding:32px 28px;border-radius:var(--radius);background:var(--paper);display:flex;flex-direction:column;gap:16px;transition:transform .2s ease}
.card:hover{transform:translateY(-4px)}
.card h3{font-size:26px;font-weight:700;letter-spacing:-.5px}
.card p{color:var(--muted)}
.card .more{margin-top:auto}
.icon{width:52px;height:52px;border-radius:14px;background:var(--ink);color:var(--paper);display:flex;align-items:center;justify-content:center}
.icon svg{width:26px;height:26px}
.card-dark{background:var(--ink);color:var(--paper)}
.card-dark p{color:var(--muted-dark)}
.card-dark .more{color:var(--orange-light)}
.icon-orange{background:var(--orange);color:var(--ink)}

.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.steps li{padding-top:24px;border-top:2px solid #3A3E46;display:flex;flex-direction:column;gap:12px;color:var(--muted-dark);transition:border-color .3s}
.steps li:hover,.steps li.active{border-top-color:var(--orange)}
.steps .num{font-family:var(--mono);font-size:14px;color:var(--orange-light)}
.steps strong{font-family:var(--display);font-size:26px;font-weight:700;color:var(--paper)}

.plans-grid{display:grid;grid-template-columns:5fr 7fr;gap:44px;align-items:start}
.plans-intro{display:flex;flex-direction:column;gap:20px}
.plans-intro p:last-child{font-size:18px;color:var(--muted)}
.plans{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.plan{padding:36px 32px;border-radius:24px;background:#fff;border:1px solid var(--line);display:flex;flex-direction:column;gap:18px}
.plan h3{font-size:28px;font-weight:700}
.plan-top{display:flex;justify-content:space-between;align-items:center}
.tag{padding:6px 12px;border-radius:999px;background:var(--orange);color:var(--ink);font-size:13px;font-weight:600}
.price{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.price strong{font-family:var(--display);font-size:48px;font-weight:800;letter-spacing:-1.5px}
.price span{color:var(--muted)}
.checks{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:12px}
.checks li{position:relative;padding-left:30px}
.checks li::before{content:"";position:absolute;left:2px;top:6px;width:14px;height:8px;border-left:2.2px solid currentColor;border-bottom:2.2px solid currentColor;transform:rotate(-45deg)}
.plan .btn{margin-top:auto}
.plan-accent{background:var(--accent);color:#fff;border-color:var(--accent)}
.plan-accent .price span{color:#E3E5FF}

.compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.option{padding:40px 36px;border-radius:24px;background:#fff;border:1px solid var(--line);display:flex;flex-direction:column;gap:16px}
.option h3{font-size:34px;font-weight:800;letter-spacing:-1px}
.option-lead{font-size:18px;color:var(--muted)}
.option .checks{margin:8px 0}
.ideal{margin-top:auto;padding-top:16px;border-top:1px solid var(--line);font-size:15px;color:var(--muted)}
.ideal strong{color:var(--ink)}
.option-dark{background:var(--ink);color:var(--paper);border-color:var(--ink)}
.option-dark .eyebrow,.option-dark .option-lead,.option-dark .ideal{color:var(--muted-dark)}
.option-dark .ideal{border-top-color:var(--line-dark)}
.option-dark .ideal strong{color:var(--paper)}
.option-dark .checks li::before{border-color:var(--orange)}
.compare-cta{margin-top:32px;font-size:18px;color:var(--muted);text-align:center}
.compare-cta a{font-weight:600}
.cards-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.project{display:flex;flex-direction:column;gap:16px}
.shot{height:300px;border-radius:var(--radius);display:flex;align-items:center;justify-content:center;font-family:var(--mono);font-size:14px;color:var(--muted);transition:transform .25s}
.project:hover .shot{transform:scale(1.015)}
.shot-1{background:var(--accent-soft)}.shot-2{background:var(--orange-soft)}.shot-3{background:#ECEDE8}
.project-meta{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.project-meta h3{font-size:24px;font-weight:700}
.project-meta span{font-size:14px;color:var(--muted)}

.contact{overflow:hidden}
.contact-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:64px;align-items:start}
.contact-copy{display:flex;flex-direction:column;gap:24px}
.contact h2.big{font-size:clamp(44px,5vw,72px);line-height:.98}
.contact-copy > p{max-width:480px;font-size:19px;color:var(--muted)}
.contact-data{display:flex;flex-direction:column;gap:10px;font-size:17px;font-weight:500}
.form{padding:40px;border-radius:24px;background:#fff;border:1px solid var(--line);display:flex;flex-direction:column;gap:20px}
.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:15px;font-weight:600}
.field input,.field textarea{width:100%;min-height:52px;padding:14px 16px;border-radius:12px;border:1px solid #C9CCC4;background:var(--paper);font:inherit;color:var(--ink);resize:vertical}
.field input:focus,.field textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(46,60,240,.18)}
.field.invalid input,.field.invalid textarea{border-color:#B4232C}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--muted)}
.check input{margin-top:4px;width:18px;height:18px;accent-color:var(--accent)}
.form-status{min-height:1.5em;font-size:15px;font-weight:500}
.form-status.ok{color:#1F7A45}.form-status.err{color:#B4232C}

.footer{background:var(--ink);color:var(--muted-dark);padding:64px 0 40px}
.footer-top{display:flex;justify-content:space-between;gap:48px;margin-bottom:48px}
.footer-brand{max-width:360px;display:flex;flex-direction:column;gap:16px;font-size:15px}
.footer-logo{font-family:var(--display);font-size:28px;font-weight:700;color:var(--paper)}
.footer-nav{display:grid;grid-template-columns:repeat(3,auto);gap:64px;font-size:15px}
.footer-nav div{display:flex;flex-direction:column;gap:12px}
.footer-nav strong{color:var(--paper)}
.footer-nav a{color:var(--muted-dark)}.footer-nav a:hover{color:#fff}
.footer-bottom{padding-top:24px;border-top:1px solid var(--line-dark);display:flex;justify-content:space-between;gap:16px;font-size:14px}


/* Enlace cruzado con Cibergroup */
.crosslink{margin-top:40px;padding:24px 28px;border-radius:20px;border:1px dashed #B9BDB3;display:flex;align-items:center;gap:20px}
.crosslink p{flex:1;color:var(--muted)}
.crosslink strong{color:var(--ink)}
.crosslink-icon{width:48px;height:48px;flex:none;border-radius:14px;background:var(--ink);color:var(--paper);display:flex;align-items:center;justify-content:center}
.crosslink-icon svg{width:24px;height:24px}
.footer a:not(.footer-nav a){color:#fff;text-decoration:underline;text-underline-offset:3px}

/* Páginas interiores */
.page-hero{position:relative;overflow:hidden;padding:88px 0 72px;border-bottom:1px solid var(--line)}
.page-hero .wrap{position:relative;z-index:2;display:flex;flex-direction:column;gap:22px;max-width:1440px}
.crumbs{font-size:14px;color:var(--muted)}
.crumbs a{color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.page-hero h1{font-size:clamp(40px,5vw,72px);line-height:1;font-weight:800;letter-spacing:-.035em;max-width:900px}
.page-hero .lead{max-width:680px}
.page-body{padding:80px 0 104px}
.page-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:64px;align-items:start}
.prose{max-width:720px;display:flex;flex-direction:column;gap:18px;font-size:18px}
.prose h2{font-size:clamp(28px,3vw,38px);font-weight:800;letter-spacing:-.02em;margin-top:24px}
.prose h3{font-size:22px;font-weight:700;margin-top:8px}
.prose p,.prose li{color:var(--muted)}
.prose ul{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:8px}
.prose strong{color:var(--ink)}
.aside-card{position:sticky;top:120px;padding:32px;border-radius:24px;background:var(--ink);color:var(--paper);display:flex;flex-direction:column;gap:16px}
.aside-card h2{font-size:26px;font-weight:700}
.aside-card p{color:var(--muted-dark)}
.aside-card .price strong{font-size:40px}
.aside-card .price span{color:var(--muted-dark)}
.faq{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.faq details{background:#fff;border:1px solid var(--line);border-radius:16px;padding:0 24px}
.faq summary{cursor:pointer;list-style:none;padding:20px 0;font-weight:600;font-size:18px;display:flex;justify-content:space-between;gap:16px;color:var(--ink)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:24px;line-height:1;color:var(--accent)}
.faq details[open] summary::after{content:"–"}
.faq details p{padding-bottom:20px}
.legal .prose{max-width:800px}
.legal .prose h2{font-size:26px}
.ph{background:#FFF1C2;color:var(--ink);padding:0 4px;border-radius:4px}
@media (max-width:900px){
  .page-grid{grid-template-columns:1fr}
  .aside-card{position:static}
  .crosslink{flex-direction:column;align-items:flex-start}
}

/* Formulario: campo trampa antispam */
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.form{position:relative}
.form button[disabled]{opacity:.6;cursor:wait}
.price-text strong{font-size:32px;letter-spacing:-.5px}
.contact-data a{color:var(--ink);text-decoration:underline;text-underline-offset:4px}

.notfound{min-height:62vh;display:flex;align-items:center}
.notfound .actions{margin-top:8px}

/* Aparición al hacer scroll (solo si hay JS) */
.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease, transform .6s ease}
.js .reveal.is-visible{opacity:1;transform:none}

/* Responsive */
@media (max-width:1180px){
  :root{--gutter:48px}
  .hero-grid{grid-template-columns:1fr;gap:48px}
  .hero-visual{max-width:620px;width:100%;margin:0 auto}
  .cards-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:40px}
  .plans-grid{grid-template-columns:1fr}
  .footer-top{flex-direction:column}
}
@media (max-width:900px){
  .menu-toggle{display:flex}
  .nav{position:absolute;top:88px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:8px var(--gutter) 24px;background:var(--paper);border-bottom:1px solid var(--line);display:none}
  .nav.open{display:flex}
  .nav a:not(.btn){padding:14px 0;border-bottom:1px solid var(--line);font-size:18px}
  .nav .btn{margin-top:16px}
  .section-head{flex-direction:column;align-items:flex-start;gap:16px}
  .section-head.row{flex-direction:row;align-items:center}
  .contact-grid{grid-template-columns:1fr;gap:40px}
  .cards-3,.compare{grid-template-columns:1fr}
}
@media (max-width:640px){
  :root{--gutter:16px}
  .header-inner{height:72px}
  .nav{top:72px}
  .hero{padding:48px 0 64px}
  .section{padding:72px 0}
  .lead{font-size:18px}
  .hero-visual{height:420px}
  .block-orange{height:300px;left:24px}
  .browser{height:320px;top:40px}
  .browser-body{padding:20px;gap:12px}
  .tiles div{height:70px}
  .phone{width:140px;height:260px;border-radius:22px}
  .phone-img{height:64px}
  .pearl-xl{width:80px;height:80px;right:90px}
  .badge{left:0;bottom:12px}
  .cards-4,.plans,.steps{grid-template-columns:1fr}
  .form{padding:24px}
  .footer-nav{grid-template-columns:1fr 1fr;gap:32px}
  .footer-bottom{flex-direction:column}
  .actions .btn{flex:1 1 auto;padding:0 20px;font-size:16px;white-space:nowrap}
  .hero > .pearl{display:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .pearl{animation:none}
  .js .reveal{opacity:1;transform:none;transition:none}
  .btn,.card,.shot{transition:none}
}
