@layer reset, base, theme, components, utilities;

/* ==========================================================================
   Registered Custom Properties (Smooth Gradient Hover & Icon Transitions)
   ========================================================================== */
@property --bg-color-1 {
  syntax: "<color>";
  inherits: false;
  initial-value: #12285C;
}

@property --bg-color-2 {
  syntax: "<color>";
  inherits: false;
  initial-value: #0C1F48;
}

/* ==========================================================================
   Theme Tokens — 5 Talents Digital
   ========================================================================== */
@layer theme {
  :root {
    color-scheme: dark;

    /* Brand Palette */
    --navy-talents: #0A1C40;
    --navy-deep: #06122B;
    --royal-blue: #12285C;
    --royal-elevated: #173373;
    --gold-talent: #C9A227;
    --gold-light: #F0CD64;
    --gold-muted: rgba(201, 162, 39, 0.28);
    --white: #FFFFFF;
    --slate-blue: #B9C3DA;

    /* Semantic Tokens */
    --bg-page: var(--navy-talents);
    --bg-surface: var(--royal-blue);
    --bg-surface-deep: var(--navy-deep);
    --text-primary: var(--white);
    --text-secondary: var(--slate-blue);
    --text-gold: var(--gold-light);
    --accent-gold: var(--gold-talent);
    --border-subtle: rgba(201, 162, 39, 0.22);
    --border-strong: rgba(240, 205, 100, 0.52);

    /* Fonts */
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* Layout & Rhythm */
    --header-height: 4.75rem;
    --container-max: 77.5rem;
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.25rem;
    --shadow-luxury: 0 20px 50px rgba(4, 10, 26, 0.55);
    --shadow-gold: 0 10px 32px rgba(201, 162, 39, 0.22);

    /* Progressive keyword size interpolation for FAQ & Plan Drawers */
    interpolate-size: allow-keywords;
  }
}

/* ==========================================================================
   Reset (Scoped to semantic elements — no global *)
   ========================================================================== */
@layer reset {
  :where(html, body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, dl, dd) {
    margin: 0;
    padding: 0;
  }

  :where(html, body, main, header, section, article, aside, footer, nav, div, ul, ol, li, button, a, summary, details, dialog, input) {
    box-sizing: border-box;
  }

  :where(ul, ol) {
    list-style: none;
  }

  :where(img, svg, picture) {
    display: block;
    max-inline-size: 100%;
  }

  :where(button, input, textarea, select) {
    font: inherit;
    color: inherit;
  }

  :where(button) {
    background: none;
    border: 0;
    cursor: pointer;
  }

  :where(a) {
    color: inherit;
    text-decoration: none;
  }
}

/* ==========================================================================
   Base Typography & Document Defaults
   ========================================================================== */
@layer base {
  html {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1.5rem);
    -webkit-text-size-adjust: 100%;
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }
  }

  body {
    min-block-size: 100dvh;
    background-color: var(--bg-page);
    background-image:
      radial-gradient(ellipse 80% 50% at 50% -10%, rgba(23, 51, 115, 0.72) 0%, transparent 65%),
      radial-gradient(circle at 85% 22%, rgba(201, 162, 39, 0.08) 0%, transparent 40%);
    color: var(--text-primary);
    overflow-x: clip;
  }

  main > section,
  .site-footer {
    overflow-x: clip;
  }

  h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    text-wrap: balance;
  }

  p, li {
    text-wrap: pretty;
  }

  :where(a:any-link, button, summary, [tabindex]):focus-visible {
    outline: 3px solid var(--gold-light);
    outline-offset: 3px;
    border-radius: 4px;
  }

  ::selection {
    background-color: var(--gold-talent);
    color: var(--navy-deep);
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
@layer utilities {
  .visually-hidden:where(:not(:focus-within, :active)) {
    position: absolute !important;
    clip-path: inset(50%) !important;
    overflow: hidden !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    white-space: nowrap !important;
  }

  [hidden] {
    display: none !important;
  }

  .skip-link:focus {
    position: fixed;
    inset-block-start: 0.75rem;
    inset-inline-start: 0.75rem;
    z-index: 2000;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    background: var(--gold-light);
    color: var(--navy-deep);
    font-weight: 700;
  }

  .container {
    inline-size: 100%;
    max-inline-size: var(--container-max);
    margin-inline: auto;
    padding-inline: 1.25rem;
  }

  @media (min-width: 768px) {
    .container {
      padding-inline: 2rem;
    }
  }
}

/* ==========================================================================
   Components
   ========================================================================== */
@layer components {
  /* ------------------------------------------------------------------------
     Preloader (2-second Luxury Medallion Reveal)
     ------------------------------------------------------------------------ */
  .preloader {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: radial-gradient(circle at 50% 42%, var(--royal-blue) 0%, var(--navy-talents) 55%, var(--navy-deep) 100%);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .preloader-pending .preloader {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .preloader.is-exiting {
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .preloader-crest {
    position: relative;
    display: grid;
    place-items: center;
    padding: 0.75rem;
  }

  .preloader-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(201, 162, 39, 0.25);
    border-block-start-color: var(--gold-light);
    border-inline-end-color: var(--gold-talent);
  }

  .preloader-logo {
    inline-size: 9.5rem;
    block-size: 9.5rem;
    border-radius: 50%;
    box-shadow: 0 0 45px rgba(201, 162, 39, 0.35), 0 18px 40px rgba(0, 0, 0, 0.55);
  }

  .preloader-brand {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-light);
  }

  .preloader-verse {
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    color: var(--slate-blue);
  }

  .preloader-bar {
    inline-size: min(14rem, 70dvw);
    block-size: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
  }

  .preloader-bar-fill {
    display: block;
    inline-size: 100%;
    block-size: 100%;
    background: linear-gradient(90deg, var(--gold-talent), var(--gold-light), var(--gold-talent));
    transform-origin: left center;
    transform: scaleX(0);
  }

  @media (prefers-reduced-motion: no-preference) {
    .preloader-pending .preloader-ring {
      animation: preloader-spin 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    }

    .preloader-pending .preloader-logo {
      animation: preloader-crest-in 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .preloader-pending .preloader-bar-fill {
      animation: preloader-progress 1.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
  }

  @keyframes preloader-spin {
    to { transform: rotate(360deg); }
  }

  @keyframes preloader-crest-in {
    from {
      opacity: 0;
      transform: scale(0.86);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes preloader-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
  }

  /* ------------------------------------------------------------------------
     Shared Signature CTA Button (.btn-simple copied & refined from webenplan)
     ------------------------------------------------------------------------ */
  .btn-simple {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-block-size: 3rem;
    padding: 0.8rem 1.65rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--gold-talent);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    overflow: hidden;
    transition: color 0.35s ease, border-color 0.35s ease, transform 0.2s ease, box-shadow 0.35s ease;
  }

  .btn-simple::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    clip-path: circle(0% at 50% 50%);
    opacity: 0;
    transition: clip-path 0.5s ease-in-out, opacity 0.6s ease;
  }

  .btn-simple:hover::before,
  .btn-simple:focus-visible::before {
    clip-path: circle(120% at 50% 50%);
    opacity: 1;
  }

  .btn-simple:active {
    transform: scale(0.97);
  }

  .btn-simple .arrow {
    inline-size: 0;
    opacity: 0;
    flex: none;
    transition: inline-size 0.3s ease, opacity 0.3s ease, margin-inline-start 0.3s ease;
  }

  .btn-simple:hover .arrow,
  .btn-simple:focus-visible .arrow {
    inline-size: 1.15rem;
    opacity: 0.95;
  }

  @media (prefers-reduced-motion: no-preference) {
    .btn-simple:hover .arrow {
      animation: move-arrow 0.35s ease-in-out infinite alternate;
    }
  }

  @keyframes move-arrow {
    to { transform: translateX(3px); }
  }

  .btn-gold-primary {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-talent) 100%);
    color: var(--navy-deep);
    border-color: var(--gold-light);
    box-shadow: 0 8px 26px rgba(201, 162, 39, 0.28);
  }

  .btn-gold-primary::before {
    background: linear-gradient(135deg, #F8DF8B 0%, var(--gold-light) 100%);
  }

  .btn-gold-primary:hover {
    box-shadow: 0 12px 34px rgba(240, 205, 100, 0.38);
  }

  .btn-gold-outline {
    background: rgba(18, 40, 92, 0.55);
    color: var(--white);
    border-color: rgba(240, 205, 100, 0.55);
  }

  .btn-gold-outline::before {
    background: linear-gradient(135deg, var(--gold-talent) 0%, var(--gold-light) 100%);
  }

  .btn-gold-outline:hover,
  .btn-gold-outline:focus-visible {
    color: var(--navy-deep);
    border-color: var(--gold-light);
  }

  .btn-full {
    inline-size: 100%;
  }

  .btn-icon-lead {
    flex: none;
  }

  /* ------------------------------------------------------------------------
     Sticky Header & Popover-Adaptive Navigation (navbar guide + webenplan trace)
     ------------------------------------------------------------------------ */
  .site-header {
    position: sticky;
    inset-block-start: 0;
    z-index: 800;
    min-block-size: var(--header-height);
    background: rgba(10, 28, 64, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-block-end: 1px solid rgba(201, 162, 39, 0.22);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  .site-header.is-scrolled {
    background: rgba(6, 18, 43, 0.95);
    box-shadow: 0 12px 32px rgba(3, 9, 24, 0.55);
  }

  .site-header.is-measuring * {
    transition: none !important;
  }

  .header-inner {
    max-inline-size: var(--container-max);
    margin-inline: auto;
    padding: 0.65rem 0.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }

  @media (min-width: 768px) {
    .header-inner {
      padding: 0.75rem 2rem;
      gap: 0.75rem;
    }
  }

  .header-inner > * {
    flex-shrink: 0;
  }

  .site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
  }

  .header-coin {
    inline-size: 2.35rem;
    block-size: 2.35rem;
  }

  @media (min-width: 576px) {
    .site-logo {
      gap: 0.65rem;
    }

    .header-coin {
      inline-size: 2.875rem;
      block-size: 2.875rem;
    }
  }

  .header-coin,
  .footer-coin {
    border-radius: 50%;
    border: 1px solid rgba(240, 205, 100, 0.55);
    box-shadow: 0 0 14px rgba(201, 162, 39, 0.28);
  }

  .brand-lockup {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
  }

  .brand-name {
    font-family: var(--font-serif);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.03em;
  }

  .brand-sub {
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--slate-blue);
  }

  @media (min-width: 576px) {
    .brand-name {
      font-size: 1.1rem;
    }

    .brand-sub {
      font-size: 0.7rem;
      letter-spacing: 0.24em;
    }
  }

  .site-nav {
    display: flex;
    align-items: center;
    order: 3;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-inline-start: auto;
    order: 2;
  }

  .lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    min-block-size: 2.35rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 162, 39, 0.45);
    background: rgba(18, 40, 92, 0.85);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: border-color 0.25s ease, background-color 0.25s ease;
  }

  @media (min-width: 576px) {
    .lang-toggle {
      gap: 0.25rem;
      padding: 0.25rem 0.6rem;
      font-size: 0.78rem;
      letter-spacing: 0.06em;
    }
  }

  .lang-toggle:hover {
    border-color: var(--gold-light);
    background: var(--royal-elevated);
  }

  .lang-pill-code {
    padding: 0.15rem 0.35rem;
    border-radius: 999px;
    color: var(--slate-blue);
  }

  .lang-pill-code.is-active {
    background: var(--gold-talent);
    color: var(--navy-deep);
  }

  .lang-divider {
    color: rgba(185, 195, 218, 0.45);
  }

  .header-ig-link {
    display: none;
    align-items: center;
    justify-content: center;
    min-inline-size: 2.35rem;
    min-block-size: 2.35rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 162, 39, 0.35);
    background: rgba(18, 40, 92, 0.7);
    color: var(--gold-light);
    transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
  }

  @media (min-width: 520px) {
    .header-ig-link {
      display: inline-flex;
    }
  }

  .header-ig-link:hover {
    border-color: var(--gold-light);
    background: var(--royal-elevated);
    transform: translateY(-1px);
  }

  .btn-header-cta {
    display: none;
    min-block-size: 2.45rem;
    padding: 0.45rem 1.05rem;
    font-size: 0.85rem;
  }

  @media (min-width: 640px) {
    .btn-header-cta {
      display: inline-flex;
    }
  }

  /* Collapsed Menu Button + Native Popover */
  .menu-button {
    anchor-name: --menu-button;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-block-size: 2.35rem;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 162, 39, 0.45);
    background: rgba(18, 40, 92, 0.85);
    color: var(--gold-light);
    font-size: 0.84rem;
    font-weight: 600;
  }

  .site-menu {
    position: fixed;
    inset: auto;
    inset-block-start: 4.9rem;
    inset-block-start: anchor(--menu-button bottom);
    inset-inline-end: 1rem;
    inline-size: min(82dvw, 21rem);
    max-inline-size: calc(100dvw - 2rem);
    block-size: fit-content;
    max-block-size: calc(100dvh - 6rem);
    margin: 0.5rem 0 0;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-strong);
    background: rgba(10, 28, 64, 0.98);
    color: var(--white);
    box-shadow: var(--shadow-luxury);
    overflow: auto;
  }

  @supports not selector(:popover-open) {
    .site-menu:not(.\:popover-open) {
      display: none;
    }
  }

  .site-menu:is(:popover-open, .\:popover-open) {
    display: grid;
    gap: 0.35rem;
  }

  .site-menu::backdrop {
    background: rgba(4, 10, 26, 0.55);
  }

  .site-menu a {
    display: block;
    padding: 0.7rem 0.9rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    color: var(--white);
  }

  .site-menu a:hover {
    background: rgba(201, 162, 39, 0.14);
    color: var(--gold-light);
  }

  .menu-ig-link {
    margin-block-start: 0.35rem;
    text-align: center;
    border: 1px solid rgba(240, 205, 100, 0.45);
    color: var(--gold-light) !important;
    font-weight: 600 !important;
  }

  .menu-whatsapp-link {
    margin-block-start: 0.35rem;
    text-align: center;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-talent));
    color: var(--navy-deep) !important;
    font-weight: 700 !important;
  }

  /* Wide Inline Navigation (.is-wide applied by ResizeObserver in app.js) */
  .site-header.is-wide .site-nav {
    order: 2;
    margin-inline: auto;
  }

  .site-header.is-wide .header-actions {
    order: 3;
    margin-inline-start: 0;
  }

  .site-header.is-wide .menu-button,
  .site-header.is-wide .menu-mobile-actions {
    display: none;
  }

  .site-header.is-wide .site-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    inline-size: auto;
    max-inline-size: none;
    block-size: auto;
    max-block-size: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .site-header.is-wide .site-menu::backdrop {
    display: none;
  }

  /* Webenplan Signature 4-Sided Border Trace Link Hover */
  .site-header.is-wide .menu-link {
    position: relative;
    padding: 0.45rem 0.85rem;
    font-size: 0.9rem;
    white-space: nowrap;
    color: var(--slate-blue);
    transition: color 0.25s ease;
  }

  .site-header.is-wide .menu-link::before,
  .site-header.is-wide .menu-link::after {
    content: "";
    position: absolute;
    inline-size: 0;
    block-size: 0;
    pointer-events: none;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: inline-size 0.16s ease, block-size 0.16s ease 0.14s, border-color 0.2s ease;
  }

  .site-header.is-wide .menu-link::before {
    inset-block-start: 0;
    inset-inline-start: 0;
  }

  .site-header.is-wide .menu-link::after {
    inset-block-end: 0;
    inset-inline-end: 0;
  }

  .site-header.is-wide .menu-link:hover,
  .site-header.is-wide .menu-link:focus-visible {
    color: var(--gold-light);
    background: transparent;
  }

  .site-header.is-wide .menu-link:hover::before {
    inline-size: 100%;
    block-size: 100%;
    border-block-start-color: rgba(240, 205, 100, 0.7);
    border-inline-end-color: rgba(240, 205, 100, 0.7);
  }

  .site-header.is-wide .menu-link:hover::after {
    inline-size: 100%;
    block-size: 100%;
    border-block-end-color: rgba(240, 205, 100, 0.7);
    border-inline-start-color: rgba(240, 205, 100, 0.7);
  }

  /* ------------------------------------------------------------------------
     HERO: Bespoke Luxury Agency Marketing Hero + Animated Webpage Showcase
     ------------------------------------------------------------------------ */
  .hero {
    position: relative;
    padding-block: 2.5rem 4rem;
    overflow: hidden;
  }

  @media (min-width: 992px) {
    .hero {
      padding-block: 4rem 5.5rem;
    }
  }

  .hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
      linear-gradient(to right, rgba(201, 162, 39, 0.045) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(201, 162, 39, 0.045) 1px, transparent 1px);
    background-size: 3.5rem 3.5rem;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, black 35%, transparent 90%);
  }

  .hero-container {
    max-inline-size: var(--container-max);
    margin-inline: auto;
    padding-inline: 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
  }

  @media (min-width: 768px) {
    .hero-container {
      padding-inline: 2rem;
    }
  }

  @media (min-width: 992px) {
    .hero-container {
      grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
      gap: 3.5rem;
    }
  }

  .hero-crest-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-block-end: 1.5rem;
  }

  .hero-medallion-wrap {
    position: relative;
    flex: none;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--gold-light), rgba(201, 162, 39, 0.35));
    box-shadow: 0 0 36px rgba(201, 162, 39, 0.32), 0 12px 30px rgba(4, 10, 26, 0.55);
  }

  .hero-medallion {
    inline-size: 5.25rem;
    block-size: 5.25rem;
    border-radius: 50%;
  }

  @media (min-width: 768px) {
    .hero-medallion {
      inline-size: 6.75rem;
      block-size: 6.75rem;
    }
  }

  .hero-eyebrow {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 162, 39, 0.45);
    background: rgba(18, 40, 92, 0.75);
    color: var(--gold-light);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .hero-verse-badge {
    margin-block-start: 0.4rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--slate-blue);
  }

  .hero-title {
    font-size: clamp(2.15rem, 1.15rem + 4.1vw, 4.1rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
    margin-block-end: 1.25rem;
  }

  .hero-title-gold {
    display: block;
    color: var(--gold-light);
  }

  @media (prefers-reduced-motion: no-preference) {
    html:not(.js-ready) .hero-title-gold,
    .hero-title-gold .k-word-inner {
      background: linear-gradient(115deg, #FFF3C4 0%, var(--gold-light) 32%, #FFE999 48%, var(--gold-talent) 72%, #FFF3C4 100%);
      background-size: 220% auto;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: gold-foil-glint 5s linear infinite;
    }
  }

  @keyframes gold-foil-glint {
    0% { background-position: 0% 50%; }
    100% { background-position: 220% 50%; }
  }

  .hero-subtitle {
    max-inline-size: 54ch;
    font-size: clamp(1rem, 0.94rem + 0.3vw, 1.15rem);
    color: var(--slate-blue);
    margin-block-end: 2rem;
  }

  .hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-block-end: 1.75rem;
  }

  @media (min-width: 540px) {
    .hero-cta-group {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: center;
    }
  }

  .hero-social-strip {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    padding-block-start: 1.25rem;
    border-block-start: 1px solid rgba(201, 162, 39, 0.22);
  }

  @media (min-width: 600px) {
    .hero-social-strip {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
    }
  }

  .hero-instagram-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    align-self: flex-start;
    padding: 0.5rem 0.95rem 0.5rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(240, 205, 100, 0.45);
    background: linear-gradient(135deg, rgba(18, 40, 92, 0.92), rgba(10, 28, 64, 0.92));
    box-shadow: 0 6px 20px rgba(4, 10, 26, 0.4);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  }

  .hero-instagram-pill:hover {
    border-color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(201, 162, 39, 0.22);
  }

  .ig-icon-badge {
    display: grid;
    place-items: center;
    inline-size: 2rem;
    block-size: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-talent));
    color: var(--navy-deep);
  }

  .ig-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }

  .ig-kicker {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-blue);
  }

  .ig-handle {
    font-size: 0.88rem;
    color: var(--gold-light);
  }

  .ig-arrow {
    color: var(--gold-light);
    font-size: 0.9rem;
    margin-inline-start: 0.15rem;
  }

  .hero-guarantees {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--slate-blue);
  }

  .guarantee-dot {
    inline-size: 0.45rem;
    block-size: 0.45rem;
    border-radius: 50%;
    background: var(--gold-light);
    flex: none;
  }

  /* Hero Animated Webpage Stage */
  .hero-stage {
    position: relative;
    padding-block: 0.75rem 2.25rem;
  }

  .stage-glow {
    position: absolute;
    inset: 10% 8%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.2) 0%, rgba(18, 40, 92, 0.35) 55%, transparent 75%);
    filter: blur(28px);
    pointer-events: none;
  }

  .mockup-browser {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(240, 205, 100, 0.36);
    background: linear-gradient(160deg, rgba(18, 40, 92, 0.96) 0%, rgba(8, 22, 52, 0.98) 100%);
    box-shadow: var(--shadow-luxury), inset 0 1px 0 rgba(240, 205, 100, 0.22);
    overflow: hidden;
  }

  .mockup-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    background: rgba(6, 18, 43, 0.85);
    border-block-end: 1px solid rgba(201, 162, 39, 0.18);
  }

  .chrome-dots {
    display: flex;
    gap: 0.35rem;
  }

  .chrome-dots span {
    inline-size: 0.55rem;
    block-size: 0.55rem;
    border-radius: 50%;
    background: rgba(240, 205, 100, 0.45);
  }

  .chrome-dots span:first-child {
    background: var(--gold-talent);
  }

  .chrome-url {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: rgba(18, 40, 92, 0.8);
    border: 1px solid rgba(185, 195, 218, 0.16);
    color: var(--slate-blue);
    font-size: 0.75rem;
  }

  .chrome-status {
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: rgba(201, 162, 39, 0.18);
    border: 1px solid rgba(240, 205, 100, 0.35);
    color: var(--gold-light);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .mockup-canvas {
    position: relative;
    padding: 1.15rem;
    display: grid;
    gap: 1rem;
    overflow: hidden;
  }

  .mock-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mock-brand-pill {
    inline-size: 4.5rem;
    block-size: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-talent));
  }

  .mock-nav-links {
    display: flex;
    gap: 0.45rem;
  }

  .mock-nav-links span {
    inline-size: 2rem;
    block-size: 0.45rem;
    border-radius: 999px;
    background: rgba(185, 195, 218, 0.28);
  }

  .mock-hero-band {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 0.85rem;
    background: rgba(10, 28, 64, 0.8);
    border: 1px solid rgba(201, 162, 39, 0.18);
  }

  .mock-kicker {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--gold-light);
    margin-block-end: 0.45rem;
  }

  .mock-headline-lines {
    display: grid;
    gap: 0.4rem;
    margin-block-end: 0.85rem;
  }

  .mock-headline-lines .line-gold {
    inline-size: 90%;
    block-size: 0.7rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-talent));
  }

  .mock-headline-lines .line-white {
    inline-size: 70%;
    block-size: 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
  }

  .mock-btn-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }

  .mock-cta-btn {
    padding: 0.3rem 0.65rem;
    border-radius: 0.35rem;
    background: var(--gold-talent);
    color: var(--navy-deep);
    font-size: 0.65rem;
    font-weight: 700;
  }

  .mock-ghost-btn {
    inline-size: 2.75rem;
    block-size: 1.35rem;
    border-radius: 0.35rem;
    border: 1px solid rgba(185, 195, 218, 0.32);
  }

  .mock-metric-widget {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.65rem;
    border-radius: 0.65rem;
    background: rgba(18, 40, 92, 0.9);
    border: 1px solid rgba(240, 205, 100, 0.25);
  }

  .widget-label {
    font-size: 0.6rem;
    color: var(--slate-blue);
  }

  .widget-value {
    font-size: 1.05rem;
    color: var(--gold-light);
  }

  .widget-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.28rem;
    block-size: 2.1rem;
    margin-block-start: 0.35rem;
  }

  .widget-bars span {
    flex: 1;
    block-size: var(--bar-h);
    border-radius: 3px 3px 0 0;
    background: linear-gradient(180deg, var(--gold-light), var(--gold-talent));
    transform-origin: bottom center;
  }

  .mock-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }

  .mock-mini-card {
    padding: 0.65rem;
    border-radius: 0.65rem;
    background: rgba(10, 28, 64, 0.72);
    border: 1px solid rgba(201, 162, 39, 0.16);
    display: grid;
    gap: 0.35rem;
  }

  .mini-icon {
    inline-size: 1.15rem;
    block-size: 1.15rem;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.3);
    border: 1px solid var(--gold-talent);
  }

  .mini-line-1 {
    inline-size: 85%;
    block-size: 0.42rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
  }

  .mini-line-2 {
    inline-size: 60%;
    block-size: 0.35rem;
    border-radius: 999px;
    background: rgba(185, 195, 218, 0.32);
  }

  .mock-scan-beam {
    position: absolute;
    inset-block: 0;
    inset-inline-start: -35%;
    inline-size: 32%;
    background: linear-gradient(90deg, transparent, rgba(240, 205, 100, 0.12), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
  }

  /* Floating AI Recommendation Overlay */
  .mockup-ai-card {
    position: relative;
    margin-block-start: -1.25rem;
    margin-inline-start: auto;
    inline-size: min(19rem, 92%);
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-strong);
    background: rgba(6, 18, 43, 0.96);
    box-shadow: 0 18px 40px rgba(2, 8, 22, 0.65), 0 0 24px rgba(201, 162, 39, 0.16);
  }

  .ai-card-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-block-end: 0.35rem;
  }

  .ai-prompt {
    font-size: 0.78rem;
    font-style: italic;
    color: var(--slate-blue);
    margin-block-end: 0.55rem;
  }

  .ai-result-box {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.7rem;
    border-radius: var(--radius-sm);
    background: rgba(18, 40, 92, 0.85);
    border: 1px solid rgba(201, 162, 39, 0.32);
  }

  .ai-rank {
    display: grid;
    place-items: center;
    inline-size: 2rem;
    block-size: 2rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-talent));
    color: var(--navy-deep);
    font-size: 0.8rem;
    font-weight: 800;
    flex: none;
  }

  .ai-result-box strong {
    display: block;
    font-size: 0.85rem;
    color: var(--white);
  }

  .ai-tags {
    display: block;
    font-size: 0.7rem;
    color: var(--gold-light);
  }

  .mockup-speed-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-block-start: 0.85rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    background: rgba(18, 40, 92, 0.9);
    border: 1px solid rgba(201, 162, 39, 0.35);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--white);
  }

  .speed-dot {
    inline-size: 0.5rem;
    block-size: 0.5rem;
    border-radius: 50%;
    background: var(--gold-light);
  }

  @media (prefers-reduced-motion: no-preference) {
    .mock-scan-beam {
      animation: mockup-sweep 5.5s ease-in-out infinite;
    }

    .mockup-ai-card {
      animation: float-card 6s ease-in-out infinite;
    }

    .widget-bars span {
      animation: bar-grow 2.8s ease-in-out infinite alternate;
    }

    .widget-bars span:nth-child(2) { animation-delay: 0.2s; }
    .widget-bars span:nth-child(3) { animation-delay: 0.4s; }
    .widget-bars span:nth-child(4) { animation-delay: 0.6s; }
  }

  @keyframes mockup-sweep {
    0%, 20% { inset-inline-start: -40%; }
    65%, 100% { inset-inline-start: 130%; }
  }

  @keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }

  @keyframes bar-grow {
    from { transform: scaleY(0.84); }
    to { transform: scaleY(1); }
  }

  /* ------------------------------------------------------------------------
     Shared Section Header Styles (Adapted from webenplan.com)
     ------------------------------------------------------------------------ */
  .section-header {
    text-align: center;
    max-inline-size: 46rem;
    margin-inline: auto;
    margin-block-end: 2.75rem;
  }

  .subtitle-tag {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-block-end: 0.65rem;
  }

  .section-header h2 {
    font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.85rem);
    color: var(--white);
    margin-block-end: 0.9rem;
  }

  .section-lead {
    max-inline-size: 56ch;
    margin-inline: auto;
    color: var(--slate-blue);
    font-size: 1rem;
  }

  /* ------------------------------------------------------------------------
     All-Views Kinetic Titles & Bidirectional WOW Image Parallax
     ------------------------------------------------------------------------ */
  .subtitle-tag {
    position: relative;
    display: inline-block;
    padding-block-end: 0.55rem;
  }

  .subtitle-tag::after {
    content: "";
    position: absolute;
    inset-block-end: 0;
    inset-inline: 10%;
    block-size: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold-talent), transparent);
    transform-origin: center;
  }

  .k-word {
    display: inline-block;
    overflow: clip;
    vertical-align: bottom;
    padding-block: 0.06em;
    margin-block: -0.06em;
  }

  .k-word-inner {
    display: inline-block;
    transform-origin: center bottom;
  }

  @media (prefers-reduced-motion: no-preference) {
    /* 1. Uncommon Staggered 3D Word-Flip + Gold Sheen Sweep (Replays Down & Up) */
    .js-ready .kinetic-title {
      position: relative;
    }

    .js-ready .kinetic-title:not(.is-kinetic-active) .k-word-inner {
      opacity: 0;
      transform: perspective(900px) translateY(115%) rotateX(-68deg) scale(0.86);
      transition: transform 0.25s ease, opacity 0.2s ease;
    }

    .js-ready .kinetic-title[data-scroll-dir="up"]:not(.is-kinetic-active) .k-word-inner {
      transform: perspective(900px) translateY(-115%) rotateX(68deg) scale(0.86);
    }

    .js-ready .kinetic-title.is-kinetic-active .k-word-inner {
      opacity: 1;
      transform: perspective(900px) translateY(0) rotateX(0deg) scale(1);
      transition:
        transform 0.78s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--wi, 0) * 65ms),
        opacity 0.5s ease calc(var(--wi, 0) * 65ms);
    }

    .js-ready .kinetic-title.is-kinetic-active::after {
      content: "";
      position: absolute;
      inset-block: -10%;
      inset-inline-start: 0;
      inline-size: 28%;
      background: linear-gradient(95deg, transparent 10%, rgba(240, 205, 100, 0.36) 50%, transparent 90%);
      transform: skewX(-20deg);
      pointer-events: none;
      animation: title-gold-sweep 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
    }

    @keyframes title-gold-sweep {
      from {
        opacity: 0;
        translate: -35% 0;
      }
      25% {
        opacity: 1;
      }
      to {
        opacity: 0;
        translate: 360% 0;
      }
    }

    /* Eyebrow lateral sweep & gold bar expansion (replays down & up) */
    .js-ready .subtitle-tag:not(.is-kinetic-active) {
      opacity: 0;
      transform: translateX(-48px) scale(0.92);
      transition: transform 0.25s ease, opacity 0.2s ease;
    }

    .js-ready .subtitle-tag[data-scroll-dir="up"]:not(.is-kinetic-active) {
      transform: translateX(48px) scale(0.92);
    }

    .js-ready .subtitle-tag:not(.is-kinetic-active)::after {
      transform: scaleX(0);
      transition: transform 0.2s ease;
    }

    .js-ready .subtitle-tag.is-kinetic-active {
      opacity: 1;
      transform: translateX(0) scale(1);
      transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease;
    }

    .js-ready .subtitle-tag.is-kinetic-active::after {
      transform: scaleX(1);
      transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
    }

    /* 2. Native GPU Scroll-Driven WOW Parallax (Pure 0%/50%/100% — Down & Up) */
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
      /* Hero Multi-Layer Depth Parallax (scroll(root) 0px -> 720px) */
      @keyframes hero-crest-parallax {
        0% { translate: 0 0; scale: 1; rotate: 0deg; }
        100% { translate: 0 112px; scale: 0.84; rotate: 42deg; }
      }

      @keyframes hero-copy-parallax {
        0% { translate: 0 0; }
        100% { translate: 0 42px; }
      }

      @keyframes hero-browser-parallax {
        0% { translate: 0 0; scale: 1; transform: perspective(1000px) rotateX(0deg); }
        100% { translate: 0 88px; scale: 0.93; transform: perspective(1000px) rotateX(-7deg); }
      }

      @keyframes hero-ai-parallax {
        0% { translate: 0 0; scale: 1; }
        100% { translate: 0 -118px; scale: 1.06; }
      }

      @keyframes hero-pill-parallax {
        0% { translate: 0 0; }
        100% { translate: 24px 58px; }
      }

      .hero-medallion-wrap {
        animation: hero-crest-parallax linear both;
        animation-timeline: scroll(root);
        animation-range: 0px 720px;
      }

      .hero-copy {
        animation: hero-copy-parallax linear both;
        animation-timeline: scroll(root);
        animation-range: 0px 720px;
      }

      .mockup-browser {
        animation: hero-browser-parallax linear both;
        animation-timeline: scroll(root);
        animation-range: 0px 720px;
      }

      .mockup-ai-card {
        animation: float-card 6s ease-in-out infinite, hero-ai-parallax linear both;
        animation-timeline: auto, scroll(root);
        animation-range: normal, 0px 720px;
      }

      .mockup-speed-pill {
        animation: hero-pill-parallax linear both;
        animation-timeline: scroll(root);
        animation-range: 0px 720px;
      }

      /* Mid-Page Watermark Crest Deep Parallax */
      @keyframes parallax-watermark {
        0% { translate: 0 -150px; scale: 0.78; rotate: -42deg; }
        50% { translate: 0 0; scale: 1.22; rotate: 0deg; }
        100% { translate: 0 150px; scale: 0.78; rotate: 42deg; }
      }

      .block-cta.layout-full-logo {
        overflow: clip;
        view-timeline: --cta-wm block;
      }

      .cta-watermark img {
        animation: parallax-watermark linear both;
        animation-timeline: --cta-wm;
      }

      /* Portfolio Multi-Plane Parallax (ralphpoolinc.com) */
      @keyframes portfolio-frame-tilt {
        0% { transform: perspective(1000px) translateY(54px) rotateX(9deg) scale(0.92); }
        50% { transform: perspective(1000px) translateY(0) rotateX(0deg) scale(1.02); }
        100% { transform: perspective(1000px) translateY(-54px) rotateX(-9deg) scale(0.92); }
      }

      @keyframes portfolio-scene-depth {
        0% { translate: 0 -42px; scale: 1.14; }
        100% { translate: 0 42px; scale: 1.14; }
      }

      @keyframes portfolio-cards-counter {
        0% { translate: 0 28px; }
        100% { translate: 0 -28px; }
      }

      @keyframes portfolio-seal-parallax {
        0% { translate: 0 56px; rotate: -32deg; scale: 0.85; }
        50% { translate: 0 0; rotate: 0deg; scale: 1.08; }
        100% { translate: 0 -56px; rotate: 32deg; scale: 0.85; }
      }

      .portfolio-card {
        view-timeline: --portfolio-px block;
      }

      .portfolio-thumb {
        animation: portfolio-frame-tilt linear both;
        animation-timeline: --portfolio-px;
      }

      .ralph-hero-scene {
        animation: portfolio-scene-depth linear both;
        animation-timeline: --portfolio-px;
      }

      .ralph-cards-strip {
        animation: portfolio-cards-counter linear both;
        animation-timeline: --portfolio-px;
      }

      .portfolio-parallax-seal {
        animation: portfolio-seal-parallax linear both;
        animation-timeline: --portfolio-px;
      }

      /* Campaign Ad WOW 3D Depth Parallax + Floating Accents + Gold Sheen */
      @keyframes campaign-aura-parallax {
        0% { translate: 0 -145px; scale: 0.8; rotate: -30deg; opacity: 0.45; }
        50% { translate: 0 0; scale: 1.2; rotate: 0deg; opacity: 1; }
        100% { translate: 0 145px; scale: 0.8; rotate: 30deg; opacity: 0.45; }
      }

      @keyframes campaign-stage-parallax {
        0% { transform: perspective(1150px) translateY(88px) rotateX(10deg) scale(0.9); }
        50% { transform: perspective(1150px) translateY(0) rotateX(0deg) scale(1.03); }
        100% { transform: perspective(1150px) translateY(-88px) rotateX(-10deg) scale(0.9); }
      }

      @keyframes campaign-coin-parallax {
        0% { translate: 0 95px; rotate: -38deg; scale: 0.86; }
        50% { translate: 0 0; rotate: 0deg; scale: 1.08; }
        100% { translate: 0 -95px; rotate: 38deg; scale: 0.86; }
      }

      @keyframes campaign-tag-parallax {
        0% { translate: 0 -65px; scale: 0.94; }
        50% { translate: 0 0; scale: 1.04; }
        100% { translate: 0 38px; scale: 0.94; }
      }

      @keyframes campaign-gleam-sweep {
        0% { translate: -145% 0; }
        100% { translate: 170% 0; }
      }

      @keyframes campaign-caption-parallax {
        0% { translate: 0 42px; opacity: 0.35; }
        50% { translate: 0 0; opacity: 1; }
        100% { translate: 0 -24px; opacity: 0.35; }
      }

      .campaign-showcase {
        view-timeline: --camp-px block;
      }

      .campaign-parallax-aura {
        animation: campaign-aura-parallax linear both;
        animation-timeline: --camp-px;
      }

      .campaign-frame-stage {
        animation: campaign-stage-parallax linear both;
        animation-timeline: --camp-px;
      }

      .campaign-parallax-coin {
        animation: campaign-coin-parallax linear both;
        animation-timeline: --camp-px;
      }

      .campaign-parallax-tag {
        animation: campaign-tag-parallax linear both;
        animation-timeline: --camp-px;
      }

      .campaign-frame::after {
        animation: campaign-gleam-sweep linear both;
        animation-timeline: --camp-px;
      }

      .campaign-caption {
        animation: campaign-caption-parallax linear both;
        animation-timeline: --camp-px;
      }

      /* Closing Verse & Footer Medallion Parallax */
      @keyframes closing-coin-parallax {
        0% { translate: 0 88px; scale: 0.76; rotate: -42deg; }
        50% { translate: 0 0; scale: 1.16; rotate: 0deg; }
        100% { translate: 0 -88px; scale: 0.78; rotate: 42deg; }
      }

      @keyframes footer-coin-parallax {
        0% { translate: 0 44px; scale: 0.78; rotate: -32deg; }
        65%, 100% { translate: 0 0; scale: 1; rotate: 0deg; }
      }

      .closing-coin {
        animation: closing-coin-parallax linear both;
        animation-timeline: view();
      }

      .footer-coin {
        animation: footer-coin-parallax linear both;
        animation-timeline: view();
      }

      /* New Section A: Ingeniería a Medida Inner Photo Parallax (dev-craft-gold) */
      @keyframes craft-photo-pan {
        0% { transform: scale(1.25) translateY(-12%); }
        100% { transform: scale(1.25) translateY(12%); }
      }

      @keyframes craft-badge-parallax {
        0% { translate: 0 72px; scale: 0.92; }
        50% { translate: 0 0; scale: 1.04; }
        100% { translate: 0 -72px; scale: 0.92; }
      }

      .craft-media-stage {
        view-timeline: --craft-px block;
      }

      .craft-parallax-img {
        animation: craft-photo-pan linear both;
        animation-timeline: --craft-px;
      }

      .craft-float-card {
        animation: craft-badge-parallax linear both;
        animation-timeline: --craft-px;
      }

      /* New Section B: Infraestructura IA Cinema Parallax (dev-studio-navy) */
      @keyframes tech-cinema-pan {
        0% { transform: scale(1.28) translateY(-13%); }
        100% { transform: scale(1.28) translateY(13%); }
      }

      @keyframes tech-content-drift {
        0% { translate: 0 28px; }
        100% { translate: 0 -22px; }
      }

      .tech-cinema {
        view-timeline: --tech-px block;
      }

      .tech-parallax-img {
        animation: tech-cinema-pan linear both;
        animation-timeline: --tech-px;
      }

      .tech-content {
        animation: tech-content-drift linear both;
        animation-timeline: --tech-px;
      }
    }

    /* JS-driven Bidirectional Fallback when animation-timeline: view() is unavailable */
    .scroll-js-fallback .campaign-frame-stage,
    .scroll-js-fallback .closing-coin,
    .scroll-js-fallback .cta-watermark img,
    .scroll-js-fallback .portfolio-thumb,
    .scroll-js-fallback .campaign-parallax-coin,
    .scroll-js-fallback .campaign-parallax-tag,
    .scroll-js-fallback .portfolio-parallax-seal,
    .scroll-js-fallback .craft-float-card {
      --p: 0.5;
      transform: perspective(1100px) translateY(calc((0.5 - var(--p)) * 120px)) rotateX(calc((0.5 - var(--p)) * 12deg));
    }

    .scroll-js-fallback .craft-parallax-img,
    .scroll-js-fallback .tech-parallax-img {
      --p: 0.5;
      transform: scale(1.24) translateY(calc((var(--p) - 0.5) * 22%));
    }
  }

  /* ------------------------------------------------------------------------
     NEW SECTION A: INGENIERÍA A MEDIDA (#ingenieria)
     ------------------------------------------------------------------------ */
  .craft-section {
    padding-block: 4.5rem;
    background: linear-gradient(180deg, transparent, rgba(6, 18, 43, 0.5) 50%, transparent);
  }

  .craft-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
  }

  @media (min-width: 992px) {
    .craft-grid {
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
      gap: 3.5rem;
    }
  }

  .craft-media-stage {
    position: relative;
  }

  .craft-media-frame {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--navy-deep);
    box-shadow: var(--shadow-luxury), 0 0 32px rgba(201, 162, 39, 0.16);
    overflow: clip;
  }

  .craft-parallax-img {
    inline-size: 100%;
    block-size: auto;
    aspect-ratio: 1024 / 585;
    object-fit: cover;
  }

  .craft-float-card {
    position: relative;
    margin-block-start: -1.75rem;
    margin-inline-start: auto;
    inline-size: fit-content;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gold-light);
    background: rgba(6, 18, 43, 0.94);
    box-shadow: 0 16px 36px rgba(4, 10, 26, 0.72), 0 0 24px rgba(201, 162, 39, 0.25);
  }

  .craft-float-kicker {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--slate-blue);
  }

  .craft-float-val {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--gold-light);
  }

  .craft-copy h2 {
    font-size: clamp(1.75rem, 1.25rem + 2vw, 2.65rem);
    color: var(--white);
    margin-block-end: 1rem;
  }

  .craft-desc {
    max-inline-size: 52ch;
    color: var(--slate-blue);
    margin-block-end: 1.35rem;
  }

  .craft-highlights {
    display: grid;
    gap: 0.55rem;
    margin-block-end: 1.85rem;
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--gold-light);
  }

  /* ------------------------------------------------------------------------
     SECTION 2: LOS 2 PAQUETES (Webenplan .plans-section & .plan-card replica)
     ------------------------------------------------------------------------ */
  .plans-section {
    padding-block: 4.5rem;
  }

  @media (min-width: 992px) {
    .plans-section {
      padding-block: 6rem;
    }
  }

  .buttons-top-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-inline-size: 58rem;
    margin-inline: auto;
    margin-block-end: 2.5rem;
  }

  @media (min-width: 768px) {
    .buttons-top-section {
      flex-direction: row;
      justify-content: space-between;
    }
  }

  .plans-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 162, 39, 0.32);
    background: rgba(18, 40, 92, 0.68);
    font-size: 0.85rem;
    color: var(--slate-blue);
  }

  .pill-spark {
    color: var(--gold-light);
  }

  .compare-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-block-size: 2.5rem;
    padding: 0.45rem 1.05rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(240, 205, 100, 0.45);
    background: rgba(18, 40, 92, 0.72);
    color: var(--gold-light);
    font-size: 0.88rem;
    font-weight: 600;
    transition: background-color 0.25s ease, border-color 0.25s ease;
  }

  .compare-toggle-btn:hover {
    background: var(--royal-elevated);
    border-color: var(--gold-light);
  }

  .plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-inline-size: 58rem;
    margin-inline: auto;
    align-items: stretch;
  }

  @media (min-width: 768px) {
    .plans-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 2.25rem;
    }
  }

  /* Core Webenplan .plan-card Anatomy + Spotlight Border + @property Gradient + 3D Tilt */
  .plan-card {
    --mouse-x: 50%;
    --mouse-y: 0%;
    --tilt-rotate-x: 0deg;
    --tilt-rotate-y: 0deg;
    --tilt-scale: 1;
    --bg-color-1: #12285C;
    --bg-color-2: #0C1F48;

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3.65rem 1.5rem 2.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    background-image:
      linear-gradient(165deg, var(--bg-color-1), var(--bg-color-2)),
      radial-gradient(360px circle at var(--mouse-x) var(--mouse-y), rgba(240, 205, 100, 0.78), rgba(201, 162, 39, 0.28) 50%, rgba(201, 162, 39, 0.12) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: var(--shadow-luxury);
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(var(--tilt-rotate-x)) rotateY(var(--tilt-rotate-y)) scale(var(--tilt-scale));
    transition:
      --bg-color-1 0.35s ease,
      --bg-color-2 0.35s ease,
      box-shadow 0.35s ease,
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
  }

  .plan-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(280px circle at var(--mouse-x) var(--mouse-y), rgba(240, 205, 100, 0.11), transparent 78%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .plan-card:hover {
    --bg-color-1: #183678;
    --bg-color-2: #0F2557;
    box-shadow: 0 18px 48px rgba(4, 10, 26, 0.65), 0 0 28px rgba(201, 162, 39, 0.22);
  }

  .plan-card:hover::before {
    opacity: 1;
  }

  .plan-card.is-tilting {
    transition:
      --bg-color-1 0.35s ease,
      --bg-color-2 0.35s ease,
      box-shadow 0.35s ease,
      transform 80ms ease-out;
  }

  /* Highlighted "LA FAVORITA" Card */
  .plan-card.is-highlighted {
    --bg-color-1: #173475;
    --bg-color-2: #0F2352;
    background-image:
      linear-gradient(165deg, var(--bg-color-1), var(--bg-color-2)),
      radial-gradient(420px circle at var(--mouse-x) var(--mouse-y), rgba(240, 205, 100, 0.95), rgba(201, 162, 39, 0.62) 55%, rgba(201, 162, 39, 0.35) 100%);
    box-shadow: 0 22px 54px rgba(4, 10, 26, 0.68), 0 0 36px rgba(201, 162, 39, 0.24);
  }

  .plan-card.is-highlighted:hover {
    --bg-color-1: #1E418F;
    --bg-color-2: #122960;
    box-shadow: 0 24px 58px rgba(4, 10, 26, 0.72), 0 0 42px rgba(240, 205, 100, 0.32);
  }

  .favorite-badge {
    position: absolute;
    inset-block-start: 1rem;
    inset-inline: 0;
    margin-inline: auto;
    inline-size: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.36rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-talent) 100%);
    color: var(--navy-deep);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35);
    transform: translateZ(30px);
  }

  .plan-card-top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-style: preserve-3d;
  }

  .plan-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--slate-blue);
    margin-block-end: 0.75rem;
    transform: translateZ(15px);
  }

  .plan-title {
    font-size: clamp(1.65rem, 1.4rem + 1vw, 2.15rem);
    color: var(--white);
    margin-block-end: 0.5rem;
    transform: translateZ(25px);
  }

  .plan-subtitle {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-block-end: 1.6rem;
    transform: translateZ(15px);
  }

  .plan-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-block-end: 1.1rem;
    transform: translateZ(35px);
  }

  .price-amount {
    font-family: var(--font-serif);
    font-size: clamp(2.85rem, 2.3rem + 1.8vw, 3.6rem);
    font-weight: 700;
    line-height: 1;
    color: var(--gold-light);
    font-variant-numeric: tabular-nums;
  }

  .per-month {
    margin-block-start: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate-blue);
  }

  .plan-payment-info {
    font-size: 0.88rem;
    color: var(--slate-blue);
    margin-block-end: 1rem;
    transform: translateZ(15px);
  }

  .plan-setup {
    inline-size: 100%;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    padding-block-end: 1.45rem;
    margin-block-end: 1.45rem;
    border-block-end: 1px solid rgba(201, 162, 39, 0.22);
    transform: translateZ(15px);
  }

  @media (min-width: 768px) {
    .plan-payment-info {
      min-block-size: 2.9rem;
    }

    .plan-setup {
      min-block-size: 4.5rem;
      display: grid;
      place-items: center;
    }
  }

  .plan-btn {
    inline-size: 100%;
    min-block-size: 2.75rem;
    padding: 0.7rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 162, 39, 0.55);
    background: rgba(10, 28, 64, 0.75);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: translateZ(20px);
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  }

  .plan-btn:hover {
    background: var(--gold-talent);
    color: var(--navy-deep);
    border-color: var(--gold-light);
  }

  .plan-features-wrapper {
    inline-size: 100%;
    text-align: start;
    overflow: hidden;
    block-size: 0;
    opacity: 0;
    margin-block-start: 0;
    transform: translateZ(10px);
    transition: block-size 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-block-start 0.35s ease;
  }

  .plan-card.is-open .plan-features-wrapper {
    block-size: auto;
    opacity: 1;
    margin-block-start: 1.5rem;
  }

  @supports not (interpolate-size: allow-keywords) {
    .plan-features-wrapper {
      block-size: auto;
      max-block-size: 0;
      transition: max-block-size 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-block-start 0.35s ease;
    }

    .plan-card.is-open .plan-features-wrapper {
      max-block-size: 44rem;
    }
  }

  .plan-features-content {
    display: grid;
    gap: 0.75rem;
    padding-block-end: 0.75rem;
  }

  .todo-anterior-item {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--gold-light);
  }

  .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--slate-blue);
  }

  .check-icon {
    color: var(--gold-light);
    font-weight: 800;
    flex: none;
  }

  .plan-card-footer {
    inline-size: 100%;
    margin-block-start: auto;
    padding-block-start: 1.65rem;
    transform: translateZ(20px);
  }

  /* Comparison Table View (.pt-wrapper) */
  .pt-wrapper {
    max-inline-size: 58rem;
    margin-inline: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--royal-blue);
    box-shadow: var(--shadow-luxury);
    overflow: hidden;
  }

  .pt-scroll {
    overflow-x: auto;
  }

  .pt-table {
    inline-size: 100%;
    border-collapse: collapse;
    text-align: center;
  }

  .pt-table th,
  .pt-table td {
    padding: 0.75rem 0.5rem;
    font-size: 0.82rem;
    border-block-end: 1px solid rgba(201, 162, 39, 0.16);
  }

  .pt-table thead th {
    background: var(--navy-deep);
    color: var(--gold-light);
    font-family: var(--font-serif);
    font-size: 0.88rem;
  }

  .pt-table tbody th {
    text-align: start;
    font-weight: 500;
    color: var(--white);
  }

  .pt-table td {
    font-weight: 700;
    color: var(--slate-blue);
  }

  .pt-highlight {
    background: rgba(201, 162, 39, 0.12);
    color: var(--gold-light) !important;
  }

  .pt-badge {
    display: inline-block;
    margin-block-end: 0.3rem;
    padding: 0.18rem 0.48rem;
    border-radius: 999px;
    background: var(--gold-talent);
    color: var(--navy-deep);
    font-family: var(--font-sans);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
  }

  @media (min-width: 640px) {
    .pt-table th,
    .pt-table td {
      padding: 1.05rem 1.25rem;
      font-size: 0.96rem;
    }

    .pt-table thead th {
      font-size: 1.1rem;
    }

    .pt-badge {
      margin-block-end: 0.35rem;
      padding: 0.2rem 0.65rem;
      font-size: 0.68rem;
      letter-spacing: 0.08em;
    }
  }

  /* ------------------------------------------------------------------------
     SECTION 3: LO QUE INCLUYE (Webenplan .section-planes 5-card icon gallery)
     ------------------------------------------------------------------------ */
  .section-planes {
    padding-block: 4.5rem;
  }

  .icons-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  @media (min-width: 576px) {
    .icons-gallery {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 992px) {
    .icons-gallery {
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 1.25rem;
    }
  }

  .service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.75rem;
    min-block-size: 15.5rem;
    padding: 1.65rem 1.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: linear-gradient(160deg, rgba(18, 40, 92, 0.92), rgba(10, 28, 64, 0.95));
    box-shadow: 0 12px 30px rgba(4, 10, 26, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-strong);
    box-shadow: 0 18px 36px rgba(4, 10, 26, 0.5), 0 0 22px rgba(201, 162, 39, 0.14);
  }

  .service-icon {
    align-self: flex-end;
    color: var(--gold-light);
  }

  .service-card h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-block-end: 0.55rem;
  }

  .service-card p {
    font-size: 0.9rem;
    color: var(--slate-blue);
  }

  /* ------------------------------------------------------------------------
     MID-PAGE WATERMARK CTA BANNER (.block-cta.layout-full-logo)
     ------------------------------------------------------------------------ */
  .block-cta.layout-full-logo {
    position: relative;
    padding-block: 3.75rem;
    padding-inline: 1.25rem;
    background: linear-gradient(135deg, var(--royal-blue) 0%, #173475 50%, var(--navy-talents) 100%);
    border-block: 1px solid var(--border-subtle);
    overflow: hidden;
  }

  .cta-watermark {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    opacity: 0.16;
    pointer-events: none;
  }

  .cta-watermark img {
    border-radius: 50%;
  }

  .cta-inner {
    position: relative;
    z-index: 1;
    max-inline-size: 52rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .cta-inner h2 {
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.2rem);
    color: var(--white);
  }

  /* ------------------------------------------------------------------------
     SECTION 4: CÓMO FUNCIONA — 3 PASOS (Sticky Left + Protruding Numbered Cards)
     ------------------------------------------------------------------------ */
  .custom-web-section {
    padding-block: 4.5rem;
  }

  @media (min-width: 992px) {
    .custom-web-section {
      padding-block: 6rem;
    }
  }

  .process-layout {
    max-inline-size: var(--container-max);
    margin-inline: auto;
    padding-inline: 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
  }

  @media (min-width: 768px) {
    .process-layout {
      padding-inline: 2rem;
    }
  }

  @media (min-width: 992px) {
    .process-layout {
      grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
      gap: 4rem;
    }

    .content-left {
      position: sticky;
      inset-block-start: calc(var(--header-height) + 2rem);
      text-align: end;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
    }
  }

  .content-left h2 {
    font-size: clamp(2rem, 1.4rem + 2.5vw, 3.1rem);
    color: var(--white);
    margin-block-end: 0.5rem;
  }

  .process-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.75rem);
    color: var(--gold-light);
    margin-block-end: 1rem;
  }

  .process-copy {
    max-inline-size: 40ch;
    color: var(--slate-blue);
    margin-block-end: 1.75rem;
  }

  .process-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-block-start: 1rem;
  }

  @media (min-width: 640px) {
    .process-cards {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 2.25rem 1.75rem;
      align-items: start;
    }

    .step-2 {
      margin-block-start: 3rem;
    }

    .step-3 {
      grid-column: 1 / -1;
      max-inline-size: 24rem;
      justify-self: center;
    }
  }

  .numbered-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    padding: 2.25rem 1.65rem 1.85rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: linear-gradient(160deg, var(--royal-blue), var(--navy-talents));
    box-shadow: var(--shadow-luxury);
    transition: transform 0.25s ease, border-color 0.25s ease;
  }

  .numbered-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-strong);
  }

  .number-badge {
    position: absolute;
    inset-block-start: -1.1rem;
    inset-inline-end: 1.5rem;
    display: grid;
    place-items: center;
    inline-size: 3rem;
    block-size: 3rem;
    border-radius: 0.85rem;
    border: 2px solid var(--navy-deep);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-talent));
    color: var(--navy-deep);
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
  }

  .step-icon {
    color: var(--gold-light);
  }

  .numbered-card h3 {
    font-size: 1.35rem;
    color: var(--white);
  }

  .numbered-card p {
    font-size: 0.94rem;
    color: var(--slate-blue);
  }

  /* ------------------------------------------------------------------------
     SECTION 5: PORTAFOLIO (ralphpoolinc.com Clickable Live Thumbnail)
     ------------------------------------------------------------------------ */
  .portfolio-section {
    padding-block: 4.5rem;
    background: linear-gradient(180deg, transparent, rgba(6, 18, 43, 0.55) 50%, transparent);
  }

  .portfolio-grid {
    max-inline-size: 62rem;
    margin-inline: auto;
  }

  .portfolio-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.35rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: linear-gradient(155deg, rgba(18, 40, 92, 0.92), rgba(10, 28, 64, 0.96));
    box-shadow: var(--shadow-luxury);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .portfolio-parallax-seal {
    position: absolute;
    inset-block-start: -1.1rem;
    inset-inline-end: 1.25rem;
    z-index: 3;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-talent));
    box-shadow: 0 10px 26px rgba(4, 10, 26, 0.65), 0 0 22px rgba(201, 162, 39, 0.35);
    pointer-events: none;
  }

  .portfolio-parallax-seal img {
    inline-size: 3.25rem;
    block-size: 3.25rem;
    border-radius: 50%;
  }

  @media (min-width: 768px) {
    .portfolio-card {
      grid-template-columns: 1.15fr 0.85fr;
      align-items: center;
      padding: 1.75rem;
      gap: 2.25rem;
    }
  }

  .portfolio-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-light);
    box-shadow: 0 24px 55px rgba(4, 10, 26, 0.7), 0 0 30px rgba(201, 162, 39, 0.2);
  }

  .portfolio-thumb {
    position: relative;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 162, 39, 0.35);
    overflow: hidden;
    background: #071d3e;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  }

  .thumb-chrome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.85rem;
    background: #041226;
    border-block-end: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.72rem;
    color: var(--slate-blue);
  }

  .thumb-url {
    padding: 0.15rem 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
  }

  .thumb-ext {
    color: var(--gold-light);
    font-weight: 700;
  }

  /* Miniature Visual Representation of ralphpoolinc.com */
  .ralph-preview {
    background: linear-gradient(175deg, #061b34 0%, #083351 68%, #edf8fc 68%);
    color: #ffffff;
    font-family: var(--font-sans);
  }

  .ralph-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.9rem;
    border-block-end: 1px solid rgba(113, 234, 255, 0.12);
  }

  .ralph-logo-pill {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #71eaff;
  }

  .ralph-mini-nav {
    display: flex;
    gap: 0.35rem;
  }

  .ralph-mini-nav span {
    inline-size: 1.5rem;
    block-size: 0.25rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
  }

  .ralph-hero-scene {
    padding: 1rem 1rem 0.75rem;
  }

  .ralph-city-pill {
    display: inline-block;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(113, 234, 255, 0.14);
    border: 1px solid rgba(113, 234, 255, 0.35);
    color: #71eaff;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-block-end: 0.45rem;
  }

  .ralph-headline {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.05;
    margin-block-end: 0.35rem;
  }

  .ralph-aqua {
    display: block;
    color: #71eaff;
  }

  .ralph-subcopy {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.78);
    margin-block-end: 0.75rem;
  }

  .ralph-btn-pair {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .ralph-cta-aqua {
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    background: #71eaff;
    color: #071d3e;
    font-size: 0.58rem;
    font-weight: 800;
  }

  .ralph-cta-ghost {
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    font-size: 0.58rem;
    font-weight: 600;
  }

  .ralph-wave svg {
    inline-size: 100%;
    block-size: 1.35rem;
  }

  .ralph-cards-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    padding: 0.45rem 0.85rem 0.85rem;
    background: #edf8fc;
    color: #071d3e;
  }

  .ralph-service-mini {
    padding: 0.45rem;
    border-radius: 0.4rem;
    background: #ffffff;
    border: 1px solid #d8e9ef;
    font-size: 0.58rem;
    font-weight: 700;
    text-align: center;
  }

  .ralph-stat-mini {
    background: #071d3e;
    color: #71eaff;
    border-color: #0674aa;
  }

  .thumb-hover-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(6, 18, 43, 0.55);
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .portfolio-card:hover .thumb-hover-overlay,
  .portfolio-card:focus-visible .thumb-hover-overlay {
    opacity: 1;
  }

  .thumb-hover-cta {
    padding: 0.6rem 1.15rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-talent));
    color: var(--navy-deep);
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: var(--shadow-gold);
  }

  .portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-block-end: 0.9rem;
  }

  .portfolio-tag {
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 162, 39, 0.35);
    background: rgba(10, 28, 64, 0.72);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold-light);
  }

  .portfolio-title {
    font-size: 1.65rem;
    color: var(--white);
    margin-block-end: 0.65rem;
  }

  .portfolio-desc {
    font-size: 0.95rem;
    color: var(--slate-blue);
    margin-block-end: 1.25rem;
  }

  .portfolio-visit-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
    color: var(--gold-light);
    border-block-end: 1px solid rgba(240, 205, 100, 0.45);
    padding-block-end: 0.15rem;
  }

  /* ------------------------------------------------------------------------
     SECTION 5B: CAMPAÑA PUBLICITARIA (Art-Directed Mobile & Desktop Gold)
     ------------------------------------------------------------------------ */
  .campaign-section {
    padding-block: 4.5rem;
  }

  .campaign-showcase {
    position: relative;
    max-inline-size: 64rem;
    margin-inline: auto;
    display: grid;
    gap: 1.5rem;
  }

  .campaign-parallax-aura {
    position: absolute;
    inset: -12% -6%;
    z-index: -1;
    border-radius: 50%;
    background:
      radial-gradient(circle at 30% 45%, rgba(240, 205, 100, 0.22), transparent 55%),
      radial-gradient(circle at 75% 55%, rgba(201, 162, 39, 0.18), transparent 58%);
    filter: blur(36px);
    pointer-events: none;
  }

  .campaign-frame-stage {
    position: relative;
  }

  .campaign-parallax-coin {
    position: absolute;
    inset-block-start: -1.25rem;
    inset-inline-start: 0.75rem;
    z-index: 4;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-talent));
    box-shadow: 0 12px 30px rgba(4, 10, 26, 0.75), 0 0 26px rgba(201, 162, 39, 0.45);
    pointer-events: none;
  }

  .campaign-parallax-coin img {
    inline-size: 3.75rem;
    block-size: 3.75rem;
    border-radius: 50%;
  }

  .campaign-parallax-tag {
    position: absolute;
    inset-block-end: 11.25rem;
    inset-inline-end: 0.75rem;
    z-index: 4;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--gold-light);
    background: rgba(6, 18, 43, 0.95);
    color: var(--gold-light);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: 0 12px 28px rgba(4, 10, 26, 0.7);
    pointer-events: none;
  }

  @media (min-width: 768px) {
    .campaign-parallax-coin {
      inset-inline-start: -1.25rem;
    }

    .campaign-parallax-coin img {
      inline-size: 4.5rem;
      block-size: 4.5rem;
    }

    .campaign-parallax-tag {
      inset-block-end: 6.5rem;
      inset-inline-end: -1rem;
      font-size: 0.82rem;
    }
  }

  .campaign-frame {
    position: relative;
    display: block;
    max-inline-size: 29rem;
    margin-inline: auto;
    padding: 0.65rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: linear-gradient(150deg, rgba(240, 205, 100, 0.16), rgba(18, 40, 92, 0.92));
    box-shadow: var(--shadow-luxury), 0 0 36px rgba(201, 162, 39, 0.2);
    overflow: clip;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .campaign-frame::after {
    content: "";
    position: absolute;
    inset-block: -15%;
    inset-inline-start: 0;
    inline-size: 38%;
    background: linear-gradient(105deg, transparent 20%, rgba(240, 205, 100, 0.24) 50%, transparent 80%);
    transform: skewX(-16deg);
    translate: -160% 0;
    pointer-events: none;
  }

  @media (min-width: 768px) {
    .campaign-frame {
      max-inline-size: 100%;
      padding: 0.85rem;
    }
  }

  .campaign-frame:hover {
    transform: translateY(-4px);
    border-color: var(--gold-light);
    box-shadow: 0 24px 60px rgba(4, 10, 26, 0.72), 0 0 44px rgba(240, 205, 100, 0.28);
  }

  .campaign-picture {
    display: block;
    border-radius: calc(var(--radius-lg) - 0.35rem);
    overflow: hidden;
    background: var(--navy-deep);
  }

  .campaign-media {
    inline-size: 100%;
    block-size: auto;
    aspect-ratio: 896 / 1200;
    object-fit: cover;
  }

  @media (min-width: 768px) {
    .campaign-media {
      aspect-ratio: 1376 / 768;
    }
  }

  .campaign-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  @media (min-width: 768px) {
    .campaign-caption {
      flex-direction: row;
      justify-content: space-between;
      text-align: start;
      padding-inline: 0.5rem;
    }
  }

  .campaign-caption-text {
    color: var(--slate-blue);
    font-size: 0.95rem;
  }

  @media (forced-colors: active) {
    .campaign-frame,
    .tech-cinema,
    .craft-media-frame {
      border: 2px solid CanvasText;
      background: Canvas;
    }
  }

  /* ------------------------------------------------------------------------
     NEW SECTION B: INFRAESTRUCTURA IA (#tecnologia Cinema Parallax)
     ------------------------------------------------------------------------ */
  .tech-section {
    padding-block: 4.5rem;
  }

  .tech-cinema {
    position: relative;
    display: grid;
    align-items: center;
    min-block-size: 26rem;
    padding: 2.75rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-luxury), 0 0 38px rgba(201, 162, 39, 0.18);
    overflow: clip;
  }

  @media (min-width: 768px) {
    .tech-cinema {
      min-block-size: 31rem;
      padding: 4rem 3.5rem;
    }
  }

  .tech-bg-window {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: clip;
  }

  .tech-bg-window picture,
  .tech-parallax-img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
  }

  .tech-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(105deg, rgba(6, 18, 43, 0.94) 0%, rgba(10, 28, 64, 0.84) 55%, rgba(18, 40, 92, 0.56) 100%);
  }

  .tech-content {
    position: relative;
    z-index: 2;
    max-inline-size: 40rem;
  }

  .tech-content h2 {
    font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
    color: var(--white);
    margin-block-end: 1rem;
  }

  .tech-desc {
    max-inline-size: 52ch;
    color: var(--slate-blue);
    margin-block-end: 1.5rem;
  }

  .tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-block-end: 2rem;
  }

  .tech-pill {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(240, 205, 100, 0.5);
    background: rgba(6, 18, 43, 0.82);
    color: var(--gold-light);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
  }

  /* ------------------------------------------------------------------------
     SECTION 6: STATS TRUST STRIP (Webenplan .block-stats diagonal shine sweep)
     ------------------------------------------------------------------------ */
  .block-stats {
    padding-block: 4rem;
  }

  .stats-title {
    text-align: center;
    font-size: clamp(1.35rem, 1.15rem + 1vw, 1.85rem);
    color: var(--gold-light);
    margin-block-end: 2rem;
  }

  .stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  @media (min-width: 576px) {
    .stats-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 992px) {
    .stats-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  .stat-card {
    position: relative;
    overflow: hidden;
    padding: 1.65rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(201, 162, 39, 0.36);
    background: linear-gradient(135deg, var(--royal-blue) 0%, #173475 100%);
    text-align: center;
    box-shadow: 0 10px 28px rgba(4, 10, 26, 0.35);
    transition: transform 0.25s ease, border-color 0.25s ease;
  }

  .stat-card::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: -100%;
    inline-size: 55%;
    background: linear-gradient(90deg, transparent, rgba(240, 205, 100, 0.25), transparent);
    transform: skewX(-25deg);
    pointer-events: none;
  }

  @media (prefers-reduced-motion: no-preference) {
    .stat-card:hover::before {
      animation: shine-effect 0.75s ease-out;
    }
  }

  .stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--gold-light);
  }

  @keyframes shine-effect {
    from { inset-inline-start: -100%; }
    to { inset-inline-start: 160%; }
  }

  .stat-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.15rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1.1;
    margin-block-end: 0.45rem;
  }

  .stat-label {
    font-size: 0.9rem;
    color: var(--slate-blue);
  }

  /* ------------------------------------------------------------------------
     SECTION 7: FAQ ACCORDION (Accordion + Animate-to-Intrinsic-Sizes)
     ------------------------------------------------------------------------ */
  .block-faqs {
    padding-block: 4.5rem;
  }

  .faq-container {
    max-inline-size: 52rem;
  }

  .faq-list {
    border-block-start: 1px solid var(--border-subtle);
  }

  .faq-item {
    border-block-end: 1px solid var(--border-subtle);
  }

  .faq-question {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding-block: 1.35rem;
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .faq-question::-webkit-details-marker {
    display: none;
  }

  .faq-question:hover {
    color: var(--gold-light);
  }

  .faq-icon {
    position: relative;
    inline-size: 0.95rem;
    block-size: 0.95rem;
    flex: none;
    transition: transform 0.3s ease;
  }

  .faq-icon .line {
    position: absolute;
    background-color: var(--gold-light);
    border-radius: 2px;
  }

  .faq-icon .horizontal {
    inset-block-start: 50%;
    inset-inline: 0;
    block-size: 2px;
    transform: translateY(-50%);
  }

  .faq-icon .vertical {
    inset-inline-start: 50%;
    inset-block: 0;
    inline-size: 2px;
    transform: translateX(-50%);
  }

  .faq-item[open] .faq-icon {
    transform: rotate(45deg);
  }

  .faq-item::details-content {
    interpolate-size: allow-keywords;
    overflow: clip;
    contain: layout;
  }

  .faq-item:not([open])::details-content {
    block-size: 0;
  }

  @media (prefers-reduced-motion: no-preference) {
    .faq-item::details-content {
      transition: block-size 0.32s ease-in-out, content-visibility 0.32s ease-in-out;
      transition-behavior: allow-discrete;
    }
  }

  .faq-answer {
    padding-block-end: 1.35rem;
  }

  .faq-answer p {
    max-inline-size: 65ch;
    color: var(--slate-blue);
    font-size: 0.96rem;
  }

  /* ------------------------------------------------------------------------
     SECTION 8: CLOSING VERSE (Mateo 25:20) + ROUNDED CTA CARD
     ------------------------------------------------------------------------ */
  .closing-section {
    padding-block: 4rem 5.5rem;
  }

  .verse-showcase {
    max-inline-size: 46rem;
    margin-inline: auto;
    margin-block-end: 3.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }

  .closing-coin {
    inline-size: 5.5rem;
    block-size: 5.5rem;
    border-radius: 50%;
    border: 1.5px solid var(--gold-talent);
    box-shadow: 0 0 28px rgba(201, 162, 39, 0.25);
  }

  .brand-verse p {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
    font-weight: 600;
    color: var(--gold-light);
    line-height: 1.2;
  }

  .verse-ref {
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.85rem;
    color: var(--white);
  }

  .verse-reflection {
    max-inline-size: 50ch;
    color: var(--slate-blue);
  }

  /* Rounded CTA Card (.block-cta.layout-card) */
  .cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.75rem;
    padding: 2.5rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: linear-gradient(135deg, #163374 0%, var(--royal-blue) 50%, #0D204C 100%);
    box-shadow: var(--shadow-luxury), 0 0 36px rgba(201, 162, 39, 0.16);
  }

  @media (min-width: 768px) {
    .cta-card {
      flex-direction: row;
      justify-content: space-between;
      text-align: start;
      padding: 3rem 3.25rem;
    }
  }

  .cta-card-copy h2 {
    font-size: clamp(1.45rem, 1.2rem + 1.2vw, 2rem);
    color: var(--white);
    margin-block-end: 0.5rem;
  }

  .cta-card-copy p {
    color: var(--slate-blue);
  }

  /* ------------------------------------------------------------------------
     FOOTER (Highlighted Instagram + Legal Notices)
     ------------------------------------------------------------------------ */
  .site-footer {
    background: var(--navy-deep);
    border-block-start: 1px solid var(--border-strong);
    padding-block: 4rem 2.25rem;
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-block-end: 3rem;
    border-block-end: 1px solid rgba(201, 162, 39, 0.16);
  }

  @media (min-width: 640px) {
    .footer-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 992px) {
    .footer-grid {
      grid-template-columns: 1.3fr 0.85fr 1.15fr 0.9fr;
    }
  }

  .footer-logo {
    margin-block-end: 1rem;
  }

  .footer-tagline {
    color: var(--white);
    font-weight: 500;
    margin-block-end: 0.35rem;
  }

  .footer-verse {
    font-size: 0.85rem;
    color: var(--gold-light);
  }

  .footer-heading {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-block-end: 1rem;
  }

  .footer-links,
  .footer-legal-buttons {
    display: grid;
    gap: 0.65rem;
  }

  .footer-links a,
  .legal-trigger {
    font-size: 0.92rem;
    color: var(--slate-blue);
    text-align: start;
    transition: color 0.2s ease;
  }

  .footer-links a:hover,
  .legal-trigger:hover {
    color: var(--gold-light);
  }

  .footer-ig-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    margin-block-end: 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(240, 205, 100, 0.45);
    background: linear-gradient(135deg, rgba(18, 40, 92, 0.9), rgba(10, 28, 64, 0.95));
    transition: border-color 0.25s ease, transform 0.25s ease;
  }

  .footer-ig-card:hover {
    border-color: var(--gold-light);
    transform: translateY(-2px);
  }

  .footer-ig-icon {
    display: grid;
    place-items: center;
    inline-size: 2.5rem;
    block-size: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-talent));
    color: var(--navy-deep);
    flex: none;
  }

  .footer-ig-title {
    display: block;
    font-size: 0.85rem;
    color: var(--white);
  }

  .footer-ig-handle {
    display: block;
    font-size: 0.85rem;
    color: var(--gold-light);
  }

  .footer-wa-link {
    display: inline-block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--white);
    margin-block-end: 0.35rem;
  }

  .footer-wa-link:hover {
    color: var(--gold-light);
  }

  .footer-email {
    font-size: 0.86rem;
    color: var(--slate-blue);
  }

  .footer-legal-bottom {
    padding-block-start: 1.75rem;
    display: grid;
    gap: 0.75rem;
  }

  .legal-disclaimer {
    font-size: 0.78rem;
    line-height: 1.55;
    color: rgba(185, 195, 218, 0.82);
  }

  .copyright {
    font-size: 0.82rem;
    color: var(--gold-light);
  }

  /* ------------------------------------------------------------------------
     Floating Corner WhatsApp Button
     ------------------------------------------------------------------------ */
  .whatsapp-float {
    position: fixed;
    inset-block-end: 1.25rem;
    inset-inline-end: 1.25rem;
    z-index: 900;
    display: grid;
    place-items: center;
    inline-size: 3.65rem;
    block-size: 3.65rem;
    border-radius: 50%;
    border: 2px solid var(--gold-light);
    background: #25D366;
    color: #062111;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.48), 0 0 0 4px rgba(10, 28, 64, 0.65);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  }

  .whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.58), 0 0 22px rgba(240, 205, 100, 0.45);
  }

  /* ------------------------------------------------------------------------
     Native Legal Dialog Modal
     ------------------------------------------------------------------------ */
  .legal-dialog {
    margin: auto;
    padding: 0;
    inline-size: min(92dvw, 38rem);
    max-block-size: 84dvh;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--navy-talents);
    color: var(--white);
    box-shadow: var(--shadow-luxury);
    opacity: 0;
    transform: translateY(12px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease, display 0.25s ease, overlay 0.25s ease;
    transition-behavior: allow-discrete;
  }

  .legal-dialog[open] {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  @starting-style {
    .legal-dialog[open] {
      opacity: 0;
      transform: translateY(12px) scale(0.98);
    }
  }

  .legal-dialog::backdrop {
    background: rgba(3, 9, 24, 0.78);
    backdrop-filter: blur(4px);
  }

  .legal-dialog-inner {
    display: flex;
    flex-direction: column;
    max-block-size: 84dvh;
  }

  .legal-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-block-end: 1px solid var(--border-subtle);
    background: var(--navy-deep);
  }

  .legal-dialog-header h2 {
    font-size: 1.35rem;
    color: var(--gold-light);
  }

  .dialog-close-btn {
    inline-size: 2.25rem;
    block-size: 2.25rem;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 39, 0.45);
    color: var(--white);
    font-size: 1rem;
  }

  .dialog-close-btn:hover {
    background: var(--gold-talent);
    color: var(--navy-deep);
  }

  .legal-dialog-body {
    padding: 1.5rem;
    overflow-y: auto;
    display: grid;
    gap: 0.9rem;
    color: var(--slate-blue);
    font-size: 0.94rem;
  }

  .legal-dialog-body h3 {
    font-size: 1.05rem;
    color: var(--white);
  }

  .legal-dialog-footer {
    padding: 1rem 1.5rem;
    border-block-start: 1px solid var(--border-subtle);
    display: flex;
    justify-content: flex-end;
  }

  /* ------------------------------------------------------------------------
     Forced Colors Mode Support (Windows High Contrast)
     ------------------------------------------------------------------------ */
  @media (forced-colors: active) {
    .hero-title-gold,
    .hero-title-gold .k-word-inner {
      background: none;
      -webkit-text-fill-color: CanvasText;
      color: CanvasText;
    }

    .plan-card,
    .service-card,
    .numbered-card,
    .stat-card,
    .portfolio-card,
    .cta-card,
    .legal-dialog {
      border: 2px solid CanvasText;
      background: Canvas;
    }

    .favorite-badge,
    .number-badge,
    .btn-gold-primary {
      border: 2px solid ButtonText;
    }
  }
}
