/* ============================================================
   SEOPeru — site.css
   Shared base for all internal pages.
   Tokens from assets/colors_and_type.css
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── LAYOUT ── */
.section { padding: 96px 0; }
.section.sm { padding: 64px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.center { text-align: center; }
.center .sec-lead { margin-left: auto; margin-right: auto; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.surface-2 { background: var(--surface-2); }

/* ── TYPE ── */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-teal);
}
.sec-h {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-h1);
  line-height: var(--lh-snug);
  letter-spacing: -.01em;
  color: var(--ink);
}
.sec-h b { font-weight: 700; }
.sec-lead { font-size: var(--fs-lead); line-height: var(--lh-body); color: var(--text-muted); }
.intro { max-width: 760px; margin: 0 auto 60px; text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; border: none; border-radius: var(--r-pill);
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  padding: 14px 32px; cursor: pointer; text-decoration: none; line-height: 1;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease),
    filter var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; box-shadow: var(--shadow-cta); }
.btn-red:hover { background: var(--red-hover); transform: translateY(-2px); }
.btn-grad { background: var(--brand-gradient); color: #fff; }
.btn-grad:hover { filter: brightness(1.07); transform: translateY(-2px); }
.btn-ghost-w {
  background: rgba(255,255,255,.14); color: #fff;
  border: 1.5px solid rgba(255,255,255,.36); backdrop-filter: blur(8px);
}
.btn-ghost-w:hover { background: rgba(255,255,255,.24); transform: translateY(-1px); }
.btn-ghost-ink {
  background: transparent; color: var(--ink);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost-ink:hover { background: var(--surface-2); transform: translateY(-1px); }
.btn-line {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  color: var(--green-teal);
  transition: gap var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn-line svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--dur) var(--ease); }
.btn-line:hover { color: var(--green-deep); gap: 13px; }
.btn-line:hover svg { transform: translateX(3px); }

/* ── NAV ── */
.nav-wrap {
  position: fixed; top: 18px; left: 0; right: 0;
  z-index: 100; padding: 0 24px; pointer-events: none;
}
.nav {
  position: relative; max-width: 1200px; margin: 0 auto;
  background: #fff; border-radius: var(--r-pill); box-shadow: var(--shadow-nav);
  display: flex; align-items: center; gap: 16px;
  padding: 10px 12px 10px 22px; pointer-events: all;
}
.nav-logo { height: 22px; flex-shrink: 0; }
.nav-links { display: flex; flex: 1; justify-content: center; gap: 2px; }
.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  padding: 8px 10px; border-radius: var(--r-pill); white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--green-teal); background: var(--surface-2); }
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta-mobile { display: none; }
.lang { display: flex; border: 1.5px solid var(--border-strong); border-radius: var(--r-pill); overflow: hidden; visibility: hidden; }
.lang button {
  border: none; background: none; padding: 7px 12px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  color: var(--text-muted); cursor: pointer; line-height: 1;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang button.on { background: var(--ink); color: #fff; }
.nav-cta {
  background: var(--red); color: #fff; border-radius: var(--r-pill);
  padding: 10px 20px; font-family: var(--font-sans); font-weight: 700;
  font-size: 13.5px; box-shadow: var(--shadow-cta); white-space: nowrap;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav-cta:hover { background: var(--red-hover); transform: translateY(-1px); }
.nav-burger {
  display: none; border: none; background: none; cursor: pointer;
  width: 38px; height: 38px; padding: 7px; border-radius: var(--r-md);
  color: var(--ink); align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-burger svg { width: 24px; height: 24px; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); padding: 8px 0 0;
}
.breadcrumb a { color: var(--text-muted); transition: color var(--dur) var(--ease); }
.breadcrumb a:hover { color: var(--green-teal); }
.breadcrumb .sep { color: var(--border-strong); user-select: none; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--brand-gradient-hero);
  padding: 160px 0 84px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background-image:
    repeating-radial-gradient(circle at 15% 85%, transparent 0, transparent 10px, rgba(255,255,255,.04) 10px, rgba(255,255,255,.04) 11px),
    repeating-radial-gradient(circle at 88% 20%, transparent 0, transparent 14px, rgba(255,255,255,.03) 14px, rgba(255,255,255,.03) 15px);
}
.page-hero .container { position: relative; z-index: 1; max-width: 800px; }
.page-hero .breadcrumb { justify-content: center; color: rgba(255,255,255,.55); margin-bottom: 28px; }
.page-hero .breadcrumb a, .page-hero .breadcrumb .sep { color: rgba(255,255,255,.55); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .eyebrow { color: rgba(255,255,255,.8); margin-bottom: 16px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: -.02em;
  color: #fff;
}
.page-hero h1 b { font-weight: 700; }
.page-hero .hero-lead {
  font-size: var(--fs-lead); line-height: var(--lh-body);
  color: rgba(255,255,255,.86); margin: 22px auto 0; max-width: 60ch;
}
.page-hero .hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }

/* ── ICON RING ── */
.ring { width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%; padding: 3px; background: var(--brand-gradient); display: flex; }
.ring.sm { width: 48px; height: 48px; padding: 2.5px; }
.ring .in { flex: 1; border-radius: 50%; background: var(--surface); display: flex; align-items: center; justify-content: center; }
.ring .in svg { width: 26px; height: 26px; color: var(--ink); }
.ring.sm .in svg { width: 19px; height: 19px; }

/* ── FEATURE CARD ── */
.fcard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fcard.grad { background: var(--brand-gradient); border-color: transparent; color: #fff; }
.fcard.grad h3, .fcard.grad p { color: #fff; }
.fcard.grad p { color: rgba(255,255,255,.85); }
.fcard h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); line-height: 1.25; }
.fcard p { font-size: var(--fs-small); line-height: var(--lh-body); color: var(--text-muted); }

/* ── STEP LIST ── */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-top: 64px; position: relative; }
.step-rail { position: absolute; top: 27px; left: calc(12.5% + 4px); right: calc(12.5% + 4px); height: 2px; background: var(--border); z-index: 0; }
.step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-gradient); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.step p { font-size: 14px; line-height: var(--lh-body); color: var(--text-muted); }

/* ── BENEFITS LIST ── */
.benefits { display: flex; flex-direction: column; gap: 14px; }
.benefits li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.55; color: var(--text); }
.ck { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-gradient); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.ck svg { width: 12px; height: 12px; color: #fff; }

/* ── METRICS STRIP ── */
.metrics-strip {
  background: var(--brand-gradient-hero);
  padding: 72px 28px;
  text-align: center;
}
.metrics-strip .sec-h { color: #fff; max-width: 560px; margin: 0 auto 56px; }
.metrics-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.metric { text-align: center; }
.num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem,1.5rem + 3vw,4rem); color: #fff; line-height: 1; margin-bottom: 10px; letter-spacing: -.02em; }
.lab { font-size: 14px; color: rgba(255,255,255,.78); line-height: 1.45; }

/* ── FAQ (details/summary) ── */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  padding: 20px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 16px; cursor: pointer;
  list-style: none; font-family: var(--font-sans); font-weight: 600;
  font-size: 16px; color: var(--ink); transition: color var(--dur) var(--ease);
}
.faq-item summary::-webkit-details-marker,
.faq-item summary::marker { display: none; }
.faq-item summary span { flex: 1; }
.faq-item[open] summary { color: var(--green-teal); }
.acc-icon {
  width: 32px; height: 32px; border-radius: 50%; background: var(--red);
  color: #fff; font-style: normal; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; line-height: 1;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.faq-item[open] .acc-icon { transform: rotate(45deg); background: var(--green-teal); }
.faq-item .acc-body {
  padding: 0 48px 22px 0;
  font-size: 15.5px; line-height: 1.65; color: var(--text);
}
.faq-item .acc-body p { margin-bottom: 12px; }
.faq-item .acc-body p:last-child { margin-bottom: 0; }
.faq-item .acc-body a { color: var(--green-teal); font-weight: 600; }
.faq-item .acc-body a:hover { color: var(--green-deep); }

/* ── CTA BLOCK ── */
.cta-block {
  background: var(--brand-gradient);
  border-radius: var(--r-xl);
  padding: 72px;
  text-align: center;
  color: #fff;
}
.cta-block h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.6rem,1.1rem+1.8vw,2.4rem); line-height: var(--lh-snug); color: #fff; margin-bottom: 16px; }
.cta-block h2 b { font-weight: 700; }
.cta-block p { font-size: var(--fs-lead); color: rgba(255,255,255,.86); margin-bottom: 36px; max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-block .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── WINE CTA BLOCK ── */
.cta-wine { background: var(--wine-gradient); }

/* ── LOGO WALL ── */
.logo-wall { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.logo-cell { background: var(--surface-2); border-radius: var(--r-md); height: 80px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; transition: background var(--dur) var(--ease); }
.logo-cell:hover { background: var(--surface-3); }
.logo-cell img { height: 36px; width: 100%; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.logo-cell:hover img { filter: none; opacity: 1; }

/* ── TEAM CARDS ── */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.tcard-person { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.tcard-person image-slot, .tcard-person .team-photo { height: 260px; width: 100%; display: block; }
.tcard-person .person-info { padding: 20px; }
.tcard-person h4 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 4px; }
.tcard-person .role { font-size: 13px; color: var(--green-teal); font-weight: 600; margin-bottom: 10px; }
.tcard-person p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }

/* ── TESTIMONIALS ── */
.tgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.tcard { background: var(--surface-2); border-radius: var(--r-lg); padding: 32px 28px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 16px; }
.tcard p { font-size: var(--fs-small); line-height: var(--lh-body); color: var(--ink-2); position: relative; z-index: 1; }
.who { display: flex; flex-direction: column; gap: 3px; position: relative; z-index: 1; }
.who b { font-size: 14px; color: var(--ink); font-weight: 700; }
.who span { font-size: 13px; color: var(--text-muted); }
.mark { position: absolute; right: 20px; bottom: -24px; font-family: Georgia,serif; font-size: 140px; color: rgba(0,0,0,.07); line-height: 1; z-index: 0; user-select: none; }

/* ── BLOG GRID ── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.bcard { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); display: flex; flex-direction: column; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.bcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bcard img, .bcard image-slot { height: 200px; width: 100%; flex-shrink: 0; object-fit: cover; }
.bcard image-slot { display: block; }
.bbody { padding: 22px 20px; flex: 1; }
.bcat { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green-teal); margin-bottom: 10px; }
.bbody h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); line-height: 1.3; margin-bottom: 10px; }
.bbody p { font-size: 14px; line-height: var(--lh-body); color: var(--text-muted); }
.blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }

/* ── ARTICLE LAYOUT ── */
.article-hero {
  background: var(--surface-2); padding: 140px 0 56px;
}
.article-hero .container { max-width: 800px; }
.article-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.article-meta .sep { color: var(--border-strong); }
.article-meta .tag { background: var(--surface-3); border-radius: var(--r-pill); padding: 3px 10px; font-weight: 600; color: var(--text-muted); font-size: 12px; }
.article-cover { margin: 56px 0 0; border-radius: var(--r-xl); overflow: hidden; }
.article-cover img { width: 100%; height: auto; display: block; }
.article-body { max-width: 760px; margin: 0 auto; padding: 64px 28px; }
.article-body h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); margin: 40px 0 16px; line-height: 1.3; }
.article-body h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); margin: 32px 0 12px; }
.article-body p { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text); margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px 20px; }
.article-body li { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--text); margin-bottom: 8px; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body a:not(.btn) { color: var(--green-teal); font-weight: 600; }
.article-body a:not(.btn):hover { color: var(--green-deep); }
.article-body blockquote { border-left: 4px solid var(--green-teal); padding: 12px 20px; background: var(--surface-2); border-radius: 0 var(--r-md) var(--r-md) 0; margin: 24px 0; font-style: italic; color: var(--ink-2); }
.article-cta { background: var(--brand-gradient); border-radius: var(--r-xl); padding: 48px 40px; text-align: center; margin: 48px 0; color: #fff; }
.article-cta h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: #fff; margin-bottom: 12px; }
.article-cta p { font-size: 15.5px; color: rgba(255,255,255,.86); margin-bottom: 28px; }
.article-related { border-top: 1px solid var(--border); padding-top: 48px; margin-top: 48px; }
.article-related h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin-bottom: 24px; }

/* ── BADGE ── */
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 8px 16px; font-size: 13px; font-weight: 600; color: var(--ink); }
.badge.grad { background: var(--brand-gradient); border-color: transparent; color: #fff; }
.badge.red { background: var(--red); border-color: transparent; color: #fff; }
.badge svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── TAG ── */
.tag-pill { display: inline-flex; border-radius: var(--r-pill); padding: 4px 12px; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.tag-pill.teal { background: rgba(43,167,155,.12); color: var(--green-teal); }
.tag-pill.red { background: rgba(232,70,42,.1); color: var(--red); }

/* ── ICON LIST ── */
.icon-list { display: flex; flex-direction: column; gap: 16px; }
.icon-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15.5px; line-height: 1.5; color: var(--text); }
.icon-list .iw { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.icon-list .iw svg { width: 20px; height: 20px; color: var(--green-teal); }

/* ── CONTACT FORM BLOCK ── */
#contacto, .contact-block { background: var(--brand-gradient-hero); }
.final { max-width: 1200px; margin: 0 auto; padding: 96px 28px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.final-copy { display: flex; flex-direction: column; gap: 20px; }
.final-copy h2 { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-h1); line-height: var(--lh-snug); letter-spacing: -.01em; color: #fff; }
.final-copy h2 b { font-weight: 700; }
.final-copy .sub { font-size: var(--fs-lead); line-height: var(--lh-body); color: rgba(255,255,255,.84); }
.final-contact { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.final-contact a { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.88); font-size: var(--fs-small); font-weight: 500; transition: color var(--dur) var(--ease); }
.final-contact a:hover { color: #fff; }
.ci { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci svg { width: 18px; height: 18px; }
.form-card { background: var(--surface); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-family: var(--font-sans); font-weight: 500; font-size: 13px; color: var(--ink-2); }
.field input, .field select, .field textarea { font-family: var(--font-sans); font-size: 14.5px; color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 12px 14px; outline: none; width: 100%; -webkit-appearance: none; appearance: none; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235C6770' d='M0 0h12L6 8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-teal); box-shadow: 0 0 0 4px rgba(43,167,155,.14); }
.field textarea { resize: vertical; min-height: 88px; }
.check { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: 13.5px; color: var(--text); cursor: pointer; margin-bottom: 16px; user-select: none; }
.check input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--border-strong); background: var(--surface); flex-shrink: 0; position: relative; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.check input[type="checkbox"]:checked + .box { background: var(--brand-gradient); border-color: transparent; }
.check input[type="checkbox"]:checked + .box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(43deg); }
.form-card .btn { width: 100%; justify-content: center; }
.form-msg { margin-top: 14px; padding: 12px 16px; border-radius: var(--r-md); font-family: var(--font-sans); font-size: 14px; font-weight: 500; }
.form-msg--ok { background: #e6f9f1; color: #1a7f54; }
.form-msg--error { background: #fde8e8; color: #c0392b; }

/* ── FOOTER ── */
.footer { background: var(--ink); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 56px; }
.footer-logo { height: 26px; margin-bottom: 20px; }
.footer-about { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.5); max-width: 34ch; }
.footer h4 { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; margin-bottom: 18px; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul li a { font-size: 13.5px; color: rgba(255,255,255,.52); transition: color var(--dur) var(--ease); }
.footer ul li a:hover { color: var(--green-bright); }
.crow { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.crow svg { width: 15px; height: 15px; color: rgba(255,255,255,.38); flex-shrink: 0; }
.crow a { font-size: 13.5px; color: rgba(255,255,255,.52); transition: color var(--dur) var(--ease); }
.crow a:hover { color: var(--green-bright); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cr { font-size: 13px; color: rgba(255,255,255,.32); }
.socials { display: flex; gap: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.07); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.55); transition: background var(--dur) var(--ease), color var(--dur) var(--ease); }
.socials a:hover { background: rgba(255,255,255,.14); color: var(--green-bright); }
.socials svg { width: 18px; height: 18px; }

/* ── BLOG SEARCH ── */
.blog-search-hero { padding: 28px 0 0; max-width: 640px; margin: 0 auto; }
.blog-search-wrap { position: relative; }
.blog-search-wrap svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: rgba(255,255,255,.55); pointer-events: none; transition: color var(--dur) var(--ease); }
.blog-search-input { width: 100%; padding: 15px 18px 15px 48px; font-family: var(--font-sans); font-size: 15.5px; color: var(--ink); background: rgba(255,255,255,.92); border: 1.5px solid transparent; border-radius: var(--r-lg); outline: none; transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.blog-search-input::placeholder { color: var(--text-muted); }
.blog-search-input:focus { background: #fff; border-color: var(--green-teal); box-shadow: 0 0 0 4px rgba(43,167,155,.18); }
.blog-search-input:focus + svg, .blog-search-wrap:focus-within svg { color: var(--green-teal); }

/* ── BLOG FILTER BAR ── */
.blog-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; flex-wrap: wrap; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--r-pill); padding: 7px 16px; font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--text); cursor: pointer; transition: all var(--dur) var(--ease); white-space: nowrap; }
.filter-pill:hover { border-color: var(--green-teal); color: var(--green-teal); background: rgba(43,167,155,.06); }
.filter-pill.active { background: var(--green-teal); border-color: var(--green-teal); color: #fff; }
.pill-count { opacity: .6; font-weight: 400; font-size: 12px; }
.blog-count { font-size: 13px; color: var(--text-muted); white-space: nowrap; flex-shrink: 0; }

/* ── BLOG FEATURED LABEL ── */
.blog-section-label { font-family: var(--font-sans); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }

/* ── BCARD NO IMAGE ── */
.bcard-no-img { height: 200px; width: 100%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── NO RESULTS ── */
.blog-no-results { text-align: center; padding: 72px 28px; display: none; }
.blog-no-results .code { font-size: 3rem; margin-bottom: 12px; }
.blog-no-results h3 { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.blog-no-results p { color: var(--text-muted); font-size: 15px; }

/* ── LOAD MORE ── */
.load-more-wrap { text-align: center; padding-top: 48px; }
.btn-load-more { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border: 1.5px solid var(--border); border-radius: var(--r-pill); font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--text); background: var(--surface); cursor: pointer; transition: all var(--dur) var(--ease); }
.btn-load-more:hover { border-color: var(--green-teal); color: var(--green-teal); background: rgba(43,167,155,.05); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links a { font-size: 12px; padding: 7px 8px; }
  .lang { display: none; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .step-rail { display: none; }
  .metrics-grid { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .logo-wall { grid-template-columns: repeat(4,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
  .tgrid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .nav-burger { display: flex; }
  .nav { padding-right: 6px; }
  .nav-right { margin-left: auto; }
  .nav-cta-desktop { display: none; }
  .nav-cta-mobile { display: flex; justify-content: center; margin-top: 6px; color: #fff; }
  .nav-links { display: none; flex-direction: column; align-items: center; position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-nav); padding: 12px; gap: 2px; z-index: 10; }
  .nav-links.nav-open { display: flex; }
  .nav-links a { border-radius: var(--r-md); padding: 11px 14px; font-size: 14px; text-align: center; width: 100%; }
  .nav-links a.nav-cta-mobile { color: #fff; border-radius: var(--r-pill); padding: 12px 28px; width: auto; }
  .page-hero { padding: 120px 0 64px; }
  .page-hero h1 { font-size: clamp(2rem,7vw,3rem); }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: repeat(2,1fr); }
  .logo-wall { grid-template-columns: repeat(3,1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .tgrid { grid-template-columns: 1fr; }
  .cta-block { padding: 48px 32px; }
  .final { grid-template-columns: 1fr; gap: 48px; padding: 72px 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer { padding: 64px 0 28px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .article-body { padding: 48px 20px; }
  .article-hero { padding: 120px 0 48px; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .page-hero { padding: 100px 0 52px; }
  .page-hero .hero-ctas { flex-direction: column; }
  .page-hero .hero-ctas .btn { width: 100%; text-align: center; }
  .grid-4 { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .logo-wall { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .cta-block { padding: 36px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .blog-head { flex-direction: column; align-items: flex-start; }
  .nav-cta { padding: 10px 16px; font-size: 13px; }
  .article-hero { padding: 100px 0 36px; }
  .article-hero h1 { font-size: clamp(1.5rem, 5vw + .5rem, 2rem); }
  .article-cover { margin-top: 28px; }
  .article-cta { padding: 32px 20px; }
  .article-cta h3 { font-size: 1.2rem; }
  .blog-filter-bar { gap: 12px; }
  .filter-pills { gap: 6px; }
  .filter-pill { padding: 6px 12px; font-size: 12px; }
  .pill-count { display: none; }
  .blog-search-hero { padding: 20px 0 0; }
}

/* ---- WhatsApp floating button ---- */
.wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
  transition: transform var(--dur,240ms) var(--ease,cubic-bezier(.22,.61,.36,1)), box-shadow var(--dur,240ms);
  text-decoration: none;
}
.wa-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.45); }
.wa-btn:active { transform: scale(.97); }
