/* ==========================================================================
   AE CONNECT — Design System v3
   --------------------------------------------------------------------------
   Rebuild of the .aec-v2 system with:
     • CSS custom properties  — change a colour in ONE place, whole site updates
     • Manrope typography     — matches the Elementor global font
     • Fluid type via clamp() — scales smoothly, no jumps between breakpoints
     • WCAG AA colour palette — every text/background pair tested
     • 6 breakpoints          — matches the Elementor breakpoints already set
     • aspect-ratio images    — no distortion on any screen

   INSTALL
     1. Upload to /wp-content/themes/netlink-child/assets/aec-v3.css
     2. Add to netlink-child/functions.php:

        add_action( 'wp_enqueue_scripts', function () {
            wp_enqueue_style(
                'aec-v3',
                get_stylesheet_directory_uri() . '/assets/aec-v3.css',
                array(),
                '3.0.0'
            );
        }, 99 );

     3. Remove the inline <style> blocks from the 7 pages using aec-v2.

   USAGE
     Wrap page markup in <div class="aec-v3"> … </div>
     The v2 class names still work — v3 is a drop-in replacement.
   ========================================================================== */


/* ==========================================================================
   1. TOKENS
   ========================================================================== */

.aec-v3 {

  /* ---- Brand ------------------------------------------------------------
     #00B1F0 is the AE Connect brand cyan. Measured against white it is
     2.46:1 — it FAILS WCAG for text and for white-on-cyan. It is therefore
     reserved for large display type on dark, icons, borders and tints.
     Interactive text and buttons use the darker steps below.
     ---------------------------------------------------------------------- */
  --aec-brand:        #00B1F0;   /* identity only — never small text        */
  --aec-brand-600:    #0091C8;   /* hover / decorative                      */
  --aec-brand-700:    #007AA8;   /* links + buttons on white   — AA 4.83:1  */
  --aec-brand-800:    #2069B1;   /* panels with white text     — AA 5.65:1  */

  /* ---- Neutrals --------------------------------------------------------- */
  --aec-navy:         #0A1628;   /* hero + dark sections      — AAA 18.1:1  */
  --aec-navy-2:       #12233D;   /* dark alternate            — AAA 15.8:1  */
  --aec-ink:          #0F1B2D;   /* headings                  — AAA 17.3:1  */
  --aec-body:         #4A5568;   /* body copy                 — AAA  7.5:1  */
  --aec-muted:        #6B7C93;   /* meta text — large only     — 4.26:1     */
  --aec-line:         #E2E8F0;   /* borders                                 */
  --aec-surface:      #F4F8FB;   /* light section background                */
  --aec-tint:         #E6F6FD;   /* cyan tint background                    */
  --aec-white:        #FFFFFF;
  --aec-success:      #00875A;   /* AA 4.55:1                               */

  /* ---- On-dark text ----------------------------------------------------- */
  --aec-on-dark:      rgba(255,255,255,0.92);
  --aec-on-dark-soft: rgba(255,255,255,0.74);
  --aec-on-dark-line: rgba(255,255,255,0.16);

  /* ---- Typography -------------------------------------------------------
     Fluid scale. min value applies at 360px, max at 1400px, smooth between.
     8 sizes replace the 27 hardcoded values in v2.
     ---------------------------------------------------------------------- */
  --aec-font:         'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --aec-fs-xs:        clamp(0.75rem,  0.71rem + 0.18vw, 0.813rem);  /* 12–13 */
  --aec-fs-sm:        clamp(0.813rem, 0.77rem + 0.21vw, 0.875rem);  /* 13–14 */
  --aec-fs-base:      clamp(0.938rem, 0.90rem + 0.19vw, 1.031rem);  /* 15–16.5 */
  --aec-fs-md:        clamp(1rem,     0.95rem + 0.25vw, 1.125rem);  /* 16–18 */
  --aec-fs-lg:        clamp(1.125rem, 1.04rem + 0.42vw, 1.375rem);  /* 18–22 */
  --aec-fs-h3:        clamp(1.25rem,  1.09rem + 0.80vw, 1.75rem);   /* 20–28 */
  --aec-fs-h2:        clamp(1.5rem,   1.15rem + 1.75vw, 2.5rem);    /* 24–40 */
  --aec-fs-h1:        clamp(1.875rem, 1.30rem + 2.85vw, 3.25rem);   /* 30–52 */

  --aec-lh-tight:     1.15;
  --aec-lh-snug:      1.35;
  --aec-lh-base:      1.7;

  /* ---- Spacing ----------------------------------------------------------
     Fluid section padding — no more 90px crammed onto a 360px phone.
     ---------------------------------------------------------------------- */
  --aec-sp-1:         0.375rem;
  --aec-sp-2:         0.75rem;
  --aec-sp-3:         1rem;
  --aec-sp-4:         1.5rem;
  --aec-sp-5:         2rem;
  --aec-sp-6:         3rem;
  --aec-sec-y:        clamp(2.75rem, 1.6rem + 5vw, 6.25rem);  /* 44–100px  */
  --aec-gutter:       clamp(1rem, 0.6rem + 1.7vw, 1.875rem);  /* 16–30px   */
  --aec-gap:          clamp(1rem, 0.72rem + 1.25vw, 1.5rem);  /* 16–24px   */

  /* ---- Shape ------------------------------------------------------------ */
  --aec-r-sm:         6px;
  --aec-r:            10px;
  --aec-r-lg:         14px;
  --aec-r-pill:       999px;

  --aec-shadow:       0 3px 14px rgba(10,22,40,0.06);
  --aec-shadow-md:    0 10px 30px rgba(10,22,40,0.10);
  --aec-shadow-lg:    0 18px 48px rgba(10,22,40,0.14);
  --aec-shadow-brand: 0 10px 28px rgba(0,145,200,0.28);

  --aec-ease:         0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --aec-container:    1400px;

  /* ---- Base ------------------------------------------------------------- */
  font-family: var(--aec-font);
  font-size: var(--aec-fs-base);
  line-height: var(--aec-lh-base);
  color: var(--aec-body);
  -webkit-font-smoothing: antialiased;
}

.aec-v3 *,
.aec-v3 *::before,
.aec-v3 *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

/* Respect reduced-motion preferences — v2 animated regardless. */
@media (prefers-reduced-motion: reduce) {
  .aec-v3 *,
  .aec-v3 *::before,
  .aec-v3 *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Visible keyboard focus — v2 had none, an accessibility failure. */
.aec-v3 a:focus-visible,
.aec-v3 button:focus-visible,
.aec-v3 input:focus-visible,
.aec-v3 [tabindex]:focus-visible {
  outline: 3px solid var(--aec-brand-700);
  outline-offset: 3px;
  border-radius: var(--aec-r-sm);
}


/* ==========================================================================
   2. LAYOUT
   ========================================================================== */

.aec-v3 .aec-wrap {
  width: 100%;
  max-width: var(--aec-container);
  margin-inline: auto;
  padding-inline: var(--aec-gutter);
}

.aec-v3 .aec-sec    { padding-block: var(--aec-sec-y); }
.aec-v3 .aec-sec-sm { padding-block: calc(var(--aec-sec-y) * 0.62); }

.aec-v3 .bg-white   { background: var(--aec-white); }
.aec-v3 .bg-surface { background: var(--aec-surface); }
.aec-v3 .bg-tint    { background: var(--aec-tint); }
.aec-v3 .bg-navy    { background: var(--aec-navy);    color: var(--aec-on-dark); }
.aec-v3 .bg-deep    { background: var(--aec-brand-800); color: var(--aec-on-dark); }

.aec-v3 .aec-sec-head {
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
  margin-bottom: clamp(1.75rem, 1rem + 3vw, 3.5rem);
}

/* Auto-fit grids. Cards reflow by available width instead of hard-switching
   at a breakpoint — this is the main responsive fix over v2. */
.aec-v3 .aec-grid      { display: grid; gap: var(--aec-gap); }
.aec-v3 .aec-grid-2    { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.aec-v3 .aec-grid-3    { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr)); }
.aec-v3 .aec-grid-4    { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.aec-v3 .aec-grid-prod { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }

/* Split layouts collapse at container width, not viewport width. */
.aec-v3 .aec-split {
  display: grid;
  gap: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
  align-items: center;
}
.aec-v3 .aec-split-start { align-items: start; }


/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

.aec-v3 .aec-h1,
.aec-v3 .aec-hero-title { font-size: var(--aec-fs-h1); font-weight: 800; line-height: var(--aec-lh-tight); letter-spacing: -0.02em; }
.aec-v3 .aec-h2,
.aec-v3 .aec-cta-h2     { font-size: var(--aec-fs-h2); font-weight: 700; line-height: 1.2;  letter-spacing: -0.015em; }
.aec-v3 .aec-h3         { font-size: var(--aec-fs-h3); font-weight: 700; line-height: var(--aec-lh-snug); }
.aec-v3 .aec-h4         { font-size: var(--aec-fs-md); font-weight: 700; line-height: var(--aec-lh-snug); }

.aec-v3 .aec-h1, .aec-v3 .aec-h2, .aec-v3 .aec-h3, .aec-v3 .aec-h4 { color: var(--aec-ink); }

.bg-navy .aec-h1, .bg-navy .aec-h2, .bg-navy .aec-h3, .bg-navy .aec-h4,
.bg-deep .aec-h1, .bg-deep .aec-h2, .bg-deep .aec-h3, .bg-deep .aec-h4,
.aec-v3 .aec-h1-light, .aec-v3 .aec-h2-light { color: var(--aec-white); }

.aec-v3 .aec-lead { font-size: var(--aec-fs-md); line-height: var(--aec-lh-base); max-width: 62ch; }
.aec-v3 .aec-body { font-size: var(--aec-fs-base); line-height: var(--aec-lh-base); max-width: 70ch; }
.aec-v3 .aec-body + .aec-body { margin-top: var(--aec-sp-3); }

.bg-navy .aec-lead, .bg-navy .aec-body,
.bg-deep .aec-lead, .bg-deep .aec-body { color: var(--aec-on-dark-soft); }

/* Eyebrow / kicker label */
.aec-v3 .aec-tag {
  display: inline-block;
  font-size: var(--aec-fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aec-brand-700);
  margin-bottom: var(--aec-sp-2);
}
.bg-navy .aec-tag, .bg-deep .aec-tag { color: var(--aec-brand); }

.aec-v3 .aec-tag-pill {
  border: 1px solid rgba(0,177,240,0.35);
  background: rgba(0,177,240,0.10);
  padding: 0.3rem 0.85rem;
  border-radius: var(--aec-r-sm);
}

.aec-v3 .aec-accent { color: var(--aec-brand-700); }
.bg-navy .aec-accent, .bg-deep .aec-accent { color: var(--aec-brand); }

.aec-v3 a { color: var(--aec-brand-700); text-decoration: none; transition: color var(--aec-ease); }
.aec-v3 a:hover { color: var(--aec-brand-800); text-decoration: underline; }
.bg-navy a, .bg-deep a { color: var(--aec-brand); }


/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.aec-v3 .aec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--aec-font);
  font-size: var(--aec-fs-sm);
  font-weight: 700;
  line-height: 1;
  padding: 0.85rem 1.6rem;
  border-radius: var(--aec-r-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--aec-ease);
  min-height: 44px;              /* WCAG touch target */
}
.aec-v3 .aec-btn:hover { text-decoration: none; transform: translateY(-2px); }

/* Primary — brand-700 gives white-on-blue AA 4.83:1.
   v2 used #00B1F0 here, which measured 2.46:1 and failed. */
.aec-v3 .aec-btn-primary { background: var(--aec-brand-700); color: var(--aec-white); border-color: var(--aec-brand-700); }
.aec-v3 .aec-btn-primary:hover { background: var(--aec-brand-800); border-color: var(--aec-brand-800); color: var(--aec-white); box-shadow: var(--aec-shadow-brand); }

.aec-v3 .aec-btn-outline { background: transparent; color: var(--aec-brand-700); border-color: var(--aec-brand-700); }
.aec-v3 .aec-btn-outline:hover { background: var(--aec-brand-700); color: var(--aec-white); }

.aec-v3 .aec-btn-white { background: transparent; color: var(--aec-white); border-color: rgba(255,255,255,0.7); }
.aec-v3 .aec-btn-white:hover { background: rgba(255,255,255,0.14); border-color: var(--aec-white); color: var(--aec-white); }

.aec-v3 .aec-btn-solid-white { background: var(--aec-white); color: var(--aec-brand-800); border-color: var(--aec-white); }
.aec-v3 .aec-btn-solid-white:hover { background: var(--aec-tint); color: var(--aec-brand-800); }

.aec-v3 .aec-btn-group { display: flex; gap: var(--aec-sp-2); flex-wrap: wrap; align-items: center; }
.aec-v3 .aec-btn-block { width: 100%; }


/* ==========================================================================
   5. HERO
   ========================================================================== */

.aec-v3 .aec-hero {
  background: var(--aec-navy);
  color: var(--aec-on-dark);
  padding-block: clamp(2.75rem, 1.4rem + 6vw, 5.5rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.aec-v3 .aec-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle, rgba(0,177,240,0.16) 1px, transparent 1px);
  background-size: 36px 36px;
}
.aec-v3 .aec-hero::after {
  content: '';
  position: absolute; top: -30%; left: -15%; z-index: -1;
  width: min(38rem, 90vw); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,177,240,0.14) 0%, transparent 65%);
}

.aec-v3 .aec-hero-inner {
  display: grid;
  gap: clamp(1.75rem, 1rem + 3.5vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
  align-items: center;
}
/* min-width:0 stops long words and tables from blowing out the grid column —
   a common cause of horizontal scroll on phones. */
.aec-v3 .aec-hero-text { min-width: 0; }

.aec-v3 .aec-hero-title { color: var(--aec-white); margin-bottom: var(--aec-sp-3); }
.aec-v3 .aec-hero-title .hl { color: var(--aec-brand); }
.aec-v3 .aec-hero-lead { color: var(--aec-on-dark-soft); margin-bottom: var(--aec-sp-5); }

/* Chips — wrap naturally instead of a fixed 4-column grid */
.aec-v3 .aec-chips { display: flex; flex-wrap: wrap; gap: var(--aec-sp-2); }
.aec-v3 .aec-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(0,177,240,0.28);
  border-radius: var(--aec-r-pill);
  padding: 0.5rem 1rem;
  font-size: var(--aec-fs-xs);
  font-weight: 600;
  color: var(--aec-on-dark);
}
.aec-v3 .aec-chip i { color: var(--aec-brand); font-size: 0.75rem; }

/* Stats — auto-fit so 4 across becomes 2 across becomes 1 without jumps */
.aec-v3 .aec-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 8rem), 1fr));
  gap: var(--aec-sp-2);
  margin-top: var(--aec-sp-5);
}
.aec-v3 .aec-hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,177,240,0.24);
  border-radius: var(--aec-r);
  padding: var(--aec-sp-3) var(--aec-sp-2);
  text-align: center;
}
.aec-v3 .aec-hero-stat .val { display: block; font-size: var(--aec-fs-h3); font-weight: 800; color: var(--aec-brand); line-height: 1; }
.aec-v3 .aec-hero-stat .lbl { display: block; font-size: var(--aec-fs-xs); color: var(--aec-on-dark-soft); margin-top: 0.4rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* Hero image — aspect-ratio replaces the v2 fixed height */
.aec-v3 .aec-hero-visual { position: relative; }
.aec-v3 .aec-hero-img {
  border-radius: var(--aec-r-lg);
  overflow: hidden;
  border: 1px solid rgba(0,177,240,0.24);
  box-shadow: var(--aec-shadow-lg);
  aspect-ratio: 4 / 3;
}
.aec-v3 .aec-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.aec-v3 .aec-hero-badges { display: flex; gap: 0.4rem; justify-content: center; flex-wrap: wrap; margin-top: var(--aec-sp-3); }
.aec-v3 .aec-hero-badge {
  background: var(--aec-brand-700); color: var(--aec-white);
  font-size: var(--aec-fs-xs); font-weight: 600;
  padding: 0.4rem 0.85rem; border-radius: var(--aec-r-pill);
}


/* ==========================================================================
   6. TRUST BAR + COUNTERS
   ========================================================================== */

.aec-v3 .aec-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
  gap: var(--aec-gap);
  align-items: center;
}
.aec-v3 .aec-trust-item { text-align: center; }
.aec-v3 .aec-trust-item img { margin-inline: auto; max-height: 64px; width: auto; }
.aec-v3 .aec-trust-item span { display: block; margin-top: var(--aec-sp-2); font-size: var(--aec-fs-sm); font-weight: 600; color: var(--aec-body); }

.aec-v3 .aec-counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
  gap: var(--aec-gap);
  text-align: center;
}
.aec-v3 .aec-counter .num { font-size: var(--aec-fs-h2); font-weight: 800; color: var(--aec-brand-700); line-height: 1; }
.aec-v3 .aec-counter .lbl { font-size: var(--aec-fs-sm); color: var(--aec-muted); font-weight: 600; margin-top: 0.4rem; }


/* ==========================================================================
   7. CARDS
   ========================================================================== */

.aec-v3 .aec-card {
  background: var(--aec-white);
  border: 1px solid var(--aec-line);
  border-radius: var(--aec-r-lg);
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  box-shadow: var(--aec-shadow);
  transition: transform var(--aec-ease), box-shadow var(--aec-ease), border-color var(--aec-ease);
  height: 100%;
}
.aec-v3 .aec-card:hover { transform: translateY(-4px); box-shadow: var(--aec-shadow-md); border-color: var(--aec-brand); }

.aec-v3 .aec-card-icon {
  width: 3.25rem; aspect-ratio: 1;
  background: var(--aec-brand-700);
  border-radius: var(--aec-r);
  display: grid; place-items: center;
  margin-bottom: var(--aec-sp-3);
  flex-shrink: 0;
}
.aec-v3 .aec-card-icon i { color: var(--aec-white); font-size: 1.25rem; }
.aec-v3 .aec-card h4 { margin-bottom: 0.5rem; }
.aec-v3 .aec-card p  { font-size: var(--aec-fs-sm); line-height: 1.65; color: var(--aec-body); }

/* Card on a dark section */
.aec-v3 .aec-card-dark {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--aec-on-dark-line);
  box-shadow: none;
}
.aec-v3 .aec-card-dark h4 { color: var(--aec-white); }
.aec-v3 .aec-card-dark p  { color: var(--aec-on-dark-soft); }
.aec-v3 .aec-card-dark .aec-card-icon { background: rgba(0,177,240,0.20); border: 1px solid rgba(0,177,240,0.35); }
.aec-v3 .aec-card-dark:hover { background: rgba(255,255,255,0.11); border-color: rgba(0,177,240,0.5); }

/* Centred icon card — applications, industries */
.aec-v3 .aec-card-center { text-align: center; }
.aec-v3 .aec-card-center .aec-card-icon { margin-inline: auto; }


/* ==========================================================================
   8. PRODUCT CARD
   ========================================================================== */

.aec-v3 .aec-prod {
  background: var(--aec-white);
  border: 1px solid var(--aec-line);
  border-radius: var(--aec-r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--aec-shadow);
  transition: transform var(--aec-ease), box-shadow var(--aec-ease), border-color var(--aec-ease);
  height: 100%;
}
.aec-v3 .aec-prod:hover { transform: translateY(-5px); box-shadow: var(--aec-shadow-md); border-color: var(--aec-brand); }

/* aspect-ratio + object-fit:contain.
   v2 used a fixed 250px height with object-fit:cover, which cropped
   wide product photos on desktop and squashed them on mobile. */
.aec-v3 .aec-prod-img {
  aspect-ratio: 4 / 3;
  background: var(--aec-tint);
  display: grid;
  place-items: center;
  padding: var(--aec-sp-3);
  overflow: hidden;
}
.aec-v3 .aec-prod-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.aec-v3 .aec-prod:hover .aec-prod-img img { transform: scale(1.05); }

.aec-v3 .aec-prod-body { padding: var(--aec-sp-4); flex: 1; display: flex; flex-direction: column; }
.aec-v3 .aec-prod-model { font-size: var(--aec-fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--aec-brand-700); margin-bottom: 0.35rem; }
.aec-v3 .aec-prod-body h4 { margin-bottom: 0.5rem; }
.aec-v3 .aec-prod-body p  { font-size: var(--aec-fs-sm); line-height: 1.62; margin-bottom: var(--aec-sp-3); }

.aec-v3 .aec-prod-specs { list-style: none; margin-bottom: var(--aec-sp-4); flex: 1; }
.aec-v3 .aec-prod-specs li {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: var(--aec-fs-sm); color: var(--aec-body);
  padding: 0.4rem 0; border-bottom: 1px solid var(--aec-surface);
}
.aec-v3 .aec-prod-specs li:last-child { border-bottom: none; }
.aec-v3 .aec-prod-specs li i { color: var(--aec-brand-700); font-size: 0.7rem; margin-top: 0.35rem; flex-shrink: 0; }


/* ==========================================================================
   9. CHECKLIST + FEATURE ROWS
   ========================================================================== */

.aec-v3 .aec-checklist { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.aec-v3 .aec-checklist li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: var(--aec-fs-base);
  padding: 0.6rem 0.9rem;
  background: var(--aec-surface);
  border-left: 3px solid var(--aec-brand);
  border-radius: 0 var(--aec-r-sm) var(--aec-r-sm) 0;
}
.aec-v3 .aec-checklist li i { color: var(--aec-brand-700); font-size: 0.8rem; margin-top: 0.4rem; flex-shrink: 0; }
.bg-navy .aec-checklist li, .bg-deep .aec-checklist li { background: rgba(255,255,255,0.07); color: var(--aec-on-dark); border-left-color: var(--aec-brand); }

/* Two-column check list that reflows to one */
.aec-v3 .aec-checklist-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 0.6rem var(--aec-gap);
}

.aec-v3 .aec-feature-row {
  display: flex; gap: var(--aec-sp-3); align-items: flex-start;
  padding: var(--aec-sp-3) var(--aec-sp-4);
  background: var(--aec-surface);
  border-left: 4px solid var(--aec-brand);
  border-radius: 0 var(--aec-r-sm) var(--aec-r-sm) 0;
  transition: background var(--aec-ease);
}
.aec-v3 .aec-feature-row:hover { background: var(--aec-tint); }
.aec-v3 .aec-feature-row .ico {
  width: 2.6rem; aspect-ratio: 1; flex-shrink: 0;
  background: var(--aec-brand-700); border-radius: var(--aec-r-sm);
  display: grid; place-items: center;
}
.aec-v3 .aec-feature-row .ico i { color: var(--aec-white); font-size: 1rem; }
.aec-v3 .aec-feature-row h4 { margin-bottom: 0.2rem; }
.aec-v3 .aec-feature-row p  { font-size: var(--aec-fs-sm); line-height: 1.6; }


/* ==========================================================================
   10. PANEL
   ========================================================================== */

/* v2 used #00B1F0 as a panel background with white text — 2.46:1, unreadable.
   v3 uses brand-800 (5.65:1) which keeps the blue identity and passes AA. */
.aec-v3 .aec-panel {
  background: var(--aec-brand-800);
  color: var(--aec-white);
  border-radius: var(--aec-r-lg);
  padding: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
}
.aec-v3 .aec-panel-head {
  font-size: var(--aec-fs-md); font-weight: 700; color: var(--aec-white);
  margin-bottom: var(--aec-sp-4);
  padding-bottom: var(--aec-sp-3);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; gap: 0.6rem;
}
.aec-v3 .aec-panel-row {
  display: flex; align-items: flex-start; gap: var(--aec-sp-3);
  padding: var(--aec-sp-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.aec-v3 .aec-panel-row:last-child { border-bottom: none; }
.aec-v3 .aec-panel-row .ico {
  width: 2.5rem; aspect-ratio: 1; flex-shrink: 0;
  background: rgba(255,255,255,0.18); border-radius: var(--aec-r-sm);
  display: grid; place-items: center;
}
.aec-v3 .aec-panel-row .ico i { color: var(--aec-white); font-size: 1rem; }
.aec-v3 .aec-panel-row strong { display: block; font-size: var(--aec-fs-sm); font-weight: 700; color: var(--aec-white); margin-bottom: 0.15rem; }
.aec-v3 .aec-panel-row span   { font-size: var(--aec-fs-xs); color: rgba(255,255,255,0.85); line-height: 1.5; }


/* ==========================================================================
   11. FAQ
   ========================================================================== */

.aec-v3 .aec-faq { max-width: 54rem; margin-inline: auto; }
.aec-v3 .aec-faq-item {
  background: var(--aec-white);
  border: 1px solid var(--aec-line);
  border-radius: var(--aec-r);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--aec-shadow);
}
.aec-v3 .aec-faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: var(--aec-sp-3);
  width: 100%;
  padding: var(--aec-sp-3) var(--aec-sp-4);
  background: var(--aec-white);
  border: none;
  text-align: left;
  font-family: var(--aec-font);
  font-size: var(--aec-fs-base);
  font-weight: 700;
  color: var(--aec-ink);
  cursor: pointer;
  transition: background var(--aec-ease);
  min-height: 56px;
}
.aec-v3 .aec-faq-q:hover { background: var(--aec-surface); }
.aec-v3 .aec-faq-q[aria-expanded="true"] { background: var(--aec-tint); border-bottom: 1px solid var(--aec-line); }
.aec-v3 .aec-faq-toggle {
  width: 1.9rem; aspect-ratio: 1; flex-shrink: 0;
  background: var(--aec-brand-700); border-radius: 50%;
  display: grid; place-items: center;
  transition: transform var(--aec-ease), background var(--aec-ease);
}
.aec-v3 .aec-faq-toggle i { color: var(--aec-white); font-size: 0.7rem; }
.aec-v3 .aec-faq-q[aria-expanded="true"] .aec-faq-toggle { transform: rotate(45deg); background: var(--aec-brand-800); }

.aec-v3 .aec-faq-a { padding: var(--aec-sp-3) var(--aec-sp-4) var(--aec-sp-4); font-size: var(--aec-fs-base); line-height: 1.75; }
.aec-v3 .aec-faq-a[hidden] { display: none; }
.aec-v3 .aec-faq-a ul { list-style: none; margin-top: var(--aec-sp-2); display: flex; flex-direction: column; gap: 0.45rem; }
.aec-v3 .aec-faq-a ul li { display: flex; align-items: flex-start; gap: 0.6rem; }
.aec-v3 .aec-faq-a ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  color: var(--aec-brand-700); font-size: 0.75rem;
  margin-top: 0.35rem; flex-shrink: 0;
}


/* ==========================================================================
   12. CTA
   ========================================================================== */

.aec-v3 .aec-cta { text-align: center; max-width: 56rem; margin-inline: auto; }
.aec-v3 .aec-cta-lead { font-size: var(--aec-fs-md); color: var(--aec-on-dark-soft); line-height: 1.7; margin: var(--aec-sp-3) 0 var(--aec-sp-5); }
.aec-v3 .aec-cta .aec-btn-group { justify-content: center; }


/* ==========================================================================
   13. INTERNAL LINK BAR
   ========================================================================== */

.aec-v3 .aec-links-bar { background: var(--aec-surface); border-top: 1px solid var(--aec-line); padding-block: var(--aec-sp-4); }
.aec-v3 .aec-links-inner { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.aec-v3 .aec-links-inner > span { font-size: var(--aec-fs-sm); font-weight: 700; color: var(--aec-brand-800); }
.aec-v3 .aec-link-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--aec-white);
  border: 1px solid var(--aec-line);
  border-radius: var(--aec-r-pill);
  font-size: var(--aec-fs-sm);
  font-weight: 600;
  color: var(--aec-brand-800);
  transition: all var(--aec-ease);
}
.aec-v3 .aec-link-pill:hover { background: var(--aec-brand-700); color: var(--aec-white); border-color: var(--aec-brand-700); text-decoration: none; }


/* ==========================================================================
   14. TABLES  (product specification tables)
   ========================================================================== */

.aec-v3 .aec-table-wrap { overflow-x: auto; border-radius: var(--aec-r); border: 1px solid var(--aec-line); -webkit-overflow-scrolling: touch; }
.aec-v3 .spec-table { width: 100%; border-collapse: collapse; font-size: var(--aec-fs-sm); min-width: 34rem; }
.aec-v3 .spec-table td { padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--aec-line); vertical-align: top; line-height: 1.65; }
.aec-v3 .spec-table tr:last-child td { border-bottom: none; }
.aec-v3 .spec-table tr:nth-child(odd) { background: var(--aec-surface); }
.aec-v3 .spec-table td:first-child { font-weight: 700; color: var(--aec-ink); width: 34%; white-space: nowrap; }

/* Below 640px the table becomes stacked rows — no horizontal scrolling needed */
@media (max-width: 640px) {
  .aec-v3 .spec-table            { min-width: 0; }
  .aec-v3 .spec-table td         { display: block; width: 100%; border-bottom: none; padding: 0.2rem 1rem; }
  .aec-v3 .spec-table td:first-child { width: 100%; white-space: normal; padding-top: 0.9rem; font-size: var(--aec-fs-xs); text-transform: uppercase; letter-spacing: 0.06em; color: var(--aec-brand-800); }
  .aec-v3 .spec-table td:last-child  { padding-bottom: 0.9rem; border-bottom: 1px solid var(--aec-line); }
}


/* ==========================================================================
   15. BREAKPOINT REFINEMENTS
   --------------------------------------------------------------------------
   Most layout already reflows via auto-fit grids and clamp().
   These handle only what the fluid system cannot.
   Matches the Elementor breakpoints: 360 / 480 / 767 / 1024 / 1366 / 1540
   ========================================================================== */

/* Laptop */
@media (max-width: 1366px) {
  .aec-v3 { --aec-container: 1180px; }
}

/* Tablet */
@media (max-width: 1024px) {
  .aec-v3 .aec-hero-visual { order: -1; }        /* image above text */
  .aec-v3 .aec-hero-img    { aspect-ratio: 16 / 9; }
}

/* Phone */
@media (max-width: 767px) {
  .aec-v3 .aec-btn-group        { width: 100%; }
  .aec-v3 .aec-btn-group .aec-btn { flex: 1 1 auto; }
  .aec-v3 .aec-sec-head         { text-align: left; }
  .aec-v3 .aec-cta              { text-align: center; }
  .aec-v3 .aec-links-inner > span { width: 100%; margin-bottom: 0.3rem; }
}

/* Small phone */
@media (max-width: 480px) {
  .aec-v3 .aec-hero-visual   { display: none; }   /* keep hero short */
  .aec-v3 .aec-btn-group     { flex-direction: column; }
  .aec-v3 .aec-btn           { width: 100%; }
  .aec-v3 .aec-hero-stats    { grid-template-columns: repeat(2, 1fr); }
  .aec-v3 .aec-prod-img      { aspect-ratio: 16 / 10; }
  .aec-v3 br                 { display: none; }   /* no forced line breaks */
}

/* Very small — 360px and below (Galaxy A-series, older budget Android) */
@media (max-width: 360px) {
  .aec-v3 { --aec-gutter: 0.875rem; }
  .aec-v3 .aec-hero-stats { grid-template-columns: 1fr; }
  .aec-v3 .aec-card       { padding: 1rem; }
}

/* Landscape phone — v2 had no rule here, so heroes overflowed the screen */
@media (max-height: 480px) and (orientation: landscape) {
  .aec-v3 .aec-hero { padding-block: 2rem; }
  .aec-v3 .aec-sec  { padding-block: 2.25rem; }
}


/* ==========================================================================
   16. PRINT
   ========================================================================== */

@media print {
  .aec-v3 .aec-hero,
  .aec-v3 .bg-navy,
  .aec-v3 .bg-deep      { background: none !important; color: #000 !important; }
  .aec-v3 .aec-btn,
  .aec-v3 .aec-links-bar,
  .aec-v3 .aec-cta      { display: none !important; }
  .aec-v3 .aec-faq-a[hidden] { display: block !important; }
  .aec-v3 .spec-table td { border-bottom: 1px solid #ccc !important; }
}
