/*
Theme Name: FastBuy
Theme URI: https://fastbuy.lat/
Author: FastBuy
Description: Tema comercial personalizado para FastBuy Ecuador.
Version: 1.0.0
Text Domain: fastbuy
*/

:root {
  --ink: #09162a;
  --muted: #5e6b7c;
  --blue: #0b63f6;
  --blue-dark: #0647b8;
  --cyan: #26c6ff;
  --amber: #ff9f1c;
  --line: #dfe7f1;
  --soft: #f4f7fb;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 22px 60px rgba(10, 41, 82, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-title { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -.045em; }
.section-copy { max-width: 650px; margin: 18px 0 0; color: var(--muted); font-size: 18px; line-height: 1.75; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  background: rgba(5, 18, 42, .72);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(15px);
}
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; font-size: 23px; letter-spacing: -.04em; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
  box-shadow: 0 10px 25px rgba(38,198,255,.3);
}
.brand-mark svg { width: 23px; }
.brand em { color: var(--cyan); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.nav-links > a:not(.nav-cta) { color: rgba(255,255,255,.82); }
.nav-links > a:not(.nav-cta):hover { color: #fff; }
.nav-cta { padding: 12px 18px; border-radius: 12px; background: #fff; color: var(--ink); }
.menu-toggle { display: none; padding: 8px; color: white; border: 0; background: transparent; }

.hero {
  min-height: 820px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
  background: #041127 center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,11,27,.93) 0%, rgba(3,17,42,.78) 37%, rgba(2,12,30,.08) 72%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, rgba(2,10,24,.5)); }
.hero-content { position: relative; z-index: 2; max-width: 650px; padding: 152px 0 110px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 9px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.08); font-size: 13px; font-weight: 700; }
.hero-kicker span { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(38,198,255,.12); }
.hero h1 { margin: 24px 0 22px; max-width: 650px; font-size: clamp(48px, 6.3vw, 78px); line-height: .99; letter-spacing: -.06em; }
.hero h1 strong { color: var(--cyan); }
.hero p { max-width: 580px; margin: 0; color: rgba(255,255,255,.76); font-size: clamp(18px, 2vw, 21px); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 14px; font-size: 15px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: linear-gradient(135deg, var(--blue), #1689ff); box-shadow: 0 14px 34px rgba(11,99,246,.35); }
.btn-light { border: 1px solid rgba(255,255,255,.22); color: white; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.btn svg { width: 19px; height: 19px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 42px; color: rgba(255,255,255,.72); font-size: 13px; font-weight: 650; }
.hero-points span { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 17px; color: var(--cyan); }

.trust-bar { position: relative; z-index: 5; margin-top: -52px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 20px; background: white; box-shadow: var(--shadow); overflow: hidden; }
.trust-item { display: flex; align-items: center; gap: 15px; min-height: 104px; padding: 23px 28px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.icon-box { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--blue); background: #eaf2ff; }
.icon-box svg { width: 24px; height: 24px; }
.trust-item strong { display: block; margin-bottom: 4px; font-size: 15px; }
.trust-item small { color: var(--muted); font-size: 13px; line-height: 1.45; }

.categories { padding: 126px 0 110px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.category-card { position: relative; min-height: 520px; overflow: hidden; border-radius: var(--radius); color: white; background: #07152e; box-shadow: var(--shadow); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.category-card:hover img { transform: scale(1.045); }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(2,9,22,.92) 100%); }
.category-copy { position: absolute; inset: auto 32px 32px; z-index: 2; }
.category-label { display: inline-block; margin-bottom: 11px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.category-copy h3 { margin: 0 0 9px; font-size: 34px; letter-spacing: -.035em; }
.category-copy p { max-width: 430px; margin: 0 0 20px; color: rgba(255,255,255,.7); line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; }
.text-link svg { width: 18px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }

.experience { padding: 110px 0; background: var(--soft); }
.experience-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 76px; align-items: center; }
.visual-panel { position: relative; min-height: 520px; border-radius: 28px; overflow: hidden; color: white; background: linear-gradient(145deg, #06142c, #0b3a78); box-shadow: var(--shadow); }
.visual-panel::before { content: ""; position: absolute; width: 390px; height: 390px; top: -110px; right: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(38,198,255,.55), transparent 68%); }
.visual-panel::after { content: ""; position: absolute; width: 270px; height: 270px; left: -90px; bottom: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255,159,28,.34), transparent 70%); }
.visual-content { position: relative; z-index: 2; height: 100%; min-height: 520px; display: flex; flex-direction: column; justify-content: space-between; padding: 42px; }
.visual-badge { align-self: flex-start; padding: 9px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); font-size: 13px; }
.visual-content h3 { margin: 0; max-width: 420px; font-size: clamp(38px, 5vw, 60px); line-height: 1.02; letter-spacing: -.05em; }
.visual-content h3 span { color: var(--cyan); }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-stat { padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.mini-stat strong { display: block; font-size: 18px; }
.mini-stat small { color: rgba(255,255,255,.62); }
.benefits { display: grid; gap: 25px; margin-top: 40px; }
.benefit { display: grid; grid-template-columns: 52px 1fr; gap: 17px; }
.benefit .icon-box { color: var(--blue); background: white; box-shadow: 0 8px 22px rgba(12,47,90,.08); }
.benefit h4 { margin: 1px 0 6px; font-size: 18px; }
.benefit p { margin: 0; color: var(--muted); line-height: 1.65; }

.location { padding: 110px 0; }
.location-card { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.location-info { padding: 58px; }
.contact-list { display: grid; gap: 18px; margin: 34px 0; }
.contact-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.contact-row .icon-box { width: 44px; height: 44px; border-radius: 13px; }
.contact-row .icon-box svg { width: 21px; }
.contact-row small { display: block; margin-bottom: 2px; color: var(--muted); }
.contact-row strong { font-size: 15px; line-height: 1.45; }
.map-panel { position: relative; min-height: 520px; background: #dae7f2; }
.map-panel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.03); }
.map-note { position: absolute; z-index: 3; right: 22px; bottom: 22px; max-width: 275px; padding: 17px 19px; border-radius: 15px; color: white; background: rgba(6,20,44,.9); box-shadow: 0 12px 35px rgba(0,0,0,.25); backdrop-filter: blur(10px); }
.map-note strong { display: block; margin-bottom: 5px; }
.map-note span { color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.4; }

.cta-section { padding: 0 0 110px; }
.cta-card { position: relative; overflow: hidden; padding: 64px; border-radius: 28px; color: white; background: linear-gradient(120deg, #05162f, #0b55ba); }
.cta-card::after { content: ""; position: absolute; width: 460px; height: 460px; top: -230px; right: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(38,198,255,.5), transparent 66%); }
.cta-card > * { position: relative; z-index: 2; }
.cta-card h2 { max-width: 720px; margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.04; letter-spacing: -.05em; }
.cta-card p { max-width: 650px; margin: 18px 0 0; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.65; }

.site-footer { color: rgba(255,255,255,.72); background: #040d1d; }
.footer-main { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 70px; padding: 70px 0; }
.footer-main .brand { color: white; }
.footer-about { max-width: 410px; margin: 19px 0 0; line-height: 1.7; }
.footer-title { margin: 5px 0 18px; color: white; font-size: 13px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.footer-links { display: grid; gap: 12px; font-size: 14px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.whatsapp-float { position: fixed; z-index: 45; right: 22px; bottom: 22px; width: 59px; height: 59px; display: grid; place-items: center; border-radius: 50%; color: white; background: #25d366; box-shadow: 0 14px 32px rgba(25,143,75,.38); transition: transform .2s; }
.whatsapp-float:hover { transform: translateY(-3px) scale(1.03); }
.whatsapp-float svg { width: 29px; height: 29px; }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; inset: 78px 20px auto; display: none; align-items: stretch; padding: 18px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(4,13,29,.97); box-shadow: 0 20px 45px rgba(0,0,0,.28); }
  .nav-links.open { display: grid; }
  .nav-cta { text-align: center; }
  .hero { min-height: 760px; background-position: 60% center; }
  .hero::before { background: linear-gradient(90deg, rgba(2,11,27,.95), rgba(3,17,42,.76) 65%, rgba(2,12,30,.15)); }
  .hero-content { max-width: 610px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .category-grid, .experience-grid, .location-card { grid-template-columns: 1fr; }
  .experience-grid { gap: 46px; }
  .map-panel { min-height: 420px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .hero { min-height: 720px; background-position: 64% center; }
  .hero::before { background: rgba(2,12,30,.78); }
  .hero-content { padding-top: 130px; }
  .hero h1 { font-size: 48px; }
  .hero-points { gap: 13px; }
  .trust-bar { margin-top: -30px; }
  .categories, .experience, .location { padding: 84px 0; }
  .section-head { align-items: start; flex-direction: column; }
  .category-card { min-height: 440px; }
  .category-copy { inset: auto 23px 25px; }
  .category-copy h3 { font-size: 29px; }
  .visual-content, .location-info, .cta-card { padding: 31px 25px; }
  .visual-content { min-height: 500px; }
  .mini-stats { grid-template-columns: 1fr; }
  .location-info { padding-top: 42px; padding-bottom: 42px; }
  .cta-section { padding-bottom: 84px; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; }
  .footer-main > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}
