
:root{
  --ink:#f7fbff;--dark:#05071f;--dark2:#0b1035;--teal:#00d7c7;--teal2:#00a99d;
  --blue:#1076ff;--soft:#f5f8fb;--line:#d9e3ea;--text:#101723;--muted:#607080;
  --green:#25D366;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--text);background:#fff;line-height:1.55}
a{text-decoration:none;color:inherit}
.wrap{width:min(1180px,92%);margin:auto}

/* Header */
.header{
  position:sticky;top:0;z-index:9000;
  background:#05071f;
  border-bottom:1px solid rgba(255,255,255,.08)
}
.nav{height:80px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{height:48px;max-width:330px;object-fit:contain}
.links{display:flex;gap:16px;align-items:center;color:#fff;font-size:13px;font-weight:850}
.links a{white-space:nowrap}
.links a:hover{color:var(--teal)}
.navcall{padding:11px 16px;border-radius:999px;background:var(--teal);color:#031717!important;white-space:nowrap}
.menu-btn{display:none;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;border-radius:11px;padding:10px 14px;font-weight:900;font:inherit;cursor:pointer}

/* Hero */
.hero{
  position:relative;overflow:hidden;padding:82px 0 88px;
  background:
    radial-gradient(circle at 80% 18%,rgba(0,215,199,.16),transparent 24%),
    radial-gradient(circle at 18% 90%,rgba(16,118,255,.12),transparent 26%),
    linear-gradient(135deg,#05071f 0 60%,#091033 60% 100%);
}
.hero::before{
  content:"";position:absolute;inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:34px 34px;
}
.hero::after{
  content:"SEGUNDA MANO · PORTÁTILES · PC · MADRID";
  position:absolute;left:-30px;bottom:10px;
  font-size:70px;font-weight:950;letter-spacing:9px;
  color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.06);
  white-space:nowrap;pointer-events:none
}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.18fr .82fr;gap:54px;align-items:start}
.hero-slab{
  position:absolute;right:-120px;top:-130px;width:410px;height:410px;
  border:60px solid rgba(0,215,199,.08);border-radius:28px;transform:rotate(24deg)
}
.hero-chip{
  position:absolute;right:7%;bottom:18%;
  padding:10px 18px;border-radius:999px;
  background:rgba(0,215,199,.12);border:1px solid rgba(0,215,199,.3);
  color:#7ffbf1;font-weight:900;transform:rotate(-5deg)
}
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--teal);font-size:12px;font-weight:950;letter-spacing:2px;text-transform:uppercase;margin-bottom:18px}
.eyebrow::before{content:"";width:34px;height:4px;background:var(--teal);border-radius:999px}
h1{font-size:clamp(46px,5.6vw,74px);line-height:1.03;letter-spacing:-2.4px;margin:0 0 22px;max-width:810px;color:#fff}
.accent{color:var(--teal)}
.hero-copy{font-size:18px;color:#cbd6e3;max-width:760px;margin:0 0 26px}
.ctas{display:grid;grid-template-columns:1.18fr .82fr;gap:11px;max-width:790px}
.cta{min-height:62px;display:flex;align-items:center;justify-content:center;text-align:center;padding:13px 17px;border-radius:999px;font-weight:900;transition:filter .15s ease,background .15s ease,color .15s ease}
.wa:hover,.stock:hover{filter:brightness(.88)}
.phone:hover{background:var(--teal);color:#031717}
.cta svg{width:22px;height:22px;margin-right:8px;flex:0 0 22px}
.wa{background:var(--green);color:#fff}
.stock{background:var(--teal);color:#031717}
.phone{grid-column:1/-1;border:2px solid var(--teal);background:transparent;color:#fff}

/* Info */
.info{
  background:#fff;border-radius:30px;padding:28px;
  box-shadow:0 28px 70px rgba(0,0,0,.34);position:relative;overflow:hidden
}
.info::before{content:"";position:absolute;top:0;left:0;right:0;height:6px;background:linear-gradient(90deg,var(--teal),var(--blue))}
.info .label{font-size:12px;color:var(--teal2);font-weight:950;letter-spacing:2px;text-transform:uppercase}
.info h2{font-size:28px;line-height:1.05;margin:10px 0 20px}
.info-row{padding:13px 0;border-top:1px solid var(--line)}
.info-row small{display:block;color:#748493;margin-bottom:3px}
.reference{margin-top:14px;padding:16px;border-radius:17px;background:#f2f7fa}
.reference p{margin:5px 0}
.maplink{display:inline-block;margin-top:16px;color:var(--teal2);font-weight:900}
.privacy-link{color:var(--blue);text-decoration:underline}
.privacy-check{display:flex;align-items:flex-start;gap:8px;font-size:14px}
.privacy-check input{width:auto;margin-top:3px}

/* Sections */
section{padding:82px 0}
.kicker{color:var(--teal2);font-size:12px;letter-spacing:2px;font-weight:950;text-transform:uppercase}
.title{font-size:clamp(34px,4vw,52px);line-height:1.04;letter-spacing:-1.8px;margin:10px 0 15px}
.lead{font-size:18px;color:var(--muted);max-width:820px}

/* Types */
.types{background:var(--soft)}
.type-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:30px}
.type{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;min-height:210px}
.type .ico{width:44px;height:44px;border-radius:14px;background:#e9fffc;color:var(--teal2);display:grid;place-items:center;font-weight:950}
.type h3{font-size:21px;margin:22px 0 8px}
.type p{color:var(--muted)}

/* Brands */
.brands{background:#07102a;color:#fff;position:relative;overflow:hidden}
.brand-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-top:30px}
.brand{padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:16px;background:rgba(255,255,255,.05);font-weight:900;text-align:center}
.brand-note{color:#bcc9d8;margin-top:18px}

/* Buying criteria */
.buy-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:54px;align-items:center}
.buy-art{min-height:390px;border-radius:36px;background:linear-gradient(145deg,#00d7c7,#0b1035);position:relative;overflow:hidden}
.buy-art::before{content:"REVISADO";position:absolute;left:24px;top:30px;font-size:86px;font-weight:950;color:transparent;-webkit-text-stroke:2px rgba(255,255,255,.30);transform:rotate(-5deg)}
.buy-art::after{content:"ESTADO · RENDIMIENTO · USO · NECESIDAD";position:absolute;left:35px;right:35px;bottom:35px;background:#fff;color:#07102a;padding:19px;border-radius:15px;font-weight:950}
.ticks{display:grid;gap:14px;margin-top:24px}
.tick{display:flex;gap:12px}
.tick i{width:27px;height:27px;border-radius:50%;background:#e9fffc;color:var(--teal2);display:grid;place-items:center;font-style:normal;font-weight:950;flex:0 0 auto}

/* Steps */
.steps{background:#f7fafc}
.steps-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-top:30px}
.step{background:#fff;border:1px solid var(--line);border-bottom:5px solid var(--teal);border-radius:20px;padding:24px;min-height:205px}
.step strong{display:block;font-size:44px;color:#d7e3e7}

/* Trust */
.trust-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.trust{border-radius:28px;padding:30px;color:#fff;min-height:220px;display:flex;flex-direction:column;justify-content:flex-end}
.google{background:#173f78}.youtube{background:#c9161d}
.trust h3{font-size:28px;margin:8px 0}

/* Calendar / FAQ / Form */
.cal-frame{width:100%;height:720px;border:0;background:#fff}
.faq{background:#f5f8fb}
details{background:#fff;border:1px solid var(--line);border-radius:15px;padding:18px 20px;margin:10px 0}
summary{font-weight:900}
.contact-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:48px}
form{display:grid;grid-template-columns:1fr 1fr;gap:13px}
.full{grid-column:1/-1}
input,textarea,select{width:100%;padding:15px;border:1px solid #cbd9e4;border-radius:11px;font:inherit;background:#fff}
textarea{min-height:145px;resize:vertical}
.submit{border:0;background:var(--dark2);color:#fff;padding:16px;border-radius:12px;font-weight:950;font-size:16px;cursor:pointer}
.map{width:100%;height:390px;border:0;border-radius:22px}

/* Footer */
footer{background:#05071f;color:#fff;padding:34px 0}
.footer{display:flex;justify-content:space-between;gap:30px;align-items:center}
.footer img{height:42px;max-width:270px}

/* Floating + n8n */
.float-wa{position:fixed;right:22px;bottom:22px;z-index:10020;width:62px;height:62px;border-radius:50%;background:var(--green);display:grid;place-items:center;box-shadow:0 12px 28px rgba(0,0,0,.23)}
.float-wa svg{width:33px;height:33px;color:#fff}
#n8n-chat{--chat--color-primary:#05071f;--chat--color-secondary:#00d7c7;--chat--toggle--background:#05071f;--chat--toggle--hover--background:#0b1035;--chat--toggle--active--background:#0b1035}
#n8n-chat .chat-window-toggle,#n8n-chat [class*="chat-window-toggle"]{position:fixed!important;right:22px!important;bottom:96px!important;z-index:10060!important;border:1px solid #fff!important}
#n8n-chat .chat-window:not([class*="toggle"]),#n8n-chat [class*="chat-window"]:not([class*="toggle"]){position:fixed!important;right:22px!important;bottom:166px!important;z-index:10100!important;max-height:calc(100vh - 190px)!important}
#n8n-chat .chat-input,#n8n-chat [class*="chat-input"],#n8n-chat .chat-footer,#n8n-chat [class*="chat-footer"]{position:sticky!important;bottom:0!important;z-index:10110!important;background:#fff!important}

@media(max-width:920px){
  .menu-btn{display:block}
  .links{display:none;position:absolute;left:0;right:0;top:80px;background:#05071f;padding:18px 20px 22px;flex-direction:column;align-items:flex-start;border-top:1px solid rgba(255,255,255,.1)}
  .links.open{display:flex}
  .hero-grid,.buy-grid,.contact-grid{grid-template-columns:1fr}
  .type-grid{grid-template-columns:repeat(2,1fr)}
  .brand-grid{grid-template-columns:repeat(3,1fr)}
  .steps-grid{grid-template-columns:repeat(2,1fr)}
  .trust-grid{grid-template-columns:1fr}
  .buy-art::before{font-size:58px}
}
@media(max-width:600px){
  .wrap{width:min(100% - 28px,1180px)}
  .hero{padding-top:48px}
  h1{font-size:48px;letter-spacing:-1.5px}
  .ctas,form,.steps-grid{grid-template-columns:1fr}
  .phone,.full{grid-column:auto}
  .type-grid{grid-template-columns:repeat(2,1fr)}
  .brand-grid{grid-template-columns:repeat(2,1fr)}
  .hero::after,.hero-chip{display:none}
  .buy-art::before{font-size:40px}
  .cal-frame{height:760px}
  .footer{flex-direction:column;align-items:flex-start}
  .float-wa{right:16px!important;bottom:18px!important}
  #n8n-chat .chat-window-toggle,#n8n-chat [class*="chat-window-toggle"]{right:16px!important;bottom:96px!important}
  #n8n-chat .chat-window:not([class*="toggle"]),#n8n-chat [class*="chat-window"]:not([class*="toggle"]){left:12px!important;right:12px!important;width:auto!important;bottom:166px!important}
}

/* SEO content section */
.seo-content{background:#fff}
.seo-text{max-width:900px;margin-top:18px;display:grid;gap:16px}
.seo-text p{color:var(--muted);font-size:16px;line-height:1.7;margin:0}
.seo-text small{color:#8a97a8}
