@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  --blue:#2f6df6;
  --blue-dark:#1f55c8;
  --dark:#080d1b;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e2e8f0;
  --bg:#f8fafc;
  --orange:#ff825b;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Inter,Arial,sans-serif;color:var(--text);background:white}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

.header{
  min-height:92px;
  padding:0 36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:25px;
  background:rgba(255,255,255,.95);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(12px);
}

.header-hero{
  position:absolute;
  width:100%;
  background:transparent;
  border:0;
  color:white;
}

.logo{
  font-size:31px;
  font-weight:900;
  color:#1f66df;
  letter-spacing:-1px;
  white-space:nowrap;
}
.logo span{color:var(--orange)}
.header-hero .logo{color:white}

.nav{
  display:flex;
  gap:26px;
  align-items:center;
  font-size:16px;
  font-weight:700;
}
.header-hero .nav{color:white}
.nav a{transition:.25s}
.nav a:hover{color:var(--orange)}

.menu-toggle{display:none}
.menu-icon{display:none;font-size:32px;cursor:pointer}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  padding:15px 26px;
  font-weight:800;
  border:1px solid transparent;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  transition:.25s;
  cursor:pointer;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--blue);color:white}
.btn-light{background:white;color:#1f66df}
.header:not(.header-hero) .btn-light{background:var(--blue);color:white}
.btn-glass{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.3);color:white;backdrop-filter:blur(8px)}
.btn-outline{background:white;border-color:#dfe5ee;color:#111827}

.hero{
  min-height:920px;
  position:relative;
  background:url('https://images.unsplash.com/photo-1547658719-da2b51169166?q=80&w=1900&auto=format&fit=crop') center/cover;
  color:white;
}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,10,25,.95),rgba(5,10,25,.82),rgba(5,10,25,.65))}
.hero-content{position:relative;z-index:1;padding:260px 36px 120px;max-width:950px}
.badge{display:inline-flex;align-items:center;gap:12px;padding:12px 18px;border:1px solid rgba(255,255,255,.28);background:rgba(255,255,255,.13);border-radius:18px;font-size:16px;font-weight:800;margin-bottom:38px}
.badge span{width:10px;height:10px;background:var(--orange);border-radius:50%}
.hero h1{font-size:68px;line-height:1;letter-spacing:-3px;font-weight:900;margin-bottom:28px}
.hero p{font-size:22px;line-height:1.55;color:#e2e8f0;max-width:780px;margin-bottom:42px}
.hero-buttons{display:flex;gap:20px;flex-wrap:wrap}

.section{padding:95px 36px}
.centered{text-align:center;max-width:900px;margin:0 auto 75px}
.section-title h2,.section-head h2{font-size:56px;letter-spacing:-2.5px;line-height:1;font-weight:900}
.section-title p,.section-head p{font-size:21px;line-height:1.55;color:var(--muted);margin-top:22px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
.cards{max-width:1200px;margin:0 auto}

.feature{
  min-height:330px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  padding:38px;
  box-shadow:0 8px 22px rgba(0,0,0,.04);
  transition:.25s;
}
.feature:hover,.project:hover,.price-card:hover{transform:translateY(-6px);box-shadow:0 18px 35px rgba(15,23,42,.12)}
.icon{width:70px;height:70px;background:#eaf1ff;color:var(--blue);border-radius:18px;display:grid;place-items:center;font-size:32px;margin-bottom:30px}
.feature h3{font-size:25px;margin-bottom:18px;letter-spacing:-1px}
.feature p{font-size:18px;color:var(--muted);line-height:1.55}

.portfolio{background:#f8fafc;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:60px;margin-bottom:55px}
.section-head div{max-width:820px}
.projects{gap:36px}
.project{background:white;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 3px 10px rgba(0,0,0,.05);transition:.25s}
.project img{width:100%;height:260px;object-fit:cover}
.project div{padding:30px}
.project h3{font-size:25px;letter-spacing:-1px;margin-bottom:16px}
.project p{font-size:17px;color:var(--muted);line-height:1.55;margin-bottom:24px}
.project span{display:inline-block;padding:8px 14px;background:#fff3ef;border:1px solid #fedbd1;border-radius:12px;color:#f07858;margin:0 8px 18px 0;font-size:13px;font-weight:700}
.project a{display:block;color:#2268e8;font-size:17px;font-weight:800}

.pricing{background:#050918;color:white}
.pricing .section-title p{color:#a8b3c7}
.price-grid{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:26px;align-items:center}
.price-card{background:white;color:#111827;border-radius:22px;padding:34px;min-height:455px;position:relative;transition:.25s}
.price-card.featured{background:var(--blue);color:white;transform:scale(1.05);box-shadow:0 0 60px rgba(47,109,246,.35)}
.price-card.featured:hover{transform:scale(1.05) translateY(-6px)}
.price-card h3{font-size:22px;margin-top:12px}
.price-card h4{font-size:38px;margin:12px 0 14px}
.price-card small{font-size:14px;color:#6b7280}
.price-card.featured small,.price-card.featured li{color:white}
.price-card ul{margin-top:24px}
.price-card li{list-style:none;color:#667085;font-size:15px;margin:16px 0;line-height:1.5}
.tag{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--orange);color:white;padding:7px 16px;border-radius:10px;font-size:12px;font-weight:900;white-space:nowrap}
.full{width:100%;padding:14px;margin-top:18px;border-radius:12px;font-size:15px}

.faq-list{max-width:900px;margin:0 auto}
.faq details{border-bottom:1px solid var(--line);padding:22px 0}
.faq summary{font-weight:800;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:19px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:24px;font-weight:900;color:var(--blue);transition:.3s}
.faq details[open] summary::after{content:"–";color:var(--orange)}
.faq p{padding-top:14px;color:var(--muted);line-height:1.7}

.cta{text-align:center;background:linear-gradient(135deg,var(--blue),#4f84ff);color:white;padding:85px 20px}
.cta h2{font-size:46px;line-height:1.05;margin-bottom:22px;letter-spacing:-1.5px}
.cta p{max-width:580px;margin:0 auto 32px;color:#e8efff;font-size:18px;line-height:1.6}

.footer{background:#090909;color:#d1d5db;padding:58px 36px 28px}
.footer-grid{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:45px}
.footer .logo{font-size:24px}
.footer p,.footer a{display:block;color:#8c929f;font-size:14px;line-height:1.8;margin-top:10px}
.footer h4{font-size:15px;color:white;margin-bottom:14px}
.copy{max-width:1100px;margin:38px auto 0;border-top:1px solid #1f2937;padding-top:24px;font-size:13px;color:#7f8794;display:flex;justify-content:space-between;gap:20px}
.copy a{display:inline;margin:0;color:#9ca3af}
.copy a:hover{color:white}

.contact-page{background:radial-gradient(circle at top left, rgba(47,109,246,.12), transparent 35%),linear-gradient(180deg,#f8fafc 0%,#ffffff 100%);min-height:100vh}
.contact-hero{text-align:center;padding:120px 20px 55px;max-width:900px;margin:auto}
.contact-badge{display:inline-flex;padding:10px 18px;border-radius:999px;background:#eaf1ff;color:var(--blue);font-weight:900;margin-bottom:22px}
.contact-hero h1{font-size:62px;font-weight:900;letter-spacing:-2.5px;margin-bottom:20px;color:#0f172a}
.contact-hero p{font-size:21px;color:#64748b;line-height:1.6}
.contact-wrap{max-width:1200px;margin:0 auto 100px;padding:0 30px;display:grid;grid-template-columns:2fr 1fr;gap:40px}
.contact-form,.contact-info{background:white;padding:40px;border-radius:24px;border:1px solid #e2e8f0;box-shadow:0 10px 30px rgba(0,0,0,.05)}
.contact-form{display:flex;flex-direction:column;gap:22px}
.contact-form label{display:flex;flex-direction:column;gap:10px;font-weight:800;color:#0f172a}
.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:16px 18px;border:1px solid #dbe3ec;border-radius:14px;font-size:16px;font-family:inherit;transition:.25s;background:white}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:none;border-color:#2f6df6;box-shadow:0 0 0 4px rgba(47,109,246,.12)}
.contact-form textarea{resize:vertical;min-height:150px}
.contact-form button{margin-top:10px;width:100%;font-size:18px}
.contact-info h2{font-size:32px;margin-bottom:30px;color:#0f172a}
.contact-info p{margin-bottom:25px;color:#64748b;line-height:1.7}
.contact-info b{color:#0f172a}
.mini-card{background:linear-gradient(135deg,#2f6df6,#4f84ff);color:white;padding:24px;border-radius:18px;margin-top:20px;font-weight:800;text-align:center}

.legal-page{background:#f8fafc}
.legal-hero{text-align:center;padding:110px 20px 45px}
.legal-hero h1{font-size:52px;font-weight:900;letter-spacing:-2px;color:var(--text)}
.legal-hero p{color:var(--muted);margin-top:16px;font-size:18px}
.legal-content{max-width:920px;margin:0 auto 90px;background:white;border:1px solid var(--line);border-radius:24px;padding:42px;box-shadow:0 10px 30px rgba(15,23,42,.06)}
.legal-content h2{font-size:26px;margin:30px 0 12px;color:var(--text)}
.legal-content h2:first-child{margin-top:0}
.legal-content p,.legal-content li{color:var(--muted);line-height:1.8;font-size:16px}
.legal-content ul{margin:12px 0 20px 22px}

.cookie-banner{position:fixed;left:24px;right:24px;bottom:24px;background:white;border:1px solid var(--line);border-radius:22px;padding:22px;box-shadow:0 18px 45px rgba(15,23,42,.18);z-index:9999;display:flex;align-items:center;justify-content:space-between;gap:25px;max-width:1100px;margin:auto}
.cookie-banner h3{font-size:20px;margin-bottom:8px;color:var(--text)}
.cookie-banner p{color:var(--muted);line-height:1.6;font-size:15px}
.cookie-banner a{color:var(--blue);font-weight:800}
.cookie-actions{display:flex;gap:12px;flex-shrink:0}
.cookie-btn{border:0;padding:12px 18px;border-radius:12px;font-weight:800;cursor:pointer;font-family:inherit}
.cookie-btn.accept{background:var(--blue);color:white}
.cookie-btn.reject{background:#f1f5f9;color:#334155}

.whatsapp-float{position:fixed;right:24px;bottom:24px;width:58px;height:58px;background:#22c55e;color:white;border-radius:50%;display:grid;place-items:center;font-size:30px;font-weight:900;z-index:80;box-shadow:0 12px 25px rgba(0,0,0,.22);transition:.25s}
.whatsapp-float:hover{transform:scale(1.08)}

@keyframes fadeInUp{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:translateY(0)}}
.hero-content,.feature,.project,.price-card,.contact-form,.contact-info,.legal-content{animation:fadeInUp .65s ease both}

@media(max-width:1024px){
  .header{padding:20px 26px}
  .nav{gap:16px;font-size:15px}
  .hero{min-height:820px}
  .hero-content{padding:230px 30px 90px;max-width:820px}
  .hero h1{font-size:56px}
  .hero p{font-size:20px}
  .section{padding:80px 28px}
  .section-title h2,.section-head h2,.contact-hero h1{font-size:46px}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .price-grid{grid-template-columns:1fr;max-width:620px}
  .price-card.featured,.price-card.featured:hover{transform:none}
  .section-head{display:block}
  .section-head .btn{margin-top:24px}
  .contact-wrap{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:768px){
  .header,.header-hero{position:sticky;background:rgba(255,255,255,.96);color:#0f172a;border-bottom:1px solid var(--line);min-height:76px;padding:16px 20px}
  .header-hero .logo,.header-hero .nav{color:#0f172a}
  .logo{font-size:25px}
  .menu-icon{display:block}
  .nav{position:absolute;top:76px;left:0;width:100%;background:white;display:none;flex-direction:column;align-items:center;gap:0;padding:18px 20px 24px;border-bottom:1px solid var(--line);box-shadow:0 15px 30px rgba(0,0,0,.08)}
  .nav a{padding:13px 0;width:100%;text-align:center}
  .menu-toggle:checked ~ .nav{display:flex}
  .hero{min-height:720px}
  .hero-content{padding:135px 20px 70px;text-align:center}
  .badge{font-size:14px;margin-bottom:28px}
  .hero h1{font-size:40px;letter-spacing:-1.5px;line-height:1.08}
  .hero p{font-size:18px}
  .hero-buttons{flex-direction:column}
  .hero-buttons .btn{width:100%}
  .section{padding:62px 20px}
  .section-title h2,.section-head h2,.contact-hero h1{font-size:36px;letter-spacing:-1.5px}
  .section-title p,.section-head p,.contact-hero p{font-size:17px}
  .centered{margin-bottom:45px}
  .grid-3{grid-template-columns:1fr}
  .feature{min-height:auto;padding:28px}
  .project img{height:220px}
  .price-card{min-height:auto;padding:28px}
  .cta h2{font-size:34px}
  .contact-hero{padding:80px 20px 40px}
  .contact-wrap{padding:0 16px;gap:25px;margin-bottom:70px}
  .contact-form,.contact-info{padding:25px}
  .contact-info h2{font-size:26px}
  .footer-grid{grid-template-columns:1fr;text-align:center}
  .copy{flex-direction:column;text-align:center}
  .whatsapp-float{width:52px;height:52px;right:18px;bottom:18px;font-size:26px}
  .cookie-banner{left:14px;right:14px;bottom:14px;flex-direction:column;align-items:flex-start}
  .cookie-actions{width:100%}
  .cookie-btn{width:100%}
  .legal-hero{padding:80px 18px 35px}
  .legal-hero h1{font-size:34px}
  .legal-content{margin:0 16px 70px;padding:26px}
}

@media(max-width:390px){
  .hero h1{font-size:34px}
  .hero p{font-size:16px}
  .btn{padding:14px 20px}
  .contact-form,.contact-info{padding:20px}
}


/* MEJORAS FAQ */

.faq summary:hover{
  color:var(--blue);
}

.faq details[open]{
  padding-bottom:25px;
}
