/* =========================================================
   CONSULTOR SEO MEXICO — styles.css
   Primary: #113e5b | Accent: #ff9929
   ========================================================= */

:root {
  --primary:        #113e5b;
  --primary-dark:   #0d2f45;
  --primary-light:  #1a5478;
  --accent:         #ff9929; /* naranja logo — ajusta si cambia */
  --accent-hover:   #e6841f;
  --accent-light:   #fff8ee;
  --wa:             #25D366;
  --wa-hover:       #1DA851;
  --bg:             #ffffff;
  --bg-gray:        #f8fafc;
  --bg-dark:        #071d2c;
  --text:           #0f172a;
  --text-sec:       #475569;
  --border:         #e2e8f0;
  --max-w:          1140px;
  --r:              12px;
  --sh:             0 4px 24px rgba(0,0,0,.08);
  --sh-lg:          0 12px 48px rgba(0,0,0,.15);
  --t:              .2s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: box-shadow var(--t);
}
header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.12); }

nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo img { height: 44px; width: auto; }
.logo-text { font-size: 1.2rem; font-weight: 800; color: var(--primary); letter-spacing: -.4px; }
.logo-dot { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-sec);
  transition: color var(--t);
}
.nav-links a:hover { color: var(--primary); }

/* Dropdown servicios */
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: ' ▾'; font-size: .7em; opacity: .55; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + .6rem);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .4rem;
  min-width: 185px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 200;
}
.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block; padding: .5rem .85rem;
  border-radius: 7px; color: var(--text);
  font-size: .875rem; font-weight: 500;
  transition: background var(--t), color var(--t);
}
.dropdown-menu a:hover { background: var(--bg-gray); color: var(--primary); }
.mobile-nav-label {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-sec); padding: .25rem 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--wa);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: .55rem 1.1rem;
  border-radius: 50px;
  transition: background var(--t), transform var(--t);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--wa-hover); transform: translateY(-1px); }
.nav-cta svg { width: 17px; height: 17px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 65px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 99;
  box-shadow: var(--sh);
}
.mobile-menu.open { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-menu a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a.btn-wa-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  background: var(--wa);
  color: #fff;
  border-radius: 50px;
  padding: .8rem;
  border: none;
  margin-top: .25rem;
}

/* ===== REUSABLE ===== */
.container { max-width: var(--max-w); margin: 0 auto; }
section { padding: 5rem 1.5rem; }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-sec);
  max-width: 580px;
  line-height: 1.7;
}

/* Buttons */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--wa);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: .9rem 1.75rem;
  border-radius: 50px;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 4px 20px rgba(37,211,102,.3);
}
.btn-wa:hover { background: var(--wa-hover); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(37,211,102,.45); }
.btn-wa svg { width: 22px; height: 22px; fill: #fff; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: .9rem 1.75rem;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,.35);
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }

.btn-accent {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem 1.75rem;
  border-radius: 50px;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 4px 16px rgba(255,153,41,.35);
}
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,153,41,.45); }

/* ===== HERO ===== */
.hero {
  padding: 7rem 1.5rem 4.5rem;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 0%, rgba(255,153,41,.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,153,41,.18);
  border: 1px solid rgba(255,153,41,.4);
  color: #fed7aa;
  font-size: .8rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: .03em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 820px;
  margin: 0 auto 1.25rem;
  letter-spacing: -.02em;
}
.hero h1 span { color: #fed7aa; }

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 720px;
  margin: 0 auto;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat { text-align: center; }
.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fed7aa;
  line-height: 1;
  display: block;
}
.stat-lbl {
  font-size: .8rem;
  color: #94a3b8;
  margin-top: .3rem;
  line-height: 1.4;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--bg-gray);
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.trust-lbl {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-sec);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.logos-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}
.logo-client {
  height: 34px;
  width: auto;
  filter: grayscale(100%) opacity(.5);
  transition: filter var(--t), opacity var(--t);
  object-fit: contain;
}
.logo-client:hover { filter: grayscale(0%) opacity(1); }

/* ===== PAIN POINTS ===== */
.pain { background: var(--bg); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 3rem 0 2.5rem;
}
.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.pain-item:hover { border-color: var(--accent); box-shadow: var(--sh); }
.pain-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1.2; }
.pain-item p { font-size: .95rem; color: var(--text); line-height: 1.55; font-weight: 500; }
.pain-cta {
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 20px;
  color: #fff;
}
.pain-cta p { font-size: 1.1rem; margin-bottom: 1.5rem; color: #e2e8f0; }
.pain-cta strong { color: #fff; }

/* ===== ABOUT ===== */
.about { background: var(--bg-gray); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-photo {
  background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
  border-radius: 20px;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.about-photo-placeholder {
  text-align: center;
  color: rgba(255,255,255,.4);
  font-size: .85rem;
  padding: 2rem;
}
.about-photo-placeholder svg { width: 64px; height: 64px; margin: 0 auto 1rem; opacity: .3; }
.about-content { display: flex; flex-direction: column; gap: 1.25rem; }
.about-content p { font-size: 1rem; color: var(--text-sec); line-height: 1.8; }
.about-content strong { color: var(--text); }
.skills { display: flex; flex-direction: column; gap: .6rem; margin-top: .5rem; }
.skill-row {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.skill-name { font-size: .82rem; min-width: 140px; color: var(--text-sec); }
.skill-bar { flex: 1; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.skill-fill { height: 100%; background: var(--primary); border-radius: 3px; }

/* ===== CARDS (Para quien) ===== */
.for-who { background: var(--bg); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.card {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
}
.card:hover { box-shadow: var(--sh); transform: translateY(-3px); border-color: var(--accent); }
.card-icon { font-size: 2.25rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
.card p { font-size: .95rem; color: var(--text-sec); line-height: 1.65; }
.card-result {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1.25rem;
  background: var(--accent-light);
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  padding: .35rem .8rem;
  border-radius: 50px;
  border: 1px solid rgba(255,153,41,.2);
}

/* ===== RESULTS ===== */
.results { background: var(--bg-dark); color: #fff; }
.results .section-title { color: #fff; }
.results .section-sub { color: #94a3b8; }
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.result-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r);
  padding: 2rem;
  transition: background var(--t), border-color var(--t);
}
.result-card:hover { background: rgba(255,255,255,.08); border-color: rgba(255,153,41,.4); }
.result-metric { font-size: 3rem; font-weight: 800; color: #fed7aa; line-height: 1; margin-bottom: .5rem; }
.result-desc { font-size: 1rem; color: #cbd5e1; font-weight: 600; margin-bottom: .75rem; }
.result-detail { font-size: .85rem; color: #64748b; line-height: 1.6; }
.result-tag {
  display: inline-block;
  margin-top: 1rem;
  background: rgba(255,153,41,.15);
  color: #fed7aa;
  font-size: .78rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 50px;
  border: 1px solid rgba(255,153,41,.3);
}

/* ===== APEM ===== */
.how { background: var(--bg-gray); }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.step { text-align: center; padding: 1.5rem; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--text-sec); line-height: 1.6; }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .steps-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .steps-5 { grid-template-columns: 1fr; } }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-size: 4rem;
  color: var(--accent);
  line-height: 1;
  font-family: Georgia, serif;
  opacity: .25;
}
.stars { color: #f59e0b; font-size: 1rem; margin-bottom: 1rem; }
.testimonial blockquote { font-size: 1rem; line-height: 1.7; font-style: italic; margin-bottom: 1.5rem; }
.t-author { display: flex; align-items: center; gap: .75rem; }
.t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.t-name { font-weight: 700; font-size: .95rem; }
.t-role { font-size: .82rem; color: var(--text-sec); }

/* ===== SERVICES ===== */
.services { background: var(--bg-gray); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.service-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow var(--t), border-color var(--t);
}
.service-item:hover { box-shadow: var(--sh); border-color: var(--primary); }
.service-icon { font-size: 1.75rem; flex-shrink: 0; line-height: 1; }
.service-item h3 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; }
.service-item p { font-size: .85rem; color: var(--text-sec); line-height: 1.5; }

/* ===== QUÉ ES UN CONSULTOR SEO ===== */
.what-is { background: var(--bg-gray); }

/* ===== WHY ME ===== */
.why-me { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-items { display: flex; flex-direction: column; gap: 1.5rem; }
.why-item { display: flex; align-items: flex-start; gap: 1rem; }
.why-check {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .85rem;
  font-weight: 700;
}
.why-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.why-item p { font-size: .9rem; color: var(--text-sec); line-height: 1.6; }
.why-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--bg-dark) 100%);
  border-radius: 20px;
  padding: 2.5rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.why-stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 1rem 1.25rem;
}
.why-stat .num { font-size: 1.75rem; font-weight: 800; color: #fed7aa; }
.why-stat .desc { font-size: .85rem; color: #cbd5e1; line-height: 1.4; }

/* ===== CONTACT ===== */
.contact { background: var(--bg-gray); }
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}
.contact-info h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info p { font-size: 1rem; color: var(--text-sec); line-height: 1.7; margin-bottom: 1rem; }
.contact-links { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
.c-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.25rem;
  border-radius: var(--r);
  font-weight: 600;
  font-size: .95rem;
  color: #fff;
  transition: transform var(--t), box-shadow var(--t);
}
.c-link:hover { transform: translateY(-2px); box-shadow: var(--sh); }
.c-link.wa { background: var(--wa); }
.c-link.email { background: var(--primary); }
.c-link svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Form */
form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--sh);
}
.form-group { margin-bottom: 1.25rem; }
label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; }
.req { color: var(--accent); margin-left: 2px; }
input, select, textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  font-family: inherit;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(17,62,91,.1);
}
input.invalid, select.invalid { border-color: #ef4444; }
textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%;
  padding: .95rem;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 4px 16px rgba(255,153,41,.3);
}
.btn-submit:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,153,41,.4); }
.form-note { text-align: center; font-size: .78rem; color: var(--text-sec); margin-top: .75rem; }

/* ===== FAQ ===== */
.faq { background: var(--bg); }
.faq-list {
  max-width: 720px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
details {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
summary {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--t);
}
summary:hover { background: var(--border); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.25rem; color: var(--accent); font-weight: 400; flex-shrink: 0; }
details[open] summary::after { content: '-'; }
details p { padding: 0 1.5rem 1.25rem; font-size: .95rem; color: var(--text-sec); line-height: 1.7; }

/* ===== FINAL CTA ===== */
.final-cta {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
  padding: 6rem 1.5rem;
}
.final-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.2;
}
.final-cta p { font-size: 1.1rem; color: #94a3b8; margin-bottom: 2.5rem; }
.final-cta-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ===== FOOTER ===== */
footer { background: #050e17; font-size: .875rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.footer-main {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}
.footer-logo { font-size: 1.3rem; font-weight: 800; color: #fff; letter-spacing: -.4px; margin-bottom: .75rem; }
.footer-logo span { color: var(--accent); }
.footer-brand p { color: #64748b; line-height: 1.65; margin-bottom: 1.25rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 7px;
  color: #64748b; transition: all var(--t);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-col h4 {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: #94a3b8; margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-col ul li a { color: #64748b; transition: color var(--t); }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item { display: flex; align-items: center; gap: .55rem; margin-bottom: .6rem; color: #64748b; }
.footer-contact-item svg { flex-shrink: 0; opacity: .55; }
.footer-contact-item a { color: #64748b; transition: color var(--t); }
.footer-contact-item a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { color: #334155; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: #334155; transition: color var(--t); font-size: .82rem; }
.footer-legal a:hover { color: #94a3b8; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) {
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== STICKY WA ===== */
.sticky-wa {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 99;
  width: 58px; height: 58px;
  background: var(--wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  transition: transform var(--t), box-shadow var(--t);
}
.sticky-wa:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
.sticky-wa svg { width: 30px; height: 30px; fill: #fff; }

/* ===== LEGAL PAGES ===== */
.legal-hero {
  padding: 7rem 1.5rem 4rem;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%);
  color: #fff;
  text-align: center;
}
.legal-hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.2; }
.legal-hero p { font-size: 1rem; color: #94a3b8; margin-top: .75rem; }
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.legal-content h2 { font-size: 1.4rem; font-weight: 700; margin: 2rem 0 .75rem; color: var(--primary); }
.legal-content p { font-size: .95rem; color: var(--text-sec); line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { font-size: .95rem; color: var(--text-sec); line-height: 1.8; margin-bottom: .25rem; }
.legal-content a { color: var(--primary); text-decoration: underline; }
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 2rem;
}
.legal-back:hover { text-decoration: underline; }

/* ===== LINK SCORING ===== */
.scoring-box {
  background: var(--bg-dark);
  border-radius: var(--r);
  padding: 2.5rem;
  color: #fff;
}
.scoring-box h3 { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 2rem; }
.score-row { margin-bottom: 1.25rem; }
.score-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.score-label span { font-size: .88rem; color: #cbd5e1; }
.score-label strong { font-size: .88rem; color: var(--accent); font-weight: 700; }
.score-track { height: 8px; background: rgba(255,255,255,.1); border-radius: 4px; overflow: hidden; }
.score-fill { height: 100%; background: linear-gradient(90deg, var(--primary-light), var(--accent)); border-radius: 4px; }

.link-types { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
.link-type {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem 1.5rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.link-type:hover { border-color: var(--accent); box-shadow: var(--sh); }
.lt-icon {
  width: 38px; height: 38px;
  background: rgba(255,153,41,.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.link-type h3 { font-size: .97rem; font-weight: 700; color: var(--primary); margin-bottom: .25rem; }
.link-type p { font-size: .87rem; color: var(--text-sec); line-height: 1.55; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.compare-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1.1rem;
  border-radius: var(--r);
  background: var(--bg-gray);
  border: 1px solid var(--border);
}
.compare-item.bad { border-color: #fecaca; background: #fff5f5; }
.compare-item.good { border-color: #bbf7d0; background: #f0fdf4; }
.ci-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }
.compare-item p { font-size: .87rem; color: var(--text-sec); line-height: 1.5; }
.compare-item p strong { color: var(--text); display: block; margin-bottom: .2rem; }

/* ===== TAGS / CHIPS ===== */
.tags-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.tag {
  display: inline-block;
  background: rgba(17,62,91,.08);
  color: var(--primary);
  border: 1px solid rgba(17,62,91,.15);
  border-radius: 50px;
  padding: .2rem .7rem;
  font-size: .75rem;
  font-weight: 600;
  white-space: nowrap;
}
.tag.orange { background: rgba(255,153,41,.1); color: var(--accent); border-color: rgba(255,153,41,.25); }
.tag.dark { background: rgba(7,29,44,.7); color: #cbd5e1; border-color: rgba(255,255,255,.15); }

/* ===== AUDIT PHASES ===== */
.audit-phases { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 3rem; }
.audit-phase {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--r);
  padding: 2rem;
  transition: box-shadow var(--t);
}
.audit-phase:hover { box-shadow: var(--sh); }
.phase-header { display: flex; align-items: flex-start; gap: 1.25rem; margin-bottom: 1rem; }
.phase-num {
  width: 42px; height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
}
.phase-header h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: .25rem; color: var(--primary); }
.phase-header p { font-size: .9rem; color: var(--text-sec); line-height: 1.6; }
.phase-body { margin-top: 1rem; }
.phase-body ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .4rem .75rem; }
.phase-body ul li { display: flex; align-items: flex-start; gap: .4rem; font-size: .88rem; color: var(--text-sec); }
.phase-body ul li::before { content: '→'; color: var(--accent); flex-shrink: 0; font-weight: 700; }

/* ===== PROBLEMS DARK BLOCK ===== */
.problems-dark {
  background: var(--bg-dark);
  color: #fff;
  padding: 5rem 1.5rem;
}
.problems-dark .section-title { color: #fff; }
.problems-dark .section-sub { color: #94a3b8; }
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.problem-item {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  padding: 1.25rem;
  transition: background var(--t);
}
.problem-item:hover { background: rgba(255,255,255,.08); }
.problem-item .p-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: .4rem;
}
.problem-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; color: #e2e8f0; }
.problem-item p { font-size: .83rem; color: #64748b; line-height: 1.55; }

/* ===== SERVICE PAGES ===== */
.breadcrumb {
  padding: 1rem 0;
  font-size: .82rem;
  color: var(--text-sec);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--accent); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--text-sec); opacity: .5; }

.service-hero { padding: 7rem 1.5rem 4.5rem; background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary) 100%); color: #fff; }
.service-hero-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; }
.service-hero .hero-badge { background: rgba(255,153,41,.18); border: 1px solid rgba(255,153,41,.4); color: #fed7aa; font-size: .8rem; font-weight: 600; padding: .35rem .9rem; border-radius: 50px; margin-bottom: 1.5rem; display: inline-block; letter-spacing: .03em; }
.service-hero h1 { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 1.25rem; }
.service-hero h1 span { color: #fed7aa; }
.service-hero .sub { font-size: 1.05rem; color: #cbd5e1; line-height: 1.7; margin-bottom: 2rem; }
.service-hero .hero-ctas { justify-content: flex-start; }

.checklist { list-style: none; display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.5rem; }
.checklist li { display: flex; align-items: flex-start; gap: .6rem; font-size: .95rem; color: #cbd5e1; }
.checklist li::before { content: '✓'; color: #fed7aa; font-weight: 800; flex-shrink: 0; margin-top: .05rem; }

.hero-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r);
  padding: 2rem;
  backdrop-filter: blur(4px);
}
.hero-box h3 { font-size: .95rem; font-weight: 700; margin-bottom: 1rem; color: #fed7aa; }
.hero-box ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.hero-box ul li { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .88rem; }
.hero-box ul li:last-child { border: none; }
.hero-box ul li strong { color: #fed7aa; font-size: 1rem; }

.include-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.include-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.include-item:hover { border-color: var(--accent); box-shadow: var(--sh); }
.include-item .inc-icon { font-size: 1.75rem; margin-bottom: .75rem; }
.include-item h3 { font-size: .97rem; font-weight: 700; margin-bottom: .4rem; color: var(--primary); }
.include-item p { font-size: .87rem; color: var(--text-sec); line-height: 1.55; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .why-grid,
  .about-grid,
  .contact-wrap,
  .service-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .hero { padding: 6rem 1.25rem 3rem; }
  .hero-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.75rem; }
  section { padding: 4rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .btn-wa, .btn-outline, .btn-accent { justify-content: center; }
  .hero-stats { gap: 1rem; }
  .stat-num { font-size: 1.5rem; }
  form { padding: 1.75rem; }
  .final-cta-btns { flex-direction: column; align-items: center; }
}
