/* ==========================================================================
   Google Service by Ecommyone — Design System
   โทนสีหลัก #0450b2 ผสมสไตล์ Google: ฟ้าเข้ม/ฟ้าสด เป็นสีแบรนด์หลัก
   จุดเน้นเหลือง/เขียวสไตล์ Google, เงา Material, ฟอนต์ Roboto + Noto Sans Thai
   ========================================================================== */

:root {
  /* Ink — น้ำเงินเข้มมาก ใช้เป็นพื้นหลังเข้ม/ตัวหนังสือหัวข้อ */
  --ink-900: #041f42;
  --ink-800: #0a2e5c;
  --ink-700: #0c3f7c;

  /* Brand — สีหลักของเว็บ อิง #0450b2 */
  --brand-700: #063b82;
  --brand-600: #0450b2;
  --brand-500: #1a73e8;
  --brand-100: #e8f0fe;
  --brand-050: #f3f8ff;

  /* Accent — จุดเน้นสไตล์ Google (เหลือง) ใช้แต่น้อยเพื่อสร้างจุดสนใจ */
  --accent-600: #a3690a;
  --accent-500: #fbbc05;
  --accent-100: #fef7e0;

  /* Google 4-color — ใช้จุดเล็กๆ เพื่อความรู้สึกทันสมัยแบบ Google */
  --google-blue: #4285f4;
  --google-red: #ea4335;
  --google-green: #34a853;

  /* สีแพลตฟอร์มอื่น — ใช้เน้นบริการตามแพลตฟอร์มที่ให้บริการ */
  --facebook-blue: #1877f2;
  --facebook-100: #e7f2ff;

  --black-900: #0d0e12;
  --white: #ffffff;
  --gray-50: #f6f8fb;
  --gray-100: #eef1f6;
  --gray-200: #e2e7ef;
  --gray-400: #9aa5b5;
  --gray-600: #5b6472;
  --text: #16202e;
  --text-muted: #5c6a7c;
  --success: #1e8e3e;
  --danger: #d93025;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  /* เงาสไตล์ Material/Google: ชั้นแสงหลัก + แสงรอบ โทนกลางออกฟ้าเข้ม */
  --shadow-sm: 0 1px 2px rgba(4,31,66,.16), 0 1px 3px 1px rgba(4,31,66,.10);
  --shadow-md: 0 1px 3px rgba(4,31,66,.18), 0 6px 14px 2px rgba(4,31,66,.12);
  --shadow-lg: 0 3px 6px rgba(4,31,66,.20), 0 14px 32px 4px rgba(4,31,66,.16);
  --font-heading: 'Roboto', 'Noto Sans Thai', sans-serif;
  --font-body: 'Roboto', 'Noto Sans Thai', sans-serif;
  --header-h: 72px;
  --topbar-h: 38px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--topbar-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.3; margin: 0 0 .5em; color: var(--ink-800); }
p { margin: 0 0 1em; color: var(--text-muted); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.icon { width: 22px; height: 22px; flex-shrink: 0; }
.icon-sm { width: 17px; height: 17px; flex-shrink: 0; }
.icon-xs { width: 13px; height: 13px; flex-shrink: 0; }
.rotate-180 { transform: rotate(180deg); }
section.section { padding: 72px 0; }
@media (max-width: 768px) { section.section { padding: 48px 0; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); color: #fff; box-shadow: 0 8px 20px rgba(4, 80, 178, .35); }
.btn--gold:hover { background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); box-shadow: 0 12px 28px rgba(4, 80, 178, .45); }
.btn--line { background: #06C755; color: #fff; box-shadow: 0 8px 20px rgba(6, 199, 85, .3); }
.btn--navy { background: var(--ink-800); color: #fff; }
.btn--outline { background: transparent; border-color: var(--ink-800); color: var(--ink-800); }
.btn--outline-light { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.12); }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink-900); color: #cfe0f5; font-size: 13px; height: var(--topbar-h); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.topbar__msg { display: flex; align-items: center; gap: 6px; }
.topbar__contact { display: flex; gap: 18px; }
.topbar__contact a { display: flex; align-items: center; gap: 5px; opacity: .92; }
.topbar__contact a:hover { color: var(--accent-500); }
@media (max-width: 768px) { .topbar__msg { display: none; } .topbar__inner { justify-content: center; } }
@media (max-width: 420px) { .topbar__contact { gap: 10px; font-size: 12px; } }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm); min-height: var(--header-h);
  /* หมายเหตุ: จงใจไม่ใช้ backdrop-filter ที่นี่ เพราะจะสร้าง containing block ใหม่
     ที่ทำให้ .mainnav (position: fixed สำหรับเมนูมือถือ) อ้างอิงตำแหน่งผิดจุด (บั๊กที่พบและแก้แล้ว) */
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 36px; width: auto; }
.brand__sub {
  font-family: var(--font-heading); font-weight: 700; color: var(--brand-600); font-size: 12.5px;
  background: var(--brand-100); padding: 5px 12px; border-radius: 999px; letter-spacing: .01em;
}
@media (max-width: 560px) { .brand__sub { display: none; } }

.mainnav > ul { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.dropdown { display: grid; gap: 2px; }
.mainnav > ul > li { position: relative; }
.mainnav > ul > li > a {
  display: flex; align-items: center; gap: 5px; padding: 10px 14px; font-weight: 600; font-size: 14.5px;
  border-radius: 999px; color: var(--ink-800); white-space: nowrap; position: relative;
  transition: color .15s ease, background .15s ease;
}
.mainnav > ul > li > a:hover, .mainnav > ul > li > a.is-active { color: var(--brand-600); background: var(--brand-100); }
.mainnav > ul > li > a .icon { transition: transform .2s ease; }
.has-dropdown:hover > a .icon, .has-dropdown:focus-within > a .icon, .has-dropdown.is-expanded > a .icon { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; background: #fff;
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; border: 1px solid var(--gray-100);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a {
  display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text);
  border-left: 3px solid transparent; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.dropdown li a:hover { background: var(--brand-100); color: var(--brand-600); border-left-color: var(--brand-600); }

.site-header__cta { display: flex; align-items: center; gap: 12px; }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--ink-800); }

@media (max-width: 980px) {
  .mainnav {
    position: fixed;
    top: calc(var(--header-h) + var(--topbar-h)); right: 0; bottom: 0; left: 0;
    background: #fff; padding: 20px;
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; z-index: 99;
  }
  .mainnav.is-open { transform: translateX(0); }
  .mainnav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .mainnav > ul > li > a { padding: 14px 10px; font-size: 17px; justify-content: space-between; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
  .mainnav > ul > li > a:hover, .mainnav > ul > li > a.is-active { border-radius: 10px; }
  .dropdown { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; border: none; background: var(--gray-50); margin: 4px 0 8px; }
  .has-dropdown.is-expanded .dropdown { display: block; }
  .hamburger { display: block; }
  .site-header__cta .btn--line span { display: none; }
}

/* ---------- Hero (Home) ---------- */
.hero {
  position: relative; background: linear-gradient(120deg, var(--ink-900) 0%, var(--ink-700) 55%, var(--brand-600) 130%);
  color: #fff; overflow: hidden; padding: 64px 0 90px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; opacity: .14; pointer-events: none;
  background-image: radial-gradient(circle at 20% 20%, #fff 0, transparent 45%), radial-gradient(circle at 85% 75%, var(--accent-500) 0, transparent 40%), radial-gradient(circle at 60% 15%, var(--google-green) 0, transparent 30%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--accent-500); margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: clamp(28px, 4vw, 46px); margin-bottom: .4em; }
.hero h1 em { color: var(--accent-500); font-style: normal; }
.hero p.lead { color: #d7e3f5; font-size: 17px; max-width: 560px; }
.hero__checks { display: grid; gap: 10px; margin: 22px 0 30px; }
.hero__checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.hero__checks .icon { color: var(--accent-500); background: rgba(255,255,255,.1); border-radius: 50%; padding: 3px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero__stats div { text-align: left; }
.hero__stats strong { display: block; font-family: var(--font-heading); font-size: 28px; color: var(--accent-500); }
.hero__stats span { font-size: 13px; color: #b9c9e2; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.hero__badges span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 8px 14px; border-radius: 999px; font-size: 13px; color: #fff; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 420px; margin: 0 auto; }
}

/* ---------- Hero mockup graphic (no stock photo needed) ---------- */
.mockup-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px; max-width: 420px; margin: 0 auto; position: relative; }
.mockup-card__searchbar { display: flex; align-items: center; gap: 10px; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 999px; padding: 10px 16px; margin-bottom: 16px; }
.mockup-card__searchbar .icon { color: var(--gray-400); width: 16px; height: 16px; }
.mockup-card__searchbar span { font-size: 13px; color: var(--text-muted); }
.mockup-result { display: flex; gap: 12px; align-items: flex-start; padding: 12px 8px; border-radius: 10px; margin-bottom: 6px; }
.mockup-result--top { background: var(--brand-100); border: 1.5px solid var(--brand-500); }
.mockup-result__rank { width: 26px; height: 26px; border-radius: 50%; background: var(--ink-800); color: var(--accent-500); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-heading); }
.mockup-result--top .mockup-result__rank { background: var(--accent-500); color: var(--ink-900); }
.mockup-result__lines { flex-grow: 1; }
.mockup-result__lines .l1 { height: 9px; border-radius: 4px; background: var(--ink-700); width: 70%; margin-bottom: 6px; }
.mockup-result--top .mockup-result__lines .l1 { background: var(--brand-600); width: 55%; }
.mockup-result__lines .l2 { height: 7px; border-radius: 4px; background: var(--gray-200); width: 90%; }
.mockup-card__pin { position: absolute; bottom: -18px; right: -14px; background: var(--ink-900); color: #fff; border-radius: var(--radius-md); padding: 12px 16px; display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-md); }
.mockup-card__pin .icon { color: var(--accent-500); }
.mockup-card__pin strong { display: block; font-size: 13px; }
.mockup-card__pin span { font-size: 11px; color: #b9c9e2; }
.mockup-card__badge { position: absolute; top: -16px; left: -16px; background: var(--accent-500); color: var(--ink-900); border-radius: 999px; padding: 8px 16px; font-size: 12px; font-weight: 800; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 6px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--white); border-bottom: 1px solid var(--gray-100); padding: 22px 0; }
.trustbar__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.trustbar__item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--ink-700); }
.trustbar__item .icon { color: var(--brand-600); }

/* ---------- Section headers ---------- */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .eyebrow { display: inline-block; color: var(--brand-600); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; background: var(--brand-100); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); }
.section-head p { font-size: 15.5px; }
.section--gray { background: var(--gray-50); }
.section--navy { background: linear-gradient(140deg, var(--ink-900), var(--ink-700)); color: #fff; }
.section--navy .section-head h2, .section--navy h3 { color: #fff; }
.section--navy .section-head p { color: #b9c9e2; }
.section--navy p { color: #b9c9e2; }
.section--navy .check-list li { color: #fff; }
.section--navy .check-list li > div { color: #b9c9e2; font-weight: 400; font-size: 14px; line-height: 1.6; }
.section--navy .check-list li > div strong { display: block; margin-bottom: 3px; color: #fff; font-size: 15.5px; font-weight: 700; }
.section--navy .check-list .icon { color: #4caf50; background: rgba(255,255,255,.1); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }
.section--navy .guarantee-box { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); backdrop-filter: none; }
.section--navy .guarantee-box h4 { color: #fff; }
.section--navy .guarantee-box p { color: #d7e3f5; }
.section--navy .guarantee-box .icon { color: var(--accent-500); }

/* ---------- Service Cards (Home grid) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: #fff; border-radius: var(--radius-lg); padding: 30px 26px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100); transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card__icon { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card.color-blue .service-card__icon { background: var(--brand-100); color: var(--brand-600); }
.service-card.color-gold .service-card__icon { background: var(--accent-100); color: var(--accent-600); }
.service-card.color-navy .service-card__icon { background: var(--ink-800); color: var(--accent-500); }

/* บริการฝั่ง Google — โทนฟ้า Google + จุดสี่สีมุมการ์ด (เอกลักษณ์ Google) */
.service-card.color-google .service-card__icon { background: var(--brand-100); color: var(--google-blue); }
.service-card.color-google { border-top: 3px solid var(--google-blue); }
.service-card.color-google::after {
  content: ''; position: absolute; bottom: 24px; right: 26px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--google-blue);
  box-shadow: 13px 0 0 var(--google-red), 0 13px 0 var(--accent-500), 13px 13px 0 var(--google-green);
  opacity: .9;
}
/* บริการฝั่ง Facebook — โทนฟ้า Facebook แบรนด์แท้ */
.service-card.color-facebook .service-card__icon { background: var(--facebook-100); color: var(--facebook-blue); }
.service-card.color-facebook { border-top: 3px solid var(--facebook-blue); }
.service-card.color-facebook::after {
  content: ''; position: absolute; bottom: 24px; right: 26px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--facebook-blue); opacity: .9;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; margin-bottom: 18px; }
.service-card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-600); font-size: 14px; }
.service-card__link .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.service-card:hover .service-card__link .icon { transform: translateX(4px); }
.service-card__tag { position: absolute; top: 18px; right: 18px; background: var(--accent-500); color: var(--ink-900); font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }

/* ---------- Service categories (หน้าแรก: บริการทั้งหมด จัดหมวดตามแพลตฟอร์ม พร้อมรูปจริง) ---------- */
.service-category { margin-bottom: 52px; }
.service-category:last-child { margin-bottom: 0; }
.service-category__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.service-category__badge {
  width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
}
.service-category__badge.is-google { background: var(--brand-100); color: var(--google-blue); }
.service-category__badge.is-google::after {
  content: ''; position: absolute; bottom: -3px; right: -3px; width: 6px; height: 6px; border-radius: 50%;
  background: var(--google-blue); box-shadow: 9px 0 0 var(--google-red), 0 -9px 0 var(--accent-500), -9px 0 0 var(--google-green);
}
.service-category__badge.is-facebook { background: var(--facebook-100); color: var(--facebook-blue); }
.service-category__badge.is-website { background: var(--brand-100); color: var(--brand-600); }
.service-category__head h3 { font-size: 19px; margin-bottom: 3px; }
.service-category__head p { font-size: 13.5px; margin: 0; max-width: 560px; }

.service-cards-row { display: grid; gap: 22px; }
.service-cards-row.cols-2 { grid-template-columns: repeat(2, 1fr); }
.service-cards-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.service-cards-row.cols-1 { grid-template-columns: 1fr; }
@media (max-width: 980px) { .service-cards-row.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .service-cards-row.cols-2 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .service-cards-row.cols-3 { grid-template-columns: 1fr; } }

.service-card-img {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100); transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
}
.service-card-img:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card-img__cover { aspect-ratio: 1/1; overflow: hidden; background: var(--gray-100); position: relative; }
.service-card-img__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.service-card-img:hover .service-card-img__cover img { transform: scale(1.05); }
.service-card-img__tag { position: absolute; top: 14px; right: 14px; z-index: 1; background: var(--accent-500); color: var(--ink-900); font-size: 11px; font-weight: 800; padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.service-card-img__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.service-card-img__icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.service-card-img__icon .icon { width: 21px; height: 21px; }
.service-card-img.color-google .service-card-img__icon { background: var(--brand-100); color: var(--google-blue); }
.service-card-img.color-facebook .service-card-img__icon { background: var(--facebook-100); color: var(--facebook-blue); }
.service-card-img.color-website .service-card-img__icon { background: var(--brand-100); color: var(--brand-600); }
.service-card-img h4 { font-size: 17px; margin-bottom: 8px; }
.service-card-img p { font-size: 14px; margin-bottom: 16px; flex-grow: 1; }
.service-card-img__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13.5px; }
.service-card-img__link .icon { width: 15px; height: 15px; transition: transform .2s ease; }
.service-card-img:hover .service-card-img__link .icon { transform: translateX(4px); }
.service-card-img.color-google .service-card-img__link { color: var(--google-blue); }
.service-card-img.color-facebook .service-card-img__link { color: var(--facebook-blue); }
.service-card-img.color-website .service-card-img__link { color: var(--brand-600); }

.service-card-img--wide { flex-direction: row; }
.service-card-img--wide .service-card-img__cover { width: 340px; aspect-ratio: auto; flex-shrink: 0; }
.service-card-img--wide .service-card-img__body { justify-content: center; padding: 28px 34px; }
.service-card-img--wide h4 { font-size: 20px; }
.service-card-img--wide p { font-size: 15px; }
@media (max-width: 760px) {
  .service-card-img--wide { flex-direction: column; }
  .service-card-img--wide .service-card-img__cover { width: 100%; aspect-ratio: 1/1; }
}

/* ---------- Color blocks (Google/Facebook feature bands) ---------- */
.feature-bands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .feature-bands { grid-template-columns: 1fr; } }
.feature-band {
  border-radius: var(--radius-lg); padding: 36px 34px; color: #fff; position: relative; overflow: hidden;
  min-height: 250px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-band:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature-band::after {
  content: ''; position: absolute; top: -50px; right: -50px; width: 170px; height: 170px; border-radius: 50%;
  background: rgba(255,255,255,.08); pointer-events: none;
}
.feature-band__icon {
  width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.16); display: flex;
  align-items: center; justify-content: center; margin-bottom: 20px; position: relative;
}
.feature-band__icon .icon { width: 26px; height: 26px; }
.feature-band h3 { color: #fff; font-size: 21px; margin-bottom: 8px; position: relative; }
.feature-band p { color: rgba(255,255,255,.85); font-size: 14px; margin-bottom: 0; position: relative; flex-grow: 1; }
.feature-band.bg-blue { background: linear-gradient(135deg, var(--brand-600), var(--ink-700)); }
.feature-band.bg-gold { background: linear-gradient(135deg, var(--google-green), #0d652d); }
.feature-band.bg-black { background: linear-gradient(135deg, #22262e, var(--black-900)); }
.feature-band.bg-navy { background: linear-gradient(135deg, var(--facebook-blue), #0a4bab); }
.feature-band__link {
  margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink-900);
  font-weight: 700; font-size: 14px; padding: 11px 22px; border-radius: 999px; align-self: flex-start; position: relative;
  transition: transform .15s ease, box-shadow .15s ease; box-shadow: 0 6px 16px rgba(0,0,0,.16);
}
.feature-band__link:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(0,0,0,.24); }
.feature-band__link .icon { width: 15px; height: 15px; transition: transform .2s ease; }
.feature-band__link:hover .icon { transform: translateX(3px); }

/* ---------- Stat counters ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 760px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
.stats-strip .stat strong { display: block; font-family: var(--font-heading); font-size: 36px; color: var(--accent-500); }
.stats-strip .stat span { font-size: 13.5px; color: #b9c9e2; }

/* ---------- Testimonials / Portfolio grid ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
.gallery-item { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; background: var(--gray-100); cursor: zoom-in; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,35,64,.55), transparent 55%); opacity: 0; transition: opacity .2s ease; display: flex; align-items: flex-end; padding: 8px; }
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay span { color: #fff; font-size: 11px; font-weight: 600; }

.lightbox { position: fixed; inset: 0; background: rgba(10,15,25,.92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(90vw, 720px); max-height: 85vh; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox__close { position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,.12); border: none; color: #fff; padding: 10px; border-radius: 50%; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: none; color: #fff; padding: 12px; border-radius: 50%; cursor: pointer; }
.lightbox__nav--prev { left: 20px; } .lightbox__nav--next { right: 20px; }

/* ---------- Pricing cards ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 980px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card { background: #fff; border: 2px solid var(--gray-100); border-radius: var(--radius-lg); padding: 28px 24px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); position: relative; }
.pricing-card--featured { border-color: var(--accent-500); box-shadow: var(--shadow-md); transform: translateY(-8px); }
.pricing-card__badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent-500); color: var(--ink-900); font-size: 12px; font-weight: 800; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.pricing-card h3 { font-size: 20px; margin-bottom: 4px; }
.pricing-card .pricing-for { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; min-height: 34px; }
.pricing-card .price { font-family: var(--font-heading); font-size: 30px; color: var(--ink-800); margin: 6px 0 0; }
.pricing-card .price small { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.pricing-card .price-monthly { font-size: 14px; color: var(--brand-600); font-weight: 700; margin-bottom: 16px; }
.pricing-card ul { display: grid; gap: 10px; margin: 14px 0 22px; flex-grow: 1; }
.pricing-card ul li { display: flex; gap: 8px; font-size: 13.5px; color: var(--text); }
.pricing-card ul li .icon { color: var(--success); width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; }
.pricing-card .btn { width: 100%; }

/* ---------- Generic content blocks (service pages) ---------- */
.page-hero { background: linear-gradient(120deg, var(--ink-900), var(--ink-700)); color: #fff; padding: 40px 0 56px; }
.page-hero--sm { padding: 34px 0 44px; }
.page-hero h1 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); }
.page-hero p { color: #cfe0f5; max-width: 640px; font-size: 15.5px; }
.breadcrumb { font-size: 13px; color: #a9c0e0; margin-bottom: 14px; display: flex; gap: 6px; }
.breadcrumb a { color: #cfe0f5; } .breadcrumb a:hover { color: var(--accent-500); }

.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.check-list { display: grid; gap: 12px; margin: 18px 0; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--text); }
.check-list .icon { color: var(--success); flex-shrink: 0; margin-top: 3px; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 860px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }
.step-card { background: #fff; border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); position: relative; }
.step-card__num { width: 38px; height: 38px; border-radius: 50%; background: var(--ink-800); color: var(--accent-500); font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; font-family: var(--font-heading); }
.step-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.step-card p { font-size: 13.5px; margin: 0; }

.mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .mini-gallery { grid-template-columns: repeat(2, 1fr); } }
.mini-gallery img { border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); cursor: zoom-in; transition: transform .2s ease; }
.mini-gallery img:hover { transform: scale(1.03); }

.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary { padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--ink-800); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--brand-600); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 22px 18px; margin: 0; font-size: 14.5px; }

.guarantee-box { display: flex; gap: 18px; background: var(--accent-100); border: 1px solid var(--accent-500); border-radius: var(--radius-lg); padding: 26px; align-items: flex-start; }
.guarantee-box .icon { color: var(--accent-600); width: 34px; height: 34px; flex-shrink: 0; }
.guarantee-box h4 { margin-bottom: 6px; color: var(--ink-800); }
.guarantee-box p { margin: 0; font-size: 14px; }

.situation-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.situation-table th, .situation-table td { padding: 14px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--gray-100); }
.situation-table th { background: var(--ink-800); color: #fff; font-family: var(--font-heading); }
.situation-table td strong { color: var(--brand-600); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--ink-900), var(--brand-600)); padding: 46px 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 24px; margin-bottom: 4px; }
.cta-band p { color: #d7e3f5; margin: 0; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: #b7c0cd; padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; padding-bottom: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { height: 34px; width: auto; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 13.5px; color: #8b95a3; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--accent-500); color: var(--ink-900); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 13.5px; color: #a3adb9; }
.footer-col a:hover { color: var(--accent-500); }
.footer-contact li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; font-size: 12.5px; }

.float-line {
  position: fixed; bottom: 24px; right: 20px; width: 58px; height: 58px; border-radius: 50%; background: #06C755;
  color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(6,199,85,.4);
  z-index: 90; animation: pulse 2.4s infinite;
}
.back-to-top {
  position: fixed; bottom: 24px; right: 90px; width: 44px; height: 44px; border-radius: 50%; background: var(--ink-800);
  color: #fff; border: none; display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 90; box-shadow: var(--shadow-md);
}
.back-to-top.is-visible { display: flex; }
@keyframes pulse { 0%,100% { box-shadow: 0 10px 24px rgba(6,199,85,.4);} 50% { box-shadow: 0 10px 30px rgba(6,199,85,.7);} }
@media (max-width: 560px) { .float-line { width: 50px; height: 50px; bottom: 16px; right: 14px; } .back-to-top { right: 74px; bottom: 16px; width: 40px; height: 40px; } }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Alerts ---------- */
.alert { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius-md); margin-bottom: 18px; align-items: flex-start; }
.alert--success { background: #e7f8f0; color: #0d6b45; border: 1px solid #b8ead2; }
.alert--error { background: #fdecec; color: #9c2222; border: 1px solid #f6c2c2; }
.alert .icon { flex-shrink: 0; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-methods { display: grid; gap: 14px; margin: 20px 0 26px; }
.contact-methods a { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--gray-100); border-radius: var(--radius-md); padding: 16px 18px; box-shadow: var(--shadow-sm); transition: transform .15s ease; }
.contact-methods a:hover { transform: translateY(-3px); }
.contact-methods .icon { color: var(--brand-600); width: 26px; height: 26px; }
.contact-methods strong { display: block; font-size: 14.5px; color: var(--ink-800); }
.contact-methods span { font-size: 13px; color: var(--text-muted); }
.contact-badge { display: flex; gap: 12px; background: var(--accent-100); border: 1px solid var(--accent-500); border-radius: var(--radius-md); padding: 18px; }
.contact-badge .icon { color: var(--accent-600); flex-shrink: 0; }
.contact-badge p { margin: 0; font-size: 13.5px; color: var(--ink-800); }

.contact-form { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 32px; border: 1px solid var(--gray-100); }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; color: var(--ink-800); }
.form-row label span { color: var(--danger); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-family: inherit; font-size: 14.5px;
  background: var(--gray-50); transition: border-color .15s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--brand-600); background: #fff; }
.form-hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge--blue { background: var(--brand-100); color: var(--brand-600); }
.badge--gold { background: var(--accent-100); color: var(--accent-600); }

/* ==========================================================================
   Admin Dashboard
   ========================================================================== */
.admin-body { background: var(--gray-50); font-family: var(--font-body); }
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--ink-900); color: #cfe0f5; padding: 24px 18px; flex-shrink: 0; }
.admin-sidebar .brand { color: #fff; margin-bottom: 30px; }
.admin-sidebar .brand__logo { filter: brightness(0) invert(1); }
.admin-nav { display: grid; gap: 4px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: #b9c9e2; }
.admin-nav a:hover, .admin-nav a.is-active { background: rgba(255,255,255,.08); color: #fff; }
.admin-main { flex-grow: 1; padding: 30px 34px; max-width: 1400px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.admin-topbar h1 { font-size: 22px; margin: 0; }
.admin-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
@media (max-width: 980px) { .admin-cards { grid-template-columns: repeat(2, 1fr); } }
.admin-card { background: #fff; border-radius: var(--radius-md); padding: 20px 22px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); }
.admin-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.admin-card__icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--brand-100); color: var(--brand-600); }
.admin-card strong { display: block; font-family: var(--font-heading); font-size: 26px; color: var(--ink-800); }
.admin-card span { font-size: 13px; color: var(--text-muted); }
.admin-card__delta { font-size: 12px; font-weight: 700; }
.admin-card__delta.up { color: var(--success); }
.admin-card__delta.down { color: var(--danger); }

.admin-panel { background: #fff; border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); margin-bottom: 24px; }
.admin-panel h2 { font-size: 17px; margin-bottom: 18px; }
.admin-grid-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }
@media (max-width: 980px) { .admin-grid-2 { grid-template-columns: 1fr; } }

table.data-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.data-table th, table.data-table td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--gray-100); }
table.data-table th { color: var(--text-muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; }
table.data-table tr:hover td { background: var(--gray-50); }
.status-pill { padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; }
.status-pill.new { background: var(--brand-100); color: var(--brand-600); }
.status-pill.contacted { background: var(--accent-100); color: var(--accent-600); }
.status-pill.won { background: #e7f8f0; color: var(--success); }
.status-pill.lost { background: #fdecec; color: var(--danger); }

.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, var(--ink-900), var(--brand-600)); padding: 20px; }
.login-card { background: #fff; border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 380px; box-shadow: var(--shadow-lg); text-align: center; }
.login-card img { height: 40px; margin: 0 auto 20px; }
.login-card h1 { font-size: 20px; }
.login-card .form-row { text-align: left; }
