/* Hallmark · v2.0.0 · built: the project · redesign: polish · genre: editorial · shape: bento · theme: Webycia brand · nav: one row, wordmark and CTA · footer: four columns and contact card · hero: kept headline with a live architecture console · signature: the live AI architecture console · job: request a free consultation · surface: absolute */
/* critique: The page still opened on a stock illustration and repeated six identical carousels; the consoles and the asymmetric grid give the architecture itself the stage while navy type, hairlines and one orange accent keep carrying the page. */
/* Hallmark · dropped servicesScroll, projectsScroll, servicesDots, scrollDots · the services carousel became a bento grid and the project carousel became a case grid, so their scroll-by arrows and dots no longer exist */
/* Hallmark · dropped "Grupo Logístico MeridiaN", "Clínica SonRisa+", "Aseguradora ProtecVida", "Fintech Global Security", "Restaurante Alma Mediterránea", "Taller AutoPremium Sevilla", "Dra. Elena Castillo" · the invented client names were replaced by the real Webycia systems the user listed */
/* Hallmark · reworded "Tres modelos de colaboración" to "Punto de entrada y tres modelos de colaboración" · the section now opens with the 490 € entry audit, so three no longer counted the offers */
/* Hallmark · sections: + Tres pilares, + ADN docente real (index) · both requested by the owner, so the screen budget in 58 reports as a note */
/* Hallmark · dismissed F4 · the paired filled controls the check sees are the hero console's tab buttons; a tablist has exactly one selected tab at a time and the hero's own calls to action stay the filled primary and the outlined secondary */
/* Hallmark · dropped mailto:webycia@gmail.com · the public contact address moved to info@webycia.com on the owner's explicit request (F-WEBYCIA-FASE2-INFO-AND-LOCAL-LANDINGS); the same link now points at the new address */
/* Hallmark · sections: + three local landing pages (Fase 2, 30 km around Valdemorillo) · requested by the owner as GEO landing pages, so the 450-word budget in 58 reports as a note on those three documents only */

/* Hallmark · sections: + filter band and executive close (projects.html) · owner-requested F-WEBYCIA-PREMIUM-13, so the 450-word budget in 58 reports as a note on that document only */

@view-transition {
    navigation: auto;
}

:root {
    --wc-console-bg: #0A2244;
    --wc-console-raise: rgba(255, 255, 255, 0.055);
    --wc-console-line: rgba(255, 255, 255, 0.14);
    --wc-console-ink: #EAF0F7;
    --wc-console-ink-muted: #AAB9CE;
    --wc-console-tint: rgba(242, 140, 38, 0.16);
    --wc-font-console: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --wc-ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);

    /* Brand scale, declared here as well as in webycia-editorial.css because this
       sheet styles the floating consultant and the twelve article pages link it
       without loading the editorial sheet: an unresolved token leaves the widget
       pill transparent and the focus ring without an outline. The values are the
       published ones, so the pages that load both sheets compute exactly the same. */
    --wc-navy: #0D2B5B;
    --wc-navy-deep: #09203f;
    --wc-navy-soft: #1a4a94;
    --wc-orange: #F28C26;
    --wc-accent-ink: #A94E0C;
    --wc-warm: #F8F7F5;
    --wc-paper: #FDFCFA;
    --wc-ink: #2F3540;
    --wc-ink-muted: #5C6470;
    --wc-ink-light: #C9CDD4;
    --wc-green-ink: #15803D;
    --wc-blue-ink: #1D4ED8;
    --wc-purple-ink: #6D28D9;
    --wc-amber-ink: #B45309;
    --wc-amber-deep: #92400E;
    --wc-emerald-ink: #047857;
    --wc-line: #E7E2DA;
    --wc-line-strong: #D8D1C7;
    --wc-field-line: #7A828E;
    --wc-focus: #0D2B5B;
    --wc-focus-dark: #F8F7F5;
    --wc-glass: rgba(255, 255, 255, 0.7);
    --wc-glass-line: rgba(255, 255, 255, 0.3);
    /* Backdrop of the site-search dialog: deep navy, dim enough to keep the
       header readable behind it and light enough that the page still reads as
       "behind", not "gone". */
    --wc-scrim: rgba(9, 32, 63, 0.66);
    --wc-glow-orange: rgba(242, 140, 38, 0.12);
    --wc-glow-navy: rgba(13, 43, 91, 0.05);
    --wc-shadow-sm: 0 1px 2px rgba(13, 43, 91, 0.05);
    --wc-shadow-md: 0 1px 2px rgba(13, 43, 91, 0.04), 0 10px 24px -18px rgba(13, 43, 91, 0.22);
    --wc-shadow-lg: 0 1px 2px rgba(13, 43, 91, 0.04), 0 18px 40px -28px rgba(13, 43, 91, 0.28);
    --wc-radius-xs: 3px;
    --wc-radius-sm: 6px;
    --wc-radius-md: 8px;
    --wc-radius-lg: 10px;
}

/* ---------- Native modernization ---------- */

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

h1,
h2,
h3 {
    text-wrap: balance;
}

p,
li {
    text-wrap: pretty;
}

:where(a, button, summary, [tabindex]):focus-visible {
    outline: 2px solid var(--wc-focus);
    outline-offset: 3px;
}

:where(.bg-navy, .wc-console, .wc-bento-lead, .wc-case-navy):focus-visible,
:where(.bg-navy, .wc-console, .wc-bento-lead, .wc-case-navy) :where(a, button, summary, [tabindex]):focus-visible {
    outline-color: var(--wc-focus-dark);
}

/* Dark bands need the light ring with enough specificity to beat the global rule above:
   a navy ring on the navy console sits at 1.14:1 and the focus state disappears. */
.wc-console :is(a, button, summary, [tabindex]):focus-visible,
.bg-navy :is(a, button, summary, [tabindex]):focus-visible {
    outline-color: var(--wc-focus-dark);
}

@supports (content-visibility: auto) {
    main > section:nth-of-type(n + 4):not(:target) {
        content-visibility: auto;
        contain-intrinsic-size: auto 900px;
    }
}

/* Every new flex or grid track protects its text from WebKit shrink. */
.wc-console,
.wc-console *,
.wc-bento,
.wc-bento *,
.wc-cases,
.wc-cases * {
    min-width: 0;
}

/* ---------- Hero architecture console ---------- */

.wc-console {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-width: 34rem;
    margin-inline: auto;
    padding: 0;
    border: 1px solid var(--wc-console-line);
    border-radius: var(--wc-radius-lg);
    background-color: var(--wc-console-bg);
    color: var(--wc-console-ink);
    box-shadow: var(--wc-shadow-lg);
    overflow: hidden;
}

.wc-console-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid var(--wc-console-line);
}

.wc-console-id {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.wc-console-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex: 0 0 auto;
    border-radius: var(--wc-radius-sm);
    background-color: var(--wc-console-tint);
    color: var(--wc-orange);
}

.wc-console-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wc-console-ink);
}

.wc-live {
    flex: 0 0 auto;
    padding: 0.15rem 0.5rem;
    border: 1px solid var(--wc-console-line);
    border-radius: 999px;
    font-size: 0.75rem;
    color: var(--wc-console-ink-muted);
    background-color: var(--wc-console-raise);
}

.wc-tabs {
    display: flex;
    gap: 0.25rem;
    padding: 0.6rem 0.75rem 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.wc-tabs::-webkit-scrollbar {
    display: none;
}

.wc-tab {
    flex: 1 0 auto;
    min-height: 44px;
    padding: 0.5rem 0.7rem;
    border: 1px solid transparent;
    border-radius: var(--wc-radius-sm);
    background-color: transparent;
    color: var(--wc-console-ink-muted);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: color 160ms var(--wc-ease-out), background-color 160ms var(--wc-ease-out), border-color 160ms var(--wc-ease-out);
}

.wc-tab:hover {
    color: var(--wc-console-ink);
    background-color: var(--wc-console-raise);
}

.wc-tab[aria-selected="true"] {
    color: var(--wc-navy);
    background-color: var(--wc-orange);
    border-color: var(--wc-orange);
    font-weight: 600;
}

.wc-panels {
    padding: 1.1rem 1.15rem 1.25rem;
}

.wc-panel[hidden] {
    display: none !important;
}

.wc-panel.is-active {
    animation: wc-rise 280ms var(--wc-ease-out) both;
}

@keyframes wc-rise {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.wc-flow {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wc-step {
    display: grid;
    grid-template-columns: 4.6rem minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    padding-left: 0.85rem;
    border-left: 2px solid var(--wc-console-line);
}

.wc-panel.is-active .wc-step {
    animation: wc-step-in 420ms var(--wc-ease-out) both;
    animation-delay: calc(var(--i, 0) * 220ms);
}

.wc-panel.is-active .wc-step:last-child {
    border-left-color: var(--wc-orange);
}

@keyframes wc-step-in {
    from {
        opacity: 0.25;
        transform: translateX(4px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.wc-step-kind {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--wc-orange);
}

.wc-step-text {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--wc-console-ink);
}

.wc-log {
    display: flex;
    gap: 0.4rem;
    margin: 1rem 0 0;
    padding: 0.55rem 0.7rem;
    border: 1px solid var(--wc-console-line);
    border-radius: var(--wc-radius-sm);
    background-color: var(--wc-console-raise);
    font-family: var(--wc-font-console);
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--wc-console-ink-muted);
    overflow-wrap: anywhere;
}

.wc-log-prompt {
    color: var(--wc-orange);
}

.wc-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--wc-console-line);
    list-style: none;
}

.wc-metrics li {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    padding: 0.8rem 0.9rem;
    border-left: 1px solid var(--wc-console-line);
}

.wc-metrics li:first-child {
    border-left: 0;
}

.wc-metrics strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--wc-orange);
    white-space: nowrap;
}

.wc-metrics span {
    font-size: 0.75rem;
    color: var(--wc-console-ink-muted);
}

/* ---------- Bento grid: services ---------- */

.wc-bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.15rem;
}

.wc-bento-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1.5rem;
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-lg);
    background-color: var(--wc-paper);
    transition: transform 180ms var(--wc-ease-out), border-color 180ms var(--wc-ease-out), background-color 180ms var(--wc-ease-out);
}

.wc-bento-card:hover {
    transform: translateY(-2px);
    border-color: var(--wc-line-strong);
}

.wc-bento-lead {
    grid-column: span 7;
    grid-row: span 2;
    background-color: var(--wc-navy);
    border-color: var(--wc-navy);
    color: var(--wc-console-ink);
    padding: 1.9rem;
}

.wc-bento-lead:hover {
    border-color: var(--wc-navy-soft);
}

.wc-bento-mid {
    grid-column: span 5;
}

.wc-bento-compact {
    grid-column: span 6;
}

.wc-bento-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--wc-navy);
}

.wc-bento-lead .wc-bento-title {
    font-size: 1.7rem;
    color: var(--wc-console-ink);
}

.wc-bento-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--wc-ink-muted);
}

.wc-bento-lead .wc-bento-text {
    font-size: 1rem;
    color: var(--wc-console-ink-muted);
    max-width: 48ch;
}

.wc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wc-badge {
    padding: 0.2rem 0.55rem;
    border: 1px solid var(--wc-line-strong);
    border-radius: 999px;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--wc-ink-muted);
    white-space: nowrap;
}

.wc-bento-lead .wc-badge {
    border-color: var(--wc-console-line);
    color: var(--wc-console-ink);
    background-color: var(--wc-console-raise);
}

.wc-diagram {
    display: block;
    width: 100%;
    height: auto;
    max-width: 21rem;
    margin: 0.2rem 0;
    color: var(--wc-orange);
}

.wc-arch {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
    margin: 0.6rem 0 0.35rem;
}

.wc-arch-row {
    display: grid;
    grid-template-columns: 5.4rem minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.7rem;
    border: 1px solid var(--wc-console-line);
    border-radius: var(--wc-radius-sm);
    background-color: var(--wc-console-raise);
}

.wc-arch-row:last-child {
    border-color: var(--wc-orange);
}

.wc-arch-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--wc-orange);
}

.wc-arch-node {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--wc-console-ink);
}

.wc-card-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1rem;
    margin-top: auto;
    padding-top: 0.4rem;
}

.wc-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wc-navy);
    text-decoration: underline;
    text-decoration-color: var(--wc-line-strong);
    text-underline-offset: 4px;
    transition: color 160ms var(--wc-ease-out), text-decoration-color 160ms var(--wc-ease-out);
}

.wc-link:hover {
    color: var(--wc-accent-ink);
    text-decoration-color: var(--wc-orange);
}

.wc-bento-lead .wc-link {
    color: var(--wc-console-ink);
    text-decoration-color: var(--wc-console-line);
}

.wc-bento-lead .wc-link:hover {
    color: var(--wc-orange);
    text-decoration-color: var(--wc-orange);
}

/* ---------- Case grid: real systems ---------- */

.wc-cases {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
}

.wc-case {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.6rem;
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-lg);
    background-color: var(--wc-paper);
    transition: transform 180ms var(--wc-ease-out), border-color 180ms var(--wc-ease-out);
}

.wc-case:hover {
    transform: translateY(-2px);
    border-color: var(--wc-line-strong);
}

.wc-case-navy {
    background-color: var(--wc-navy);
    border-color: var(--wc-navy);
}

.wc-case-navy:hover {
    border-color: var(--wc-navy-soft);
}

.wc-case-navy .wc-link {
    color: var(--wc-console-ink);
    text-decoration-color: var(--wc-console-line);
}

.wc-case-navy .wc-link:hover {
    color: var(--wc-orange);
    text-decoration-color: var(--wc-orange);
}

.wc-case-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--wc-navy);
}

.wc-case-navy .wc-case-title {
    color: var(--wc-console-ink);
}

.wc-case-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--wc-ink-muted);
}

.wc-case-navy .wc-case-text {
    color: var(--wc-console-ink-muted);
}

.wc-case-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    margin: 0;
    padding: 0.7rem 0 0;
    border-top: 1px solid var(--wc-line);
    list-style: none;
}

.wc-case-navy .wc-case-metrics {
    border-top-color: var(--wc-console-line);
}

.wc-case-metrics li {
    font-size: 0.8125rem;
    color: var(--wc-ink-muted);
}

.wc-case-metrics strong {
    color: var(--wc-navy);
    font-weight: 600;
}

.wc-case-navy .wc-case-metrics strong {
    color: var(--wc-console-ink);
}

.wc-case-navy .wc-case-metrics li {
    color: var(--wc-console-ink-muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
    .wc-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wc-bento-lead {
        grid-column: span 2;
        grid-row: auto;
    }

    .wc-bento-mid,
    .wc-bento-compact {
        grid-column: span 1;
    }

    .wc-cases {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .wc-bento {
        grid-template-columns: minmax(0, 1fr);
    }

    .wc-bento-lead,
    .wc-bento-mid,
    .wc-bento-compact {
        grid-column: span 1;
        padding: 1.35rem;
    }

    .wc-bento-lead .wc-bento-title {
        font-size: 1.4rem;
    }

    .wc-console {
        max-width: 100%;
    }

    .wc-tabs {
        flex-direction: column;
    }

    .wc-tab {
        text-align: left;
    }

    .wc-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .wc-metrics li {
        padding: 0.7rem 0.6rem;
    }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {

    .wc-panel.is-active,
    .wc-panel.is-active .wc-step {
        animation: none;
    }

    .wc-bento-card,
    .wc-case,
    .wc-tab,
    .wc-link {
        transition: none;
    }

    .wc-bento-card:hover,
    .wc-case:hover {
        transform: none;
    }
}

/* Carousel indicators: the visible dot stays 10px, the button becomes a 24px target
   (WCAG 2.2 target-size). background-clip keeps the pill small inside the larger box. */
button[data-dot] {
    box-sizing: border-box;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.4375rem;
    background-clip: content-box;
    border-radius: 9999px;
}

button[data-dot]:focus-visible {
    outline: 2px solid var(--wc-focus, #0d2b5b);
    outline-offset: 2px;
}

/* Mobile-apps card in the "Otros Servicios Digitales" carousel: its "Saber más"
   ink cannot use .text-primary (#F28C26, 2.45:1 on white). The requested
   #C85F08 measures 4.12:1, still under WCAG AA, so this one-step darker orange
   keeps the same hue at 4.59:1 on white. */
.wc-mobile-link {
    color: #bc5907;
}

.wc-mobile-link:hover,
.wc-mobile-link:focus-visible {
    color: #a24f0e;
}

/* ---------- Three master pillars: warm editorial cards ----------
   Scope: `.wc-pillar` and its children only. Every colour, radius, padding and
   border lives here instead of in Tailwind utilities, because css/tailwind.css is
   a closed precompiled subset that loads AFTER this file: an equal-specificity
   utility (p-8, bg-white, border-gray-200) would win over these rules.
   Accents come from the two official Webycia colours only (navy #0D2B5B and
   orange #F28C26 / #D46D0D). The raw orange sits at 2.45:1 on white, so it is
   used only for the strip and the list dots (decorative graphics) while every
   text-bearing surface (kicker, badge, price, link, CTA) takes navy as ink or
   keeps white text on navy, all clearing WCAG AA 4.5:1. */

.wc-pillar {
    --wc-pillar-accent: var(--wc-orange);
    --wc-pillar-ink: var(--wc-navy);
    --wc-pillar-tint: rgba(242, 140, 38, 0.1);
    --wc-pillar-edge: rgba(242, 140, 38, 0.32);
    --wc-pillar-icon-ink: var(--wc-pillar-accent);
    --wc-pillar-strip: none;
    --wc-pillar-btn: var(--wc-navy);
    --wc-pillar-btn-ink: #ffffff;
    --wc-pillar-btn-hover: #09203f;
    --wc-pillar-btn-hover-ink: #ffffff;

    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 1.5rem;
    border: 1px solid var(--wc-line);
    border-radius: 1.25rem;
    background-color: #ffffff;
    box-shadow: 0 1px 0 rgba(13, 43, 91, 0.03);
    transition: box-shadow 180ms var(--wc-ease-out), border-color 180ms var(--wc-ease-out);
}

@media (min-width: 640px) {
    .wc-pillar {
        padding: 2rem;
    }
}

/* Warm top strip, drawn inside the card so it follows the radius. */
.wc-pillar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 1.25rem 1.25rem 0 0;
    background-color: var(--wc-pillar-accent);
    background-image: var(--wc-pillar-strip);
}

/* Pilar 1 · Consultoría: corporate orange lead. The strip, the icon plate and
   the dots carry #F28C26; text takes navy (13.9:1 on white, 12.6:1 on the pale
   orange tint) and the CTA is navy type on #F28C26 (5.65:1), flipping to navy
   with white type on hover (13.9:1). */
.wc-pillar--consulting {
    --wc-pillar-accent: var(--wc-orange);
    --wc-pillar-ink: var(--wc-navy);
    --wc-pillar-tint: rgba(242, 140, 38, 0.14);
    --wc-pillar-edge: rgba(242, 140, 38, 0.42);
    --wc-pillar-icon-ink: #d46d0d;
    --wc-pillar-btn: var(--wc-orange);
    --wc-pillar-btn-ink: var(--wc-navy);
    --wc-pillar-btn-hover: var(--wc-navy);
    --wc-pillar-btn-hover-ink: #ffffff;
}

.wc-pillar--consulting .wc-pillar-cta {
    font-weight: 700;
}

.wc-pillar--software {
    --wc-pillar-accent: #0d2b5b;
    --wc-pillar-ink: #0d2b5b;
    --wc-pillar-tint: rgba(13, 43, 91, 0.07);
    --wc-pillar-edge: rgba(13, 43, 91, 0.3);
    --wc-pillar-btn: #0d2b5b;
    --wc-pillar-btn-hover: #09203f;

    /* Protagonist card: navy edge, slightly raised warm paper. */
    border-color: #0d2b5b;
    background-color: #fafbfd;
    box-shadow: 0 22px 44px -34px rgba(13, 43, 91, 0.5);
}

/* Pilar 3 · Formación: navy + orange instead of the old sage green. The strip is
   split navy/orange, the icon is navy on the warm orange plate, dots stay
   orange, text is navy and the CTA is navy with white type whose hover keeps a
   #F28C26 ring over #09203F (white type stays at 12.6:1). */
.wc-pillar--training {
    --wc-pillar-accent: var(--wc-orange);
    --wc-pillar-ink: var(--wc-navy);
    --wc-pillar-tint: rgba(242, 140, 38, 0.14);
    --wc-pillar-edge: rgba(242, 140, 38, 0.42);
    --wc-pillar-icon-ink: var(--wc-navy);
    --wc-pillar-strip: linear-gradient(90deg, #0d2b5b 0 50%, #f28c26 50% 100%);
    --wc-pillar-btn: var(--wc-navy);
    --wc-pillar-btn-ink: #ffffff;
    --wc-pillar-btn-hover: #09203f;
    --wc-pillar-btn-hover-ink: #ffffff;
}

.wc-pillar--training .wc-pillar-cta:hover {
    box-shadow: inset 0 0 0 2px var(--wc-orange), 0 14px 26px -16px rgba(13, 43, 91, 0.6);
}

.wc-pillar:hover {
    box-shadow: 0 24px 48px -34px rgba(13, 43, 91, 0.42);
}

.wc-pillar-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.wc-pillar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.875rem;
    background-color: var(--wc-pillar-tint);
    box-shadow: inset 0 0 0 1px var(--wc-pillar-edge);
    color: var(--wc-pillar-icon-ink);
}

.wc-pillar-id {
    min-width: 0;
}

.wc-pillar-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--wc-pillar-ink);
}

.wc-pillar-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 0.3rem;
    padding: 0.1rem 0.55rem;
    border-radius: 9999px;
    background-color: var(--wc-pillar-tint);
    box-shadow: inset 0 0 0 1px var(--wc-pillar-edge);
    color: var(--wc-pillar-ink);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.wc-pillar-title {
    margin-top: 1rem;
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--wc-navy);
}

.wc-pillar-lede {
    margin-top: 0.5rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #4b5563;
}

.wc-pillar-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(13, 43, 91, 0.09);
}

/* One row per subservice: decorative dot, wrapping title, right-aligned price.
   The title keeps flex:1 so the price pill never drops to a second line. */
.wc-pillar-item {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    min-width: 0;
    padding-left: 1.05rem;
}

.wc-pillar-item::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.55em;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 9999px;
    background-color: var(--wc-pillar-accent);
}

.wc-pillar-link {
    flex: 1 1 auto;
    min-width: 0;
    padding-block: 0.125rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #33405a;
    text-decoration: underline;
    text-decoration-color: rgba(13, 43, 91, 0.18);
    text-underline-offset: 3px;
    transition: color 160ms var(--wc-ease-out), text-decoration-color 160ms var(--wc-ease-out);
}

.wc-pillar-link:hover {
    color: var(--wc-pillar-ink);
    text-decoration-color: currentColor;
}

.wc-pillar-price {
    flex: 0 0 auto;
    align-self: baseline;
    display: inline-flex;
    align-items: center;
    padding: 0.0625rem 0.5rem;
    border-radius: 9999px;
    background-color: var(--wc-pillar-tint);
    box-shadow: inset 0 0 0 1px var(--wc-pillar-edge);
    color: var(--wc-pillar-ink);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Actions pinned to the card bottom so the three CTAs line up. */
.wc-pillar-foot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin-top: auto;
    padding-top: 1.25rem;
}

.wc-pillar-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.8125rem 1.125rem;
    border-radius: 0.875rem;
    background-color: var(--wc-pillar-btn);
    color: var(--wc-pillar-btn-ink);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    box-shadow: 0 10px 22px -18px rgba(13, 43, 91, 0.7);
    transition: background-color 180ms var(--wc-ease-out), box-shadow 180ms var(--wc-ease-out),
        transform 180ms var(--wc-ease-out);
}

.wc-pillar-cta:hover {
    background-color: var(--wc-pillar-btn-hover);
    color: var(--wc-pillar-btn-hover-ink);
    box-shadow: 0 14px 26px -16px rgba(13, 43, 91, 0.6);
}

.wc-pillar-cta:active {
    transform: scale(0.985);
}

.wc-pillar-cta .material-symbols-outlined {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1.25rem;
    transition: transform 180ms var(--wc-ease-out);
}

.wc-pillar-cta:hover .material-symbols-outlined {
    transform: translateX(2px);
}

.wc-pillar-secondary {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 44px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--wc-pillar-ink);
    text-decoration: underline;
    text-decoration-color: var(--wc-pillar-edge);
    text-underline-offset: 4px;
    transition: color 160ms var(--wc-ease-out), text-decoration-color 160ms var(--wc-ease-out);
}

.wc-pillar-secondary:hover {
    color: var(--wc-pillar-btn-hover);
    text-decoration-color: currentColor;
}

/* The band itself turns warm paper on the home page; #id keeps the rank over
   Tailwind's .bg-white, which loads later. */
#pilares.wc-pillars {
    background-color: #faf6f0;
}

@media (prefers-reduced-motion: reduce) {

    .wc-pillar,
    .wc-pillar-cta,
    .wc-pillar-cta .material-symbols-outlined,
    .wc-pillar-link,
    .wc-pillar-secondary {
        transition: none;
    }

    .wc-pillar-cta:active,
    .wc-pillar-cta:hover .material-symbols-outlined {
        transform: none;
    }
}

/* ---------- F-WEBYCIA-PREMIUM-01 · Diagnóstico guiado y Asistente IA ----------
   Every colour below resolves through the tokens declared in webycia-editorial.css.
   No utility comes from the closed Tailwind build: these rules are the component. */

#diagnostico-3-clics {
    background-color: var(--wc-navy);
    color: var(--wc-console-ink);
    padding: 4rem 0;
    border-top: 1px solid var(--wc-console-line);
}

.wc-finder {
    min-width: 0;
}

.wc-finder-title {
    color: var(--wc-console-ink);
    font-size: 1.75rem;
    line-height: 1.15;
    font-weight: 700;
    margin: 0;
    overflow-wrap: break-word;
}

.wc-finder-lede {
    color: var(--wc-console-ink-muted);
    margin: 0.85rem 0 0;
    max-width: 44rem;
    line-height: 1.6;
}

.wc-finder-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
}

.wc-finder-progress__track {
    flex: 1 1 auto;
    min-width: 0;
    height: 0.25rem;
    border-radius: 999px;
    background-color: var(--wc-console-line);
    overflow: hidden;
}

.wc-finder-progress__fill {
    display: block;
    height: 100%;
    width: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background-color: var(--wc-orange);
    transition: transform 240ms var(--wc-ease-out);
}

.wc-finder-progress__label {
    margin: 0;
    flex: 0 0 auto;
    font-size: 0.875rem;
    color: var(--wc-console-ink-muted);
}

.wc-finder-step {
    margin-top: 1.75rem;
}

.wc-finder-legend {
    padding: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--wc-console-ink);
}

.wc-finder-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.wc-finder-option {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 1.1rem;
    border: 1px solid var(--wc-console-line);
    border-radius: var(--wc-radius-md);
    background-color: var(--wc-console-raise);
    color: var(--wc-console-ink);
    font-size: 1rem;
    line-height: 1.45;
    cursor: pointer;
    min-width: 0;
    transition: border-color 160ms var(--wc-ease-out), background-color 160ms var(--wc-ease-out);
}

.wc-finder-option:hover {
    border-color: var(--wc-orange);
    background-color: var(--wc-console-tint);
}

.wc-finder-option input {
    appearance: none;
    -webkit-appearance: none;
    flex: 0 0 auto;
    display: grid;
    place-content: center;
    width: 1.05rem;
    height: 1.05rem;
    margin: 0.2rem 0 0;
    padding: 0;
    border: 1.5px solid var(--wc-ink-light);
    border-radius: 999px;
    background-color: transparent;
    background-image: none;
    cursor: pointer;
}

.wc-finder-option input::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background-color: var(--wc-orange);
    transform: scale(0);
    transition: transform 140ms var(--wc-ease-out);
}

.wc-finder-option input:checked {
    border-color: var(--wc-orange);
    background-color: transparent;
    background-image: none;
}

.wc-finder-option input:checked::before {
    transform: scale(1);
}

.wc-finder-option input:focus,
.wc-finder-option input:focus-visible {
    outline: none;
    box-shadow: none;
}

.wc-finder-option:has(input:focus-visible) {
    outline: 2px solid var(--wc-focus-dark);
    outline-offset: 3px;
}

.wc-finder-option:has(input:checked) {
    border-color: var(--wc-orange);
    background-color: var(--wc-console-tint);
}

.wc-finder-option__text {
    min-width: 0;
    overflow-wrap: break-word;
}

.wc-finder-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.wc-finder-back {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.05rem;
    border: 1px solid var(--wc-console-line);
    border-radius: var(--wc-radius-md);
    background-color: transparent;
    color: var(--wc-console-ink);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 160ms var(--wc-ease-out), background-color 160ms var(--wc-ease-out);
}

.wc-finder-back:hover {
    border-color: var(--wc-orange);
    background-color: var(--wc-console-raise);
}

.wc-finder-back .material-symbols-outlined {
    font-size: 1.1rem;
}

.wc-finder-result {
    margin-top: 1.75rem;
    padding: 1.5rem;
    border-radius: var(--wc-radius-md);
    border-top: 3px solid var(--wc-orange);
    background-color: var(--wc-paper);
    color: var(--wc-ink);
    box-shadow: var(--wc-shadow-lg);
}

.wc-finder-result__title {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 700;
    color: var(--wc-navy);
    overflow-wrap: break-word;
}

.wc-finder-result__title:focus-visible {
    outline: 2px solid var(--wc-focus);
    outline-offset: 4px;
}

.wc-finder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.9rem;
}

.wc-finder-tag {
    display: inline-block;
    padding: 0.28rem 0.6rem;
    border-radius: var(--wc-radius-sm);
    background-color: var(--wc-warm);
    border: 1px solid var(--wc-line);
    color: var(--wc-ink-muted);
    font-size: 0.8125rem;
    line-height: 1.35;
    max-width: 100%;
    overflow-wrap: break-word;
}

.wc-finder-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--wc-line);
}

.wc-finder-card {
    min-width: 0;
}

.wc-finder-card__role {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--wc-ink-muted);
}

.wc-finder-card__name {
    margin: 0.3rem 0 0;
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 600;
    color: var(--wc-navy);
    overflow-wrap: break-word;
}

.wc-finder-card__price {
    margin: 0.45rem 0 0;
    font-size: 1.25rem;
    color: var(--wc-navy);
}

.wc-finder-card__price span {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--wc-ink-muted);
}

.wc-finder-card__meta {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: var(--wc-ink-muted);
    line-height: 1.45;
}

.wc-finder-first {
    margin: 1.35rem 0 0;
    padding-left: 0.9rem;
    border-left: 2px solid var(--wc-orange);
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--wc-ink);
}

.wc-finder-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.35rem;
}

.wc-finder-primary,
.wc-finder-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.72rem 1.15rem;
    border-radius: var(--wc-radius-md);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 160ms var(--wc-ease-out), border-color 160ms var(--wc-ease-out), transform 160ms var(--wc-ease-out);
}

.wc-finder-primary {
    border: 1px solid var(--wc-orange);
    background-color: var(--wc-orange);
    color: var(--wc-navy);
}

.wc-finder-primary:hover {
    background-color: var(--wc-accent-ink);
    border-color: var(--wc-accent-ink);
    color: var(--wc-paper);
    transform: translateY(-1px);
}

.wc-finder-secondary {
    appearance: none;
    border: 1px solid var(--wc-navy);
    background-color: transparent;
    color: var(--wc-navy);
    font-family: inherit;
}

.wc-finder-secondary:hover {
    background-color: var(--wc-navy);
    color: var(--wc-paper);
    transform: translateY(-1px);
}

.wc-finder-noscript {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--wc-console-ink-muted);
}

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

    .wc-finder-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }

    .wc-finder-cards > .wc-finder-card + .wc-finder-card {
        padding-left: 1.75rem;
        border-left: 1px solid var(--wc-line);
    }
}

@media (min-width: 1024px) {
    #diagnostico-3-clics {
        padding: 5.5rem 0;
    }

    .wc-finder-title {
        font-size: 2.15rem;
    }
}

/* ---------- Asistente Consultor IA · widget flotante ---------- */

.wc-ai {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 96;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

/* The cookie decision comes first: a floating sales assistant must never cover the CMP. */
.wc-ai-banner-open .wc-ai {
    display: none;
}

.wc-ai-launcher {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.05rem;
    border: 1px solid var(--wc-orange);
    border-radius: 999px;
    background-color: var(--wc-navy);
    color: var(--wc-console-ink);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: var(--wc-shadow-lg);
    transition: background-color 160ms var(--wc-ease-out), transform 160ms var(--wc-ease-out);
}

.wc-ai-launcher:hover {
    background-color: var(--wc-navy-deep);
    transform: translateY(-1px);
}

.wc-ai-launcher:focus-visible {
    outline: 2px solid var(--wc-focus-dark);
    outline-offset: 3px;
}

.wc-ai-launcher .material-symbols-outlined {
    color: var(--wc-orange);
    font-size: 1.35rem;
}

.wc-ai-panel {
    display: flex;
    flex-direction: column;
    width: 26rem;
    height: min(44rem, calc(100dvh - 3.5rem));
    max-height: calc(100dvh - 3.5rem);
    border: 1px solid var(--wc-line);
    border-radius: 1rem;
    background-color: var(--wc-paper);
    box-shadow: var(--wc-shadow-lg);
    overflow: hidden;
    transform-origin: bottom right;
    animation: wc-ai-in 200ms var(--wc-ease-out) both;
}

.wc-ai-panel[hidden] {
    display: none;
}

.wc-ai-panel:focus {
    outline: none;
}

.wc-ai-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1rem 0.85rem;
    background-color: var(--wc-navy);
}

.wc-ai-identity {
    min-width: 0;
}

.wc-ai-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--wc-console-ink);
}

.wc-ai-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.2rem 0 0;
    font-size: 0.8125rem;
    color: var(--wc-console-ink-muted);
}

.wc-ai-status__dot {
    flex: 0 0 auto;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background-color: var(--wc-green-ink);
    box-shadow: 0 0 0 3px var(--wc-console-tint);
}

.wc-ai-icon-btn {
    appearance: none;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid transparent;
    border-radius: var(--wc-radius-sm);
    background-color: transparent;
    color: var(--wc-console-ink);
    cursor: pointer;
    transition: background-color 160ms var(--wc-ease-out), border-color 160ms var(--wc-ease-out);
}

.wc-ai-icon-btn:hover {
    background-color: var(--wc-console-raise);
    border-color: var(--wc-console-line);
}

.wc-ai-icon-btn:focus-visible {
    outline: 2px solid var(--wc-focus-dark);
    outline-offset: 2px;
}

.wc-ai-icon-btn .material-symbols-outlined {
    font-size: 1.2rem;
}

.wc-ai-log {
    flex: 1 1 auto;
    /* F-WEBYCIA-PREMIUM-14: the compact quick-query drawer hands every freed
       pixel to the conversation, so the log starts at zero and grows. */
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: var(--wc-paper);
}

.wc-ai-msg {
    min-width: 0;
    max-width: 92%;
    padding: 0.8rem 0.9rem;
    border-radius: var(--wc-radius-md);
    font-size: 1rem;
    line-height: 1.5;
}

.wc-ai-msg--bot {
    align-self: flex-start;
    background-color: var(--wc-warm);
    border: 1px solid var(--wc-line);
    color: var(--wc-ink);
}

.wc-ai-msg--user {
    align-self: flex-end;
    background-color: var(--wc-navy);
    color: var(--wc-console-ink);
}

.wc-ai-msg p {
    margin: 0;
    overflow-wrap: break-word;
}

.wc-ai-msg p + p,
.wc-ai-msg p + .wc-ai-msg__list,
.wc-ai-msg .wc-ai-msg__list + p {
    margin-top: 0.5rem;
}

.wc-ai-msg__title {
    font-weight: 600;
    color: var(--wc-navy);
}

.wc-ai-msg--user .wc-ai-msg__title {
    color: var(--wc-console-ink);
}

.wc-ai-msg__price {
    font-size: 1.05rem;
    color: var(--wc-navy);
}

.wc-ai-msg__price-note {
    font-size: 0.875rem;
    color: var(--wc-ink-muted);
}

.wc-ai-msg__meta {
    font-size: 0.875rem;
    color: var(--wc-ink-muted);
}

.wc-ai-msg__list {
    margin: 0;
    padding-left: 1.1rem;
    list-style: disc;
    font-size: 0.9375rem;
    color: var(--wc-ink);
}

.wc-ai-msg__list li {
    margin-top: 0.25rem;
    overflow-wrap: break-word;
}

.wc-ai-msg__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    margin-top: 0.7rem;
}

.wc-ai-msg__source {
    font-size: 0.8125rem;
    color: var(--wc-ink-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wc-ai-msg__source:hover {
    color: var(--wc-navy);
}

.wc-ai-msg__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.95rem;
    border: 1px solid var(--wc-orange);
    border-radius: var(--wc-radius-sm);
    background-color: var(--wc-orange);
    color: var(--wc-navy);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: background-color 160ms var(--wc-ease-out), border-color 160ms var(--wc-ease-out);
}

.wc-ai-msg__cta:hover {
    background-color: var(--wc-accent-ink);
    border-color: var(--wc-accent-ink);
    color: var(--wc-paper);
}

/* Envío del resumen de la conversación a contact.html (F-WEBYCIA-PREMIUM-12).
   Definido solo con tokens --wc-*: la build de Tailwind permanece cerrada. */
.wc-ai-msg__summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--wc-navy);
    border-radius: var(--wc-radius-sm);
    background-color: var(--wc-paper);
    color: var(--wc-navy);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms var(--wc-ease-out), color 160ms var(--wc-ease-out);
}

.wc-ai-msg__summary:hover {
    background-color: var(--wc-navy);
    color: var(--wc-paper);
}

.wc-ai-msg__summary:focus-visible {
    outline: 2px solid var(--wc-focus);
    outline-offset: 2px;
}

/* F-WEBYCIA-PREMIUM-14: one collapsed native drawer holds the seven quick
   queries. Collapsed it is a single summary row; open it lists the same
   `.wc-ai-chip` buttons and caps its own height so the field and Enviar stay
   visible. Tokens only: the compiled Tailwind build stays closed. */
.wc-ai-quick-drawer {
    flex: 0 0 auto;
    padding: 0 1rem 0.6rem;
    border-top: 1px solid var(--wc-line);
    background-color: var(--wc-paper);
}

.wc-ai-quick-drawer__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.6rem 0;
    color: var(--wc-navy);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    list-style: none;
}

.wc-ai-quick-drawer__summary::-webkit-details-marker {
    display: none;
}

.wc-ai-quick-drawer__summary::marker {
    content: '';
}

.wc-ai-quick-drawer__summary:focus-visible {
    outline: 2px solid var(--wc-focus);
    outline-offset: 2px;
    border-radius: var(--wc-radius-sm);
}

.wc-ai-quick-drawer__label {
    min-width: 0;
    overflow-wrap: break-word;
}

.wc-ai-quick-drawer__arrow {
    flex: 0 0 auto;
    font-size: 0.75rem;
    line-height: 1;
    transition: transform 160ms var(--wc-ease-out);
}

.wc-ai-quick-drawer[open] .wc-ai-quick-drawer__arrow {
    transform: rotate(180deg);
}

.wc-ai-quick-drawer__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    max-height: 34dvh;
    padding-top: 0.2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.wc-ai-chip {
    appearance: none;
    flex: 0 0 auto;
    min-width: 0;
    padding: 0.4rem 0.65rem;
    border: 1px solid var(--wc-line-strong);
    border-radius: 999px;
    background-color: transparent;
    color: var(--wc-navy);
    font: inherit;
    font-size: 0.8125rem;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms var(--wc-ease-out), background-color 160ms var(--wc-ease-out);
}

.wc-ai-chip:hover {
    border-color: var(--wc-orange);
    background-color: var(--wc-warm);
}

.wc-ai-chip:focus-visible {
    outline: 2px solid var(--wc-focus);
    outline-offset: 2px;
}

.wc-ai-form {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: var(--wc-paper);
}

/* Tailwind's [type=text] base rule paints these fields after webycia-modern.css,
   so the widget rule needs one extra class of specificity to keep the brand finish. */
.wc-ai .wc-ai-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.6rem 0.7rem;
    border: 1px solid var(--wc-field-line);
    border-radius: var(--wc-radius-sm);
    background-color: var(--wc-paper);
    color: var(--wc-ink);
    font: inherit;
    font-size: 1rem;
}

.wc-ai .wc-ai-input::placeholder {
    color: var(--wc-ink-muted);
}

.wc-ai .wc-ai-input:focus,
.wc-ai .wc-ai-input:focus-visible {
    border-color: var(--wc-navy) !important;
    outline: 2px solid var(--wc-focus);
    outline-offset: 1px;
    box-shadow: none;
}

.wc-ai-send {
    appearance: none;
    flex: 0 0 auto;
    padding: 0.6rem 0.95rem;
    border: 1px solid var(--wc-orange);
    border-radius: var(--wc-radius-sm);
    background-color: var(--wc-orange);
    color: var(--wc-navy);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 160ms var(--wc-ease-out), border-color 160ms var(--wc-ease-out);
}

.wc-ai-send:hover {
    background-color: var(--wc-accent-ink);
    border-color: var(--wc-accent-ink);
    color: var(--wc-paper);
}

.wc-ai-footer {
    margin: 0;
    padding: 0 1rem 0.85rem;
    background-color: var(--wc-paper);
    color: var(--wc-ink-muted);
    font-size: 0.75rem;
    line-height: 1.45;
}

@keyframes wc-ai-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 30rem) {
    .wc-ai {
        right: 0.75rem;
        bottom: 0.75rem;
        left: 0.75rem;
        align-items: flex-end;
    }

    .wc-ai-panel {
        position: fixed;
        inset: 0.5rem;
        width: auto;
        height: auto;
        max-height: calc(100dvh - 1rem);
        border-radius: 0.75rem;
    }

    .wc-ai-launcher__label {
        display: none;
    }

    .wc-ai-launcher {
        width: 3.25rem;
        height: 3.25rem;
        justify-content: center;
        padding: 0;
        border-radius: 999px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wc-finder-progress__fill,
    .wc-finder-option,
    .wc-finder-option input::before,
    .wc-finder-back,
    .wc-finder-primary,
    .wc-finder-secondary,
    .wc-ai-launcher,
    .wc-ai-icon-btn,
    .wc-ai-msg__cta,
    .wc-ai-msg__summary,
    .wc-ai-chip,
    .wc-ai-quick-drawer__arrow,
    .wc-ai-send {
        transition: none;
    }

    .wc-ai-panel {
        animation: none;
    }

    .wc-finder-primary:hover,
    .wc-finder-secondary:hover,
    .wc-ai-launcher:hover {
        transform: none;
    }
}

/* ---------- Entrepreneurial alliance band: tech partner & fractional CTO ----------
   F-WEBYCIA-PREMIUM-04. One navy band with the orange top rule carries the
   partnership hook on index.html and about.html. Scoped classes only: the
   compiled Tailwind build stays closed. */

.wc-partner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2.25rem 1.5rem 2rem;
    overflow: hidden;
    background-color: var(--wc-navy);
    border: 1px solid var(--wc-navy);
    border-top: 3px solid var(--wc-orange);
    border-radius: var(--wc-radius-lg);
    min-width: 0;
}

.wc-partner-title {
    margin: 0;
    min-width: 0;
    overflow-wrap: break-word;
    font-size: clamp(1.5rem, 1.05rem + 1.7vw, 2.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--wc-console-ink);
}

.wc-partner-text {
    margin: 0;
    max-width: 62ch;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--wc-console-ink-muted);
}

.wc-partner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.wc-partner-actions > a {
    min-width: 0;
}

.wc-partner :is(a, button, summary, [tabindex]):focus-visible {
    outline-color: var(--wc-focus-dark);
}

@media (min-width: 48rem) {
    .wc-partner {
        padding: 3rem 3rem 2.75rem;
    }
}

/* Navy case cards carry the same badge treatment as the navy bento lead:
   ink-muted on navy sits at 2.4:1 and disappears. */
.wc-case-navy .wc-badge {
    border-color: var(--wc-console-line);
    color: var(--wc-console-ink);
    background-color: var(--wc-console-raise);
}

/* ---------- F-WEBYCIA-PREMIUM-05: training landing price pill ----------
   Scope: `.wc-format-price` only. The published price sits inside the shared
   `.wc-case` card grid, so the pill borrows the brand orange at the same
   opacity used by `.wc-pillar-price` instead of introducing a new palette. */

.wc-format-price {
    align-self: flex-start;
    display: inline-block;
    max-width: 100%;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    background-color: var(--wc-console-tint);
    box-shadow: inset 0 0 0 1px var(--wc-line-strong);
    color: var(--wc-navy);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.5;
    text-wrap: wrap;
    font-variant-numeric: tabular-nums;
}

/* ---------- F-WEBYCIA-PREMIUM-06: authority and transparency comparison ----------
   Scope: `.wc-compare*` only. The table answers "why Webycia" with six objective
   criteria so a reader and an answer engine can extract the same rows, and it
   stacks into cards below 880px of its own container instead of scrolling
   sideways. Every colour comes from the :root tokens declared above. */

.wc-compare {
    container-type: inline-size;
    margin-top: 2.5rem;
    border: 1px solid var(--wc-line);
    border-radius: 1.25rem;
    background-color: var(--wc-paper);
    box-shadow: var(--wc-shadow-sm);
    overflow: hidden;
}

.wc-compare__table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    color: var(--wc-ink);
    font-size: 0.9375rem;
    line-height: 1.55;
    text-align: left;
}

.wc-compare__caption {
    padding: 1.25rem 1.5rem 0.5rem;
    color: var(--wc-ink-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
    text-align: left;
}

.wc-compare thead th {
    width: 26%;
    padding: 0.875rem 1.25rem;
    vertical-align: bottom;
    color: var(--wc-navy);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.wc-compare thead th:first-child {
    width: 22%;
}

.wc-compare thead th + th,
.wc-compare tbody th,
.wc-compare tbody td {
    border-left: 1px solid var(--wc-line);
}

.wc-compare tbody tr + tr {
    border-top: 1px solid var(--wc-line);
}

.wc-compare tbody th,
.wc-compare tbody td {
    padding: 1rem 1.25rem;
    vertical-align: top;
    overflow-wrap: break-word;
}

.wc-compare tbody th {
    color: var(--wc-navy);
    font-weight: 600;
    line-height: 1.45;
}

.wc-compare thead .wc-compare__ours {
    background-color: var(--wc-glow-orange);
    box-shadow: inset 0 3px 0 var(--wc-orange);
}

.wc-compare tbody .wc-compare__ours {
    background-color: var(--wc-glow-orange);
}

@container (max-width: 880px) {
    .wc-compare {
        margin-top: 2rem;
        border: 0;
        border-radius: 0;
        background-color: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .wc-compare__table {
        display: block;
        table-layout: auto;
    }

    .wc-compare__caption {
        display: block;
        padding: 0 0 1rem;
    }

    .wc-compare thead {
        display: none;
    }

    .wc-compare tbody {
        display: block;
    }

    .wc-compare tbody tr {
        display: block;
        margin-bottom: 0.75rem;
        border: 1px solid var(--wc-line);
        border-radius: 0.875rem;
        background-color: var(--wc-paper);
        box-shadow: var(--wc-shadow-sm);
        overflow: hidden;
    }

    .wc-compare tbody tr + tr {
        border-top: 1px solid var(--wc-line);
    }

    .wc-compare tbody th {
        display: block;
        width: auto;
        padding: 1rem 1.25rem 0.75rem;
        border-left: 0;
        font-size: 1rem;
        font-weight: 700;
    }

    .wc-compare tbody td {
        display: grid;
        grid-template-columns: minmax(0, 7rem) minmax(0, 1fr);
        gap: 0.75rem;
        width: auto;
        padding: 0.5rem 1.25rem;
        border-left: 0;
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .wc-compare tbody td + td {
        border-top: 1px solid var(--wc-line);
    }

    .wc-compare tbody td::before {
        content: attr(data-label);
        color: var(--wc-ink-muted);
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1.5;
    }
}

/* Under 560px the label column would squeeze the value to a few words per line,
   so each cell puts its label directly above the text instead. */

@container (max-width: 560px) {
    .wc-compare tbody td {
        display: block;
    }

    .wc-compare tbody td::before {
        display: block;
    }
}

/* ---------- Production architecture blueprints (F-WEBYCIA-PREMIUM-07) ---------- */

/* Each blueprint is an ordered list of nodes measured by its own container, so the
   four-step flow turns vertical whenever the panel is narrower than 1040px. Rules are
   mobile-first: the stacked connector is the default and the horizontal rail is the
   enhancement, which keeps a safe layout on engines without container queries. */

.wc-bp-band {
    border-top: 1px solid var(--wc-line);
}

.wc-bp-list {
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wc-bp {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    border: 1px solid var(--wc-line);
    border-radius: 1.25rem;
    background-color: var(--wc-paper);
    box-shadow: var(--wc-shadow-sm);
}

.wc-bp__head {
    min-width: 0;
}

.wc-bp__title {
    color: var(--wc-navy);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: break-word;
}

.wc-bp__intro {
    margin-top: 0.625rem;
    color: var(--wc-ink-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.wc-bp__flow {
    display: grid;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wc-bp__node {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    min-width: 0;
    padding: 1rem 1.125rem;
    border: 1px solid var(--wc-line);
    border-radius: var(--wc-radius-lg);
    background-color: var(--wc-warm);
}

/* Vertical connector between stacked nodes: a hairline plus a border-drawn chevron. */
.wc-bp__node:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1.75rem;
    width: 1px;
    height: 1.75rem;
    background-color: var(--wc-line-strong);
}

.wc-bp__node:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1.3rem;
    width: 0.4rem;
    height: 0.4rem;
    margin-left: -0.2rem;
    border-right: 1px solid var(--wc-line-strong);
    border-bottom: 1px solid var(--wc-line-strong);
    transform: rotate(45deg);
}

.wc-bp .material-symbols-outlined.wc-bp__icon {
    color: var(--wc-accent-ink);
}

.wc-bp__step {
    position: absolute;
    top: 0.75rem;
    right: 0.875rem;
    color: var(--wc-accent-ink);
    font-size: 0.75rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.wc-bp__label {
    color: var(--wc-navy);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.wc-bp__note {
    color: var(--wc-ink-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.wc-bp__foot {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--wc-line);
}

.wc-bp__meta {
    margin: 0;
    color: var(--wc-ink-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
}

.wc-bp__meta-label {
    color: var(--wc-navy);
    font-weight: 600;
}

/* The four-column rail only appears when the panel can give every node a
   comfortable measure: 4 x 244px plus three 24px gaps. Narrower containers
   keep the numbered vertical flow, which reads better than squeezed columns. */
@container (min-width: 1040px) {
    .wc-bp__flow {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.5rem;
    }

    /* Horizontal rail: the hairline spans the gap and the chevron sits at its end. */
    .wc-bp__node:not(:last-child)::after {
        left: auto;
        right: -1.5rem;
        top: 50%;
        bottom: auto;
        width: 1.5rem;
        height: 1px;
    }

    .wc-bp__node:not(:last-child)::before {
        left: auto;
        right: -1.5rem;
        top: 50%;
        bottom: auto;
        margin: -0.2rem 0 0 0;
        border: 0;
        border-top: 1px solid var(--wc-line-strong);
        border-right: 1px solid var(--wc-line-strong);
        transform: rotate(45deg);
    }
}

@media print {
    .wc-bp {
        break-inside: avoid;
        box-shadow: none;
    }
}

/* ---------- Featured executive guide card (F-WEBYCIA-PREMIUM-07) ---------- */

.wc-guide-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.75rem;
    border: 1px solid var(--wc-line);
    border-radius: 1rem;
    background-color: var(--wc-warm);
    text-decoration: none;
    transition: border-color 180ms var(--wc-ease-out), box-shadow 180ms var(--wc-ease-out);
}

.wc-guide-feature:hover {
    border-color: var(--wc-line-strong);
    box-shadow: var(--wc-shadow-md);
}

.wc-guide-feature__main {
    min-width: 0;
}

.wc-guide-feature__title {
    color: var(--wc-navy);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.3;
    text-wrap: balance;
    overflow-wrap: break-word;
}

.wc-guide-feature__text {
    margin-top: 0.75rem;
    color: var(--wc-ink-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.wc-guide-feature__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: 0.375rem 1.25rem;
    margin-top: 1rem;
    padding-left: 1.125rem;
    list-style: disc;
    color: var(--wc-ink);
    font-size: 0.875rem;
    line-height: 1.6;
}

.wc-guide-feature__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--wc-navy);
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--wc-orange);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color 180ms var(--wc-ease-out), text-decoration-color 180ms var(--wc-ease-out);
}

.wc-guide-feature:hover .wc-guide-feature__cta {
    color: var(--wc-accent-ink);
    text-decoration-color: var(--wc-accent-ink);
}

.wc-guide-feature__cta .material-symbols-outlined {
    color: var(--wc-accent-ink);
}

.wc-guide-feature__aside {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 0.25rem;
}

.wc-guide-feature__badge {
    align-self: flex-start;
    padding: 0.375rem 0.75rem;
    border-radius: var(--wc-radius-sm);
    background-color: var(--wc-glow-orange);
    color: var(--wc-accent-ink);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
}

.wc-guide-feature__meta {
    color: var(--wc-ink-muted);
    font-size: 0.8125rem;
    line-height: 1.55;
}

@media (min-width: 900px) {
    .wc-guide-feature {
        grid-template-columns: minmax(0, 1fr) minmax(0, 15rem);
        align-items: start;
        padding: 2rem 2.25rem;
    }

    .wc-guide-feature__aside {
        padding-top: 0.375rem;
        border-left: 1px solid var(--wc-line);
        padding-left: 1.5rem;
    }
}

@media print {
    .wc-guide-feature {
        break-inside: avoid;
        box-shadow: none;
    }
}

/* ---------- Instant site search ----------
   The header trigger, the drawer entry and the native <dialog> overlay. Every
   colour, radius and shadow comes from a --wc-* token above; the sheet is the
   only place these rules live, so the closed Tailwind build never has to ship a
   new utility for them. */

/* At 1280 the desktop row is at its cap (max-w-7xl): the wordmark, seven nav
   items and the CTA already fill 1213 of the 1216 available pixels. The search
   trigger needs a real gap beside the navigation, so the nav rhythm tightens by
   4.8px per gap from xl up (the nav gap is owned by webycia-editorial.css,
   which also zeroes the space-x margins, so `gap` is the property to change).
   Nothing below xl is touched, and the tighter gap is the only metric that
   changes. */
@media (min-width: 1280px) {
    header nav.wc-nav-tight {
        gap: 1.05rem;
    }
}

.wc-search-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 0.5rem;
    padding: 0;
    border: 1px solid var(--wc-line-strong);
    border-radius: var(--wc-radius-sm);
    background-color: transparent;
    color: var(--wc-ink-muted);
    cursor: pointer;
    transition: color 140ms var(--wc-ease-out), background-color 140ms var(--wc-ease-out),
        border-color 140ms var(--wc-ease-out);
}

.wc-search-trigger:hover {
    color: var(--wc-navy);
    background-color: var(--wc-warm);
    border-color: var(--wc-navy);
}

.wc-search-trigger:focus-visible {
    outline: 2px solid var(--wc-focus);
    outline-offset: 2px;
}

.wc-drawer-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    background-color: transparent;
    font-family: inherit;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
    text-align: left;
    color: var(--wc-navy);
    cursor: pointer;
}

.wc-drawer-search:hover {
    color: var(--wc-accent-ink);
}

.wc-drawer-search:focus-visible {
    outline: 2px solid var(--wc-focus);
    outline-offset: 3px;
    border-radius: var(--wc-radius-sm);
}

.wc-drawer-search__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--wc-radius-md);
    background-color: var(--wc-glow-orange);
    color: var(--wc-accent-ink);
    transition: background-color 140ms var(--wc-ease-out), color 140ms var(--wc-ease-out);
}

.wc-drawer-search:hover .wc-drawer-search__icon {
    background-color: var(--wc-orange);
    color: var(--wc-navy);
}

.wc-search {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(44rem, calc(100% - 2rem));
    max-width: calc(100% - 2rem);
    height: fit-content;
    max-height: min(38rem, calc(100vh - 3rem));
    max-height: min(38rem, calc(100dvh - 3rem));
    padding: 0;
    border: 0;
    border-radius: var(--wc-radius-lg);
    background-color: var(--wc-paper);
    color: var(--wc-ink);
    box-shadow: var(--wc-shadow-lg);
    overflow: hidden;
    overscroll-behavior: contain;
}

.wc-search[open] {
    display: flex;
    flex-direction: column;
}

.wc-search::backdrop {
    background-color: var(--wc-scrim);
    overflow: hidden;
    overscroll-behavior: contain;
}

.wc-search__panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    width: 100%;
}

.wc-search__bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--wc-line);
}

.wc-search__glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--wc-ink-muted);
}

.wc-search__input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.25rem 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    font-size: 1.0625rem;
    line-height: 1.4;
    color: var(--wc-ink);
}

.wc-search__input::placeholder {
    color: var(--wc-ink-muted);
    opacity: 1;
}

.wc-search__input:focus,
.wc-search__input:focus-visible {
    outline: 2px solid var(--wc-focus);
    outline-offset: 2px;
    border-radius: var(--wc-radius-xs);
    box-shadow: none;
}

.wc-search__input::-webkit-search-decoration,
.wc-search__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

.wc-search__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 0;
    border-radius: var(--wc-radius-sm);
    background-color: transparent;
    color: var(--wc-ink-muted);
    cursor: pointer;
    transition: color 140ms var(--wc-ease-out), background-color 140ms var(--wc-ease-out);
}

.wc-search__close:hover {
    color: var(--wc-navy);
    background-color: var(--wc-warm);
}

.wc-search__close:focus-visible {
    outline: 2px solid var(--wc-focus);
    outline-offset: 2px;
}

.wc-search__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--wc-line);
}

.wc-search__chip {
    padding: 0.375rem 0.6875rem;
    border: 1px solid var(--wc-line);
    border-radius: 999px;
    background-color: var(--wc-paper);
    color: var(--wc-navy);
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    transition: background-color 140ms var(--wc-ease-out), border-color 140ms var(--wc-ease-out),
        color 140ms var(--wc-ease-out);
}

.wc-search__chip:hover {
    background-color: var(--wc-warm);
    border-color: var(--wc-line-strong);
}

.wc-search__chip:focus-visible {
    outline: 2px solid var(--wc-focus);
    outline-offset: 2px;
}

.wc-search__status {
    margin: 0;
    padding: 0.625rem 1rem 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--wc-ink-muted);
}

.wc-search__status:empty {
    display: none;
}

.wc-search__results {
    flex: 1 1 auto;
    min-height: 0;
    margin: 0;
    padding: 0.5rem;
    list-style: none;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.wc-search__option {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.1875rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid transparent;
    border-radius: var(--wc-radius-sm);
    cursor: pointer;
    transition: background-color 120ms var(--wc-ease-out), border-color 120ms var(--wc-ease-out);
}

.wc-search__option:hover,
.wc-search__option[aria-selected="true"] {
    background-color: var(--wc-warm);
    border-color: var(--wc-line-strong);
}

.wc-search__option:focus-visible {
    outline: 2px solid var(--wc-focus);
    outline-offset: -2px;
}

.wc-search__badge {
    justify-self: start;
    padding: 0.1875rem 0.5rem;
    border-radius: 999px;
    background-color: var(--wc-glow-orange);
    color: var(--wc-accent-ink);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.4;
}

.wc-search__option-title {
    margin-top: 0.125rem;
    color: var(--wc-navy);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.wc-search__option-summary {
    color: var(--wc-ink-muted);
    font-size: 0.8125rem;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.wc-search__empty {
    padding: 0.25rem 1rem 1rem;
}

.wc-search__empty-title {
    margin: 0;
    color: var(--wc-navy);
    font-size: 0.9375rem;
    font-weight: 600;
}

.wc-search__empty-body {
    margin: 0.375rem 0 0;
    color: var(--wc-ink-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

.wc-search__empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.875rem;
}

.wc-search__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    border: 1px solid var(--wc-line-strong);
    border-radius: var(--wc-radius-sm);
    background-color: var(--wc-paper);
    color: var(--wc-navy);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 140ms var(--wc-ease-out), border-color 140ms var(--wc-ease-out),
        color 140ms var(--wc-ease-out);
}

.wc-search__action:hover {
    background-color: var(--wc-warm);
    border-color: var(--wc-navy);
}

.wc-search__action:focus-visible {
    outline: 2px solid var(--wc-focus);
    outline-offset: 2px;
}

.wc-search__action--primary {
    background-color: var(--wc-navy);
    border-color: var(--wc-navy);
    color: var(--wc-paper);
}

.wc-search__action--primary:hover {
    background-color: var(--wc-navy-soft);
    border-color: var(--wc-navy-soft);
    color: var(--wc-paper);
}

.wc-search__foot {
    margin: 0;
    padding: 0.625rem 1rem 0.875rem;
    border-top: 1px solid var(--wc-line);
    color: var(--wc-ink-muted);
    font-size: 0.75rem;
    line-height: 1.4;
}

@media (prefers-reduced-motion: reduce) {
    .wc-search-trigger,
    .wc-drawer-search__icon,
    .wc-search__close,
    .wc-search__chip,
    .wc-search__option,
    .wc-search__action {
        transition: none;
    }
}

@media print {
    .wc-search,
    .wc-search-trigger,
    .wc-drawer-search {
        display: none !important;
    }
}

/* ---------- Projects filter and executive close (F-WEBYCIA-PREMIUM-13) ---------- */

.wc-filter-band {
    padding: 3rem 0 2.5rem;
    border-top: 1px solid var(--wc-line);
    border-bottom: 1px solid var(--wc-line);
    background-color: var(--wc-paper);
    scroll-margin-top: 6rem;
}

.wc-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
}

.wc-filter__intro {
    min-width: 0;
}

.wc-filter__title {
    color: var(--wc-navy);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: break-word;
}

.wc-filter__lede {
    margin-top: 0.75rem;
    max-width: 62ch;
    color: var(--wc-ink-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.wc-filter__groups {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

.wc-filter__group {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.wc-filter__legend {
    margin-bottom: 0.625rem;
    color: var(--wc-ink-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
}

.wc-filter__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.wc-filter__chip {
    min-height: 44px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--wc-line-strong);
    border-radius: 999px;
    background-color: var(--wc-paper);
    color: var(--wc-ink);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    white-space: nowrap;
    transition: color 160ms var(--wc-ease-out), background-color 160ms var(--wc-ease-out),
        border-color 160ms var(--wc-ease-out);
}

.wc-filter__chip:hover {
    border-color: var(--wc-navy);
    color: var(--wc-navy);
}

.wc-filter__chip[aria-pressed="true"] {
    border-color: var(--wc-navy);
    background-color: var(--wc-navy);
    color: var(--wc-paper);
}

.wc-filter__chip:focus-visible,
.wc-filter__reset:focus-visible,
.wc-item-cta:focus-visible,
.wc-close__primary:focus-visible,
.wc-close__secondary:focus-visible {
    outline: 2px solid var(--wc-focus);
    outline-offset: 2px;
}

.wc-filter__status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--wc-line);
}

.wc-filter__count {
    margin: 0;
    color: var(--wc-navy);
    font-size: 0.9375rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.wc-filter__reset {
    min-height: 44px;
    padding: 0.5rem 0.25rem;
    border: 0;
    background: none;
    color: var(--wc-accent-ink);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 160ms var(--wc-ease-out);
}

.wc-filter__reset:hover {
    color: var(--wc-navy);
}

.wc-filter__empty {
    margin: 0;
    padding: 1rem 1.125rem;
    border: 1px dashed var(--wc-line-strong);
    border-radius: var(--wc-radius-lg);
    background-color: var(--wc-warm);
    color: var(--wc-ink-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.wc-filter__empty a {
    color: var(--wc-accent-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Per-catalogue note when a filter leaves one of the two lists without items. */
.wc-group-empty {
    margin: 0;
    padding: 1.25rem 1.5rem;
    border: 1px dashed var(--wc-line-strong);
    border-radius: var(--wc-radius-lg);
    background-color: var(--wc-paper);
    color: var(--wc-ink-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Direct conversion from every case and blueprint to the contact form. */
.wc-item-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 1.25rem;
    padding: 0.5rem 1.125rem;
    border: 1px solid var(--wc-line-strong);
    border-radius: 999px;
    background-color: var(--wc-paper);
    color: var(--wc-navy);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 160ms var(--wc-ease-out), background-color 160ms var(--wc-ease-out),
        color 160ms var(--wc-ease-out);
}

.wc-item-cta:hover {
    border-color: var(--wc-navy);
    background-color: var(--wc-warm);
}

.wc-bp__foot .wc-item-cta {
    align-self: flex-start;
    margin-top: 0.25rem;
}

/* Executive close: bespoke architecture and the entrepreneurial path. */
.wc-close-band {
    padding: 4rem 0;
    border-top: 1px solid var(--wc-line);
    background-color: var(--wc-warm);
}

.wc-close {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.75rem;
    border: 1px solid var(--wc-line);
    border-radius: 1.25rem;
    background-color: var(--wc-paper);
    box-shadow: var(--wc-shadow-sm);
}

.wc-close__body {
    min-width: 0;
}

.wc-close__title {
    color: var(--wc-navy);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: break-word;
}

.wc-close__text {
    margin-top: 0.875rem;
    max-width: 62ch;
    color: var(--wc-ink-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.wc-close__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

.wc-close__primary,
.wc-close__secondary {
    display: block;
    min-height: 48px;
    padding: 0.875rem 1.25rem;
    border-radius: var(--wc-radius-lg);
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms var(--wc-ease-out), border-color 160ms var(--wc-ease-out),
        color 160ms var(--wc-ease-out);
}

.wc-close__primary {
    border: 1px solid var(--wc-orange);
    background-color: var(--wc-orange);
    color: var(--wc-navy);
}

.wc-close__primary:hover {
    border-color: var(--wc-accent-ink);
    background-color: var(--wc-accent-ink);
    color: var(--wc-paper);
}

.wc-close__secondary {
    border: 1px solid var(--wc-line-strong);
    background-color: var(--wc-paper);
    color: var(--wc-navy);
}

.wc-close__secondary:hover {
    border-color: var(--wc-navy);
    background-color: var(--wc-warm);
}

.wc-close__note {
    margin: 1rem 0 0;
    color: var(--wc-ink-muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (min-width: 900px) {
    .wc-filter__groups {
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        gap: 2rem;
    }

    .wc-close {
        grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
        align-items: center;
        padding: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wc-filter__chip,
    .wc-filter__reset,
    .wc-item-cta,
    .wc-close__primary,
    .wc-close__secondary {
        transition: none;
    }
}

@media print {
    .wc-filter-band {
        display: none !important;
    }
}

/* ---------- Footer: creative division credit (F-WEBYCIA-FOOTER-SYNERGY) ---------- */

.wc-footer-sister {
    margin: 0;
    color: var(--wc-ink-muted);
    font-size: 0.8125rem;
    line-height: 1.6;
}

.wc-footer-sister a {
    color: var(--wc-navy);
    font-weight: 600;
    text-decoration-line: underline;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--wc-line-strong);
    text-underline-offset: 3px;
    transition-property: color, text-decoration-color;
    transition-duration: 0.2s;
    transition-timing-function: var(--wc-ease-out);
}

.wc-footer-sister a:hover {
    color: var(--wc-accent-ink);
    text-decoration-color: currentColor;
}

.wc-footer-sister__domain {
    color: var(--wc-ink-muted);
}

@media (prefers-reduced-motion: reduce) {
    .wc-footer-sister a {
        transition: none;
    }
}
