/*
Theme Name: Allprocar Coming Soon 2027
Theme URI: https://allprocar.com/
Author: Allprocar SAS
Description: Landing editorial y minimalista para Allprocar. Coming Soon 2027.
Version: 2.3.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: allprocar-coming-soon
License: GPL-2.0-or-later
*/
:root{
  --bg:#071019;
  --bg2:#0a151f;
  --ink:#f4f7f9;
  --muted:#9aabb9;
  --line:rgba(255,255,255,.12);
  --blue:#69b9ec;
  --blue-strong:#2d8dcc;
  --card:#0d1822;
  --max:1400px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
.ap-shell{position:relative;overflow:hidden;min-height:100vh;background:radial-gradient(circle at 10% 12%,rgba(45,141,204,.16),transparent 28%),linear-gradient(180deg,#071019 0%,#08131d 48%,#060d14 100%)}
.ap-container{width:min(calc(100% - 48px),var(--max));margin:0 auto;position:relative;z-index:2}
.ap-section{padding:86px 0}

/* Header */
.ap-header{height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.ap-brand{display:flex;align-items:center;min-width:0;max-width:220px}
.ap-brand-img{display:block;max-width:190px;max-height:58px;width:auto;height:auto;object-fit:contain;object-position:left center}
.ap-year-chip{display:inline-flex;align-items:center;padding:10px 14px;border:1px solid var(--line);border-radius:999px;font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#cfe1ed;background:rgba(255,255,255,.025);transition:border-color .25s ease,background .25s ease,color .25s ease}
.ap-year-chip:hover{border-color:rgba(105,185,236,.42);background:rgba(105,185,236,.06);color:#fff}

/* Hero */
.ap-hero{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);gap:48px;align-items:center;min-height:calc(100vh - 92px);padding-bottom:80px}
.ap-eyebrow{margin:0 0 26px;display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:#eaf1f5}
.ap-eyebrow:before{content:"";width:40px;height:1px;background:var(--blue)}
.ap-title{margin:0;max-width:760px;font-family:"Iowan Old Style",Baskerville,"Times New Roman",serif;font-size:clamp(58px,7vw,104px);line-height:.93;letter-spacing:-.055em;font-weight:400}
.ap-title em{font-style:italic;color:#8ecdf3}
.ap-description{max-width:700px;margin:28px 0 0;font-size:17px;line-height:1.7;color:#c2ced7}
.ap-hero-actions{margin-top:34px;display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.ap-btn{display:inline-flex;align-items:center;gap:14px;padding:17px 22px;border-radius:999px;font-size:14px;font-weight:700}
.ap-btn-primary{background:#f5f6f7;color:#061018;box-shadow:0 14px 36px rgba(0,0,0,.22);transition:transform .25s ease,box-shadow .25s ease}
.ap-btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(0,0,0,.3)}
.ap-slogan{font-size:13px;color:#d5e0e7}
.ap-hero-media{position:relative;min-height:720px;border-radius:30px;overflow:hidden;border:1px solid rgba(255,255,255,.13);box-shadow:0 26px 65px rgba(0,0,0,.38)}
.ap-hero-media:before{content:"";position:absolute;inset:0;background-image:linear-gradient(180deg,rgba(5,9,13,.04),rgba(4,8,12,.62)),var(--ap-hero);background-size:cover;background-position:center}
.ap-hero-mark{position:absolute;top:28px;right:28px;width:100px;opacity:.92;filter:drop-shadow(0 12px 24px rgba(0,0,0,.25))}
.ap-media-footer{position:absolute;left:28px;right:28px;bottom:24px;padding-top:16px;border-top:1px solid rgba(255,255,255,.18);display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
.ap-media-footer span{max-width:300px;font-size:12px;line-height:1.45;color:#eef4f8}
.ap-media-footer strong{font-family:"Iowan Old Style",Baskerville,"Times New Roman",serif;font-size:62px;line-height:.9;font-weight:400;letter-spacing:-.05em}

/* Cards */
.ap-section-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.65fr);gap:42px;align-items:end;margin-bottom:26px}
.ap-kicker{margin:0 0 12px;font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:#9bc5df}
.ap-section-head h2{margin:0;font-family:"Iowan Old Style",Baskerville,"Times New Roman",serif;font-size:clamp(42px,5vw,72px);line-height:1;letter-spacing:-.04em;font-weight:400}
.ap-section-copy{margin:0;color:#9eb0bd;font-size:15px;line-height:1.65;max-width:500px;justify-self:end}
.ap-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ap-simple-card{position:relative;min-height:350px;padding:30px;border:1px solid rgba(255,255,255,.12);border-radius:26px;background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015));overflow:hidden;transition:transform .3s cubic-bezier(.2,.8,.2,1),border-color .3s ease,background .3s ease,box-shadow .3s ease}
.ap-simple-card:before{content:"";position:absolute;left:30px;right:30px;bottom:28px;height:1px;background:linear-gradient(90deg,var(--blue),rgba(105,185,236,0));transform:scaleX(.18);transform-origin:left;opacity:.6;transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .3s ease}
.ap-simple-card:hover{transform:translateY(-6px);border-color:rgba(105,185,236,.42);background:linear-gradient(180deg,rgba(105,185,236,.07),rgba(255,255,255,.018));box-shadow:0 24px 48px rgba(0,0,0,.22)}
.ap-simple-card:hover:before{transform:scaleX(1);opacity:1}
.ap-card-number{position:absolute;top:30px;left:30px;font-size:10px;letter-spacing:.16em;color:#7e93a4}
.ap-card-icon{position:absolute;top:27px;right:30px;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.12);color:#9ed0ef;background:rgba(255,255,255,.025);font-size:18px;transition:transform .3s ease,border-color .3s ease,background .3s ease}
.ap-simple-card:hover .ap-card-icon{transform:rotate(8deg) scale(1.04);border-color:rgba(105,185,236,.35);background:rgba(105,185,236,.08)}
.ap-card-content{position:absolute;left:30px;right:80px;bottom:74px}
.ap-card-content h3{margin:0 0 18px;font-family:"Iowan Old Style",Baskerville,"Times New Roman",serif;font-size:clamp(48px,4.4vw,68px);line-height:.95;letter-spacing:-.05em;font-weight:400}
.ap-card-content p{margin:0;max-width:540px;font-size:16px;line-height:1.6;color:#c4d0d9}
.ap-card-arrow{position:absolute;right:30px;bottom:34px;font-size:18px;color:#8ba0ae;transition:transform .3s ease,color .3s ease}
.ap-simple-card:hover .ap-card-arrow{transform:translate(4px,-4px);color:#bfe1f5}

/* Footer */
.ap-footer{padding:34px 0 38px}
.ap-footer-main{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr);gap:40px;padding:28px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);align-items:center}
.ap-footer-brand span{display:block;font-size:12px;letter-spacing:.18em;font-weight:700}
.ap-footer-brand p{margin:9px 0 0;font-size:13px;color:#8fa2b0}
.ap-footer-data{display:flex;justify-content:flex-end;align-items:center;gap:20px;flex-wrap:wrap;color:#b8c6d0;font-size:12px}
.ap-footer-data a{color:#eef5f8}
.ap-footer-data span,.ap-footer-data a{white-space:normal}
.ap-footer-bottom{padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#657887;font-size:11px}
.ap-footer-links{display:flex;gap:16px;flex-wrap:wrap}
.ap-footer-links a{color:#8297a6}.ap-footer-links a:hover{color:#fff}

/* Sparks — discreet workshop detail */
.ap-sparks{position:fixed;left:0;bottom:0;width:260px;height:240px;pointer-events:none;z-index:1;overflow:visible;opacity:.9}
.ap-sparks:before{content:"";position:absolute;left:-42px;bottom:-34px;width:150px;height:110px;background:radial-gradient(circle,rgba(105,185,236,.16),transparent 65%);filter:blur(8px)}
.ap-sparks span{position:absolute;left:24px;bottom:18px;width:3px;height:24px;border-radius:999px;background:linear-gradient(180deg,#e8f7ff 0%,#79c8f4 35%,rgba(105,185,236,0) 100%);transform-origin:50% 100%;opacity:0;filter:drop-shadow(0 0 5px rgba(105,185,236,.65));animation:apSpark 3.8s cubic-bezier(.2,.7,.2,1) infinite}
.ap-sparks span:nth-child(1){--sx:38px;--sy:-118px;--rot:-24deg;animation-delay:.1s}.ap-sparks span:nth-child(2){--sx:62px;--sy:-92px;--rot:-8deg;animation-delay:.55s}.ap-sparks span:nth-child(3){--sx:84px;--sy:-134px;--rot:10deg;animation-delay:1.05s}.ap-sparks span:nth-child(4){--sx:112px;--sy:-78px;--rot:24deg;animation-delay:1.45s}.ap-sparks span:nth-child(5){--sx:146px;--sy:-112px;--rot:34deg;animation-delay:1.9s}.ap-sparks span:nth-child(6){--sx:72px;--sy:-158px;--rot:3deg;animation-delay:2.3s}.ap-sparks span:nth-child(7){--sx:126px;--sy:-146px;--rot:28deg;animation-delay:2.7s}.ap-sparks span:nth-child(8){--sx:166px;--sy:-92px;--rot:42deg;animation-delay:3.05s}.ap-sparks span:nth-child(9){--sx:54px;--sy:-72px;--rot:-18deg;animation-delay:3.4s}.ap-sparks span:nth-child(10){--sx:98px;--sy:-120px;--rot:17deg;animation-delay:.8s}.ap-sparks span:nth-child(11){--sx:136px;--sy:-166px;--rot:31deg;animation-delay:1.25s}.ap-sparks span:nth-child(12){--sx:188px;--sy:-122px;--rot:48deg;animation-delay:1.72s}.ap-sparks span:nth-child(13){--sx:46px;--sy:-146px;--rot:-12deg;animation-delay:2.05s}.ap-sparks span:nth-child(14){--sx:104px;--sy:-94px;--rot:20deg;animation-delay:2.55s}.ap-sparks span:nth-child(15){--sx:154px;--sy:-150px;--rot:38deg;animation-delay:2.95s}.ap-sparks span:nth-child(16){--sx:196px;--sy:-82px;--rot:54deg;animation-delay:3.3s}
@keyframes apSpark{0%{opacity:0;transform:translate(0,0) rotate(var(--rot)) scaleY(.55)}8%{opacity:.95}52%{opacity:.72}100%{opacity:0;transform:translate(var(--sx),var(--sy)) rotate(var(--rot)) scaleY(.15)}}

/* Reveal */
[data-reveal]{opacity:0;transform:translateY(22px);transition:opacity .7s cubic-bezier(.2,.8,.2,1),transform .7s cubic-bezier(.2,.8,.2,1)}
[data-reveal].is-visible{opacity:1;transform:none}
.ap-card-grid [data-reveal]:nth-child(2){transition-delay:.08s}

@media(max-width:1120px){
  .ap-hero{grid-template-columns:1fr;min-height:auto;padding-bottom:72px}
  .ap-hero-copy{padding-top:16px}
  .ap-hero-media{min-height:68vh}
}
@media(max-width:860px){
  .ap-container{width:min(calc(100% - 34px),var(--max))}
  .ap-section-head{grid-template-columns:1fr;gap:18px}
  .ap-section-copy{justify-self:start}
  .ap-card-grid{grid-template-columns:1fr}
  .ap-simple-card{min-height:320px}
  .ap-footer-main{grid-template-columns:1fr;gap:22px}
  .ap-footer-data{justify-content:flex-start}
}
@media(max-width:640px){
  .ap-container{width:min(calc(100% - 24px),var(--max))}
  .ap-header{height:76px}
  .ap-brand{max-width:160px}.ap-brand-img{max-width:145px;max-height:46px}
  .ap-year-chip{font-size:8px;padding:8px 10px}
  .ap-hero{gap:28px;padding-bottom:46px}
  .ap-title{font-size:clamp(50px,15vw,72px)}
  .ap-description{font-size:16px;margin-top:24px}
  .ap-hero-actions{flex-direction:column;align-items:flex-start;gap:16px}
  .ap-btn{width:100%;justify-content:space-between}
  .ap-hero-media{min-height:58vh;border-radius:22px}
  .ap-hero-mark{width:86px;top:18px;right:18px}
  .ap-media-footer{left:18px;right:18px;bottom:18px;align-items:flex-end}.ap-media-footer span{max-width:175px;font-size:10px}.ap-media-footer strong{font-size:46px}
  .ap-section{padding:70px 0}
  .ap-section-head h2{font-size:44px}
  .ap-simple-card{min-height:300px;padding:24px;border-radius:22px}
  .ap-card-number{top:24px;left:24px}.ap-card-icon{top:21px;right:24px}
  .ap-card-content{left:24px;right:55px;bottom:66px}.ap-card-content h3{font-size:45px}.ap-card-content p{font-size:14px}
  .ap-simple-card:before{left:24px;right:24px;bottom:24px}.ap-card-arrow{right:24px;bottom:29px}
  .ap-footer{padding-top:10px}.ap-footer-main{padding:22px 0}.ap-footer-data{display:grid;grid-template-columns:1fr;gap:10px}.ap-footer-bottom{flex-direction:column;align-items:flex-start}
  .ap-sparks{width:180px;height:180px;opacity:.62;transform:scale(.8);transform-origin:left bottom}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}[data-reveal]{opacity:1;transform:none;transition:none}.ap-sparks span{animation:none;display:none}.ap-btn-primary,.ap-simple-card,.ap-simple-card:before,.ap-card-icon,.ap-card-arrow{transition:none}}
