/* ================================================================
   Ads'n'Seo — Main Stylesheet
   Version: 1.0
   ================================================================ */

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1a1a2e;
  background: #fff;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────── */
h1 { font-size: clamp(1.7rem, 6vw, 3rem);   font-weight: 800; line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 5vw, 2.2rem); font-weight: 700; line-height: 1.3; }
h3 { font-size: clamp(.95rem, 3vw, 1.2rem); font-weight: 700; line-height: 1.4; }
h4 { font-size: 1rem; font-weight: 600; }
p  { margin-bottom: .9rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

/* ── LAYOUT ─────────────────────────────────────────────────────── */
.container     { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section       { padding: 64px 0; }
.section-alt   { background: #f8fafc; }
.section-dark  { background: #1a1a2e; color: #fff; }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { margin-bottom: 10px; }
.section-title p  { color: #64748b; font-size: 1rem; max-width: 600px; margin: 0 auto; }

/* ── BUTTONS ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 8px; font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all .25s; border: 2px solid transparent;
  text-align: center; min-height: 48px; white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary  { background: #2563eb; color: #fff;    border-color: #2563eb; }
.btn-primary:hover  { background: #1d4ed8; box-shadow: 0 6px 20px rgba(37,99,235,.35); }
.btn-outline  { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover  { background: rgba(255,255,255,.1); }
.btn-white    { background: #fff; color: #2563eb; border-color: #fff; }
.btn-white:hover    { background: #f0f7ff; }
.btn-block    { width: 100%; }

/* ── HEADER ─────────────────────────────────────────────────────── */
#hdr {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  transition: box-shadow .3s;
}
#hdr.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.hdr-inner    { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo         { font-size: 1.35rem; font-weight: 800; color: #1a1a2e; white-space: nowrap; flex-shrink: 0; }
.logo span    { color: #2563eb; }

/* Desktop nav */
.nav { display: none; align-items: center; gap: 4px; }
.nav a {
  font-size: .88rem; font-weight: 500; color: #475569;
  padding: 8px 10px; border-radius: 6px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav a:hover { color: #2563eb; background: #eff6ff; }
.nav .btn { padding: 9px 18px; font-size: .85rem; min-height: 40px; margin-left: 6px; }

/* Hamburger */
.hamburger {
  display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer; border-radius: 8px;
  flex-shrink: 0; -webkit-tap-highlight-color: transparent;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: #1a1a2e;
  border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none; flex-direction: column;
  background: #fff; border-top: 1px solid #f1f5f9;
  padding: 12px 20px 20px; gap: 2px;
  max-height: calc(100vh - 64px); overflow-y: auto;
}
.nav-drawer.open { display: flex; }
.nav-drawer a { font-size: 1rem; font-weight: 500; color: #374151; padding: 13px 4px; border-bottom: 1px solid #f8fafc; display: block; }
.nav-drawer a:last-child { border: none; }
.nav-drawer .btn { margin-top: 8px; width: 100%; justify-content: center; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .hamburger { display: none; }
}

/* ── HERO ────────────────────────────────────────────────────────── */
#hero {
  padding: 80px 0 64px;
  background: linear-gradient(150deg, #0f172a 0%, #1e3a8a 60%, #1a1a2e 100%);
  color: #fff; overflow: hidden;
}
.hero-wrap { display: grid; gap: 40px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(37,99,235,.25); color: #93c5fd;
  border: 1px solid rgba(147,197,253,.3);
  padding: 6px 14px; border-radius: 30px;
  font-size: .8rem; font-weight: 600; margin-bottom: 18px;
}
.hero-content h1 { margin-bottom: 16px; }
.hero-sub { font-size: 1rem; color: rgba(255,255,255,.82); margin-bottom: 28px; line-height: 1.75; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-img { display: none; }

@media (min-width: 860px) {
  .hero-wrap { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero-img  { display: block; }
  .hero-img svg { width: 100%; height: auto; border-radius: 14px; }
}

/* ── ABOUT ───────────────────────────────────────────────────────── */
.about-grid { display: grid; gap: 36px; }
.about-points { display: flex; flex-direction: column; gap: 20px; }
.ap { display: flex; gap: 14px; align-items: flex-start; }
.ap-icon {
  flex-shrink: 0; width: 38px; height: 38px;
  background: #eff6ff; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: #2563eb;
}
.about-aside {
  background: #f8fafc; border-radius: 14px;
  padding: 28px; border-left: 4px solid #2563eb;
}
.about-aside svg { width: 100%; height: auto; border-radius: 10px; margin-bottom: 18px; }
.about-aside h3  { margin-bottom: 12px; }

@media (min-width: 760px) { .about-grid { grid-template-columns: 1fr 1fr; } }

/* ── FEATURES ────────────────────────────────────────────────────── */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fc {
  background: #fff; border-radius: 12px; padding: 22px 18px;
  border: 1px solid #e2e8f0; text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.fc:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(37,99,235,.1); border-color: #2563eb; }
.fc-icon  { font-size: 1.9rem; margin-bottom: 12px; }
.fc h3    { margin-bottom: 6px; font-size: .9rem; }
.fc p     { color: #64748b; font-size: .82rem; }

@media (min-width: 700px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── WHY PRIVATE ─────────────────────────────────────────────────── */
#why-private { background: linear-gradient(135deg, #1e3a8a, #2563eb); color: #fff; }
.why-inner   { display: grid; gap: 36px; }
.why-text h2 { margin-bottom: 16px; }
.why-text p  { color: rgba(255,255,255,.85); margin-bottom: 24px; font-size: .97rem; line-height: 1.75; }
.why-img     { border-radius: 12px; overflow: hidden; margin-top: 24px; }
.why-img svg { width: 100%; height: auto; }
.why-cards   { display: flex; flex-direction: column; gap: 14px; }
.wc {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,255,255,.1); border-radius: 12px; padding: 16px;
}
.wc-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  background: rgba(255,255,255,.18); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.wc h4 { color: #fff; margin-bottom: 3px; font-size: .95rem; }
.wc p  { color: rgba(255,255,255,.72); font-size: .85rem; margin: 0; }

@media (min-width: 760px) { .why-inner { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ── SERVICES ────────────────────────────────────────────────────── */
.srv-flow { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; margin-bottom: 28px; }
.srv-flow svg { min-width: 500px; width: 100%; height: auto; }
.srv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sc {
  background: #f8fafc; border-radius: 12px;
  padding: 22px 18px; border: 1px solid #e2e8f0;
  transition: transform .25s, box-shadow .25s;
}
.sc:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,99,235,.1); }
.sc-n  { font-size: .75rem; font-weight: 700; color: #2563eb; letter-spacing: 1px; margin-bottom: 8px; opacity: .8; }
.sc h3 { margin-bottom: 8px; font-size: .9rem; color: #1a1a2e; }
.sc p  { color: #64748b; font-size: .82rem; }
.srv-extra {
  margin-top: 24px; background: #eff6ff; border-radius: 10px;
  padding: 18px 22px; border-left: 4px solid #2563eb; color: #334155; font-size: .88rem;
}

@media (min-width: 700px) { .srv-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── STATS ───────────────────────────────────────────────────────── */
#stats { background: #1a1a2e; color: #fff; padding: 52px 0; }
.stats-img     { border-radius: 12px; overflow: hidden; }
.stats-img svg { width: 100%; height: auto; }

/* ── TESTIMONIALS ────────────────────────────────────────────────── */
.testi-grid { display: grid; gap: 16px; }
.tc { background: #f8fafc; border-radius: 13px; padding: 24px 20px; border: 1px solid #e2e8f0; }
.tc-text   { color: #334155; font-size: .88rem; line-height: 1.72; margin-bottom: 16px; font-style: italic; }
.tc-author { display: flex; align-items: center; gap: 10px; }
.tc-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .82rem; flex-shrink: 0;
}
.tc-author strong { font-size: .9rem; display: block; margin-bottom: 2px; }
.tc-author span   { color: #64748b; font-size: .78rem; }

@media (min-width: 600px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── AUDIT CTA ───────────────────────────────────────────────────── */
#audit-cta { background: linear-gradient(135deg, #0f172a, #1e3a8a); color: #fff; text-align: center; }
.cta-img       { border-radius: 14px; overflow: hidden; margin-bottom: 32px; }
.cta-img svg   { width: 100%; height: auto; }
.cta-badge {
  display: inline-block; background: rgba(239,68,68,.2); color: #fca5a5;
  border: 1px solid rgba(239,68,68,.3); padding: 4px 12px;
  border-radius: 20px; font-size: .78rem; font-weight: 600; margin-bottom: 14px;
}
#audit-cta h2 { margin-bottom: 12px; }
#audit-cta p  { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto 24px; font-size: .95rem; }

/* ── TOPICS ──────────────────────────────────────────────────────── */
.topics-grid { display: grid; gap: 14px; }
.topic { background: #fff; border-radius: 11px; padding: 20px; border: 1px solid #e2e8f0; }
.topic h3 {
  font-size: .9rem; color: #1a1a2e; margin-bottom: 6px;
  display: flex; align-items: flex-start; gap: 8px;
}
.topic h3::before {
  content: ''; display: inline-block; width: 7px; height: 7px;
  background: #2563eb; border-radius: 50%; flex-shrink: 0; margin-top: 6px;
}
.topic p { color: #64748b; font-size: .83rem; }

@media (min-width: 600px) { .topics-grid { grid-template-columns: 1fr 1fr; } }

/* ── CONDITIONS ──────────────────────────────────────────────────── */
.cond-list { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 auto; }
.cond {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px; background: #f8fafc; border-radius: 11px; border: 1px solid #e2e8f0;
}
.cond-icon {
  flex-shrink: 0; width: 40px; height: 40px; background: #eff6ff;
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem;
}
.cond h4 { font-size: .95rem; color: #1a1a2e; margin-bottom: 4px; }
.cond p  { color: #64748b; font-size: .85rem; margin: 0; }

/* ── CONTACT ─────────────────────────────────────────────────────── */
#contact { background: linear-gradient(135deg, #1a1a2e, #1e3a8a); color: #fff; }
.cont-inner { display: grid; gap: 36px; }
.cont-info h2  { margin-bottom: 12px; }
.cont-info > p { color: rgba(255,255,255,.8); margin-bottom: 24px; font-size: .95rem; }
.cont-link {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255,255,255,.85); font-size: .9rem; padding: 10px 0;
}
.cont-link-icon {
  width: 38px; height: 38px; background: rgba(255,255,255,.1);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.cont-img     { border-radius: 14px; overflow: hidden; margin-top: 24px; }
.cont-img svg { width: 100%; height: auto; }
.cont-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11);
  border-radius: 14px; padding: 28px;
}
.cont-card h3 { margin-bottom: 18px; }
.fg           { margin-bottom: 14px; }
.fg label     { display: block; font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 5px; }
.fg input,
.fg textarea  {
  width: 100%; background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14); border-radius: 8px;
  padding: 12px 14px; color: #fff; font-size: .9rem;
  font-family: inherit; outline: none; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.fg input:focus,
.fg textarea:focus   { border-color: #60a5fa; background: rgba(255,255,255,.12); }
.fg input::placeholder,
.fg textarea::placeholder { color: rgba(255,255,255,.3); }
.fg textarea  { resize: vertical; min-height: 100px; }
.form-note    { font-size: .74rem; color: rgba(255,255,255,.4); margin-top: 10px; }
.form-msg     { display: none; padding: 12px 16px; border-radius: 8px; margin-top: 12px; font-size: .9rem; font-weight: 600; }
.form-msg.ok  { background: rgba(22,163,74,.2); color: #86efac; border: 1px solid rgba(22,163,74,.3); display: block; }
.form-msg.err { background: rgba(239,68,68,.2); color: #fca5a5; border: 1px solid rgba(239,68,68,.3); display: block; }

@media (min-width: 760px) { .cont-inner { grid-template-columns: 1fr 1fr; align-items: start; } }

/* ── FOOTER ──────────────────────────────────────────────────────── */
#ftr { background: #0f172a; color: rgba(255,255,255,.45); padding: 24px 0; font-size: .84rem; }
.ftr-inner { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.ftr-inner a { color: rgba(255,255,255,.5); transition: color .2s; }
.ftr-inner a:hover { color: #60a5fa; }

@media (min-width: 640px) {
  .ftr-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ── SCROLL TO TOP ───────────────────────────────────────────────── */
#scroll-top {
  position: fixed; bottom: 24px; right: 20px;
  width: 48px; height: 48px; background: #2563eb; color: #fff;
  border: none; border-radius: 50%; cursor: pointer; font-size: 1.2rem;
  opacity: 0; transform: translateY(14px); transition: all .3s; z-index: 99;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,99,235,.4);
  -webkit-tap-highlight-color: transparent;
}
#scroll-top.on { opacity: 1; transform: translateY(0); }

/* ── COOKIE BANNER ───────────────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: #1e2d4a; color: #e2e8f0;
  padding: 16px 20px; box-shadow: 0 -4px 24px rgba(0,0,0,.3);
  border-top: 1px solid rgba(255,255,255,.1);
  transform: translateY(100%); transition: transform .4s ease;
}
#cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 14px;
}
.cookie-text { font-size: .88rem; line-height: 1.6; }
.cookie-text a { color: #60a5fa; text-decoration: underline; }
.cookie-btns  { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.cookie-btns .btn { min-height: 40px; padding: 9px 20px; font-size: .85rem; }
.cookie-accept  { background: #2563eb; color: #fff; border-color: #2563eb; }
.cookie-decline { background: transparent; color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.2); }
.cookie-decline:hover { background: rgba(255,255,255,.1); }

@media (min-width: 640px) {
  .cookie-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie-btns  { flex-shrink: 0; }
}

/* ── UTILITIES ───────────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
