/*
Theme Name: GADSCDP
Theme URI: https://example.com/gadscdp
Author: GADSCDP
Author URI: https://example.com
Description: Classic WordPress theme for business websites with an SEO-optimized blog. Built for WordPress 7.0 with Font Library support, theme.json styling, schema.org structured data, and breadcrumbs.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gadscdp
Tags: business, blog, classic-theme, seo, custom-menu, featured-images, threaded-comments, translation-ready, full-width-template, custom-logo
*/

/* ==========================================================================
   1. CSS Custom Properties (sync with theme.json where possible)
   ========================================================================== */
:root {
    --gadscdp-color-primary: #1f5eff;
    --gadscdp-color-primary-dark: #1546c4;
    --gadscdp-color-text: #1a1a1a;
    --gadscdp-color-muted: #5b6470;
    --gadscdp-color-bg: #ffffff;
    --gadscdp-color-bg-alt: #f5f7fb;
    --gadscdp-color-border: #e3e8f0;
    --gadscdp-color-accent: #ff8a3d;

    --gadscdp-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --gadscdp-font-heading: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --gadscdp-content-width: 1180px;
    --gadscdp-narrow-width: 760px;
    --gadscdp-radius: 10px;
    --gadscdp-shadow: 0 6px 24px rgba(20, 30, 60, 0.08);
    --gadscdp-gap: 1.5rem;
}

/* ==========================================================================
   2. Reset / Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--gadscdp-font-body);
    font-size: 17px;
    line-height: 1.7;
    color: var(--gadscdp-color-text);
    background: var(--gadscdp-color-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--gadscdp-font-heading);
    line-height: 1.25;
    margin: 0 0 0.5em;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.25em; }

a {
    color: var(--gadscdp-color-primary);
    text-decoration: none;
}
a:hover, a:focus { color: var(--gadscdp-color-primary-dark); text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* Accessibility: skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--gadscdp-color-primary);
    color: #fff;
    padding: 0.75rem 1rem;
    z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; border-radius: 6px; }

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
}

/* ==========================================================================
   3. Layout
   ========================================================================== */
.gadscdp-container {
    width: 100%;
    max-width: var(--gadscdp-content-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-content {
    padding: 3rem 0;
}

.content-area-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 2.5rem;
}

@media (max-width: 900px) {
    .content-area-with-sidebar { grid-template-columns: 1fr; }
}

.content-narrow { max-width: var(--gadscdp-narrow-width); margin: 0 auto; }

/* ==========================================================================
   4. Header / Navigation
   ========================================================================== */
.site-header {
    border-bottom: 1px solid var(--gadscdp-color-border);
    background: var(--gadscdp-color-bg);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}
.site-branding { display: flex; align-items: center; gap: 0.6rem; }
.site-title { font-size: 1.35rem; margin: 0; font-weight: 800; text-transform: uppercase; }
.site-title a { color: var(--gadscdp-color-primary); text-decoration: none; }
.site-description { display: none; }

/* Primary menu */
.main-navigation { flex: 1; }
.main-navigation > ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: 0.5rem; }
.main-navigation li { position: relative; }
.main-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #3a4252;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.55rem 1.05rem;
    border-radius: 10px;
    line-height: 1;
    transition: background 0.15s ease, color 0.15s ease;
}
.main-navigation > ul > li > a { border-radius: 999px; }
.main-navigation > ul > li:hover > a,
.main-navigation > ul > li:focus-within > a,
body:not(.home) .main-navigation > ul > li.current-menu-item > a,
body:not(.home) .main-navigation > ul > li.current_page_item > a,
body:not(.home) .main-navigation > ul > li.current-menu-parent > a,
body:not(.home) .main-navigation > ul > li.current-menu-ancestor > a,
body:not(.home) .main-navigation > ul > li.current_page_ancestor > a {
    color: #0060ef;
    background: #eef3ff;
    text-decoration: none;
}
/* Active item inside a dropdown */
body:not(.home) .sub-menu li.current-menu-item > a,
body:not(.home) .sub-menu li.current_page_item > a { color: #0060ef; background: #f1f4f9; }

/* Caret on items with a submenu */
.menu-item-has-children > a::after {
    content: "";
    width: 0.5em;
    height: 0.5em;
    border-right: 1.6px solid #9aa3b4;
    border-bottom: 1.6px solid #9aa3b4;
    transform: rotate(45deg);
    margin-top: -0.22em;
    transition: transform 0.2s ease, margin-top 0.2s ease, border-color 0.15s ease;
}
.main-navigation > ul > li.menu-item-has-children:hover > a::after,
.main-navigation > ul > li.menu-item-has-children:focus-within > a::after { transform: rotate(-135deg); margin-top: 0.12em; border-color: #0060ef; }

/* Dropdown */
.sub-menu {
    list-style: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 240px;
    margin: 0;
    padding: 0.6rem;
    background: #fff;
    border: 1px solid var(--gadscdp-color-border);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(20, 30, 60, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 120;
}
.sub-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; } /* hover bridge */
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { display: flex; align-items: center; gap: 0.6rem; padding: 0.75rem 0.9rem; border-radius: 10px; color: var(--gadscdp-color-text); font-weight: 500; font-size: 1rem; white-space: nowrap; }
.sub-menu a:hover { background: #f1f4f9; color: var(--gadscdp-color-primary); }

/* Level-2 submenu: fly out to the right (don't stack over level-1 siblings) */
.sub-menu .sub-menu { top: -0.6rem; left: calc(100% + 8px); transform: translateX(6px); }
.main-navigation .sub-menu li:hover > .sub-menu,
.main-navigation .sub-menu li:focus-within > .sub-menu { transform: translateX(0); }
.sub-menu .sub-menu::before { top: 0; bottom: 0; left: -8px; right: auto; width: 8px; height: auto; }
/* right-pointing caret for submenu parents */
.sub-menu .menu-item-has-children > a { justify-content: space-between; }
.sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); margin-top: 0; }

/* Right-hand actions */
.site-header-actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.site-header-actions .header-cta { white-space: nowrap; padding: 0.5rem 1.7rem; border-radius: 999px; font-weight: 700; }

/* Hamburger */
.menu-toggle { display: none; position: relative; width: 44px; height: 40px; background: #eef3ff; border: 0; border-radius: 9px; cursor: pointer; }
.menu-toggle__bar,
.menu-toggle__bar::before,
.menu-toggle__bar::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 20px;
    height: 2px;
    background: var(--gadscdp-color-primary);
    transform: translateX(-50%);
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle__bar { top: 50%; margin-top: -1px; }
.menu-toggle__bar::before { top: -6px; }
.menu-toggle__bar::after { top: 6px; }
.menu-open .menu-toggle__bar { background: transparent; }
.menu-open .menu-toggle__bar::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.menu-open .menu-toggle__bar::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .main-navigation { order: 3; flex: 0 0 100%; display: none; }
    .main-navigation.toggled { display: block; }
    .main-navigation > ul { flex-direction: column; align-items: stretch; gap: 0.1rem; padding: 0.5rem 0; }
    .main-navigation a { padding: 0.7rem 0.5rem; }
    .main-navigation > ul > li > a:hover,
    .main-navigation > ul > li.menu-item-has-children:hover > a { background: transparent; }
    .menu-item-has-children > a::after { margin-left: auto; }
    /* Accordion: submenus are collapsed by default and expand only when their
       parent item is tapped open (avoids every level showing at once). */
    .sub-menu {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0 1rem; min-width: 0; background: transparent;
        display: none;
    }
    .main-navigation li.is-open > .sub-menu { display: block; }
    /* Let long submenu titles wrap instead of forcing horizontal page scroll. */
    .sub-menu a { white-space: normal; overflow-wrap: anywhere; }
    /* Point the caret down while the submenu is open (level 1 & 2 alike). */
    .main-navigation li.menu-item-has-children.is-open > a::after {
        transform: rotate(45deg); margin-top: -0.22em; border-color: #0060ef;
    }
    .sub-menu::before { display: none; }
    .site-header-inner { flex-wrap: wrap; }
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.gadscdp-btn,
.wp-block-button__link {
    display: inline-block;
    background: var(--gadscdp-color-primary);
    color: #fff !important;
    padding: 0.8rem 1.6rem;
    border: 0;
    border-radius: var(--gadscdp-radius);
    font-weight: 600;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease;
}
.gadscdp-btn:hover { background: var(--gadscdp-color-primary-dark); color: #fff; text-decoration: none; }
.gadscdp-btn--ghost {
    background: transparent;
    color: var(--gadscdp-color-primary) !important;
    border: 2px solid var(--gadscdp-color-primary);
}
.gadscdp-btn--ghost:hover { background: var(--gadscdp-color-primary); color: #fff !important; }

/* ==========================================================================
   6. Front page (business sections)
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, #eef3ff 0%, #ffffff 60%);
    padding: 5rem 0;
}
.hero-inner { max-width: 720px; }
.hero h1 { margin-bottom: 0.5rem; }
.hero .lead { font-size: 1.25rem; color: var(--gadscdp-color-muted); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.section { padding: 4rem 0; }
.section--alt { background: var(--gadscdp-color-bg-alt); }
.section-title { text-align: center; margin-bottom: 2.5rem; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--gadscdp-gap);
}
.service-card {
    background: var(--gadscdp-color-bg);
    border: 1px solid var(--gadscdp-color-border);
    border-radius: var(--gadscdp-radius);
    padding: 1.75rem;
    box-shadow: var(--gadscdp-shadow);
}
.service-card h3 { margin-top: 0; }

/* ==========================================================================
   7. Posts / Articles
   ========================================================================== */
.post-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.entry-card {
    border: 1px solid var(--gadscdp-color-border);
    border-radius: var(--gadscdp-radius);
    overflow: hidden;
    background: var(--gadscdp-color-bg);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.entry-card:hover { box-shadow: var(--gadscdp-shadow); transform: translateY(-2px); }
.entry-card .entry-thumb img { width: 100%; height: 190px; object-fit: cover; }
.entry-card .entry-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.entry-card .entry-title { font-size: 1.2rem; margin: 0; }

.entry-meta {
    font-size: 0.85rem;
    color: var(--gadscdp-color-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.entry-meta a { color: var(--gadscdp-color-muted); }

.single .entry-header { margin-bottom: 1.5rem; }
.single .entry-content { font-size: 1.08rem; }
.single .entry-content > * { margin-bottom: 1.25em; }
.entry-content h2, .entry-content h3 { margin-top: 1.8em; }
.entry-footer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--gadscdp-color-border); }

.post-thumbnail img { border-radius: var(--gadscdp-radius); margin-bottom: 1.5rem; }

/* ==========================================================================
   8. Breadcrumbs
   ========================================================================== */
.gadscdp-breadcrumbs {
    font-size: 0.85rem;
    color: var(--gadscdp-color-muted);
    padding: 1rem 0;
}
.gadscdp-breadcrumbs a { color: var(--gadscdp-color-muted); }
.gadscdp-breadcrumbs .sep { margin: 0 0.5rem; opacity: 0.6; }
.gadscdp-breadcrumbs [aria-current="page"] { color: var(--gadscdp-color-text); font-weight: 600; }

/* ==========================================================================
   9. Sidebar / Widgets
   ========================================================================== */
.widget {
    background: var(--gadscdp-color-bg-alt);
    border: 1px solid var(--gadscdp-color-border);
    border-radius: var(--gadscdp-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.widget-title { font-size: 1.1rem; margin-top: 0; margin-bottom: 1rem; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 0.4rem 0; border-bottom: 1px solid var(--gadscdp-color-border); }
.widget ul li:last-child { border-bottom: 0; }

/* ==========================================================================
   10. Pagination
   ========================================================================== */
.gadscdp-pagination { margin-top: 3rem; }
.gadscdp-pagination .nav-links { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.gadscdp-pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--gadscdp-color-border);
    border-radius: 6px;
    color: var(--gadscdp-color-text);
    text-decoration: none;
}
.gadscdp-pagination .page-numbers.current { background: var(--gadscdp-color-primary); color: #fff; border-color: var(--gadscdp-color-primary); }

/* ==========================================================================
   11. Comments
   ========================================================================== */
.comments-area { margin-top: 3rem; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .children { list-style: none; margin-left: 1.5rem; }
.comment-body { padding: 1.25rem; border: 1px solid var(--gadscdp-color-border); border-radius: var(--gadscdp-radius); margin-bottom: 1rem; }
.comment-author { font-weight: 600; }
.comment-metadata { font-size: 0.8rem; color: var(--gadscdp-color-muted); }

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer {
    background: #0f1730;
    color: #c7d0e0;
    padding: 3.5rem 0 0;
    margin-top: 4rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}
.footer-brandmark { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1.1rem; }
.footer-brandmark,
.footer-brandmark:hover { text-decoration: none; }
.footer-brandmark img { height: 40px; width: auto; }
.footer-brandmark__text { font-size: 1.35rem; font-weight: 800; text-transform: uppercase; color: var(--gadscdp-color-primary); }
.footer-brand__desc { color: #aeb8cc; max-width: 330px; margin: 0 0 1.25rem; font-size: 0.95rem; line-height: 1.7; }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; color: #c7d0e0; font-size: 0.92rem; line-height: 1.6; }
.footer-contact img { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 0.2rem; opacity: 0.9; }
.footer-contact a { color: #c7d0e0; text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.footer-col__title { color: #fff; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; margin: 0 0 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: #aeb8cc; text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.site-info { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 1.3rem 0; text-align: center; font-size: 0.85rem; color: #8d99b3; }

@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ==========================================================================
   13. Forms / Search
   ========================================================================== */
.search-form { display: flex; gap: 0.5rem; }
input[type="text"], input[type="search"], input[type="email"], input[type="url"], textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--gadscdp-color-border);
    border-radius: 8px;
    font: inherit;
    background: #fff;
}
input:focus, textarea:focus { outline: 2px solid var(--gadscdp-color-primary); outline-offset: 1px; }

/* ==========================================================================
   14. Utilities / WP core classes
   ========================================================================== */
.alignwide { max-width: 1100px; }
.alignfull { max-width: 100%; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-element-caption { font-size: 0.85rem; color: var(--gadscdp-color-muted); text-align: center; }
.sticky .entry-card { border-color: var(--gadscdp-color-accent); }
.bypostauthor { display: block; }
.page-header { margin-bottom: 2rem; }
.page-title { margin-bottom: 0.25rem; }

/* ==========================================================================
   15. Front page — GADS CDP landing
   ========================================================================== */

/* Landing sections manage their own spacing — strip the content wrapper
   padding and footer margin so sections sit flush (no white gaps). */
.gadscdp-landing .site-content { padding: 0; }
.gadscdp-landing .site-footer { margin-top: 0; }

/* --- Asset placeholders (replace with real images) --- */
.gadscdp-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: repeating-linear-gradient(45deg, #eef2fb, #eef2fb 12px, #e6ecf8 12px, #e6ecf8 24px);
    border: 1px dashed #b8c4dd;
    color: #6b7793;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--gadscdp-radius);
    padding: 1rem;
    min-height: 80px;
}
.gadscdp-ph--hero { aspect-ratio: 4 / 3; }
.gadscdp-ph--tall { min-height: 340px; height: 100%; }
.gadscdp-ph--icon { width: 48px; height: 48px; min-height: 0; border-radius: 12px; flex: 0 0 auto; }
.gadscdp-ph--logo { height: 64px; min-height: 0; }
.gadscdp-ph--step { width: 110px; height: 110px; min-height: 0; border-radius: 50%; font-size: 1.5rem; }
.gadscdp-ph--phone { aspect-ratio: 9 / 18; max-width: 240px; margin: 0 auto; border-radius: 26px; }
.gadscdp-ph--phone-sm { aspect-ratio: 9 / 16; max-width: 180px; border-radius: 22px; }
.gadscdp-ph--press { aspect-ratio: 16 / 9; }
.gadscdp-ph--avatar { width: 44px; height: 44px; min-height: 0; border-radius: 50%; flex: 0 0 auto; }

/* --- Shared section scaffolding --- */
.lp-section { padding: 3.25rem 0; }
.lp-section--alt { background: var(--gadscdp-color-bg-alt); }
.lp-section--tight { padding: 2rem 0; }
.lp-section__head { text-align: center; max-width: 760px; margin: 0 auto 2rem; }
.lp-section__title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0.75rem 0 0; }
.lp-section__title--sm { font-size: 1.4rem; }
.lp-section__sub { color: var(--gadscdp-color-muted); margin-top: 0.75rem; font-size: 1.05rem; }
.lp-text-primary { color: var(--gadscdp-color-primary); }

.lp-badge {
    display: inline-block;
    background: #e8eeff;
    color: var(--gadscdp-color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
}
.lp-badge--soft { background: #eef3ff; color: var(--gadscdp-color-muted); letter-spacing: 0; font-weight: 600; }
.lp-badge--on-blue { background: rgba(255,255,255,0.18); color: #fff; }

.gadscdp-btn--light { background: #fff; color: var(--gadscdp-color-primary) !important; }
.gadscdp-btn--light:hover { background: #f0f4ff; }
.gadscdp-btn--ghost-light { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,0.7); }
.gadscdp-btn--ghost-light:hover { background: rgba(255,255,255,0.12); }

/* --- Hero --- */
.lp-hero { padding: 4.5rem 0; }
.lp-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem; align-items: center; }
.lp-hero__title { font-size: clamp(2.1rem, 4.5vw, 3.1rem); line-height: 1.15; margin-bottom: 1rem; }
.lp-hero__lead { font-size: 1.15rem; color: var(--gadscdp-color-muted); margin-bottom: 2rem; }
.lp-hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.lp-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.lp-stat { display: flex; flex-direction: column; }
.lp-stat__num { font-size: 1.8rem; font-weight: 800; color: var(--gadscdp-color-text); }
.lp-stat__label { font-size: 0.85rem; color: var(--gadscdp-color-muted); }

/* Hero badge (pill with "MỚI" tag) */
.lp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #eef3ff;
    border: 1px solid #dfe7fb;
    border-radius: 999px;
    padding: 0.3rem 0.95rem 0.3rem 0.3rem;
    font-size: 0.85rem;
}
.lp-hero__badge-tag {
    background: var(--gadscdp-color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    line-height: 1;
}
.lp-hero__badge-text { color: var(--gadscdp-color-muted); font-weight: 500; }

/* Hero rotating word (slide-up between channels) */
.word-rotator {
    display: flex;
    flex-direction: column;
    height: 1.5em;
    overflow: hidden;
}
.word-rotator__list {
    display: flex;
    flex-direction: column;
    animation: gadscdp-word-rotate 9s cubic-bezier(0.7, 0, 0.3, 1) infinite;
}
.word-rotator__word {
    display: flex;
    align-items: center;
    height: 1.5em;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}
@keyframes gadscdp-word-rotate {
    0%, 22%    { transform: translateY(0); }
    28%, 50%   { transform: translateY(-25%); }
    56%, 78%   { transform: translateY(-50%); }
    84%, 100%  { transform: translateY(-75%); }
}
@media (prefers-reduced-motion: reduce) {
    .word-rotator__list { animation: none; }
}

/* Buttons with leading icon */
.gadscdp-btn--icon { display: inline-flex; align-items: center; gap: 0.5rem; }
.gadscdp-btn__icon { flex: 0 0 auto; }

/* --- Solutions --- */
.lp-solutions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.lp-feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.lp-feature { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--gadscdp-color-border); border-radius: var(--gadscdp-radius); padding: 1.25rem; }
.lp-feature__icon { font-size: 1.6rem; line-height: 1; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: #eaf0ff; border-radius: 12px; flex: 0 0 auto; }
.lp-feature__body { display: flex; flex-direction: column; gap: 0.25rem; }
.lp-feature__title { font-weight: 700; font-size: 1.1rem; }
.lp-feature__desc { color: var(--gadscdp-color-muted); font-size: 0.95rem; }

/* --- Process --- */
.lp-process { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; }
.lp-process__step { display: flex; flex-direction: column; align-items: center; gap: 1rem; position: relative; max-width: 160px; text-align: center; }
.lp-process__step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -1.75rem;
    top: 45px;
    color: #c0cce4;
    font-size: 1.4rem;
}
.lp-process__label { font-weight: 600; }

/* --- Clients --- */
.lp-logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1.5rem; align-items: center; }

/* --- App showcase --- */
.lp-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 2.5rem; }
.lp-tab { background: #fff; border: 1px solid var(--gadscdp-color-border); border-radius: 999px; padding: 0.5rem 1.2rem; font: inherit; font-weight: 600; cursor: pointer; color: var(--gadscdp-color-muted); }
.lp-tab.is-active { background: var(--gadscdp-color-primary); color: #fff; border-color: var(--gadscdp-color-primary); }
.lp-screens { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; max-width: 880px; margin: 0 auto; }
.lp-screen { margin: 0; text-align: center; }
.lp-screen__caption { margin-top: 1rem; font-weight: 600; }

/* --- Industries (blue) --- */
.lp-section--blue { background: linear-gradient(135deg, #2f6bff 0%, #1e4fd6 100%); }
.lp-section__title--on-blue, .lp-section__sub--on-blue { color: #fff; }
.lp-section__sub--on-blue { opacity: 0.9; }
.lp-industries { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.lp-industry-card { background: #fff; border-radius: var(--gadscdp-radius); padding: 1.75rem; box-shadow: var(--gadscdp-shadow); }
.lp-industry-card__icon { font-size: 2rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: #eaf0ff; border-radius: 14px; }
.lp-industry-card__title { margin: 1rem 0 0.5rem; font-size: 1.15rem; }
.lp-industry-card__desc { color: var(--gadscdp-color-muted); font-size: 0.95rem; margin: 0; }

/* --- Testimonials --- */
.lp-testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.lp-testimonial { margin: 0; background: #fff; border: 1px solid var(--gadscdp-color-border); border-radius: var(--gadscdp-radius); padding: 1.75rem; box-shadow: var(--gadscdp-shadow); }
.lp-stars { color: #ffb020; letter-spacing: 2px; margin-bottom: 1rem; }
.lp-testimonial__quote { margin: 0 0 1.5rem; font-style: italic; color: var(--gadscdp-color-text); }
.lp-testimonial__author { display: flex; align-items: center; gap: 0.75rem; }
.lp-testimonial__name { display: block; font-weight: 700; }
.lp-testimonial__role { display: block; font-size: 0.85rem; color: var(--gadscdp-color-muted); }

/* --- Press --- */
.lp-press { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.lp-press-card { background: #fff; border: 1px solid var(--gadscdp-color-border); border-radius: var(--gadscdp-radius); overflow: hidden; }
.lp-press-card__body { padding: 1.25rem; }
.lp-press-card__source { font-size: 0.8rem; font-weight: 700; color: var(--gadscdp-color-primary); }
.lp-press-card__title { font-size: 1.1rem; margin: 0.5rem 0 0; }
.lp-press-card__title a { color: var(--gadscdp-color-text); text-decoration: none; }
.lp-press-card__title a:hover { color: var(--gadscdp-color-primary); }

/* --- Final CTA (wave canvas only, no fill + corner decor) --- */
.lp-cta { position: relative; overflow: hidden; background: linear-gradient(135deg, #eef3ff 0%, #ffffff 55%); color: var(--gadscdp-color-text); padding: 5.5rem 0; margin-top: 0; }
/* Full-bleed: covers the whole section box (padding included), not the padded content area. */
.lp-cta__wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.lp-cta__circle-left { position: absolute; left: -60px; bottom: -107px; width: 260px; z-index: 1; pointer-events: none; transform: rotate(118deg); }
.lp-cta__phone { position: absolute; left: 1.5rem; bottom: 0; width: 230px; z-index: 2; pointer-events: none; }
.lp-cta__circle {position: absolute;right: -8px;bottom: -60px;width: 157px;max-width: none;z-index: 1;pointer-events: none;}
.lp-cta__inner { position: relative; z-index: 3; max-width: 640px; margin: 0 auto; text-align: center; }
.lp-cta__title { color: var(--gadscdp-color-text); font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 0.9rem; }
.lp-cta__sub { color: var(--gadscdp-color-muted); margin: 0 0 1.9rem; font-size: 1.05rem; }
.lp-cta__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

@media (max-width: 900px) {
    .lp-cta__phone, .lp-cta__circle, .lp-cta__circle-left { display: none; }
}

/* ==========================================================================
   17. Page templates (coded static pages)
   ========================================================================== */

/* Let coded heroes sit flush under the header (keep breadcrumb JSON-LD,
   hide its visual nav on these templates). */
.gadscdp-page-template .site-content { padding: 0; }
.gadscdp-page-template .site-footer { margin-top: 0; }
.gadscdp-page-template .gadscdp-breadcrumbs { display: none; }

/* Solutions hero (soft animated gradient blobs) */
.sol-hero { position: relative; overflow: hidden; background: #ffffff; padding: 3.5rem 0 4rem; }
.sol-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
/* Fade the top & bottom edges to white so the section has no visible seam. */
.sol-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 16%, rgba(255, 255, 255, 0) 84%, #fff 100%);
}
.sol-hero__blob {
    position: absolute;
    width: 150%;
    height: 150%;
    left: -25%;
    top: -25%;
    filter: blur(60px);
    will-change: transform;
}
.sol-hero__blob--1 { background: radial-gradient(circle at 25% 70%, rgba(46, 196, 255, 0.30) 0%, rgba(46, 196, 255, 0.12) 16%, transparent 38%); animation: sol-blob-1 10s ease-in-out infinite; }
.sol-hero__blob--2 { background: radial-gradient(circle at 78% 32%, rgba(80, 140, 255, 0.22) 0%, rgba(80, 140, 255, 0.08) 16%, transparent 38%); animation: sol-blob-2 13s ease-in-out infinite; }
.sol-hero__blob--3 { background: radial-gradient(circle at 60% 88%, rgba(150, 200, 255, 0.26) 0%, rgba(150, 200, 255, 0.10) 16%, transparent 36%); animation: sol-blob-3 16s ease-in-out infinite; }
@keyframes sol-blob-1 { 0%, 100% { transform: translate(-14%, 12%); } 50% { transform: translate(8%, -6%); } }
@keyframes sol-blob-2 { 0%, 100% { transform: translate(10%, -8%); } 50% { transform: translate(-10%, 10%); } }
@keyframes sol-blob-3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-12%, -8%); } }
@media (prefers-reduced-motion: reduce) {
    .sol-hero__blob { animation: none; }
}

.sol-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.sol-hero__title { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.2; margin: 0 0 1.25rem; }
.sol-hero__lead { color: var(--gadscdp-color-muted); font-size: 1.1rem; margin: 0 0 1.5rem; max-width: 540px; }
.sol-hero__content .lp-badge { display: inline-block; margin-bottom: 1rem; }
.sol-hero__list { max-width: 540px; }
.sol-hero__media img { width: 100%; height: auto; }

@media (max-width: 900px) {
    .sol-hero__grid { grid-template-columns: 1fr; }
}

.page-hero { padding: 2.5rem 0 1rem; text-align: center; }
.page-hero .lp-badge { margin-bottom: 1rem; }
.page-hero__title { font-size: clamp(2rem, 4vw, 2.9rem); margin: 0 0 0.6rem; }
.page-hero__subtitle { color: var(--gadscdp-color-muted); font-size: 1.12rem; max-width: 680px; margin: 0 auto; }

.page-section { padding: 2.5rem 0; }
.page-section--alt { background: var(--gadscdp-color-bg-alt); }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.feature-row--reverse .feature-row__media { order: 2; }
.feature-row__media .gadscdp-ph--tall { min-height: 320px; }
.feature-row__body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0.75rem 0 1rem; }
.feature-row__body p { color: var(--gadscdp-color-muted); margin: 0 0 1.25rem; }
.feature-row__list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 0.6rem; }
.feature-row__list li { position: relative; padding-left: 1.75rem; }
.feature-row__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 0.5rem;
    height: 0.85rem;
    border-right: 2px solid var(--gadscdp-color-primary);
    border-bottom: 2px solid var(--gadscdp-color-primary);
    transform: rotate(45deg);
}

@media (max-width: 900px) {
    .feature-row { grid-template-columns: 1fr; gap: 2rem; }
    .feature-row--reverse .feature-row__media { order: 0; }
}

/* --- Landing images (real assets) --- */
.lp-hero__media { text-align: center; }
.lp-hero__img { width: 100%; max-width: 380px; height: auto; margin: 0 auto; }
.lp-hero__video { width: 100%; height: auto; display: block; border-radius: var(--gadscdp-radius); }

/* Subtle entrance animation for hero content & illustrations
   (home hero video is intentionally NOT animated). */
@keyframes gadscdp-fade-up {
    from { opacity: 0; transform: translate3d(0, 22px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0); }
}
/* Page heroes: stagger the content blocks + the illustration. */
.sol-hero__content > * { animation: gadscdp-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; will-change: opacity, transform; backface-visibility: hidden; }
.sol-hero__content > *:nth-child(1) { animation-delay: 0s; }
.sol-hero__content > *:nth-child(2) { animation-delay: 0.15s; }
.sol-hero__content > *:nth-child(3) { animation-delay: 0.3s; }
.sol-hero__content > *:nth-child(4) { animation-delay: 0.45s; }
.sol-hero__content > *:nth-child(5) { animation-delay: 0.6s; }
.sol-hero__media { animation: gadscdp-fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both; }

/* Home hero: granular stagger down to buttons & individual stats. */
.lp-hero__badge,
.lp-hero__title,
.lp-hero__lead,
.lp-hero__actions .gadscdp-btn,
.lp-hero .lp-stat { animation: gadscdp-fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; will-change: opacity, transform; backface-visibility: hidden; }
.lp-hero__badge { animation-delay: 0s; }
.lp-hero__title { animation-delay: 0.15s; }
.lp-hero__lead { animation-delay: 0.3s; }
.lp-hero__actions .gadscdp-btn:nth-child(1) { animation-delay: 0.45s; }
.lp-hero__actions .gadscdp-btn:nth-child(2) { animation-delay: 0.57s; }
.lp-hero .lp-stat:nth-child(1) { animation-delay: 0.72s; }
.lp-hero .lp-stat:nth-child(2) { animation-delay: 0.82s; }
.lp-hero .lp-stat:nth-child(3) { animation-delay: 0.92s; }

@media (prefers-reduced-motion: reduce) {
    .sol-hero__content > *,
    .sol-hero__media,
    .lp-hero__badge,
    .lp-hero__title,
    .lp-hero__lead,
    .lp-hero__actions .gadscdp-btn,
    .lp-hero .lp-stat { animation: none; }
}

/* Hold the entrance animations (paused) until JS marks the page ready —
   avoids jank when CSS/fonts arrive mid-animation on first load. */
.gadscdp-js .sol-hero__content > *,
.gadscdp-js .sol-hero__media,
.gadscdp-js .lp-hero__badge,
.gadscdp-js .lp-hero__title,
.gadscdp-js .lp-hero__lead,
.gadscdp-js .lp-hero__actions .gadscdp-btn,
.gadscdp-js .lp-hero .lp-stat { animation-play-state: paused; }
.gadscdp-ready .sol-hero__content > *,
.gadscdp-ready .sol-hero__media,
.gadscdp-ready .lp-hero__badge,
.gadscdp-ready .lp-hero__title,
.gadscdp-ready .lp-hero__lead,
.gadscdp-ready .lp-hero__actions .gadscdp-btn,
.gadscdp-ready .lp-hero .lp-stat { animation-play-state: running; }
.lp-solutions__img { width: 100%; height: auto; border-radius: var(--gadscdp-radius); box-shadow: var(--gadscdp-shadow); }
.lp-process { margin: 0; }
.lp-process__img { width: 100%; height: auto; }
.lp-logo { display: flex; align-items: center; justify-content: center; padding: 0.5rem; }
.lp-logo img { max-height: 72px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.7; transition: filter 0.15s ease, opacity 0.15s ease; }
.lp-logo img:hover { filter: none; opacity: 1; }
.lp-screen__img { width: 100%; max-width: 260px; height: auto; margin: 0 auto; display: block; }
.lp-testimonial__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.lp-press-card__thumb { display: block; }
.lp-press-card__thumb img { width: 100%; height: 200px; object-fit: cover; display: block; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { height: 40px; width: auto; }
/* Uploaded Customizer logo — match the bundled logo height */
.custom-logo-link { display: inline-flex; align-items: center; }
.site-header .custom-logo { height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.footer-brand { margin-bottom: 2rem; }
.footer-logo { height: 48px; width: auto; }

/* --- Landing responsive --- */
@media (max-width: 900px) {
    .lp-hero__grid,
    .lp-solutions { grid-template-columns: 1fr; }
    .lp-cta__inner { grid-template-columns: 1fr; text-align: center; }
    .lp-cta__media { display: none; }
    .lp-process__step:not(:last-child)::after { display: none; }
}

/* ==========================================================================
   16. Reusable components (Umbrella JS)
   ========================================================================== */

@keyframes gadscdp-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

/* --- Tabs (image panel + accordion list) --- */
.g-tabs__panel { display: none; }
.g-tabs__panel.is-active { display: block; animation: gadscdp-fade 0.35s ease; }
.g-tabs__panel img { width: 100%; height: auto; border-radius: var(--gadscdp-radius); box-shadow: var(--gadscdp-shadow); }

.g-tabs__tab {
    display: block;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: background 0.15s ease;
}
.g-tabs__tab:hover,
.g-tabs__tab.is-active { background: #f1f4f9; }
.g-tabs__tab:focus-visible { outline: 2px solid var(--gadscdp-color-primary); outline-offset: 2px; }
.g-tabs__tab-head { display: flex; align-items: center; gap: 0.8rem; }
.g-tabs__icon {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    background-color: #9aa3b4; /* gray by default */
    -webkit-mask: var(--g-icon) center / contain no-repeat;
    mask: var(--g-icon) center / contain no-repeat;
    transition: background-color 0.15s ease;
}
.g-tabs__tab.is-active .g-tabs__icon { background-color: var(--gadscdp-color-primary); } /* blue when active */
.g-tabs__title { font-weight: 700; font-size: 1.12rem; color: var(--gadscdp-color-text); }
.g-tabs__desc {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-left: calc(28px + 0.8rem);
    color: var(--gadscdp-color-muted);
    font-size: 0.98rem;
    line-height: 1.6;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}
.g-tabs__tab.is-active .g-tabs__desc { max-height: 240px; opacity: 1; margin-top: 0.6rem; }

/* Solutions section layout (image left, tab list right) */
#solutions { background: linear-gradient(135deg, #eef3ff 0%, #ffffff 55%); }
.lp-solutions { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.lp-solutions__list { display: flex; flex-direction: column; gap: 0.4rem; }

/* Gamification section: slightly smaller illustration */
#gamification .g-tabs__panel img { max-width: 86%; margin: 0 auto; }

/* Reversed tab layout (image on the right) */
.lp-solutions--reverse .lp-solutions__media { order: 2; }
#automation-mkt { background: linear-gradient(135deg, #eef3ff 0%, #ffffff 55%); }

/* Miniapp Specialized: two labelled carousels */
.lp-miniapp-block { margin-top: 3rem; }
.lp-miniapp__label {
    display: block;
    background: var(--gadscdp-color-primary);
    color: #fff;
    text-align: center;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    margin: 0 auto 1rem;
}
.lp-miniapp__sub { text-align: center; color: var(--gadscdp-color-muted); max-width: 700px; margin: 0 auto 2rem; }
.lp-miniapp { padding: 0.5rem 0; }
.lp-miniapp .g-marquee__item { margin-right: 2rem; }
.lp-miniapp-item { width: 230px; margin: 0; text-align: center; }
.lp-miniapp-item img { width: 100%; height: auto; }
.lp-miniapp-item__caption { margin-top: 0.85rem; font-weight: 600; color: var(--gadscdp-color-muted); }

/* Gamification "Bài toán khó" section */
#problems { background: linear-gradient(135deg, #eef3ff 0%, #ffffff 55%); }
.problems__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.problems__media { position: relative; }
.problems__media::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 46%;
    width: 70%;
    aspect-ratio: 1;
    transform: translate(-52%, -50%);
    background: radial-gradient(circle at 50% 40%, #5b8cff 0%, #2f5fff 100%);
    border-radius: 50%;
    z-index: 0;
}
.problems__media img { position: relative; z-index: 1; width: 100%; height: auto; }
.problem-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.1rem; }
.problem-item { display: flex; align-items: center; gap: 0.9rem; }
.problem-item__icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gadscdp-color-primary);
    border-radius: 50%;
}
.problem-item__text { color: var(--gadscdp-color-muted); font-weight: 500; }
.problems__note { font-size: 1.08rem; margin: 0 0 1.75rem; }

@media (max-width: 900px) {
    .problems__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* Gamification feature cards (3×2 grid) */
#gfeatures { background: var(--gadscdp-color-bg-alt); }
.gfeatures__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gcard { background: #fff; border: 1px solid var(--gadscdp-color-border); border-radius: 18px; padding: 2.25rem 1.75rem; text-align: center; box-shadow: var(--gadscdp-shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.gcard:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(20, 30, 60, 0.14); }
.gcard__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gadscdp-color-primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.gcard__icon-mark {
    width: 30px;
    height: 30px;
    background-color: #fff;
    -webkit-mask: var(--g-icon) center / contain no-repeat;
    mask: var(--g-icon) center / contain no-repeat;
}
.gcard__title { font-size: 1.2rem; margin: 0 0 0.6rem; }
.gcard__desc { color: var(--gadscdp-color-muted); margin: 0; }
.gfeatures__cta { text-align: center; margin-top: 2.5rem; }

@media (max-width: 900px) { .gfeatures__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gfeatures__grid { grid-template-columns: 1fr; } }

/* Gamification industries marquee (photo cards + label on blue) */
.g-industries { padding: 0.5rem 0; }
.g-industries .g-marquee__item { margin-right: 1.5rem; }
.ind-card { position: relative; width: 260px; margin: 0; border-radius: 18px; overflow: hidden; }
.ind-card img { width: 100%; height: 230px; object-fit: cover; display: block; }
.ind-card__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 1rem 0.9rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

/* Gamification "how it works" — scrollytelling steps */
.steps__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.steps__list { display: flex; flex-direction: column; gap: 1.5rem; }
.steps__item {
    background: #fff;
    border: 1px solid var(--gadscdp-color-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--gadscdp-shadow);
    min-height: 48vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.steps__item.is-active { opacity: 1; box-shadow: 0 14px 34px rgba(20, 30, 60, 0.14); }
.steps__title { font-size: 1.3rem; margin: 0 0 0.75rem; }
.steps__desc { color: var(--gadscdp-color-muted); margin: 0; }
.steps__item-img { display: none; }

.steps__media { position: relative; height: 100%; }
.steps__media-inner { position: sticky; top: 100px; aspect-ratio: 1 / 1; }
.steps__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity 0.4s ease; }
.steps__img.is-active { opacity: 1; }

@media (max-width: 900px) {
    .steps__grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .steps__item { min-height: 0; }
    .steps__item-img { display: block; width: 100%; height: auto; border-radius: 12px; margin-top: 1.25rem; }
    .steps__media { display: none; }
}

/* Contact form section */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.contact__media img { width: 100%; height: auto; }
.contact__card { background: #fff; border-radius: 22px; padding: 1.5rem; box-shadow: 0 20px 50px rgba(20, 30, 60, 0.2); }
.contact__title { margin: 0 0 0.6rem; font-size: 1.6rem; }
.contact__intro { color: var(--gadscdp-color-muted); margin: 0 0 1rem; }
.contact-field { display: block; margin-bottom: 0.6rem; }
.contact-field__label { display: block; font-weight: 600; margin-bottom: 0.25rem; }
.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid var(--gadscdp-color-border);
    border-radius: 10px;
    font: inherit;
    background: #f5f7fb;
}
.contact-field textarea { resize: vertical; }
.contact-form__submit { width: 100%; text-align: center; margin-top: 0.5rem; }
.contact-form__submit:disabled { opacity: 0.55; cursor: not-allowed; }
/* Loading: hide the label and spin a ring while the submission is in flight. */
.contact-form__submit.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.contact-form__submit.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: gadscdp-btn-spin 0.6s linear infinite;
}
@keyframes gadscdp-btn-spin { to { transform: rotate(360deg); } }
.contact-form__captcha { margin-top: 0.25rem; }
.contact-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact__notice { padding: 0.8rem 1rem; border-radius: 10px; margin-bottom: 1rem; font-weight: 600; }
.contact__notice--ok { background: #e6f7ec; color: #1a7f43; }
.contact__notice--err { background: #fdeaea; color: #c0392b; }

@media (max-width: 900px) {
    .contact__grid { grid-template-columns: 1fr; }
    .contact__media { order: 2; }
}

/* Standalone contact page (info left + form right on blue) */
.contact-page { position: relative; overflow: hidden; background: linear-gradient(135deg, #2563ff 0%, #1f5eff 100%); }
.contact-page__decor { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: none; z-index: 0; pointer-events: none; }
.contact-page__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.contact-page__info { color: #fff; }
.contact-page__heading { color: #fff; font-size: 1.6rem; margin: 0 0 1rem; }
.contact-page__intro { color: rgba(255, 255, 255, 0.85); margin: 0 0 2rem; max-width: 460px; }
.contact-info { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.1rem; }
.contact-info li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-info img { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 0.15rem; }
.contact-info span,
.contact-info a { color: rgba(255, 255, 255, 0.92); text-decoration: none; }
.contact-info a:hover { color: #fff; text-decoration: underline; }
.contact-page__connect { color: #fff; font-size: 1.15rem; margin: 0 0 1rem; }
.contact-social { display: flex; gap: 1rem; }
.contact-social__link { width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); display: inline-flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; font-weight: 700; font-size: 0.85rem; transition: background 0.15s ease; }
.contact-social__link:hover { background: rgba(255, 255, 255, 0.15); }
.contact-page__card { background: #fff; border-radius: 22px; padding: 2rem; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18); }
.contact-page__card-title { margin: 0 0 1.25rem; font-size: 1.5rem; }

@media (max-width: 900px) {
    .contact-page__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .contact-page__decor { display: none; }
}

/* Pricing plans */
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; align-items: stretch; }
.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--gadscdp-color-border);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: var(--gadscdp-shadow);
}
.pricing-card--popular { box-shadow: 0 18px 44px rgba(31, 94, 255, 0.18); }
.pricing-card__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); z-index: 2; background: var(--gadscdp-color-primary); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 0.35rem 0.9rem; border-radius: 999px; white-space: nowrap; }
.pricing-card__name { font-size: 1.25rem; margin: 0 0 0.75rem; }
.pricing-card__price { margin-bottom: 0.75rem; }
.pricing-card__amount { font-size: 2rem; font-weight: 800; color: var(--gadscdp-color-text); }
.pricing-card__period { color: var(--gadscdp-color-muted); }
.pricing-card__desc { color: var(--gadscdp-color-muted); margin: 0 0 1.25rem; }
.pricing-card__features { list-style: none; margin: 0 0 1.75rem; padding: 1.25rem 0 0; border-top: 1px solid var(--gadscdp-color-border); display: grid; gap: 0.6rem; }
.pricing-card__features li { position: relative; padding-left: 1.6rem; }
.pricing-card__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 0.45rem;
    height: 0.8rem;
    border-right: 2px solid var(--gadscdp-color-primary);
    border-bottom: 2px solid var(--gadscdp-color-primary);
    transform: rotate(45deg);
}
.pricing-card__cta { margin-top: auto; text-align: center; }

@media (max-width: 900px) {
    .pricing__grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .pricing-card--popular { transform: none; }
}

/* Pricing — animated blob background, price notes, suitability, disabled feature */
#pricing { position: relative; overflow: hidden; background: #ffffff; }
#pricing > .gadscdp-container { position: relative; z-index: 1; }
.pricing-card__note1 { font-weight: 600; color: var(--gadscdp-color-text); margin: 0 0 0.2rem; font-size: 0.9rem; }
.pricing-card__note2 { color: var(--gadscdp-color-muted); margin: 0 0 1.25rem; font-size: 0.85rem; }
.pricing-card__note2--ok { color: #00b815; font-weight: 600; }
.pricing-card__features li.is-off { color: #b6bdc9; }
.pricing-card__features li.is-off::before { border-color: #cfd5e0; }
.pricing-card__suit { margin: 0.9rem 0 0; font-size: 0.8rem; color: var(--gadscdp-color-muted); text-align: center; white-space: nowrap; }

/* Pro card: animated "flash" running around the border */
@property --pricing-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.pricing-card--popular { border-color: transparent; }
.pricing-card--popular::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 20px;
    background: conic-gradient(from var(--pricing-angle), rgba(46, 196, 255, 0) 0deg, rgba(46, 196, 255, 0) 230deg, #2ec4ff 300deg, var(--gadscdp-color-primary) 345deg, rgba(46, 196, 255, 0) 360deg);
    z-index: 0;
    animation: pricing-flash 3s linear infinite;
}
.pricing-card--popular::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: #fff;
    z-index: 0;
}
.pricing-card--popular > *:not(.pricing-card__badge) { position: relative; z-index: 1; }
@keyframes pricing-flash { to { --pricing-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) {
    .pricing-card--popular::before { animation: none; background: var(--gadscdp-color-primary); }
}

/* Feature comparison table */
.compare { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare__table { width: 100%; min-width: 760px; border-collapse: collapse; background: #fff; border: 1px solid var(--gadscdp-color-border); border-radius: 14px; overflow: hidden; }
.compare__table th,
.compare__table td { padding: 0.9rem 1.1rem; text-align: center; border-bottom: 1px solid var(--gadscdp-color-border); font-size: 0.95rem; vertical-align: middle; }
.compare__table thead th { background: var(--gadscdp-color-primary); color: #fff; font-weight: 700; border-bottom: 0; }
.compare__table thead th:first-child,
.compare__table tbody th { text-align: left; }
.compare__table tbody th { font-weight: 600; color: var(--gadscdp-color-text); }
.compare__row:nth-child(even) { background: #eaf0fb; }
.compare__row:nth-child(odd) { background: #ffffff; }
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__check { color: var(--gadscdp-color-primary); display: inline-flex; }
.compare__dash { color: #c5ccd8; font-weight: 700; }

/* ==========================================================================
   18. Blog index
   ========================================================================== */
.blog-header { text-align: center; padding: 2.5rem 0 0; }
.blog-header .lp-badge { margin-bottom: 0.75rem; }
.blog-header__title { font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin: 0 0 0.6rem; }
.blog-header__sub { color: var(--gadscdp-color-muted); max-width: 660px; margin: 0 auto; }

.blog-list { border-top: 1px solid var(--gadscdp-color-border); margin-top: 2.5rem; padding-top: 2.5rem; padding-bottom: 4rem; }
.blog-meta { color: var(--gadscdp-color-muted); font-size: 0.85rem; }

.blog-featured { display: grid; grid-template-columns: 1.05fr 1fr; background: #fff; border: 1px solid var(--gadscdp-color-border); border-radius: 18px; overflow: hidden; box-shadow: var(--gadscdp-shadow); margin-bottom: 2rem; }
.blog-featured__media { display: block; background: #eef2f8; }
.blog-featured__media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; display: block; }
.blog-featured__body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured__title { font-size: 1.6rem; margin: 0.5rem 0 0.85rem; line-height: 1.3; }
.blog-featured__title a { color: var(--gadscdp-color-text); text-decoration: none; }
.blog-featured__title a:hover { color: var(--gadscdp-color-primary); }
.blog-featured__excerpt { color: var(--gadscdp-color-muted); margin: 0; }

.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--gadscdp-color-border); border-radius: 18px; overflow: hidden; box-shadow: var(--gadscdp-shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(20, 30, 60, 0.14); }
.blog-card__media { display: block; background: #eef2f8; }
.blog-card__media img { width: 100%; height: 230px; object-fit: cover; display: block; }
.blog-card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.blog-card__title { font-size: 1.15rem; margin: 0.15rem 0 0.3rem; line-height: 1.35; }
.blog-card__title a { color: var(--gadscdp-color-text); text-decoration: none; }
.blog-card__title a:hover { color: var(--gadscdp-color-primary); }
.blog-card__excerpt { color: var(--gadscdp-color-muted); margin: 0; font-size: 0.95rem; }

.blog-more { text-align: center; margin-top: 3rem; }
.blog-more a { display: inline-block; background: var(--gadscdp-color-primary); color: #fff; padding: 0.7rem 2rem; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background 0.15s ease; }
.blog-more a:hover { background: var(--gadscdp-color-primary-dark); }

@media (max-width: 768px) {
    .blog-featured { grid-template-columns: 1fr; }
    .blog-featured__media img { min-height: 220px; max-height: 260px; }
    .blog-grid { grid-template-columns: 1fr; }
}

/* Related posts (under single) */
.related { background: var(--gadscdp-color-bg-alt); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 900px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .related-grid { grid-template-columns: 1fr; } }

/* Per-tab inline image (mobile accordion only) */
.g-tabs__tab-img { display: none; }

@media (max-width: 900px) {
    .g-tabs__desc { padding-left: 0; }
    /* Tabs become an accordion: hide the shared image panel, show each
       active tab's own image inline below its text. */
    .lp-solutions { grid-template-columns: 1fr; gap: 0; }
    .lp-solutions__media { display: none; }
    .lp-solutions__list { gap: 0.5rem; }
    .g-tabs__tab.is-active .g-tabs__tab-img { display: block; width: 100%; height: auto; border-radius: 12px; margin-top: 0.85rem; }
}

/* --- Marquee (continuous scroll) --- */
.g-marquee {
    overflow: hidden;
    /* Soft fade at both edges */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.g-marquee__track {
    display: flex;
    width: max-content;
    animation: gadscdp-marquee var(--g-marquee-duration, 40s) linear infinite;
}
.g-marquee__item { flex: 0 0 auto; margin-right: 1.5rem; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.g-marquee__item:hover { transform: translateY(-8px); }
/* No-JS fallback: slow to a pause on hover (JS overrides with rAF easing). */
.g-marquee:hover .g-marquee__track { animation-play-state: paused; }
@keyframes gadscdp-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .g-marquee__track { animation: none; }
}

/* Client logos (image-only blocks, no card wrapper) */
#clients { background: linear-gradient(135deg, #eef3ff 0%, #ffffff 55%); }
.lp-clients { padding: 0.5rem 0; }
.lp-clients .g-marquee__item { margin-right: 2.75rem; }
.lp-client { display: flex; }
.lp-client img {
    height: 140px;
    width: auto;
    display: block;
    border-radius: 18px;
    border: 1px solid var(--gadscdp-color-border);
}

/* --- App showcase (horizontal pill tabs + 3 phone screens) --- */
.lp-app__tab {
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.15rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f1f4f9;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.lp-app__tab:hover,
.lp-app__tab.is-active { background: var(--gadscdp-color-primary); border-color: var(--gadscdp-color-primary); }
/* Icon rendered via CSS mask so any SVG (even white-filled) shows in the
   colour we choose: black on the light pill, white on the active blue pill. */
.lp-app__tab-icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    background-color: #111418;
    -webkit-mask: var(--g-icon) center / contain no-repeat;
    mask: var(--g-icon) center / contain no-repeat;
}
.lp-app__tab:hover .lp-app__tab-icon,
.lp-app__tab.is-active .lp-app__tab-icon { background-color: #fff; }
.lp-app__tab-title { font-weight: 600; font-size: 0.98rem; color: var(--gadscdp-color-text); }
.lp-app__tab:hover .lp-app__tab-title,
.lp-app__tab.is-active .lp-app__tab-title { color: #fff; }

/* Tighter vertical rhythm in this section */
.lp-app .lp-section__head { margin-bottom: 2rem; }
.lp-app .lp-section__sub { margin-top: 0.4rem; }
.lp-app__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-bottom: 1.5rem; }
.lp-app__desc { text-align: center; max-width: 640px; margin: 0 auto 1.1rem; color: var(--gadscdp-color-muted); font-size: 1.05rem; }
.lp-app__screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1000px; margin: 0 auto; }
.lp-app__screen { margin: 0; }
.lp-app__panel img { width: 100%; max-width: 320px; height: auto; margin: 0 auto; display: block; border-radius: 0; box-shadow: none; }
.lp-app__caption { margin-top: 0.7rem; text-align: center; font-weight: 600; color: var(--gadscdp-color-text); }

@media (max-width: 700px) {
    .lp-app__screens { display: flex; overflow-x: auto; gap: 1rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 0.5rem; }
    .lp-app__screen { flex: 0 0 64%; scroll-snap-align: center; }

    /* Even 2-column grid so every tab pill lines up (no ragged wrapping). */
    .lp-app__nav { display: grid; grid-template-columns: 1fr 1fr; }
    .lp-app__tab { width: 100%; justify-content: center; }
}

/* --- Industry sector cards (marquee) --- */
.lp-sectors { padding: 0.5rem 0; }
.lp-sectors .g-marquee__item { margin-right: 1.75rem; }
.lp-sector {
    width: 340px;
    background: #fff;
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: var(--gadscdp-shadow);
    white-space: normal;
}
.lp-sector__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2f6bff 0%, #1e4fd6 100%);
    border-radius: 14px;
    margin-bottom: 1rem;
}
.lp-sector__icon img { width: 32px; height: 32px; }
.lp-sector__title { font-size: 1.15rem; margin: 0 0 0.5rem; }
.lp-sector__desc { color: var(--gadscdp-color-muted); font-size: 0.97rem; line-height: 1.6; margin: 0; }

/* --- Testimonial quote cards (marquee, equal height) --- */
.lp-quotes { padding: 0.5rem 0; }
.lp-quotes .g-marquee__item { margin-right: 1.75rem; }
.lp-quote {
    display: flex;
    flex-direction: column;
    width: 380px;
    background: #fff;
    border: 1px solid var(--gadscdp-color-border);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: var(--gadscdp-shadow);
    white-space: normal;
}
.lp-quote__icon { width: 40px; height: 40px; margin-bottom: 1rem; }
.lp-quote__text { flex: 1; margin: 0 0 1.25rem; color: var(--gadscdp-color-text); font-size: 0.98rem; line-height: 1.7; }
.lp-quote__author { display: flex; flex-direction: column; gap: 0.15rem; border-top: 1px solid var(--gadscdp-color-border); padding-top: 1rem; }
.lp-quote__name { font-weight: 700; }
.lp-quote__role { font-size: 0.85rem; color: var(--gadscdp-color-muted); }

/* --- Slider (multi-visible, advance one block per step, dots) --- */
.g-slider__viewport { overflow: hidden; }
.g-slider__track { display: flex; }
.g-slider__slide { flex: 0 0 calc(100% / var(--g-per-view, 1)); box-sizing: border-box; padding: 0 0.75rem; }
.g-slider__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.75rem; }
.g-slider__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #cdd6e6;
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
}
.g-slider__dot.is-active { background: var(--gadscdp-color-primary); width: 26px; border-radius: 5px; }

/* Press slider cards (vertical, equal height) */
#press { background: linear-gradient(135deg, #eef3ff 0%, #ffffff 55%); }
.lp-press { display: block; }
.lp-press-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--gadscdp-color-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--gadscdp-shadow);
}
.lp-press-card__media { display: block; }
.lp-press-card__media img { width: 100%; height: 200px; object-fit: cover; display: block; }
.lp-press-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.lp-press-card__source { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: var(--gadscdp-color-primary); text-transform: uppercase; }
.lp-press-card__title { font-size: 1.1rem; margin: 0.5rem 0 0.6rem; line-height: 1.4; }
.lp-press-card__title a { color: var(--gadscdp-color-text); text-decoration: none; }
.lp-press-card__title a:hover { color: var(--gadscdp-color-primary); }
.lp-press-card__desc {
    color: var(--gadscdp-color-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.lp-press-card__link { margin-top: auto; font-weight: 600; align-self: flex-start; }

/* ==========================================================================
   19. Responsive refinements (global)
   ========================================================================== */
/* Guard against stray horizontal scroll from decor/marquees (clip keeps
   the sticky header working, unlike overflow:hidden). */
html { overflow-x: clip; }

/* Tablet & down: compact header so logo + CTA + toggle fit one row. */
@media (max-width: 900px) {
    .site-header-inner { gap: 1rem; }
    .site-title { font-size: 1.2rem; }
    .site-header-actions { gap: 0.6rem; }
    .site-header-actions .header-cta { padding: 0.45rem 1.1rem; font-size: 0.92rem; }
}

/* Phones */
@media (max-width: 600px) {
    .gadscdp-container { padding: 0 1rem; }
    .lp-section { padding: 2.25rem 0; }
    .page-section { padding: 2rem 0; }
    .lp-hero { padding: 1.5rem 0 2rem; }
    .lp-hero__badge { margin-bottom: 1.25rem; }
    .sol-hero { padding: 1.5rem 0 2.25rem; }
    .lp-section__head { margin-bottom: 1.5rem; }
    .lp-stats { gap: 1.25rem 1.75rem; }

    /* Full-width hero/CTA buttons for easier tapping */
    .lp-hero__actions,
    .lp-cta__actions { width: 100%; }
    .lp-hero__actions .gadscdp-btn,
    .lp-cta__actions .gadscdp-btn { flex: 1 1 auto; justify-content: center; text-align: center; }

    /* Roomier touch padding inside cards */
    .pricing-card,
    .contact__card,
    .contact-page__card { padding: 1.5rem; }
    .blog-featured__body { padding: 1.5rem; }
    .sol-hero__title,
    .lp-hero__title { font-size: clamp(1.8rem, 7vw, 2.2rem); }
}

/* Small phones: keep the header readable */
@media (max-width: 420px) {
    .site-title { font-size: 1.05rem; }
    .site-header-actions .header-cta { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
    .lp-hero__actions { flex-direction: column; }
    .lp-cta__actions { flex-direction: column; }
}

/* ==========================================================================
   20. Floating bubbles + contact modal
   ========================================================================== */
.gadscdp-fab { position: fixed; bottom: 1.1rem; z-index: 9000; display: flex; flex-direction: column; gap: 0.7rem; }
.gadscdp-fab--right { right: 1.1rem; align-items: flex-end; }
.gadscdp-fab--left { left: 1.1rem; align-items: flex-start; }
.gadscdp-fab__btn { position: relative; width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22); transition: transform 0.15s ease; }
.gadscdp-fab__btn:hover { transform: scale(1.08); }
.gadscdp-fab__btn img { display: block; transition: transform 0.2s ease; }
.gadscdp-fab__btn:hover img { transform: rotate(10deg); }

/* Bubble tooltips */
.gadscdp-fab__btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0f1730;
    color: #fff;
    padding: 0.45rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    pointer-events: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.gadscdp-fab--right .gadscdp-fab__btn[data-tooltip]::after { right: calc(100% + 12px); }
.gadscdp-fab--left .gadscdp-fab__btn[data-tooltip]::after { left: calc(100% + 12px); }
.gadscdp-fab__btn:hover[data-tooltip]::after { opacity: 1; visibility: visible; }
.gadscdp-fab__btn--zalo { background: #0068ff; }
.gadscdp-fab__btn--mess { background: linear-gradient(135deg, #00b2ff, #006aff 55%, #a033ff); }
.gadscdp-fab__btn--register { background: var(--gadscdp-color-primary); animation: gadscdp-fab-pulse 2.2s ease-out infinite; }
@keyframes gadscdp-fab-pulse {
    0%   { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(31, 94, 255, 0.5); }
    70%  { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22), 0 0 0 14px rgba(31, 94, 255, 0); }
    100% { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(31, 94, 255, 0); }
}
@media (prefers-reduced-motion: reduce) { .gadscdp-fab__btn--register { animation: none; } }

.gadscdp-modal { position: fixed; inset: 0; z-index: 9500; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.gadscdp-modal[hidden] { display: none; }
.gadscdp-modal__overlay { position: absolute; inset: 0; background: rgba(8, 15, 35, 0.6); }
.gadscdp-modal__dialog { position: relative; z-index: 1; width: 100%; max-width: 460px; background: #fff; border-radius: 18px; padding: 1.75rem; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3); max-height: 90vh; overflow-y: auto; animation: gadscdp-modal-in 0.25s ease; }
@keyframes gadscdp-modal-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.gadscdp-modal__close { position: absolute; top: 0.5rem; right: 0.8rem; background: transparent; border: 0; font-size: 1.9rem; line-height: 1; color: var(--gadscdp-color-muted); cursor: pointer; }
.gadscdp-modal__title { margin: 0 0 1.25rem; font-size: 1.4rem; }
body.gadscdp-modal-open { overflow: hidden; }
