/* =========================================================================
   Vinaweb – Trang đích Quảng cáo Google Ads (pages/quang-cao-google-ads.php)
   Nạp SAU about.css, gws.css, odoo.css, gcp.css, ads.css. Lớp bọc .gads, tiền tố ga-.
   Màu Google chỉ dùng ở chi tiết nhỏ (thẻ, icon); nền lớn giữ tông Vinaweb.
   ========================================================================= */
.gads { --g-blue: #1a73e8; --g-green: #188038; --g-yellow: #f9ab00; --g-red: #d93025; }
.gads .ab-h2 { text-wrap: balance; }

/* ---------- Banner ---------- */
.ga-phero .phero__grid { position: relative; }
.ga-phero .phero__title { font-size: clamp(30px, 3.9vw, 42px); }
.ga-ticks { display: grid; gap: 10px; max-width: 540px; margin-top: 18px; list-style: none; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.82); animation: pheroIn 1s var(--ease) .2s both; }
.ga-ticks li { position: relative; padding-left: 30px; }
.ga-ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 19px; height: 19px; border-radius: 50%; background: rgba(255,255,255,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat; }
.ga-ticks b { color: #fff; font-weight: 700; }
.ga-phero .phero__actions { margin-top: 28px; }
.ga-partner { display: flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.72); animation: pheroIn 1s var(--ease) .35s both; }
.ga-partner img { width: auto; height: 46px; padding: 6px 10px; border-radius: 10px; background: #fff; }

/* Hình minh hoạ: trang kết quả tìm kiếm + thẻ báo cáo */
.ga-stage { position: relative; padding: 0 96px 96px 0; }
.ga-serp { padding: 16px 18px 18px; border-radius: 18px; background: #fff; color: #202124; box-shadow: 0 0 0 1px rgba(255,255,255,.16), 0 40px 80px -30px rgba(0,0,0,.8); rotate: -1.2deg; }
.ga-serp__bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 999px; box-shadow: 0 1px 6px rgba(32,33,36,.22); font-size: 14px; }
.ga-serp__bar svg { flex: none; width: 17px; height: 17px; fill: none; stroke: #9aa0a6; stroke-width: 2; stroke-linecap: round; }
.ga-serp__bar span { overflow: hidden; white-space: nowrap; }
.ga-serp__bar i { flex: none; width: 1.5px; height: 18px; margin-left: -8px; background: var(--g-blue, #1a73e8); animation: gaCaret 1s steps(1) infinite; }
@keyframes gaCaret { 50% { opacity: 0; } }
.ga-serp__ad { margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: #f8fafd; box-shadow: inset 0 0 0 1px #e3e9f3; }
.ga-serp__tag { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: #5f6368; }
.ga-serp__tag b { color: #202124; }
.ga-serp__title { margin: 6px 0 0; font-size: 17px; font-weight: 500; line-height: 1.35; color: #1a0dab; }
.ga-serp__desc { margin: 5px 0 0; font-size: 13px; line-height: 1.5; color: #4d5156; }
.ga-serp__ext { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.ga-serp__ext span { padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #1a73e8; box-shadow: inset 0 0 0 1px #d2e3fc; background: #fff; }
.ga-serp__row { display: grid; grid-template-columns: 22px 1fr; gap: 6px 10px; margin-top: 16px; opacity: .55; }
.ga-serp__row i { grid-row: span 2; width: 22px; height: 22px; border-radius: 50%; background: #e8eaed; }
.ga-serp__row span { height: 9px; border-radius: 5px; background: #e8eaed; }
.ga-serp__row span:last-child { width: 62%; }
.ga-kpi { position: absolute; left: -30px; bottom: 0; width: min(330px, 78%); padding: 14px 16px 16px; border-radius: 16px; background: rgba(255,255,255,.97); color: var(--black); box-shadow: 0 24px 50px -18px rgba(0,0,0,.7); animation: gaFloat 6s ease-in-out infinite alternate; }
@keyframes gaFloat { to { translate: 0 -8px; } }
.ga-kpi__cap { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 12.5px; font-weight: 700; }
.ga-kpi__cap small { font-size: 10.5px; font-weight: 500; color: #9a9a9a; }
.ga-kpi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.ga-kpi__grid div { padding: 8px 10px; border-radius: 10px; background: #f6f4ee; }
.ga-kpi__grid small { display: block; font-size: 10.5px; color: var(--gray); }
.ga-kpi__grid b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.ga-kpi__grid div:nth-child(1) b { color: #1a73e8; } .ga-kpi__grid div:nth-child(2) b { color: #188038; } .ga-kpi__grid div:nth-child(3) b { color: #ba131a; }
.ga-kpi__chart { display: flex; align-items: flex-end; gap: 5px; height: 46px; margin-top: 12px; }
.ga-kpi__chart span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: #dfeafe; }
.ga-kpi__chart span:nth-last-child(-n+3) { background: #1a73e8; }
.ga-orb { position: absolute; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.3), 0 18px 34px -14px rgba(0,0,0,.65); animation: gaFloat 5s ease-in-out infinite alternate; }
.ga-orb img { width: 34px; height: 34px; object-fit: contain; }
.ga-orb--1 { left: -26px; top: 46px; }
.ga-orb--2 { right: 66px; top: -24px; animation-delay: -1.5s; }
.ga-orb--3 { left: 34%; top: -30px; animation-delay: -3s; }
.ga-orb--4 { display: none; right: 10px; bottom: 110px; animation-delay: -2.2s; }
.ga-girl { position: absolute; z-index: 3; right: -120px; bottom: -100px; width: auto; height: 410px; pointer-events: none; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); animation: pheroIn 1s var(--ease) .3s both; }

/* ---------- Dải uy tín ---------- */
.ga-trust { padding: 64px 0 56px; background: #fff; }
.ga-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; text-align: center; }
.ga-stats li { padding: 4px 16px; transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s); }
.ga-stats li + li { border-left: 1px solid #ececec; }
.ga-stats b { display: block; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--red); }
.ga-stats span { display: block; margin-top: 8px; font-size: 15px; color: var(--gray); }
.ga-clients { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 30px; margin-top: 44px; padding-top: 34px; border-top: 1px solid #ececec; }
.ga-clients p { max-width: 150px; margin: 0; font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--black); }
.ga-clients ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; margin: 0; padding: 0; list-style: none; }
.ga-clients img { width: auto; max-width: 120px; height: auto; max-height: 44px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .35s, opacity .35s; }
.ga-clients li:hover img { filter: none; opacity: 1; }

/* ---------- Hai hướng dịch vụ ---------- */
.ga-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 44px; }
.ga-plan { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; padding: 34px 34px 32px; border-radius: 24px; scroll-margin-top: 150px; transition: opacity .8s var(--ease), translate .8s var(--ease), transform .35s var(--ease), box-shadow .35s; }
.ga-plan__for { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ga-plan h3 { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 25px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.ga-plan__ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; }
.ga-plan__ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ga-plan__lead { margin-top: 14px; font-size: 16px; line-height: 1.65; }
.ga-plan__list { display: grid; gap: 11px; margin: 22px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid; font-size: 15.5px; line-height: 1.5; }
.ga-plan__list li { position: relative; padding-left: 30px; }
.ga-plan__list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 19px; height: 19px; border-radius: 50%; background: center / 11px no-repeat; }
.ga-plan__price { display: grid; gap: 2px; margin: 26px 0 22px; }
.ga-plan__price small { font-size: 13px; }
.ga-plan__price b { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.ga-plan .btn { align-self: flex-start; margin-top: auto; }
/* Trọn gói: thẻ đỏ */
.ga-plan--full { color: #fff; background: radial-gradient(420px 280px at 100% 0%, rgba(255,255,255,.18), transparent 70%), linear-gradient(155deg, #ba131a, #7f070c); box-shadow: 0 30px 54px -30px rgba(127,7,12,.85); }
.ga-plan--full::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='32.33' viewBox='0 0 84 48.5'%3E%3Cpath d='M14 0H42L56 24.25L42 48.5H14L0 24.25ZM56 24.25H84' fill='none' stroke='%23fff' stroke-opacity='.1'/%3E%3C/svg%3E"); }
.ga-plan--full .ga-plan__for { color: rgba(255,255,255,.72); }
.ga-plan--full .ga-plan__ic { background: #fff; color: var(--red); }
.ga-plan--full .ga-plan__lead { color: rgba(255,255,255,.88); }
.ga-plan--full .ga-plan__list { border-color: rgba(255,255,255,.2); }
.ga-plan--full .ga-plan__list li::before { background-color: rgba(255,255,255,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.ga-plan--full .ga-plan__price small { color: rgba(255,255,255,.7); }
/* Thuê tài khoản: thẻ trắng, điểm xanh Google */
.ga-plan--rent { background: #fff; color: var(--black); box-shadow: 0 0 0 1px #ececec, 0 30px 54px -36px rgba(33,34,82,.4); }
.ga-plan--rent::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc04 50% 75%, #34a853 75%); }
.ga-plan--rent .ga-plan__for { color: #1a73e8; }
.ga-plan--rent .ga-plan__ic { background: #dfeafe; color: #1a73e8; }
.ga-plan--rent .ga-plan__lead { color: var(--gray); }
.ga-plan--rent .ga-plan__list { border-color: #ececec; }
.ga-plan--rent .ga-plan__list li::before { background-color: #dfeafe; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E"); }
.ga-plan--rent .ga-plan__price small { color: var(--gray); }
.ga-plan--rent .ga-plan__price b { font-size: 22px; }
@media (hover: hover) { .ga-plan:hover { transform: translateY(-5px); } }
.ga-plan.is-target { box-shadow: 0 0 0 3px #1a73e8, 0 30px 54px -30px rgba(26,115,232,.6); }

/* Lời mời tư vấn: cô gái nhô lên khỏi dải */
.ga-ask { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 76px; padding: 20px 22px 20px 176px; border-radius: 18px; background: #fff; }
.ga-ask p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--gray); }
.ga-ask b { color: var(--black); }
.ga-ask .btn { flex: none; }
.ga-ask__girl { position: absolute; left: 22px; bottom: 0; width: auto; height: 148px; pointer-events: none; }

/* ---------- Cam kết ---------- */
.ga-pledges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 44px 0 0; padding: 0; list-style: none; }
.ga-pledge { position: relative; overflow: hidden; padding: 28px 26px 30px; border-radius: 20px; background: var(--beige); transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s), background .35s, box-shadow .35s, transform .35s var(--ease); }
.ga-pledge__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; background: var(--cb); color: var(--c); transition: background .35s, color .35s; }
.ga-pledge__ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ga-pledge__no { position: absolute; right: 22px; top: 18px; font-size: 44px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: color-mix(in srgb, var(--c) 14%, transparent); }
.ga-pledge h3 { margin-top: 18px; font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--black); }
.ga-pledge p { margin-top: 8px; font-size: 14.5px; line-height: 1.7; color: var(--gray); }
.ga-pledge::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
@media (hover: hover) {
  .ga-pledge:hover { background: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent), 0 24px 40px -24px rgba(33,34,82,.4); transform: translateY(-4px); }
  .ga-pledge:hover .ga-pledge__ic { background: var(--c); color: #fff; }
  .ga-pledge:hover::after { transform: scaleX(1); }
}

/* ---------- Thế mạnh (nền tối) ---------- */
.ga-why { position: relative; isolation: isolate; overflow: hidden; padding: var(--sec) 0; color: #fff; background: radial-gradient(900px 500px at 90% 0%, rgba(186,19,26,.5), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(186,19,26,.2), transparent 65%), #121212; }
.ga-why__hex { position: absolute; inset: 0; z-index: -1; opacity: .5; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='48.5' viewBox='0 0 84 48.5'%3E%3Cpath d='M14 0H42L56 24.25L42 48.5H14L0 24.25ZM56 24.25H84' fill='none' stroke='%23fff' stroke-opacity='.06'/%3E%3C/svg%3E"); }
.ga-why__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.ga-why__intro { position: sticky; top: 150px; }
.ga-why .h2 { margin-top: 22px; color: #fff; }
.ga-why .h2 em { color: #ff8a8e; }
.ga-why__lead { margin-top: 18px; font-size: 16.5px; line-height: 1.75; color: rgba(255,255,255,.78); }
.ga-why__badges { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.ga-why__badges img { width: auto; height: 62px; padding: 8px 14px; border-radius: 12px; background: #fff; object-fit: contain; }
.ga-why__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ga-why__list li { display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px; border-radius: 18px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s), background .3s; }
.ga-why__ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,.1); color: #fff; }
.ga-why__list li:nth-child(1) .ga-why__ic { color: #8ab4f8; } .ga-why__list li:nth-child(2) .ga-why__ic { color: #81c995; } .ga-why__list li:nth-child(3) .ga-why__ic { color: #fdd663; } .ga-why__list li:nth-child(4) .ga-why__ic { color: #f28b82; } .ga-why__list li:nth-child(5) .ga-why__ic { color: #c58af9; }
.ga-why__ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ga-why__list h3 { font-size: 18px; font-weight: 700; line-height: 1.35; }
.ga-why__list p { margin-top: 6px; font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.72); }
@media (hover: hover) { .ga-why__list li:hover { background: rgba(255,255,255,.09); } }

/* ---------- Hình thức quảng cáo ---------- */
.ga-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 44px 0 0; padding: 0; list-style: none; }
.ga-type { position: relative; overflow: hidden; display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 18px; background: var(--beige); transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s), background .35s, box-shadow .35s, transform .35s var(--ease); }
.ga-type__ic { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; background: #fff; }
.ga-type__ic img { width: 38px; height: 38px; object-fit: contain; }
.ga-type h3 { font-size: 17.5px; font-weight: 700; line-height: 1.35; color: var(--black); }
.ga-type h3 small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 600; color: var(--c); }
.ga-type p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--gray); }
@media (hover: hover) { .ga-type:hover { background: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 35%, transparent), 0 24px 40px -24px rgba(33,34,82,.4); transform: translateY(-4px); } }

/* Ý kiến khách hàng trên nền be: thẻ trắng */
.ga-case .ads-quote { background: #fff; }
/* Các bước trên nền trắng */
.gads .ga-steps .gcp-step__no { background: var(--red); color: #fff; }

/* ---------- Màn hình nhỏ ---------- */
@media (max-width: 1279px) { .ga-girl { height: 330px; right: -70px; } .ga-stage { padding-right: 70px; } }
@media (max-width: 1024px) {
  .ga-girl { display: none; }
  .ga-stage { max-width: 560px; margin-inline: auto; padding: 0 0 96px 20px; }
  .ga-kpi { left: 0; }
  .ga-orb--1 { left: -6px; }
  .ga-orb--2 { right: 10px; }
  .ga-orb--4 { display: grid; }
  .ga-stats { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .ga-stats li:nth-child(3) { border-left: 0; }
  .ga-clients { grid-template-columns: 1fr; gap: 16px; }
  .ga-clients p { max-width: none; }
  .ga-clients ul { justify-content: flex-start; }
  .ga-plans { grid-template-columns: 1fr; }
  .ga-pledges, .ga-types { grid-template-columns: 1fr 1fr; }
  .ga-why__grid { grid-template-columns: 1fr; gap: 34px; }
  .ga-why__intro { position: static; }
}
@media (max-width: 680px) {
  .ga-stage { padding: 0 0 110px; }
  .ga-serp { rotate: 0deg; padding: 14px; }
  .ga-serp__title { font-size: 15.5px; }
  .ga-orb { width: 46px; height: 46px; border-radius: 13px; }
  .ga-orb img { width: 28px; height: 28px; }
  .ga-orb--1 { left: -8px; top: 64px; }
  .ga-orb--2 { right: -6px; top: -20px; }
  .ga-orb--3, .ga-orb--4 { display: none; }
  .ga-kpi { width: 88%; }
  .ga-trust { padding: 44px 0 40px; }
  .ga-stats span { font-size: 13.5px; }
  .ga-clients img { max-width: 92px; max-height: 36px; }
  .ga-plan { padding: 26px 22px 26px; }
  .ga-plan h3 { font-size: 21px; }
  .ga-plan__ic { width: 46px; height: 46px; }
  .ga-plan .btn { align-self: stretch; justify-content: space-between; }
  .ga-ask { flex-direction: column; align-items: flex-start; margin-top: 56px; padding: 20px 120px 20px 20px; }
  .ga-ask__girl { left: auto; right: -4px; height: 116px; }
  .ga-pledges, .ga-types { grid-template-columns: 1fr; gap: 12px; }
  .ga-why__list li { padding: 18px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ga-ticks, .ga-partner, .ga-girl, .ga-kpi, .ga-orb, .ga-serp__bar i { animation: none; }
}
