:root{--bg:#0a0f1e;--fg:#0d1428;--card:#0b162a;--text:#10192f;--muted:#93a4b5;--primary:#1f6af2;--primary-600:#1a5de0;--primary-700:#154fc7;--accent:#07c6db;--white:#ffffff}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--fg);color:#e5e7eb;min-height:100vh;display:flex;flex-direction:column}
.container{max-width:1120px;margin:0 auto;padding:0 24px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.site-header{position:sticky;top:0;z-index:1000;background:rgba(15,23,42,.8);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid rgba(148,163,184,.12)}
.header-inner{display:flex;align-items:center;gap:24px;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:4px;text-decoration:none;color:inherit}
.brand-text{display:flex;flex-direction:column;line-height:1}
.brand-name{font-weight:800;font-size:18px;color:#e5e7eb;letter-spacing:.3px}
.brand-subtitle{font-size:12px;color:#93a4b5;margin-top:2px}
.logo{height:64px}
.logo.small{height:40px}
.nav{display:flex;gap:16px}
.nav-link{color:#cbd5e1;text-decoration:none;font-weight:600}
.nav-link:hover{color:#fff}
.controls{display:flex;gap:12px;align-items:center}
.flag-icon{width:24px;height:16px;border-radius:2px;border:1px solid rgba(148,163,184,.24);display:none}
.controls .flag-icon{margin-left:4px}
.select{appearance:none;background:#0b1220;color:#e5e7eb;border:1px solid rgba(148,163,184,.24);border-radius:8px;padding:8px 12px}
.select.flag-gl{background-image:url('/assets/flags/galicia.svg');background-repeat:no-repeat;background-position:8px center;background-size:24px 16px;padding-left:42px}
.btn{display:inline-block;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:600}
.btn-primary{background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;box-shadow:0 10px 24px rgba(31,106,242,.25)}
.btn-primary:hover{filter:brightness(1.05)}
.btn-secondary{background:#0b1220;color:#e5e7eb;border:1px solid rgba(148,163,184,.24)}
.btn-secondary:hover{border-color:rgba(148,163,184,.4)}
.btn-outline{background:transparent;color:#cbd5e1;border:1px solid rgba(148,163,184,.24)}
.btn-outline:hover{color:#fff;border-color:rgba(148,163,184,.4)}

.hero{padding:72px 0 56px;background:radial-gradient(1200px 420px at 20% -120px, rgba(31,106,242,.28), transparent 60%),radial-gradient(800px 360px at 80% -120px, rgba(7,198,219,.24), transparent 60%)}
.hero-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center}
.lead{color:#cbd5e1;max-width:640px}
.chips{margin-top:12px;display:flex;gap:10px;flex-wrap:wrap}
.chip{background:rgba(31,106,242,.12);color:#cfe7ff;border:1px solid rgba(31,106,242,.28);padding:6px 10px;border-radius:999px;font-size:12px}
.hero-actions{margin-top:24px;display:flex;gap:14px;flex-wrap:wrap}
.hero-illustration{width:100%;height:340px;border-radius:20px;display:block}
.layer{transform:translateZ(0);will-change:transform}
.layer-bg .ellipse{filter:blur(8px)}
.layer-window{animation:float1 8s ease-in-out infinite}
.layer-devices{animation:float2 10s ease-in-out infinite}
.layer-seo{animation:float3 9s ease-in-out infinite}
@keyframes float1{0%{transform:translateY(0)}50%{transform:translateY(-6px)}100%{transform:translateY(0)}}
@keyframes float2{0%{transform:translateY(0)}50%{transform:translateY(5px)}100%{transform:translateY(0)}}
@keyframes float3{0%{transform:translateY(0)}50%{transform:translateY(-4px)}100%{transform:translateY(0)}}

.section{padding:64px 0}
.section.alt{background:#0b1220}
.section-title{font-size:28px;margin:0 0 8px}
.section-title{position:relative;padding-bottom:10px}
.section-title::after{content:"";position:absolute;left:0;bottom:0;width:80px;height:3px;border-radius:3px;background:linear-gradient(135deg,var(--primary),var(--accent))}
.section-subtitle{color:#cbd5e1;margin:0 0 24px}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.card{background:var(--card);border:1px solid rgba(148,163,184,.12);border-radius:16px;padding:20px;transition:transform .2s ease, box-shadow .2s ease}
.card:hover{transform:translateY(-2px);box-shadow:0 16px 40px rgba(31,106,242,.18)}
.card-head{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.icon{width:22px;height:22px;color:#22d3ee;filter:drop-shadow(0 2px 4px rgba(7,198,219,.25))}
.card:hover .icon{color:#a7e3ff}
.card-title{margin:0 0 6px;font-size:18px;color:#fff}
.card-body{margin:0;color:#cbd5e1}

.about{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}
.checks{list-style:none;padding:0;margin:16px 0 0}
.checks li{position:relative;padding-left:26px;margin:8px 0;color:#cbd5e1}
.checks li::before{content:"";position:absolute;left:0;top:6px;width:16px;height:16px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(6,182,212,.2)}
.about-img{width:100%;aspect-ratio:16/10;height:auto;object-fit:cover;object-position:center;border-radius:18px;box-shadow:0 18px 42px rgba(31,106,242,.15);image-rendering:auto}

.contact .contact-form{max-width:560px}
.contact-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:20px;align-items:start}
.form-row{display:flex;flex-direction:column;margin-bottom:12px}
.form-row label{margin-bottom:6px;color:#e5e7eb;font-weight:500}
.form-row input,.form-row textarea{background:#0b1220;color:#e5e7eb;border:1px solid rgba(148,163,184,.24);border-radius:10px;padding:10px}
.form-row input:focus,.form-row textarea:focus{outline:2px solid rgba(37,99,235,.5)}
.form-note{color:#94a3b8;font-size:14px;margin-top:8px}
.map{margin-top:18px;border-radius:16px;overflow:hidden;border:1px solid rgba(148,163,184,.12);box-shadow:0 14px 32px rgba(31,106,242,.15)}
.map iframe{width:100%;height:360px;border:0}

.site-footer{border-top:1px solid rgba(148,163,184,.12);padding:24px 0;background:#0f172a;margin-top:auto}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:20px;align-items:start}
.footer-brand .tag{color:#93a4b5;margin:6px 0 8px}
.footer-brand .copy{color:#cbd5e1}
.footer-title{margin:0 0 8px;color:#e5e7eb;font-size:13px;letter-spacing:.3px}
.footer-grid .footer-links{display:grid;gap:10px}
.footer-grid .footer-links a{color:#cbd5e1;text-decoration:none;line-height:1.6}
.footer-grid .footer-links a:hover{color:#fff}
.footer-contact{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.footer-contact li{display:flex;align-items:center;gap:10px;color:#cbd5e1}
.footer-icon{width:20px;height:20px;color:#a7e3ff}
.footer-social{display:flex;gap:12px;margin-top:10px}
.social-btn{display:inline-flex;width:28px;height:28px;border-radius:8px;align-items:center;justify-content:center;background:#0b1220;border:1px solid rgba(148,163,184,.24);color:#cbd5e1;text-decoration:none}
.social-btn:hover{border-color:rgba(148,163,184,.4);color:#fff}
.social-btn.instagram{background:linear-gradient(135deg,#f58529,#dd2a7b 40%,#8134af);border:none}
.social-btn.x{background:#111;border:1px solid #e5e7eb}
.social-btn svg{width:16px;height:16px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}
.footer-links{display:flex;gap:16px}
.footer-links a{color:#cbd5e1;text-decoration:none}
.footer-links a:hover{color:#fff}
/* New footer layout */
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1.2fr;gap:16px;align-items:start}
.footer-brand .tag{color:#93a4b5;margin:6px 0 8px}
.footer-brand .copy{color:#cbd5e1}
.footer-title{margin:0 0 8px;color:#e5e7eb;font-size:14px;letter-spacing:.4px}
.footer-contact{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.footer-contact li{display:flex;align-items:center;gap:8px;color:#cbd5e1}
.footer-icon{width:18px;height:18px;color:#a7e3ff}
.footer-social{display:flex;gap:10px;margin-top:10px}
.social-btn{display:inline-flex;width:30px;height:30px;border-radius:8px;align-items:center;justify-content:center;background:#0b1220;border:1px solid rgba(148,163,184,.24);color:#cbd5e1;text-decoration:none}
.social-btn:hover{border-color:rgba(148,163,184,.4);color:#fff}

.benefits{padding:24px 0;background:linear-gradient(180deg, rgba(31,106,242,.08), transparent)}
.benefits-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.benefit{display:flex;flex-direction:column;gap:10px;align-items:stretch;background:var(--card);border:1px solid rgba(148,163,184,.12);border-radius:14px;padding:14px}
.benefit-title{color:#fff;font-weight:600}
.benefit-desc{color:#cbd5e1;font-size:14px}
.benefit-img{width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;border-radius:12px;margin:6px 0 8px;filter:saturate(112%);transition:transform .3s ease;display:block}
.benefit:hover .benefit-img{transform:scale(1.02)}

@media (max-width:960px){
  .hero-inner,.about{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr 1fr}
  .benefits-inner{grid-template-columns:1fr 1fr}
  .contact-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .grid{grid-template-columns:1fr}
  .banner{height:240px}
  .benefits-inner{grid-template-columns:1fr}
  .map iframe{height:280px}
  .footer-grid{grid-template-columns:1fr}
}
.plans-grid .plan-card{position:relative}
.plans-grid{align-items:stretch}
.plans-grid .plan-card{display:flex;flex-direction:column}
.plans-grid .plan-card .list{flex:1}
.plans-grid .plan-card .btn{align-self:center;margin-top:16px}
.badge{position:absolute;right:16px;top:16px;background:linear-gradient(135deg,var(--primary),var(--accent));color:#fff;font-weight:700;font-size:12px;padding:6px 10px;border-radius:999px;box-shadow:0 10px 18px rgba(31,106,242,.25)}
.popular{outline:2px solid rgba(31,106,242,.3)}
.list{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.list li{position:relative;padding-left:24px;color:#cbd5e1}
.list li::before{content:"";position:absolute;left:0;top:8px;width:12px;height:12px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--accent))}
.process-grid .card{min-height:160px}

.reveal{opacity:0;transform:translateY(12px);transition:opacity .5s ease, transform .5s ease}
.reveal-visible{opacity:1;transform:none}
.pulse{position:relative}
.pulse::before{content:"";position:absolute;inset:-2px;border-radius:inherit;box-shadow:0 0 0 0 rgba(31,106,242,.6);animation:pulse 2.6s ease-out infinite}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(31,106,242,.6)}70%{box-shadow:0 0 0 18px rgba(31,106,242,0)}100%{box-shadow:0 0 0 0 rgba(31,106,242,0)}}
.commission{margin-top:18px}