/*-----------------------------------------------------------
    EMREC — Fluent design layer
    Loaded after emrec.css. Retunes the Corpox theme to a
    Fluent 2 feel: the Fluent type ramp, hairline strokes, the
    4/6/8px corner scale and Fluent's low-depth shadows.

    To revert the typeface only, change --emrec-font below back
    to "Plus Jakarta Sans", sans-serif.
------------------------------------------------------------*/

:root,
.active-light-mode,
.demo-architecture {
    /* Fluent's system stack. Segoe UI on Windows, the platform UI
       face elsewhere, so the page always renders in a native UI font. */
    --emrec-font: "Segoe UI", "Segoe UI Web (West European)", -apple-system,
        BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", Arial, sans-serif;

    --font-primary: var(--emrec-font);
    --font-secondary: var(--emrec-font);

    /* Fluent type ramp */
    --fl-caption: 12px;
    --fl-body: 14px;
    --fl-body-lg: 16px;
    --fl-subtitle: 18px;
    --fl-title3: 20px;
    --fl-title2: 24px;
    --fl-title1: 28px;
    --fl-large-title: 36px;
    --fl-display: 44px;

    /* Fluent weights — 600 is the heaviest Fluent uses for UI text. */
    --fl-regular: 400;
    --fl-semibold: 600;

    /* Corner radii: medium / large / xlarge */
    --fl-radius-sm: 2px;
    --fl-radius: 4px;
    --fl-radius-lg: 6px;
    --fl-radius-xl: 8px;

    /* Hairline strokes. The theme shipped 2px borders in a translucent
       lilac; Fluent uses a single neutral hairline. */
    --radius: var(--fl-radius);
    --radius-small: var(--fl-radius);
    --radius-big: var(--fl-radius-xl);

    --border-width: 1px;
    --color-border: rgba(0, 0, 0, .06);
    --fl-stroke: rgba(0, 0, 0, .06);
    --fl-stroke-strong: rgba(0, 0, 0, .10);

    /* Fluent elevation */
    --fl-shadow-2: 0 1px 2px rgba(0, 0, 0, .14), 0 0 2px rgba(0, 0, 0, .12);
    --fl-shadow-4: 0 2px 4px rgba(0, 0, 0, .14), 0 0 2px rgba(0, 0, 0, .12);
    --fl-shadow-8: 0 4px 8px rgba(0, 0, 0, .14), 0 0 2px rgba(0, 0, 0, .12);
    --shadow-1: var(--fl-shadow-2);

    /* Reused by emrec.css for panel edges. */
    --emrec-hair: rgba(0, 0, 0, .06);
}

body,
.active-light-mode {
    font-family: var(--emrec-font);
    font-size: var(--fl-body);
    line-height: 20px;
    font-weight: var(--fl-regular);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------------------------------------------------------------
   Headings — Fluent tops out at Semibold; the theme used 700/800.
------------------------------------------------------------------ */
.w-700,
.w-600 {
    font-weight: var(--fl-semibold) !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.title {
    font-family: var(--emrec-font);
    font-weight: var(--fl-semibold);
    letter-spacing: -0.01em;
}

h1, .h1 { font-size: var(--fl-large-title); line-height: 1.25; }
h2, .h2 { font-size: var(--fl-title1);      line-height: 1.28; }
h3, .h3 { font-size: var(--fl-title2);      line-height: 1.33; }
h4, .h4 { font-size: var(--fl-title3);      line-height: 1.4; }
h5, .h5 { font-size: var(--fl-subtitle);    line-height: 1.44; }
h6, .h6 { font-size: var(--fl-body-lg);     line-height: 1.5; }

/* ---------------------------------------------------------------
   Body copy
------------------------------------------------------------------ */
p,
.b1,
.b2,
.desc,
.disc,
.description {
    font-family: var(--emrec-font);
    font-weight: var(--fl-regular);
}

/* Long-form paragraphs use Fluent's Body2 (16/22); everything
   denser drops to Body1 (14/20). */
.desc,
.emrec-lead-copy,
.emrec-article__copy,
.emrec-panel__copy,
.tmp-section-title-border .description,
.description.b1,
p.b1 {
    font-size: var(--fl-body-lg);
    line-height: 24px;
}

.service.service__style--1 .content .description,
.emrec-service-card .description,
.emrec-contact-card__copy,
.emrec-cta-card__copy,
.emrec-step__copy,
.emrec-mini-card em,
.emrec-sidebar__related em,
.emrec-footer-about,
.emrec-list li,
.emrec-tick,
.emrec-ordered li,
.emrec-sidebar__block p {
    font-size: var(--fl-body);
    line-height: 20px;
}

/* Eyebrow labels above each section heading. */
.pres-line-separator-wrapper .subtitle .subtitle-text,
.pres-line-separator-wrapper .subtitle .number,
.emrec-vision-card__label,
.emrec-crumbs {
    font-size: var(--fl-caption);
    font-weight: var(--fl-semibold);
    letter-spacing: .04em;
}

/* ---------------------------------------------------------------
   Named blocks
------------------------------------------------------------------ */
.emrec-hero__title,
.slider-style-2 .inner .title.emrec-hero__title {
    font-size: var(--fl-display);
    font-weight: var(--fl-semibold);
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.emrec-hero__lead,
.active-light-mode .emrec-hero__lead,
.slider-style-2.variation-2 .inner p.emrec-hero__lead {
    font-size: var(--fl-body-lg);
    line-height: 24px;
}

.emrec-section-heading,
.tmp-section-title-border .title.emrec-section-heading {
    font-size: var(--fl-large-title);
    font-weight: var(--fl-semibold);
    line-height: 1.24;
}

.emrec-page-header__title,
.active-light-mode .emrec-page-header__title {
    font-size: var(--fl-title1);
    font-weight: var(--fl-semibold);
    line-height: 1.28;
}

.emrec-page-header__lead,
.active-light-mode .emrec-page-header__lead {
    font-size: var(--fl-body-lg);
    line-height: 24px;
}

.emrec-article__heading { font-size: var(--fl-title2); font-weight: var(--fl-semibold); }
.emrec-panel__title     { font-size: var(--fl-title3); font-weight: var(--fl-semibold); }
.emrec-inline-cta__title{ font-size: var(--fl-title3); font-weight: var(--fl-semibold); }
.emrec-thanks__title    { font-size: var(--fl-title1); font-weight: var(--fl-semibold); }
.emrec-step__num        { font-size: var(--fl-title2); font-weight: var(--fl-semibold); }

.service.service__style--1 .content .title,
.emrec-service-card .content .title,
.emrec-contact-card__title,
.emrec-cta-card__title,
.emrec-org__name,
.emrec-step__title,
.emrec-mini-card strong,
.emrec-sidebar__related strong {
    font-size: var(--fl-subtitle);
    font-weight: var(--fl-semibold);
    line-height: 1.4;
}

.emrec-sidebar__title,
.footer-style-default .footer-top .tmp-footer-widget .title {
    font-size: var(--fl-body);
    font-weight: var(--fl-semibold);
    letter-spacing: .02em;
}

.emrec-org__short,
.emrec-inline-cta__copy {
    font-size: var(--fl-body);
    line-height: 20px;
}

/* ---------------------------------------------------------------
   Controls — Fluent buttons and inputs are 14px on a 4px corner
------------------------------------------------------------------ */
.tmp-btn,
.tmp-btn.btn-primary,
.tmp-btn.btn-large,
.tmp-btn.btn-border {
    font-size: var(--fl-body);
    font-weight: var(--fl-semibold);
    border-radius: var(--fl-radius);
    border-width: 1px;
    letter-spacing: 0;
}

.tmp-btn.btn-large { padding: 0 22px; }

input.emrec-form__input,
select.emrec-form__input,
textarea.emrec-form__input,
.emrec-form__input {
    font-size: var(--fl-body);
    line-height: 20px;
    border: 1px solid var(--fl-stroke-strong);
    border-radius: var(--fl-radius);
    padding: 11px 12px;
}

input.emrec-form__input:focus,
select.emrec-form__input:focus,
textarea.emrec-form__input:focus,
.emrec-form__input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 22%, transparent);
}

.emrec-form__label {
    font-size: var(--fl-body);
    font-weight: var(--fl-semibold);
}

.emrec-form__note,
.emrec-form__error { font-size: var(--fl-caption); line-height: 16px; }

/* ---------------------------------------------------------------
   Surfaces — hairline strokes, Fluent corners, low elevation
------------------------------------------------------------------ */
.emrec-panel,
.emrec-contact-card,
.emrec-org__node,
.emrec-sidebar__block,
.emrec-step,
.emrec-inline-cta,
.emrec-mini-card,
.service.service__style--1.radius,
.emrec-service-card {
    border-radius: var(--fl-radius-lg);
    border-width: 1px;
    border-color: var(--fl-stroke);
    box-shadow: var(--fl-shadow-2);
}

.emrec-inline-cta { box-shadow: none; }

.emrec-panel:hover,
.emrec-contact-card:hover,
.emrec-org__node:hover,
.emrec-mini-card:hover {
    box-shadow: var(--fl-shadow-8);
}

.emrec-tick,
.emrec-chip,
.emrec-cta-card {
    border-radius: var(--fl-radius);
    border-width: 1px;
}

.emrec-chip {
    font-size: var(--fl-caption);
    font-weight: var(--fl-regular);
    padding: 6px 12px;
}

/* Accent rules: the theme drew these at 3-4px. */
.emrec-article__heading::after { height: 2px; width: 40px; }

.emrec-org__node--board,
.emrec-org__node--exec { border-top-width: 1px; }

.emrec-org__connector { height: 28px; }

/* Icon tiles — Fluent keeps these small and square-ish. */
.emrec-panel__icon,
.emrec-contact-card__icon,
.emrec-org__icon,
.emrec-cta-card__icon {
    border-radius: var(--fl-radius);
}

.service.service__style--1 .icon,
.emrec-service-card .icon { font-size: 22px; }

/* ---------------------------------------------------------------
   Density
   With the type ramp reduced, the theme's original padding left
   the bands looking hollow. Tighten to match Fluent's compactness.
------------------------------------------------------------------ */
.emrec-hero { min-height: 620px; }

.emrec-page-header { padding: 150px 0 66px; }

@media only screen and (max-width: 767px) {
    .emrec-hero { min-height: 540px; }
    .emrec-page-header { padding: 120px 0 48px; }
}

.emrec-panel,
.emrec-contact-card { padding: 28px 26px; }

.emrec-inline-cta { padding: 28px 30px; }

.emrec-sidebar__block { padding: 22px 20px; }

.emrec-org__node { padding: 20px 20px 18px; }

.emrec-step { padding: 24px 22px; }

.emrec-panel__icon,
.emrec-contact-card__icon,
.emrec-cta-card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    font-size: 18px;
}

.emrec-org__icon { width: 36px; height: 36px; font-size: 16px; margin-bottom: 12px; }

.emrec-article__heading { margin-bottom: 14px; padding-bottom: 10px; }

/* ---------------------------------------------------------------
   Icons
   The theme draws service-card glyphs at 60px, which reads heavy
   next to 14px body text — the icon font's stroke scales with the
   glyph, so oversized also means thick. Fluent sizes icons at
   20-24px, so bring every glyph onto that scale.
------------------------------------------------------------------ */
/* Card icons sit as bare glyphs, aligned to the card's text edge by the
   theme's own .text-start rule. 32px gives them presence against the 18px
   card title without the bulk the theme's original 60px had. */
.service.service__style--1 .icon {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 18px;
}

.service.service__style--1 .icon .fl-i,
.service.service__style--1 .icon svg {
    width: 32px;
    height: 32px;
}

/* Tinted tiles: keep the container and glyph on one scale. */
.emrec-sidebar__related-icon,
.emrec-mini-card__icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: var(--fl-radius);
}

.emrec-panel__icon i,
.emrec-contact-card__icon i,
.emrec-cta-card__icon i,
.emrec-org__icon i,
.emrec-sidebar__related-icon i,
.emrec-mini-card__icon i {
    font-size: inherit;
    line-height: 1;
}

/* Confirmation mark on the thank-you page. */
.emrec-thanks__mark {
    width: 64px;
    height: 64px;
    font-size: 26px;
    margin-bottom: 24px;
    border-radius: var(--fl-radius-lg);
}

/* ---------------------------------------------------------------
   Inline SVG icons (<x-icon>)
   Sized in em so each icon follows its container's font-size, the
   way the icon font it replaced did.
------------------------------------------------------------------ */
.fl-i {
    width: 1em;
    height: 1em;
    display: inline-block;
    flex: 0 0 auto;
    vertical-align: middle;
    fill: currentColor;
}

/* The theme sized these through rules that targeted <i>, which no
   longer match now the glyphs are SVG. */
.social-icon li a .fl-i { width: 16px; height: 16px; }
.hamberger-button .fl-i,
.close-button .fl-i,
.close-icon-menu .fl-i { width: 20px; height: 20px; }
.dot-btn .fl-i { width: 18px; height: 18px; }
.emrec-sidebar__contact .fl-i { width: 16px; height: 16px; }
.tmp-btn .fl-i { width: 16px; height: 16px; }
.emrec-whatsapp-float__icon .fl-i { width: 20px; height: 20px; }
.emrec-contact-card__icon .fl-i { width: 20px; height: 20px; }

/* ---------------------------------------------------------------
   Buttons
   Fluent geometry — 32/40px box, 4px corner, 14px Semibold label,
   no letter-spacing or text-shadow. The theme's own colour and
   motion are left intact: brand fill, a 2px lift on hover and the
   expanding-circle sweep drawn by ::after. Keep `overflow: hidden`
   or that circle escapes the button.
------------------------------------------------------------------ */
.tmp-btn,
.btn-default {
    height: 32px;
    line-height: 30px;
    padding: 0 14px;
    gap: 6px;
    font-size: var(--fl-body);
    font-weight: var(--fl-semibold);
    letter-spacing: 0;
    text-shadow: none;
    border: 1px solid transparent;
    border-radius: var(--fl-radius);
    transition: all .3s ease;
}

.tmp-btn.btn-small,
.btn-default.btn-small {
    height: 32px;
    line-height: 30px;
    padding: 0 14px;
    font-size: var(--fl-body);
}

.tmp-btn.btn-large,
.btn-default.btn-large,
.tmp-btn.btn-medium,
.tmp-btn.btn-xl,
.tmp-btn.btn-extra-large {
    height: 40px;
    line-height: 38px;
    padding: 0 20px;
    font-size: var(--fl-body);
}

@media only screen and (max-width: 767px) {
    .tmp-btn,
    .btn-default { height: 32px; line-height: 30px; padding: 0 12px; font-size: var(--fl-body); }
    .tmp-btn.btn-large,
    .btn-default.btn-large { height: 38px; line-height: 36px; padding: 0 16px; font-size: var(--fl-body); }
}

/* Secondary — neutral surface with a hairline stroke at rest; the
   theme's sweep takes over on hover. */
.tmp-btn.btn-border,
.btn-default.btn-border {
    background: var(--color-card);
    border: 1px solid var(--fl-stroke-strong);
    color: var(--color-heading);
}

/* Outline sitting on a photograph. */
.tmp-btn.btn-border.emrec-btn-onphoto,
.active-light-mode .tmp-btn.btn-border.emrec-btn-onphoto {
    background: transparent;
    border-color: rgba(255, 255, 255, .34);
    color: #ffffff;
}

.tmp-btn.btn-border.emrec-btn-onphoto:hover,
.active-light-mode .tmp-btn.btn-border.emrec-btn-onphoto:hover {
    border-color: #ffffff;
    color: #ffffff;
}

/* WhatsApp keeps its brand colour, sweep included. */
.tmp-btn.emrec-btn-wa,
.tmp-btn.btn-border.emrec-btn-wa {
    background: #1faa54;
    border-color: #1faa54;
    color: #ffffff;
}

.tmp-btn.emrec-btn-wa::after,
.tmp-btn.btn-border.emrec-btn-wa::after { background: #17833f; }

.tmp-btn.emrec-btn-wa:hover,
.tmp-btn.btn-border.emrec-btn-wa:hover { color: #ffffff; }

/* Fluent focus indicator: a dark ring with a light inner gap. */
.tmp-btn:focus-visible,
.btn-default:focus-visible {
    outline: none;
    box-shadow: 0 0 0 1px #ffffff, 0 0 0 3px var(--color-heading);
}

/* Icon slide on hover is the theme's own flourish — left as it ships,
   just spaced for the smaller button. */
.tmp-btn.hover-icon-reverse .icon-reverse-wrapper { gap: 4px; }

.tmp-btn .fl-i { width: 15px; height: 15px; }

/* One glyph size for every 44px tile, so cards read the same whichever
   section they appear in. */
.emrec-panel__icon,
.emrec-contact-card__icon,
.emrec-cta-card__icon {
    font-size: 22px;
}

.emrec-panel__icon .fl-i,
.emrec-contact-card__icon .fl-i,
.emrec-cta-card__icon .fl-i {
    width: 22px;
    height: 22px;
}

/* ---------------------------------------------------------------
   Outline-button strokes
   The theme pins these with
     .active-light-mode .tmp-btn.btn-border { border-color:#e3e3e3 !important }
   which no amount of specificity can beat, so these rules match its
   weight. That opaque grey — and pure white at 60% over a photo — is
   what made the outlines read heavy despite being only 1px.
------------------------------------------------------------------ */
.tmp-btn.btn-border,
.btn-default.btn-border,
.active-light-mode .tmp-btn.btn-border {
    border-color: var(--fl-stroke-strong) !important;
    border-width: 1px !important;
}

.tmp-btn.btn-border:hover,
.active-light-mode .tmp-btn.btn-border:hover {
    border-color: var(--fl-stroke-strong) !important;
}

.tmp-btn.btn-border.emrec-btn-onphoto,
.active-light-mode .tmp-btn.btn-border.emrec-btn-onphoto {
    border-color: rgba(255, 255, 255, .34) !important;
}

.tmp-btn.btn-border.emrec-btn-onphoto:hover,
.active-light-mode .tmp-btn.btn-border.emrec-btn-onphoto:hover {
    border-color: rgba(255, 255, 255, .7) !important;
}

.tmp-btn.emrec-btn-wa,
.tmp-btn.btn-border.emrec-btn-wa,
.active-light-mode .tmp-btn.btn-border.emrec-btn-wa {
    border-color: #1faa54 !important;
}

/* ---------------------------------------------------------------
   Bootstrap .btn-primary collision
   Bootstrap ships its own .btn-primary, and these buttons carry both
   it and the theme's .tmp-btn. Bootstrap sets a blue border and a
   blue focus glow; the theme hid them with border-width:0, so they
   only became visible once this layer gave buttons a 1px edge.
   Neutralised here rather than renaming the class in 13 templates.
------------------------------------------------------------------ */
.tmp-btn.btn-primary,
.tmp-btn.btn-primary:hover,
.tmp-btn.btn-primary:focus,
.tmp-btn.btn-primary:active,
.tmp-btn.btn-primary.active,
.tmp-btn.btn-primary:first-child:active {
    border-color: transparent;
}

.tmp-btn.btn-primary:focus,
.tmp-btn.btn-primary:active:focus,
.tmp-btn.btn-primary:first-child:active:focus {
    box-shadow: none;
}

/* Restated after the reset above so keyboard focus keeps its ring. */
.tmp-btn:focus-visible,
.btn-default:focus-visible,
.tmp-btn.btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 1px #ffffff, 0 0 0 3px var(--color-heading);
}

/* ---------------------------------------------------------------
   Slide-out side panel
   This panel was missed by the type pass — the theme still had it on
   20px headings and inherited 16px body, so it read a size larger
   than the rest of the site. Same ramp as the page sidebars.
------------------------------------------------------------------ */
.inverweb-side-bar-close .side-info .contact-list h4 {
    font-size: var(--fl-body);
    font-weight: var(--fl-semibold);
    line-height: 20px;
    letter-spacing: .02em;
    margin-bottom: 6px;
}

.inverweb-side-bar-close .side-info .contact-list p,
.inverweb-side-bar-close .side-info .contact-list a {
    font-size: var(--fl-body);
    font-weight: var(--fl-regular);
    line-height: 20px;
}

.inverweb-side-bar-close .side-info .contact-list {
    margin-bottom: 18px;
}

.inverweb-side-bar-close .social-icon li a {
    font-size: var(--fl-body-lg);
}

/* Page sidebars: the link list was the last item left at 15px. */
.emrec-sidebar__list a {
    font-size: var(--fl-body);
    line-height: 20px;
}

/* ---------------------------------------------------------------
   Side-panel close button
   The theme paints it as a 50px disc — #1d1d1d normally, #fff in
   light mode — with a brand-coloured ::after and a radial ::before
   from .tmponhover. Strip all three so it reads as a plain icon.
------------------------------------------------------------------ */
.inverweb-side-bar-close .close-icon-menu,
.active-light-mode .inverweb-side-bar-close .close-icon-menu {
    background: transparent;
    background-color: transparent;
    box-shadow: none;
    border: none;
    border-radius: var(--fl-radius);
    min-width: 40px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.inverweb-side-bar-close .close-icon-menu::after,
.inverweb-side-bar-close .close-icon-menu::before,
.active-light-mode .inverweb-side-bar-close .close-icon-menu::after,
.active-light-mode .inverweb-side-bar-close .close-icon-menu::before {
    content: none;
    display: none;
    background: none;
}

.inverweb-side-bar-close .close-icon-menu .fl-i,
.inverweb-side-bar-close .close-icon-menu i {
    color: var(--color-heading);
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.inverweb-side-bar-close .close-icon-menu:hover .fl-i {
    color: var(--color-primary);
}
