/* =============================================================================
   ITworx – site styles (Bootstrap 5.3 + page builder components)
   Class names used by editors' dropdown options:
     sections  .itx-theme-{default|light|lavender|peach|brand|cta|dark}
               .itx-space-{none|sm|md|lg|hero}
     buttons   .itx-btn-{primary|white|outline}, .itx-link-arrow
   ============================================================================= */

:root {
    --itx-brand: #f05a22;
    --itx-brand-dark: #d4461a;
    --itx-accent: #00b3fc;
    --itx-ink: #222222;
    --itx-muted: #6b6b6b;
    --itx-light: #f6f6f6;
    --itx-lavender: #f7f1ff;
    --itx-peach: #fff0e8;
    --itx-dark: #222222;
    --itx-radius-lg: 30px;
    --itx-font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
    --itx-header-height: 110px;

    --bs-body-font-family: var(--itx-font);
    --bs-body-color: var(--itx-ink);
    --bs-link-color: var(--itx-brand);
    --bs-link-color-rgb: 240, 90, 34;
    --bs-link-hover-color: var(--itx-brand-dark);
}

body {
    font-family: var(--itx-font);
    font-weight: 300;
    color: var(--itx-ink);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1 0 auto; }

h1, h2, h3, h4, h5, h6 { font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
h2 { font-size: clamp(1.65rem, 1.3rem + 1.3vw, 2.4rem); }
strong, b { font-weight: 600; }
img { max-width: 100%; height: auto; }

.itx-skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; }

/* ----------------------------------------------------------------------------
   Header & navigation
   ---------------------------------------------------------------------------- */
.itx-header { position: relative; z-index: 1030; }
.itx-header .navbar { padding: 1.25rem 0; }
.itx-logo { max-height: 70px; width: auto; }
.itx-logo-text { font-weight: 600; font-size: 1.5rem; }

.itx-header .nav-link,
.itx-header .navbar-toggler { font-weight: 400; font-size: 1.05rem; }
.itx-header .navbar-nav .nav-link { padding: .5rem .9rem; }
.itx-header .navbar-toggler { border: 0; font-size: 2rem; padding: 0; }
.itx-header .navbar-toggler:focus { box-shadow: none; }
.itx-header .dropdown-menu { border: 0; border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); padding: .5rem; }
.itx-header .dropdown-item { border-radius: 8px; padding: .5rem .9rem; }
.itx-header .dropdown-item.active,
.itx-header .dropdown-item:active { background: var(--itx-brand); }

/* Transparent header over the first (brand) section */
.itx-header-overlay .itx-header { position: absolute; top: 0; left: 0; right: 0; }
.itx-header-overlay .itx-header .nav-link,
.itx-header-overlay .itx-header .navbar-toggler,
.itx-header-overlay .itx-header .itx-logo-text { color: #fff; }
.itx-header-overlay .itx-header .nav-link:hover,
.itx-header-overlay .itx-header .nav-link.active { color: #fff; text-decoration: underline; text-underline-offset: 6px; }

/* Solid header bar */
.itx-header-solid .itx-header { background: var(--itx-brand); }
.itx-header-solid .itx-header .nav-link,
.itx-header-solid .itx-header .navbar-toggler,
.itx-header-solid .itx-header .itx-logo-text { color: #fff; }
.itx-header-solid .itx-header .nav-link.active { text-decoration: underline; text-underline-offset: 6px; }

@media (max-width: 991.98px) {
    .itx-header .navbar-collapse {
        background: #fff;
        border-radius: 16px;
        margin-top: 1rem;
        padding: .75rem;
        box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
    }
    .itx-header .navbar-collapse .nav-link { color: var(--itx-ink) !important; }
    .itx-header .dropdown-menu { box-shadow: none; padding-left: 1rem; }
}

@media (min-width: 992px) {
    /* Open dropdowns on hover for pointer devices; click still works for keyboard/touch. */
    .itx-dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
}

/* In the page builder the header must not cover the first section's toolbar. */
.itx-edit-mode.itx-header-overlay .itx-header { position: relative; background: var(--itx-brand); }
.itx-edit-mode .itx-space-hero { padding-top: 3rem !important; }

/* ----------------------------------------------------------------------------
   Sections
   ---------------------------------------------------------------------------- */
.itx-section { position: relative; background-size: cover; background-position: center; }
.itx-container-narrow { max-width: 860px; }
.itx-container-form { max-width: 480px; }

.itx-space-none { padding: 0; }
.itx-space-sm { padding: 1.5rem 0; }
.itx-space-md { padding: 3rem 0; }
.itx-space-lg { padding: 5rem 0; }
.itx-space-hero { padding: calc(var(--itx-header-height) + 3rem) 0 4rem; }

@media (max-width: 767.98px) {
    .itx-space-md { padding: 2rem 0; }
    .itx-space-lg { padding: 3rem 0; }
}

.itx-theme-light { background-color: var(--itx-light); }
.itx-theme-lavender { background-color: var(--itx-lavender); }
.itx-theme-peach { background-color: var(--itx-peach); }
.itx-theme-dark { background-color: var(--itx-dark); color: #fff; }

.itx-theme-brand,
.itx-theme-cta {
    background-color: var(--itx-brand);
    background-image: url("/images/brand-pattern.png");
    background-size: cover;
    background-position: center;
    color: #fff;
}
.itx-theme-brand.itx-has-bg-image,
.itx-theme-cta.itx-has-bg-image { background-size: cover; }

.itx-theme-brand a:not(.btn),
.itx-theme-cta a:not(.btn),
.itx-theme-dark a:not(.btn) { color: #fff; }

/* Space between widgets stacked in the same zone (not inside widgets). */
.itx-zone > * + * { margin-top: 2rem; }

/* ----------------------------------------------------------------------------
   Typography helpers
   ---------------------------------------------------------------------------- */
.itx-eyebrow {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    font-weight: 500;
    font-size: .95rem;
    letter-spacing: .06em;
    margin-bottom: .75rem;
}
.text-center .itx-eyebrow, .itx-eyebrow.text-center { align-items: center; }
.text-end .itx-eyebrow { align-items: flex-end; }
.itx-eyebrow-logo { height: 28px; width: auto; max-width: 100%; }
.itx-hero .itx-eyebrow-logo { height: 50px; }
.itx-text-accent { color: var(--itx-accent); }
.itx-text-brand { color: var(--itx-brand); }
.itx-text-muted { color: var(--itx-muted); }
.itx-text-inherit { color: inherit; }

.itx-lead { font-size: 1.15rem; }
.itx-narrow { max-width: 760px; }
.itx-rich-text > :last-child { margin-bottom: 0; }
.itx-caption { color: var(--itx-muted); font-size: .9rem; }

/* ----------------------------------------------------------------------------
   Buttons
   ---------------------------------------------------------------------------- */
.itx-btn {
    border-radius: 50px;
    border: 3px solid;
    font-weight: 600;
    letter-spacing: .04em;
    padding: .6rem 1.9rem;
    transition: background-color .2s, color .2s, border-color .2s;
}
.itx-btn-primary { background: var(--itx-brand); border-color: var(--itx-brand); color: #fff; }
.itx-btn-primary:hover, .itx-btn-primary:focus { background: var(--itx-brand-dark); border-color: var(--itx-brand-dark); color: #fff; }
.itx-btn-white { background: #fff; border-color: #fff; color: var(--itx-brand); }
.itx-btn-white:hover, .itx-btn-white:focus { background: transparent; color: #fff; border-color: #fff; }
.itx-btn-outline { background: transparent; border-color: currentColor; color: inherit; }
.itx-btn-outline:hover { background: var(--itx-brand); border-color: var(--itx-brand); color: #fff; }
.itx-btn-nav { background: #fff; border-color: #fff; color: var(--itx-brand) !important; padding: .4rem 1.4rem; }
.itx-header-solid .itx-btn-nav:hover, .itx-header-overlay .itx-btn-nav:hover { background: transparent; color: #fff !important; }

.itx-link-arrow {
    font-weight: 600;
    letter-spacing: .04em;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--itx-brand);
}
.itx-link-arrow::after { content: " \2192"; display: inline-block; transition: transform .2s; }
.itx-link-arrow:hover::after { transform: translateX(4px); }

/* ----------------------------------------------------------------------------
   Widgets
   ---------------------------------------------------------------------------- */

/* Hero banner */
.itx-hero-heading { margin-bottom: 1rem; }
.itx-hero-text { font-size: 1.2rem; max-width: 760px; }
.itx-hero-centered .itx-hero-text { margin-left: auto; margin-right: auto; }
.itx-hero-actions { margin-top: 1.5rem; }
.itx-hero-centered .itx-hero-image { max-width: 800px; width: 100%; }

.itx-subpage #main .itx-theme-brand.itx-space-hero:not(.itx-has-bg-image) {
    --itx-subpage-banner-height: 603px;
    --itx-subpage-image-overlap: 178px;
    --itx-subpage-hero-top: calc(var(--itx-header-height) + 3rem);
    min-height: var(--itx-subpage-banner-height);
    padding-top: var(--itx-subpage-hero-top);
    background: none;
    isolation: isolate;
}
.itx-subpage #main .itx-theme-brand.itx-space-hero:not(.itx-has-bg-image)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--itx-brand) url("/images/brand-pattern.png") center / cover;
}
.itx-subpage #main .itx-theme-brand.itx-space-hero:not(.itx-has-bg-image):has(.itx-hero-centered > .itx-hero-image) {
    min-height: calc(var(--itx-subpage-banner-height) + var(--itx-subpage-image-overlap));
    padding-bottom: 0;
}
.itx-subpage #main .itx-theme-brand.itx-space-hero:not(.itx-has-bg-image):has(.itx-hero-centered > .itx-hero-image)::before {
    bottom: var(--itx-subpage-image-overlap);
}
.itx-subpage #main .itx-theme-brand.itx-space-hero:not(.itx-has-bg-image) .itx-hero-centered:has(> .itx-hero-image) {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(var(--itx-subpage-banner-height) + var(--itx-subpage-image-overlap) - var(--itx-subpage-hero-top));
}
.itx-subpage #main .itx-theme-brand.itx-space-hero:not(.itx-has-bg-image) .itx-hero-centered > .itx-hero-image {
    margin-top: auto !important;
    flex-shrink: 0;
}
.itx-subpage #main .itx-theme-brand.itx-space-hero:not(.itx-has-bg-image) .itx-hero-text,
.itx-subpage #main .itx-theme-brand.itx-space-hero:not(.itx-has-bg-image) .itx-hero-actions {
    margin-bottom: 1.5rem;
}
.itx-edit-mode.itx-subpage #main .itx-theme-brand.itx-space-hero:not(.itx-has-bg-image) {
    --itx-subpage-hero-top: 3rem;
    --itx-subpage-banner-height: 493px;
}
@media (max-width: 767.98px) {
    .itx-subpage #main .itx-theme-brand.itx-space-hero:not(.itx-has-bg-image) {
        --itx-subpage-banner-height: 0px;
        --itx-subpage-image-overlap: clamp(32px, 12vw, 80px);
    }
    .itx-subpage #main .itx-theme-brand.itx-space-hero:not(.itx-has-bg-image) .itx-hero-centered > .itx-hero-image {
        margin-top: 1.5rem !important;
    }
}

/* Cards */
.itx-card { border: 0; border-radius: var(--itx-radius-lg); background: #fff; }
.itx-card .card-body { padding: 2rem; }
.itx-card-outlined { border: 2px solid var(--itx-light); }
.itx-card-plain { background: transparent; }
.itx-card-plain .card-body { padding: 0; }
.itx-card-compact .card-body { padding: 1.25rem 1.5rem; }
.itx-card-compact .card-title { text-transform: uppercase; font-size: 1rem; }
.itx-card-icon { max-width: 120px; margin-top: 1rem; }
.itx-card-image { max-height: 60px; width: auto; }
.itx-card-horizontal { display: flex; align-items: center; gap: 1.25rem; }
.itx-card-horizontal .itx-card-image { width: var(--itx-card-image-width, 170px); max-width: 40%; max-height: var(--itx-card-image-max-height, 75px); height: auto; object-fit: contain; flex-shrink: 0; }
.itx-card-horizontal .itx-card-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 576px) {
    .itx-card-horizontal.itx-card-image-right { flex-direction: row-reverse; }
}
@media (max-width: 575.98px) {
    .itx-card-horizontal { flex-direction: column; align-items: flex-start; }
    .itx-card-horizontal .itx-card-image { max-width: 100%; }
}
.itx-card-linked { transition: transform .2s, box-shadow .2s; }
.itx-card-linked:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }

/* Service rows (alternating) */
.itx-service-rows { padding-top: 3rem; }
.itx-service-row { position: relative; border-radius: 40px; align-items: center; margin-bottom: 150px; }
.itx-service-row:last-child { margin-bottom: 50px; }
.itx-service-row-a { background: var(--itx-light); margin-left: 100px; }
.itx-service-row-b { background: var(--itx-lavender); margin-right: 100px; }
.itx-service-row-image { max-width: 45%; margin: -50px 0; }
.itx-service-row-a .itx-service-row-image { margin-left: -100px; }
.itx-service-row-b .itx-service-row-image { margin-right: -100px; }
.itx-service-row-body { width: 100%; }
.itx-service-row-icon { position: absolute; width: 100px; bottom: -50px; }
.itx-service-row-a .itx-service-row-icon { right: 1.5rem; }
.itx-service-row-b .itx-service-row-icon { left: 1.5rem; }

@media (max-width: 767.98px) {
    .itx-service-row { margin: 0 0 80px !important; }
    .itx-service-row-image { max-width: 100%; margin: 0 !important; padding: 2rem 2rem 0; }
}

.itx-service-list li + li { margin-top: 1.25rem; }

/* Reusable service pairs; retain legacy anchors until CMS sections adopt the classes. */
:is(.itx-service-detail, #services-website-development, #services-integration, #services-ecommerce, #services-digital-marketing) {
    position: relative;
    z-index: 2;
    padding-bottom: 0;
}

:is(.itx-service-detail, #services-website-development, #services-integration, #services-ecommerce, #services-digital-marketing) .itx-text-image > div:first-child {
    position: relative;
    z-index: 2;
    transform: translateY(1.5rem);
}

:is(.itx-service-panel, #services-website-development-includes, #services-integration-includes, #services-ecommerce-includes, #services-digital-marketing-includes) {
    --itx-service-panel: var(--itx-light);
    position: relative;
    z-index: 1;
    padding-top: 0;
    background-color: transparent;
}

:is(.itx-service-panel-peach, #services-integration-includes, #services-digital-marketing-includes) {
    --itx-service-panel: var(--itx-peach);
}

:is(.itx-service-panel, #services-website-development-includes, #services-integration-includes, #services-ecommerce-includes, #services-digital-marketing-includes) > :is(.container, .container-fluid) {
    position: relative;
    isolation: isolate;
}

:is(.itx-service-panel, #services-website-development-includes, #services-integration-includes, #services-ecommerce-includes, #services-digital-marketing-includes) > :is(.container, .container-fluid)::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: 2rem;
    background: var(--itx-service-panel);
    content: "";
}

:is(.itx-service-panel, #services-website-development-includes, #services-integration-includes, #services-ecommerce-includes, #services-digital-marketing-includes) .itx-zone {
    padding: 2rem clamp(1.25rem, 4vw, 3rem);
}

:is(.itx-service-panel, #services-website-development-includes, #services-integration-includes, #services-ecommerce-includes, #services-digital-marketing-includes) .itx-zone > * + * {
    margin-top: 1.25rem;
}

:is(.itx-service-panel, #services-website-development-includes, #services-integration-includes, #services-ecommerce-includes, #services-digital-marketing-includes) .itx-section-heading h4 {
    margin-bottom: 0;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.itx-subpage #main .itx-section:has(.itx-section-heading h2):has(.row-cols-lg-2) .itx-section-heading h2 {
    font-size: clamp(2rem, 1.7rem + 1vw, 2.5rem);
}

@media (max-width: 767.98px) {
    :is(.itx-service-detail, #services-website-development, #services-integration, #services-ecommerce, #services-digital-marketing) .itx-text-image > div:first-child {
        transform: none;
    }

    :is(.itx-service-detail, #services-website-development, #services-integration, #services-ecommerce, #services-digital-marketing) {
        padding-bottom: 2rem;
        z-index: auto;
    }

    :is(.itx-service-panel, #services-website-development-includes, #services-integration-includes, #services-ecommerce-includes, #services-digital-marketing-includes) .itx-zone {
        padding: 1.5rem 1rem;
    }
}

/* Testimonials */
.itx-testimonial { background: var(--itx-lavender); border-radius: 25px 0 25px 0; padding: 2rem 2.5rem; }
.itx-testimonial-quote { font-style: italic; margin-bottom: 1.25rem; }
.itx-testimonial-author { display: flex; flex-direction: column; }
.itx-testimonial-author span { color: var(--itx-muted); font-weight: 500; }

/* Feature tabs */
.itx-tab-list .nav-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-align: left;
    color: var(--itx-ink);
    font-weight: 600;
    border-radius: 0;
    border-right: 5px solid var(--itx-light);
    padding: .75rem 1rem;
}
.itx-tab-list .nav-link.active,
.itx-tab-list .nav-link:hover { color: var(--itx-brand); border-color: var(--itx-brand); background: transparent; }
.itx-tab-icon { flex: 0 0 1.25rem; font-size: 1.1rem; text-align: center; }
.itx-tabs-horizontal .itx-tab-list { flex-wrap: wrap; gap: .25rem; }
.itx-tabs-horizontal .itx-tab-list .nav-link { border-right: 0; border-bottom: 4px solid var(--itx-light); }
@media (max-width: 767.98px) {
    .itx-tab-list .nav-link { border-right: 0; border-left: 5px solid var(--itx-light); }
}

/* Contact details */
.itx-contact-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.itx-contact-tile { background: var(--itx-light); border-radius: 20px; padding: 1.5rem 2rem; min-width: 240px; flex: 1 1 240px; text-align: center; }
.itx-contact-tile a { color: inherit; }
.itx-contact-list li { display: flex; gap: .75rem; align-items: center; line-height: 2; }

.itx-contact-blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--itx-contact-details-gap, 2rem) 1rem; margin-bottom: 0; }
.itx-contact-block { display: flex; align-items: center; gap: .85rem; grid-column: 1 / -1; min-width: 0; text-align: left; }
.itx-contact-block-compact { grid-column: auto; }
.itx-contact-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 var(--itx-contact-icon-size, 3.25rem); height: var(--itx-contact-icon-size, 3.25rem); border-radius: 50%; background: var(--itx-contact-icon-background, #e5f7ff); color: var(--itx-contact-icon, var(--itx-accent)); font-size: 1.35rem; }
.itx-contact-block > div { min-width: 0; }
.itx-contact-block strong { display: block; font-size: .875rem; margin-bottom: .2rem; }
.itx-contact-block a, .itx-contact-block div > span { display: block; font-size: .875rem; overflow-wrap: anywhere; }
.itx-contact-block a { color: var(--itx-contact-text, var(--itx-ink)); text-decoration: none; }
.itx-contact-block a:hover { text-decoration: underline; }
.itx-contact-details-stacked .itx-contact-block-compact { grid-column: 1 / -1; }

/* Opt-in two-column Contact layout; default widgets and other forms are unchanged. */
.itx-section:has(> .container > .itx-contact-layout),
.itx-section:has(> .container-fluid > .itx-contact-layout) { padding-top: 0; }
/* Page Builder inserts wrappers between sections, so do not rely on adjacent siblings. */
#main:has(.itx-contact-layout) .itx-section:has(.itx-hero) { z-index: 1; }
.itx-contact-layout { --bs-gutter-x: 3rem; color: var(--itx-contact-text, var(--itx-ink)); }
.itx-contact-layout > .itx-zone { min-width: 0; }
.itx-contact-layout > .itx-zone:first-child { padding-top: calc(var(--itx-contact-overlap, 32px) + var(--itx-contact-details-inset, 32px)); }
.itx-contact-layout > .itx-zone:first-child .itx-section-heading :is(h1, h2, h3, h4) { color: var(--itx-contact-heading, var(--itx-ink)); }
.itx-contact-layout .itx-lead { font-size: 1rem; line-height: 1.6; }
.itx-contact-layout .itx-contact-blocks { margin-top: 2.5rem; }
.itx-contact-form-panel { position: relative; color: var(--itx-contact-form-text, var(--itx-ink)); padding: calc(var(--itx-contact-overlap, 32px) + 2rem) var(--itx-contact-inset, 32px) var(--itx-contact-inset, 32px); }
.itx-contact-form-panel::before { content: ""; position: absolute; inset: 0 .5rem; border-radius: 8px; background: var(--itx-contact-panel, var(--itx-light)); z-index: -1; }
.itx-contact-form-panel { isolation: isolate; }
.itx-contact-form-panel .itx-section-heading :is(h1, h2, h3, h4, h5, h6) { color: var(--itx-contact-form-heading, var(--itx-accent)); font-size: 1rem; font-weight: 500; margin-bottom: 0; }
.itx-contact-form-panel > * + * { margin-top: 1rem; }
.itx-contact-form-panel .ktc-default-section { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--itx-contact-field-gap, 12px) 1.5rem; }
.itx-contact-form-panel .form-field { grid-column: 1 / -1; min-width: 0; position: relative; }
.itx-contact-shared-row .form-field:has(input[name$=".Phone.Value"]),
.itx-contact-shared-row .form-field:has(input[name$=".Email.Email"]),
.itx-contact-shared-row .form-field:has(input[name$=".Email.Value"]) { grid-column: auto; }
/* Retain real labels for assistive technology while showing the editable placeholders. */
.itx-contact-form-panel .form-field:has([placeholder]:not([placeholder=""])) > label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.itx-contact-form-panel .ktc-default-section .form-control { width: 100%; min-height: 2.75rem; border: 1px solid #777; border-radius: 2px; padding: .6rem .75rem; background: #fff; color: var(--itx-ink); font-size: .875rem; }
.itx-contact-form-panel .form-control::placeholder { color: #555; opacity: 1; }
.itx-contact-form-panel .ktc-default-section textarea.form-control { min-height: 10rem; resize: vertical; }
.itx-contact-form-panel .form-control:focus { outline: 2px solid #007ba8; outline-offset: 2px; box-shadow: none; }
.itx-contact-form-panel :is(input[type="submit"], button[type="submit"]) {
    display: block; width: fit-content; max-width: 100%; margin: var(--itx-contact-button-margin, 1rem 0 0 auto); padding: .6rem 1.9rem; border: 3px solid var(--itx-contact-button, var(--itx-brand));
    border-radius: 50px; background: var(--itx-contact-button, var(--itx-brand)); color: var(--itx-contact-button-text, #fff); font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.5; letter-spacing: .04em; cursor: pointer; white-space: normal;
    transition: background-color .2s, color .2s, border-color .2s;
}
.itx-contact-form-panel :is(input[type="submit"], button[type="submit"]):is(:hover, :focus-visible) { background: #fff; color: var(--itx-contact-button, var(--itx-brand)); border-color: var(--itx-contact-button, var(--itx-brand)); }
.itx-contact-form-panel :is(input[type="submit"], button[type="submit"]):focus-visible { outline: 2px solid var(--itx-ink); outline-offset: 3px; }
.itx-contact-form-panel .field-validation-error,
.itx-contact-form-panel .validation-summary-errors { display: block; color: #b42318; font-size: .875rem; margin-top: .3rem; }
.itx-contact-form-panel .input-validation-error { border-color: #b42318; }

@media (max-width: 991.98px) {
    .itx-contact-block-compact { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
    .itx-contact-layout { margin-top: calc(-1 * var(--itx-contact-overlap, 32px)); }
    .itx-contact-layout > .itx-zone { margin-top: 0; }
}
@media (max-width: 767.98px) {
    .itx-contact-layout > .itx-zone:first-child { padding-top: var(--itx-contact-details-inset, 32px); }
    .itx-contact-form-panel .ktc-default-section { grid-template-columns: minmax(0, 1fr); }
    .itx-contact-form-panel .form-field { grid-column: 1 / -1; }
    .itx-contact-form-panel { margin-top: 2rem; padding-top: var(--itx-contact-inset, 32px); }
}

/* Statistics */
.itx-stat-value { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 600; color: var(--itx-brand); }
.itx-theme-brand .itx-stat-value, .itx-theme-cta .itx-stat-value, .itx-theme-dark .itx-stat-value { color: #fff; }
.itx-stat-label { text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }

/* Call to action */
.itx-cta { max-width: 860px; }

/* Spacer */
.itx-spacer-sm { height: 1rem; }
.itx-spacer-md { height: 2rem; }
.itx-spacer-lg { height: 4rem; }
.itx-spacer-xl { height: 6rem; }
.itx-spacer { display: flex; align-items: center; }
.itx-divider { width: 100%; opacity: .15; }

/* Video */
.itx-video iframe { border: 0; border-radius: 16px; }

/* Map */
.itx-map { overflow: hidden; border-radius: 16px; background: var(--itx-light); }
.itx-map iframe { border: 0; }

/* Placeholder shown to editors for unconfigured widgets */
.itx-empty-widget {
    border: 2px dashed #c9c9c9;
    border-radius: 12px;
    color: #6b6b6b;
    padding: 1.5rem;
    text-align: center;
    font-size: .95rem;
    background: rgba(255, 255, 255, .7);
}

/* Forms (Form widget and account pages) */
.itx-form .form-control, .ktc-default-section .form-control { border-radius: 12px; padding: .7rem 1rem; }
.ktc-default-section input[type="submit"] {
    background: var(--itx-brand); border: 3px solid var(--itx-brand); color: #fff; border-radius: 50px; font-weight: 600; padding: .6rem 1.9rem;
}

/* ----------------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------------- */
.itx-footer { background: var(--itx-dark); color: #fff; padding-top: 5rem; flex-shrink: 0; }
.itx-footer a { color: #fff; text-decoration: none; }
.itx-footer a:hover { color: var(--itx-brand); }
.itx-footer-logo { max-height: 150px; width: auto; margin-bottom: 2.5rem; }
.itx-footer-badges img { max-height: 45px; width: auto; }
.itx-footer-heading { color: var(--itx-brand); font-size: 1.5rem; margin-bottom: 1rem; }
.itx-footer-links li, .itx-footer-contact li { line-height: 2; }
.itx-footer-contact li { display: flex; gap: .75rem; align-items: center; }
.itx-social { margin-top: 1rem; }
.itx-social a { font-size: 1.6rem; }
.itx-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .2); padding: 1rem 0; margin-top: 4rem; font-size: .95rem; }
