/* =============================================
   WebWooCommerce.com — Global Styles
   ============================================= */

:root {
  --woo:        #7F54B3;
  --woo-dark:   #5a3d80;
  --woo-deep:   #3d2660;
  --woo-light:  #f0ebf8;
  --woo-mid:    #a47dcf;
  --accent:     #96588A;
  --dark:       #12101e;
  --dark-2:     #1e1a30;
  --text:       #2a2438;
  --muted:      #6b6480;
  --light:      #f9f7fd;
  --white:      #ffffff;
  --border:     #e8e2f3;
  --green:      #1a7a4a;
  --shadow-sm:  0 2px 8px rgba(127,84,179,.08);
  --shadow-md:  0 8px 32px rgba(127,84,179,.14);
  --shadow-lg:  0 20px 60px rgba(127,84,179,.18);
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --font-head:  'Syne', sans-serif;
  --font-body:  'DM Sans', sans-serif;
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.15; color: var(--dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p  { font-size: 1rem; line-height: 1.75; color: var(--muted); }

/* ── LAYOUT ─────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }

.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--woo);
  margin-bottom: .6rem;
  display: block;
}
.section-title  { margin-bottom: 1rem; }
.section-desc   { max-width: 580px; margin-bottom: 2.5rem; }
.text-center    { text-align: center; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--woo);
  color: #fff;
  box-shadow: 0 4px 20px rgba(127,84,179,.35);
}
.btn-primary:hover {
  background: var(--woo-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(127,84,179,.45);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.08);
}
.btn-outline-dark {
  background: transparent;
  color: var(--woo);
  border: 1.5px solid var(--woo);
}
.btn-outline-dark:hover {
  background: var(--woo);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--woo);
  font-weight: 600;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-wa {
  background: #25D366;
  color: #fff;
  font-weight: 600;
}
.btn-wa:hover { background: #1da851; transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* ── NAVBAR ──────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
#navbar.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--woo);
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--woo);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 22px; height: 22px; fill: #fff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: .45rem .9rem;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--muted);
  transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--woo);
  background: var(--woo-light);
}
.nav-cta { flex-shrink: 0; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--woo);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 860px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem; gap: .25rem; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
}

/* ── FOOTER ──────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.6);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { color: var(--woo-mid); margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; line-height: 1.7; }
.footer-col h4,
.footer-col-title {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--woo-mid); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
}
.footer-bottom a { color: var(--woo-mid); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── TRUST BADGES ────────────────────────────── */
.trust-strip {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.trust-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-right: .5rem;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.trust-badge .dot { width: 8px; height: 8px; border-radius: 50%; }
.trust-badge .official {
  font-size: .65rem;
  font-weight: 700;
  background: #e8f5e9;
  color: var(--green);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── WHATSAPP FLOAT ──────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}
.wa-bubble {
  background: #25D366;
  color: #fff;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
  cursor: pointer;
  transition: all var(--transition);
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-bubble:hover { transform: scale(1.08); box-shadow: 0 10px 32px rgba(37,211,102,.55); }
.wa-bubble svg { width: 32px; height: 32px; fill: #fff; }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,.45); }
  50% { box-shadow: 0 6px 32px rgba(37,211,102,.7), 0 0 0 10px rgba(37,211,102,.1); }
}
.wa-tooltip {
  background: var(--dark);
  color: #fff;
  font-size: .8rem;
  font-weight: 500;
  padding: .4rem .85rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  transition: all var(--transition);
  pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ── CARDS SHARED ────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--woo-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ── BADGE ───────────────────────────────────── */
.badge {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.badge-purple { background: var(--woo-light); color: var(--woo-dark); }
.badge-green  { background: #e8f5e9; color: var(--green); }
.badge-orange { background: #fff3e0; color: #b84000; }

/* ── FADE-IN ANIMATION ───────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── FORMS (shared) ──────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: .4rem;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--woo);
  box-shadow: 0 0 0 3px rgba(127,84,179,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ── MOBILE RESPONSIVE GLOBAL ────────────────── */
@media (max-width: 860px) {
  #navbar { overflow: hidden; }
  .nav-inner { padding: 0 1rem; position: relative; }
  .nav-logo { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .nav-logo-icon { width: 32px; height: 32px; flex-shrink: 0; }
}

@media (max-width: 480px) {
  .btn { max-width: 100%; }
  .btn-lg { padding: .9rem 1.5rem; font-size: .95rem; }
  .wa-float { bottom: 1.25rem; right: 1.25rem; }
  .wa-bubble { width: 52px; height: 52px; }
  .wa-bubble svg { width: 28px; height: 28px; }
  .trust-strip { padding: 1.25rem 0; }
  .trust-badge { font-size: .75rem; padding: .4rem .8rem; }
  .trust-label { display: none; }
  .section    { padding: 3rem 0; }
  .section-sm { padding: 2rem 0; }
}
