/* DLINES public chrome: topbar, header, footer, page sections.
   Loaded by every public page (including the homepage). All colors fall
   back to the built-in palette and respect published theme tokens. */

:root { color-scheme: light; }

/* ---------- Top utility bar ---------- */
.dlines-topbar { background: var(--dl-background, #14213d); border-bottom: 1px solid var(--dl-border, #223254); color: var(--dl-text, #14213d); }
.dlines-topbar-inner { min-height: 3rem; display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.topbar-contact, .topbar-account { display: flex; align-items: center; gap: 1.1rem; }
.dlines-topbar a { color: var(--dl-text, #dfe6f2); font-size: .78rem; text-decoration: none; white-space: nowrap; }
.dlines-topbar a:hover { color: var(--dl-primary, #2563eb); }
.currency-display { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid #2e4062; border-radius: .5rem; padding: .4rem .7rem; color: #14213d; font-size: .76rem; font-weight: 700; background: var(--dl-surface, #fff); }
.currency-display span[aria-hidden] { color: #8791a0; font-size: .62rem; }

/* ---------- Main header ---------- */
.dlines-commerce-header { position: sticky; top: 0; z-index: 30; background: var(--dl-surface, #fff); border-bottom: 1px solid #e7ebf0; box-shadow: 0 .1rem .8rem rgba(16, 30, 51, .04); }
.dlines-commerce-header .header-inner { min-height: 4.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
/* Official brand asset (assets/brand/logo-master.png, no recolouring). The
   lockup is displayed at ~300px; on dark published themes a white plate keeps
   the artwork visible without altering it. */
.brand-logo { height: 2.7rem; width: auto; display: block; background: var(--dl-surface, #fff); border-radius: .45rem; padding: .2rem .35rem; }
[data-dlines-theme][data-dlines-theme=""] .brand-logo, .theme-dark-premium .brand-logo { background: #fff; }
.footer-wordmark img { height: 4.6rem; width: auto; display: block; background: #fff; border-radius: .4rem; padding: .15rem .3rem; }

.main-nav > ul { display: flex; align-items: center; gap: clamp(.35rem, 1.4vw, 1.1rem); margin: 0; padding: 0; list-style: none; }
.main-nav li { position: relative; }
.main-nav a { display: inline-flex; align-items: center; gap: .3rem; padding: .65rem .55rem; border-radius: .45rem; color: #dfe6f2; font-size: .88rem; font-weight: 650; text-decoration: none; white-space: nowrap; }
.main-nav a:hover, .main-nav a:focus-visible { color: #fff; background: color-mix(in srgb, #2563eb 18%, transparent); }
.main-nav a .caret { font-size: .6rem; color: color-mix(in srgb, var(--dl-text, #14213d) 55%, var(--dl-background, #fff)); transition: transform .15s ease; }
.main-nav li:hover > a .caret, .main-nav li:focus-within > a .caret { transform: rotate(180deg); }
.main-nav .nav-drop { position: absolute; z-index: 40; top: calc(100% + .45rem); left: 0; min-width: 15.5rem; margin: 0; padding: .55rem; list-style: none; display: none; border: 1px solid #e2e8ee; border-radius: .8rem; background: var(--dl-surface, #fff); box-shadow: 0 1rem 2.6rem rgba(16, 30, 51, .13); }
.main-nav li:hover > .nav-drop, .main-nav li:focus-within > .nav-drop { display: block; }
.main-nav .nav-drop a { display: flex; flex-direction: column; gap: .1rem; padding: .55rem .7rem; border-radius: .5rem; white-space: normal; }
.main-nav .nav-drop a strong { font-size: .84rem; font-weight: 700; color: #14213d; }
.main-nav .nav-drop a small { font-size: .72rem; color: color-mix(in srgb, var(--dl-text, #14213d) 60%, var(--dl-background, #fff)); font-weight: 500; }
.main-nav .nav-drop a:hover strong, .main-nav .nav-drop a:focus-visible strong { color: #2563eb; }
.main-nav .nav-drop a:hover, .main-nav .nav-drop a:focus-visible { background: color-mix(in srgb, var(--dl-primary, #2563eb) 8%, var(--dl-surface, #fff)); }

/* Wide two-column dropdowns for the structured Services / Industries menus. */
.main-nav .nav-drop-wide { min-width: 31rem; padding: .7rem; column-gap: .4rem; }
.main-nav li:hover > .nav-drop-wide, .main-nav li:focus-within > .nav-drop-wide { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 86rem) { .main-nav .nav-drop-wide { min-width: 24rem; } }

.header-actions { display: flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.header-cta { min-height: 2.6rem; padding: .55rem 1rem; display: inline-flex; align-items: center; border: 0; border-radius: var(--dl-button-radius, .45rem); background: #ff6a00; color: #fff; font-size: .85rem; font-weight: 750; text-decoration: none; }
.header-cta:hover { background: #e55f00; color: #fff; }

.mobile-navigation { display: none; position: relative; }
.mobile-navigation summary { cursor: pointer; list-style: none; padding: .55rem .85rem; border: 1px solid var(--dl-border, #c9d6cc); border-radius: .5rem; font-weight: 750; font-size: .85rem; color: var(--dl-text, #14213d); }
.mobile-navigation summary::-webkit-details-marker { display: none; }
.mobile-navigation[open] summary { background: color-mix(in srgb, #2563eb 22%, #14213d); }
.mobile-navigation:not([open]) .mobile-nav-panel { display: none; }
.mobile-nav-panel { position: absolute; z-index: 50; top: calc(100% + .5rem); right: 0; width: min(20rem, 88vw); max-height: 70vh; overflow-y: auto; padding: .6rem; display: grid; gap: .25rem; border: 1px solid #e4e7ec; border-radius: .8rem; background: var(--dl-surface, #fff); box-shadow: 0 .8rem 2.4rem rgba(16, 30, 51, .2); }
.mobile-nav-panel a { display: block; padding: .6rem .75rem; border-radius: .45rem; text-decoration: none; font-weight: 650; font-size: .88rem; color: #14213d; }
.mobile-nav-panel a:hover, .mobile-nav-panel a:focus-visible { background: #eef3fb; color: #2563eb; }
.mobile-nav-panel .mobile-nav-group { padding: .45rem .75rem .2rem; color: color-mix(in srgb, var(--dl-text, #14213d) 55%, var(--dl-background, #fff)); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }

/* ---------- Page banner for inner pages ---------- */
.page-banner { padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(1.6rem, 4vw, 2.6rem); background: linear-gradient(180deg, color-mix(in srgb, var(--dl-primary, #2563eb) 7%, var(--dl-surface, #fff)), transparent); border-bottom: 1px solid #e7ebe5; }
.page-banner .breadcrumb { display: inline-flex; gap: .45rem; align-items: center; margin: 0 0 .7rem; color: color-mix(in srgb, var(--dl-text, #2b2b2b) 60%, var(--dl-background, #fff)); font-size: .76rem; font-weight: 650; }
.page-banner .breadcrumb a { color: var(--dl-primary, #2563eb); text-decoration: none; font-weight: 700; }
.page-banner .breadcrumb a:hover { text-decoration: underline; }
.page-banner h1 { margin: 0 0 .55rem; max-width: 26ch; font-size: clamp(1.9rem, 4.4vw, 2.9rem); letter-spacing: -.04em; line-height: 1.08; color: #14213d; }
.page-banner .banner-lede { max-width: 44rem; margin: 0; color: color-mix(in srgb, var(--dl-text, #2b2b2b) 72%, var(--dl-background, #fff)); font-size: clamp(.95rem, 1.5vw, 1.06rem); line-height: 1.6; }

/* ---------- Store category sections ---------- */
.catalogue-sections { display: grid; gap: 2.4rem; padding-bottom: 3rem; }
.catalogue-section { scroll-margin-top: 5rem; }
.store-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; padding-bottom: .6rem; border-bottom: 2px solid color-mix(in srgb, var(--dl-primary, #2563eb) 25%, transparent); }
.store-section-head h2 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: -.025em; color: var(--dl-text, #2b2b2b); }
.store-section-head p { margin: 0 0 .2rem; color: color-mix(in srgb, var(--dl-text, #2b2b2b) 60%, var(--dl-background, #fff)); font-size: .78rem; font-weight: 650; }
.store-section-head > a { color: var(--dl-primary, #2563eb); font-size: .8rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
.store-section-head > a:hover { text-decoration: underline; }
.section-blurb { max-width: 46rem; margin: 0 0 1.1rem; color: color-mix(in srgb, var(--dl-text, #2b2b2b) 72%, var(--dl-background, #fff)); font-size: .9rem; }
.store-more { display: inline-flex; align-items: center; justify-content: center; min-height: 6.2rem; border: 1.5px dashed #c9d2e3; border-radius: .8rem; background: transparent; color: var(--dl-primary, #2563eb); font-weight: 750; font-size: .9rem; text-decoration: none; }
.store-more:hover, .store-more:focus-visible { border-color: var(--dl-primary, #2563eb); background: color-mix(in srgb, var(--dl-primary, #2563eb) 5%, transparent); }
.product-card-links { font-size: .84rem; }
.product-card-links a { color: #2563eb; font-weight: 700; text-decoration: none; }
.product-card-links a:hover { text-decoration: underline; }
.store-chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .2rem 0 1.6rem; }
.store-chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .2rem 0 1.6rem; }
.store-chip-row a { padding: .45rem .8rem; border: 1px solid #e4e7ec; border-radius: 999px; background: var(--dl-surface, #fff); color: #14213d; font-size: .78rem; font-weight: 700; text-decoration: none; }
.store-chip-row a:hover, .store-chip-row a:focus-visible { border-color: var(--dl-primary, #2563eb); color: var(--dl-primary, #2563eb); }
.store-chip-row a[aria-current="true"] { background: var(--dl-primary, #2563eb); border-color: var(--dl-primary, #2563eb); color: var(--dl-surface, #fff); }
.demo-badge { display: inline-block; margin-left: .4rem; padding: .1rem .45rem; border-radius: .8rem; background: color-mix(in srgb, #d3a94a 22%, var(--dl-surface, #fff)); color: color-mix(in srgb, #7a5c14 80%, var(--dl-text, #2b2b2b)); font-size: .62rem; font-weight: 800; letter-spacing: .06em; }

/* ---------- TLD price cards ---------- */
.tld-prices { margin-top: 2.4rem; }
.tld-prices h2 { margin: 0 0 .4rem; font-size: clamp(1.25rem, 2.4vw, 1.6rem); letter-spacing: -.025em; color: var(--dl-text, #2b2b2b); }
.tld-prices > p { max-width: 44rem; margin: 0 0 1.1rem; color: #6b7078; font-size: .9rem; }
.tld-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .8rem; }
.tld-card { padding: 1rem 1.1rem; border: 1px solid var(--dl-border, #e4e7ec); border-radius: .8rem; background: var(--dl-surface, #fff); }
.tld-card h3 { margin: 0 0 .7rem; color: #14213d; font-size: 1.15rem; }
.tld-card dl { display: grid; gap: .3rem; margin: 0 0 .7rem; }
.tld-card dl div { display: flex; justify-content: space-between; gap: .6rem; }
.tld-card dt { color: #71809a; font-size: .78rem; font-weight: 650; }
.tld-card dd { margin: 0; font-weight: 750; font-size: .88rem; }
.tld-card a { color: #2563eb; font-size: .8rem; font-weight: 750; text-decoration: none; }
.tld-card a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.dlines-footer { padding: 0; background: #14213d; color: #f5f9ff; font-size: .84rem; }
.dlines-footer a { color: #cfdcec; text-decoration: none; }
.dlines-footer a:hover { color: #fff; text-decoration: underline; }
.dlines-footer .footer-cta { background: linear-gradient(105deg, #2563eb, #14213d 78%); padding: 1.8rem 0; }
.dlines-footer .footer-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.dlines-footer .footer-eyebrow { color: #9db8ea; font-size: .65rem; letter-spacing: .12em; font-weight: 800; margin: 0 0 .6rem; }
.dlines-footer .footer-cta h2 { margin: 0 0 .4rem; font-size: clamp(1.2rem, 2.4vw, 1.85rem); line-height: 1.2; color: #fff; }
.dlines-footer .footer-cta p:last-child { margin: 0; color: #d7eaf2; }
.dlines-footer .footer-cta-button { flex-shrink: 0; background: #ff6a00; color: #fff; border-radius: .45rem; padding: .85rem 1.1rem; font-weight: 800; }
.dlines-footer .footer-content { padding-top: 2rem; }
.dlines-footer .footer-main-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 1.4rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.dlines-footer .footer-wordmark { display: inline-block; background: #fff; padding: .35rem .6rem; color: #14213d; font-style: italic; font-size: 1.25rem; font-weight: 900; }
.dlines-footer .footer-wordmark span { opacity: .8; }
.dlines-footer .footer-about p { color: #c9d6e4; line-height: 1.65; margin: .9rem 0; }
.dlines-footer .footer-about > a:last-child { color: #9db8ea; }
.dlines-footer .footer-main-grid nav { display: flex; flex-direction: column; gap: .6rem; }
.dlines-footer .footer-main-grid h3 { margin: .15rem 0 .3rem; font-size: .83rem; color: #fff; }
.dlines-footer .footer-main-grid nav a { font-size: .78rem; color: #bccbdd; }
.dlines-footer .footer-main-grid nav a:hover { color: #fff; }
.dlines-footer .footer-solutions { padding: 2rem 0 1.4rem; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.dlines-footer .footer-solutions h2 { margin: 0 0 .5rem; font-size: 1.4rem; color: #fff; }
.dlines-footer .footer-solutions > p:not(.footer-eyebrow) { color: #c9d6e4; margin: 0 0 1.2rem; }
.dlines-footer .footer-solution-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.dlines-footer .footer-solution-grid a { display: flex; flex-direction: column; gap: .55rem; padding: 1rem; min-height: 9rem; border: 1px solid #2e4062; border-radius: .55rem; background: #1b2c4f; color: #e9f3ff; }
.dlines-footer .footer-solution-grid strong { font-size: .82rem; color: #fff; }
.dlines-footer .footer-solution-grid span { font-size: .75rem; color: #c3d2e2; }
.dlines-footer .footer-solution-grid em { margin-top: auto; color: #9db8ea; font-size: .75rem; font-style: normal; font-weight: 750; }
.dlines-footer .footer-help { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.3rem 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.dlines-footer .footer-help p { margin: .3rem 0 0; color: #c9d6e4; }
.dlines-footer .footer-help-links { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.dlines-footer .footer-help-links a { color: #9db8ea; }
.dlines-footer .footer-help-links .footer-contact-button { background: #ff6a00; color: #fff; padding: .7rem 1rem; border-radius: .45rem; font-weight: 750; }
.dlines-footer .footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; align-items: center; }
.dlines-footer .footer-bottom small { color: #aebfd4; }
.dlines-footer .footer-bottom nav { display: flex; gap: 1rem; }
.dlines-footer .footer-bottom nav a { font-size: .75rem; color: #bccbdd; }

/* ---------- Shared layout helpers for chrome pages ---------- */
.chrome-page { display: block; padding: 0; margin: 0; place-items: initial; align-items: initial; justify-items: initial; background: var(--dl-background, #fafaf7); }
.chrome-page > main { min-height: 55vh; }
.home-container { width: min(100% - 2.5rem, 72rem); margin-inline: auto; }
.chrome-main { padding-block: clamp(1.5rem, 4vw, 2.6rem) 3rem; }
.whatsapp-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; display: inline-flex; align-items: center; gap: .4rem; padding: .6rem 1rem; border-radius: 999px; background: #25d366; color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 .3rem .8rem rgba(0, 0, 0, .25); }
.whatsapp-float:hover { background: #1fb455; color: #fff; text-decoration: none; }
/* Conversion pages (cart, checkout, auth): centered conversion card. */
.chrome-page main { padding-block: clamp(1.5rem, 4vw, 3rem); }
.chrome-bare main { display: grid; justify-items: center; align-content: start; }
.chrome-bare main > header { max-width: 34rem; }
.chrome-bare main > form, .chrome-bare main > .panel, .chrome-bare main section > form, .chrome-bare main div > form {
    width: min(100%, 30rem); padding: clamp(1.25rem, 3vw, 2rem); margin-top: 1.2rem;
    background: var(--dl-surface, #fff); border: 1px solid var(--dl-border, #e4e7ec);
    border-radius: var(--dl-card-radius, .9rem); box-shadow: var(--dl-shadow-strength, 0 1rem 2.5rem rgba(23, 61, 40, .06));
}
.chrome-bare main > form { padding-top: 1.4rem; }

/* ---------- Focus and responsive ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #86aef8; outline-offset: 2px; }

@media (max-width: 70rem) {
    .main-nav { display: none; }
    .mobile-navigation { display: block; }
}
@media (max-width: 42rem) {
    .brand-logo { height: 2.25rem; }
    .mobile-navigation summary { padding: .55rem .7rem; }
    .header-actions { gap: .5rem; }
    .header-cta { padding-inline: .75rem; }
    .dlines-topbar-inner { min-height: 2.7rem; gap: .4rem; }
    .topbar-contact { gap: .55rem; }
    .topbar-contact a { font-size: .7rem; }
    .topbar-contact a:nth-child(2) { display: none; }
    .topbar-account a { display: none; }
    .currency-display { padding: .3rem .5rem; font-size: .7rem; }
    .dlines-commerce-header .header-inner { min-height: 3.9rem; gap: .7rem; }
    .header-cta { min-height: 2.3rem; padding: .45rem .75rem; font-size: .78rem; }
    .home-container { width: min(100% - 1.5rem, 72rem); }
    /* Narrow phones: brand and header actions shrink together so the header
       never overflows the viewport (320px was clipping at 359px). The store
       CTA stays reachable through the mobile menu and the store hero. */
    .dlines-commerce-header .header-inner { flex-wrap: nowrap; }
    .brand { min-width: 0; }
    .brand-logo { max-width: 11.5rem; height: auto; }
    .header-actions { min-width: 0; }
    .dlines-footer .footer-main-grid { grid-template-columns: repeat(2, 1fr); }
    .dlines-footer .footer-about { grid-column: 1 / -1; }
    .dlines-footer .footer-solution-grid { grid-template-columns: repeat(2, 1fr); }
    .dlines-footer .footer-cta-inner, .dlines-footer .footer-help, .dlines-footer .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 30rem) {
    /* 320-480px phones: hide the desktop CTA inside the header (the quote CTA
       remains in the mobile menu and every page section); menu + brand fit. */
    .dlines-commerce-header .header-cta { display: none; }
    .dlines-footer .footer-solution-grid { grid-template-columns: 1fr; }
    .whatsapp-float { right: .6rem; bottom: .6rem; padding: .5rem .8rem; font-size: .78rem; }
}
@media print {
    .dlines-topbar, .dlines-commerce-header, .dlines-footer, .whatsapp-float, .mobile-navigation { display: none; }
}

/* Floating live-chat bubble (visible on every public page) */
.chat-bubble {
    position: fixed;
    z-index: 70;
    right: 1.1rem;
    bottom: 5.4rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .65rem 1rem;
    border-radius: 999px;
    background: #2563eb;
    color: #fff !important;
    font-weight: 750;
    font-size: .86rem;
    text-decoration: none;
    box-shadow: 0 .6rem 1.6rem rgba(9, 20, 34, .25);
}
.chat-bubble:hover { text-decoration: none; filter: brightness(1.08); }
@media (max-width: 30rem) { .chat-bubble { bottom: 4.9rem; padding: .6rem .8rem; } }

/* Homepage announcement banners (automation engine) */
.home-banners{display:grid;gap:1rem;margin:0 auto 1.5rem;}
.home-banner{border-left:3px solid var(--dl-primary,#2563eb);}
.home-banner h2{margin:0 0 .4rem;font-size:1.1rem;}
.home-banner p{margin:0 0 .5rem;color:var(--dl-text,#14213d);}
@media (min-width:720px){.home-banners{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));}}

/* Official brand asset on sign-in screens */
.login-logo { display: block; height: 2.6rem; width: auto; border-radius: .4rem; padding: .15rem .3rem; margin-bottom: 1rem; }

/* ---------- Contact page layout ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(16rem, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-intro { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--dl-border, #e4e7ec); border-radius: var(--dl-card-radius, .9rem); background: #14213d; color: #dfe6f2; }
.contact-intro h2 { margin: 0 0 1.1rem; font-size: 1.35rem; letter-spacing: -.025em; color: #fff; }
.contact-channels { display: grid; gap: .85rem; margin: 0; padding: 0; list-style: none; }
.contact-channels li { display: grid; grid-template-columns: 5.5rem 1fr; gap: .6rem; align-items: baseline; padding: .55rem 0; border-top: 1px solid #2e4062; font-size: .92rem; }
.contact-channels li:first-child { border-top: 0; padding-top: 0; }
.contact-channels strong { color: #9db8ea; font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-channels a { color: #fff; font-weight: 650; text-decoration: none; }
.contact-channels a:hover, .contact-channels a:focus-visible { color: #fff; text-decoration: underline; }
.contact-channels span { color: #dfe6f2; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: 1.3rem; }
.contact-action-card { display: flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: .6rem .8rem; border: 1px solid #2e4062; border-radius: .5rem; background: #1b2c4f; color: #fff; font-size: .85rem; font-weight: 750; text-decoration: none; }
.contact-action-card:hover, .contact-action-card:focus-visible { border-color: #2563eb; background: color-mix(in srgb, #2563eb 26%, #1b2c4f); color: #fff; text-decoration: none; }
.contact-form-card { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--dl-border, #e4e7ec); border-radius: var(--dl-card-radius, .9rem); background: var(--dl-surface, #fff); box-shadow: var(--dl-shadow-strength, 0 .35rem 1rem rgba(0, 0, 0, .06)); }
.contact-form-card form { display: grid; gap: .9rem; margin: 0; }
.contact-form-card label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 650; color: var(--dl-text, #2b2b2b); }
.contact-form-card input, .contact-form-card textarea { width: 100%; min-height: 2.8rem; padding: .65rem .8rem; border: 1px solid #c9d2e3; border-radius: .45rem; font: inherit; background: #fff; color: var(--dl-text, #2b2b2b); }
.contact-form-card textarea { min-height: 7.5rem; resize: vertical; }
.contact-form-card input:focus-visible, .contact-form-card textarea:focus-visible { outline: 3px solid #86aef8; outline-offset: 1px; border-color: #2563eb; }
.contact-form-card button { min-height: 3rem; padding: .7rem 1.2rem; border: 0; border-radius: .45rem; background: #ff6a00; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.contact-form-card button:hover, .contact-form-card button:focus-visible { background: #e55f00; }
@media (max-width: 58rem) { .contact-grid { grid-template-columns: 1fr; } }

/* Original-form extras (ported from the previous website design) */
.contact-hero { max-width: 800px; }
.contact-hero h1 { color: #14213d; }
.contact-hero p { color: #565b63; font-size: 1.05rem; margin-top: .4rem; }
.muted-note { margin: .2rem 0 .4rem; font-size: .78rem; color: #787d85; }
.honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.hero-small { padding: clamp(1.6rem, 4vw, 3rem) 0 1.2rem; }
.hero-small h1 { margin: .3rem 0 .5rem; font-size: clamp(1.9rem, 4.4vw, 2.9rem); letter-spacing: -.04em; }

/* Original DLINES illustrations, restored site-wide */
.banner-visual { position: absolute; right: max(1rem, calc((100vw - 74rem) / 2)); bottom: .6rem; width: clamp(9rem, 16vw, 14rem); height: auto; opacity: .95; }
@media (max-width: 58rem) { .banner-visual { display: none; } }
.page-banner { position: relative; }
.contact-visual { width: min(100%, 15rem); height: auto; margin: .2rem 0 1rem; display: block; }
.careers-visual { width: clamp(9rem, 15vw, 13rem); height: auto; flex-shrink: 0; }
@media (max-width: 42rem) { .page-header { flex-wrap: wrap; } }

/* Blog card covers (original visuals library) */
.post-cover { width: 100%; aspect-ratio: 640 / 390; object-fit: cover; border-radius: .6rem; margin-bottom: .8rem; border: 1px solid var(--dl-border, #e4e7ec); }

/* Store category section artwork */
.store-section-head.has-visual { align-items: center; }
.section-visual { width: clamp(5rem, 9vw, 7.5rem); height: auto; border-radius: .6rem; border: 1px solid var(--dl-border, #e4e7ec); flex-shrink: 0; }
@media (max-width: 42rem) { .section-visual { display: none; } }

/* ---------- Navy page banners (consistent corporate header band) ---------- */
.page-banner { background: linear-gradient(160deg, #14213d 0%, #1b2c4f 100%); border-bottom: 1px solid #223254; }
.page-banner h1 { color: #fff; }
.page-banner .banner-lede { color: #c4d3ea; }
.page-banner .breadcrumb { color: #9db8ea; }
.page-banner .breadcrumb a { color: #a5c6fb; }
.page-banner .breadcrumb a:hover { color: #fff; }
.banner-visual { opacity: 1; }
/* Card hover polish on chrome pages */
.product-card, .product-row, .tld-card { transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.product-card:hover, .product-row:hover, .tld-card:hover { transform: translateY(-3px); box-shadow: 0 1rem 2.4rem rgba(20, 33, 61, .10); border-color: #c9d2e3; }

/* --- Issue #368 premium contact page additions --- */
.contact-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.1rem; }
@media (max-width: 40rem) { .contact-field-row { grid-template-columns: 1fr; } }
.contact-field-row + label, .contact-field-row + .contact-field-row, label + .contact-field-row { margin-top: .9rem; }
.contact-form-card label .optional { color: #5a6b84; font-weight: 600; font-size: .78rem; }
.contact-consent { display: flex; align-items: flex-start; gap: .55rem; font-size: .88rem; margin: 1rem 0 0; }
.contact-consent input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; }
.contact-consent a { color: var(--dl-primary, #2563eb); font-weight: 700; }
.contact-reference { font-size: 1.05rem; margin: .75rem 0; }
.contact-hint { font-weight: 700; margin: 1.1rem 0 .35rem; }
.contact-types { padding-left: 1.1rem; font-size: .92rem; }
.contact-types li { margin: .35rem 0; }
.contact-types strong { color: #14213d; }
.contact-success-card h2 { margin-top: 0; }
/* Form is the primary column (65/35) per issue #368 */
.contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(15rem, 1fr); }
.contact-intro { order: 2; }

/* Pricing / Industries page headers: trust chips, engagement strip, visual. */
.page-header.has-visual { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.page-header.has-visual > div { flex: 1 1 auto; min-width: 0; }
.trust-chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 0; padding: 0; list-style: none; }
.trust-chip-row li { padding: .35rem .75rem; border: 1px solid color-mix(in srgb, var(--dl-primary, #2563eb) 30%, var(--dl-border, #e4e7ec)); border-radius: 999px; background: color-mix(in srgb, var(--dl-primary, #2563eb) 6%, var(--dl-surface, #fff)); color: var(--dl-text, #14213d); font-size: .78rem; font-weight: 650; }
.industry-engage-strip { display: flex; flex-wrap: wrap; gap: .5rem .9rem; margin-top: .8rem; }
.industry-engage-strip span { padding: .35rem .75rem; border-radius: 999px; background: color-mix(in srgb, var(--dl-primary, #2563eb) 8%, var(--dl-surface, #fff)); border: 1px solid color-mix(in srgb, var(--dl-primary, #2563eb) 26%, var(--dl-border, #e4e7ec)); color: var(--dl-text, #14213d); font-size: .78rem; font-weight: 650; }
@media (max-width: 42rem) { .page-header.has-visual { flex-direction: column; align-items: stretch; } }


/* ---------- Professional imagery system (master order Phase 1) ---------- */
img { max-width: 100%; height: auto; }
.row-visual { float: right; width: clamp(7rem, 16vw, 11rem); height: auto; border-radius: .6rem; border: 1px solid var(--dl-border, #e4e7ec); margin: 0 0 .8rem .9rem; }
@media (max-width: 42rem) { .row-visual { float: none; display: block; margin: 0 0 .8rem; } }
.industry-card { overflow: hidden; }
.industry-photo { display: block; width: 100%; height: clamp(7.5rem, 16vw, 10.5rem); object-fit: cover; border-radius: .7rem; margin-bottom: .7rem; }
.industry-hero-photo { display: block; width: min(100%, 46rem); height: clamp(10rem, 30vw, 16rem); object-fit: cover; border-radius: .8rem; margin: 0 auto 1.2rem; border: 1px solid var(--dl-border, #e4e7ec); }
.product-hero-photo { display: block; width: 100%; height: clamp(9rem, 26vw, 15rem); object-fit: cover; border-radius: .8rem; margin-top: 1rem; border: 1px solid var(--dl-border, #e4e7ec); }
.about-hero-photo { display: block; width: min(100%, 46rem); height: clamp(10rem, 30vw, 16rem); object-fit: cover; border-radius: .8rem; margin: 1rem 0 1.4rem; border: 1px solid var(--dl-border, #e4e7ec); }
.concept-demos { margin: 1.5rem 0 2.5rem; }
.concept-demos h2 { margin: 0 0 .35rem; }
.concept-note { margin: 0 0 1.1rem; color: color-mix(in srgb, var(--dl-text, #14213d) 65%, var(--dl-background, #fff)); font-size: .9rem; }
.concept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; }
.concept-card { margin: 0; border: 1px solid var(--dl-border, #e4e7ec); border-radius: .8rem; overflow: hidden; background: var(--dl-surface, #fff); box-shadow: 0 .4rem 1.2rem rgba(20, 33, 61, .06); }
.concept-card img { display: block; width: 100%; height: clamp(9rem, 20vw, 12rem); object-fit: cover; }
.concept-card figcaption { display: flex; align-items: center; gap: .5rem; padding: .6rem .75rem; font-size: .84rem; font-weight: 700; color: var(--dl-text, #14213d); }
.concept-tag { flex-shrink: 0; padding: .18rem .5rem; border-radius: 999px; background: color-mix(in srgb, var(--dl-primary, #2563eb) 12%, var(--dl-surface, #fff)); color: var(--dl-primary, #2563eb); font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
/* Floating chat/WhatsApp buttons must never cover critical content */
@media (max-width: 42rem) {
    html body { padding-bottom: 5.6rem !important; }
}
.demo-cta { background: var(--dl-accent, #ff6a00) !important; border-color: var(--dl-accent, #ff6a00) !important; color: #fff !important; }
.footer-contact-list { display: grid; gap: .4rem; margin: .9rem 0 0; padding: 0; list-style: none; font-size: .9rem; }
.footer-contact-list a { color: #c4d3ea; text-decoration: none; font-weight: 650; }
.footer-contact-list a:hover, .footer-contact-list a:focus-visible { color: #fff; text-decoration: underline; }
.footer-contact-list span { color: #9db8ea; }
.footer-cta-actions { display: grid; gap: .7rem; }
.footer-cta-secondary { background: transparent; border: 1px solid #3a4f78; color: #c4d3ea; }
.footer-cta-secondary:hover, .footer-cta-secondary:focus-visible { border-color: #2563eb; color: #fff; }
/* ---------- Premium page composition (master order 19 Nov): the login-card
   `.panel` caps made public CMS pages a narrow floating card with giant blank
   sides on desktop. Public pages get a full-width professional composition:
   centered container, readable content column, wide visuals. ---------- */
main.panel { width: 100%; max-width: 74rem; margin-inline: auto; background: transparent; border: 0; box-shadow: none; padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.1rem, 4vw, 2.5rem) 3rem; }
main.panel .content-body { max-width: 52rem; margin-inline: auto; font-size: 1rem; line-height: 1.7; }
main.panel .content-body h2 { font-size: 1.45rem; letter-spacing: -.02em; margin: 1.8rem 0 .6rem; color: var(--dl-text, #14213d); }
main.panel .content-body h3 { font-size: 1.15rem; margin: 1.4rem 0 .5rem; color: var(--dl-text, #14213d); }
main.panel .content-body p { margin: 0 0 .85rem; }
main.panel .content-body ul, main.panel .content-body ol { margin: 0 0 .9rem 1.3rem; display: grid; gap: .35rem; }
main.panel .content-body code { padding: .1rem .35rem; border-radius: .3rem; background: color-mix(in srgb, var(--dl-primary, #2563eb) 8%, var(--dl-surface, #fff)); font-size: .9em; }
main.panel > h1, main.panel > .eyebrow { max-width: 52rem; margin-inline: auto; }
main.panel > h1 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); letter-spacing: -.035em; }
main.panel .about-hero-photo, main.panel .industry-hero-photo { width: min(100%, 66rem); }
main.panel .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; max-width: none; }
/* Nav contrast: crisper base, clear current-page and hover states */
.main-nav a { color: #eef3fb; }
.main-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--dl-accent, #ff6a00); border-radius: .45rem .45rem .2rem .2rem; }
.main-nav a:hover, .main-nav a:focus-visible { background: color-mix(in srgb, #2563eb 30%, transparent); color: #fff; }
