/* =============================================================================
   A&AT 2026 restyle — "Navy & Amber"
   Loaded after style.css / responsive.css / color.css and overrides them.
   Palette and type are shared with the Taktos Edge page.
   ========================================================================== */

:root {
    --navy: #161e29;
    --navy-2: #1d2734;
    --navy-line: #2e3b4a;
    --on-navy: #e7edf3;
    --on-navy-muted: #9aa8b6;
    --amber: #ffb224;
    --amber-deep: #e89000;
    --amber-ink: #1a1205;
    --ink: #17202b;
    --ink-2: #4a5665;
    --ink-3: #7b8794;
    --ground: #f4f6f9;
    --surface: #ffffff;
    --line: #d9dee5;
    --line-soft: #e8ecf1;
    --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
    --font-mono: "IBM Plex Mono", Menlo, Consolas, monospace;
}

/* ---------------------------------------------------------------------------
   Base type
   ------------------------------------------------------------------------- */
body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--ground);
}

input, button, select, textarea { font-family: var(--font-body); }

h1, h2, h3, h4, h5, h6,
.section-title h1, .section-title h2,
.section-title .h1-style, .section-title .h2-style, .section-title .h3-style,
.section-title .h4-style, .section-title .h5-style,
.section-title h3.h2-style.title,
header.section-title h3#standard-products-heading.h2-style.title,
header.section-title h3#services-heading.h2-style.title {
    font-family: var(--font-display) !important;
    font-weight: 700;
    line-height: 1.15;
    color: var(--ink);
    text-transform: none;
    letter-spacing: -.01em;
}

h1 { font-size: 40px; font-weight: 800; }
h2 { font-size: 30px; }
h3 { font-size: 22px; }
h4 { font-size: 19px; line-height: 1.3; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

p { margin: 0 0 1em; }

a { color: #1f6f9f; }
a:hover, a:focus { color: var(--amber-deep); text-decoration: none; }

a.read-more,
.read-more { color: #1f6f9f; font-weight: 600; }
a.read-more:hover { color: var(--amber-deep); }

hr { border-top-color: var(--line); }

/* Section titles: Archivo, sentence case, amber bar */
.section-title { margin-bottom: 28px; }

.section-title h1,
.section-title h2 {
    position: relative;   /* the accent bar is positioned against the heading, not the header block */
    font-size: 32px;
    font-weight: 800;
    text-transform: none;
    padding: 0 0 18px;
    margin: 0 0 8px;
}

.section-title h1:before,
.section-title h2:before {
    background-color: var(--amber);
    height: 4px;
    width: 56px;
    margin: 0 auto;
    bottom: 0;
}

.section-title.text-left h1:before,
.section-title.text-left h2:before { margin-left: 0; }

.section-description { color: var(--ink-2); max-width: 760px; margin-left: auto; margin-right: auto; }

.page-section { padding: 64px 0; }
.page-section.light-bg,
.light-bg { background: var(--surface); }

.text-color { color: #1f6f9f; }

/* ---------------------------------------------------------------------------
   Header: top bar + navbar, both on navy
   ------------------------------------------------------------------------- */
#top-bar,
.top-bar-section.top-bar-bg-light {
    background: var(--navy);
    border: 0;
    padding-top: 0;
    padding-bottom: 0;
}

#top-bar .top-contact-right { display: none; }

#top-bar .top-social-icon {
    float: right;
    display: flex;
    gap: 32px;
    align-items: center;
    height: 42px;
    font-size: 15px;
}

.top-bar-section.top-bar-bg-light a,
#top-bar .top-social-icon a {
    color: #c9d2db;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

#top-bar .top-social-icon a:hover,
#top-bar .top-social-icon a:focus { color: var(--amber); }
#top-bar .top-social-icon a i { padding: 0; font-size: 15px; color: var(--amber); }

.dark-header .navbar,
.sticky-wrapper.is-sticky .navbar {
    background: var(--navy);
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    min-height: 88px;
}

.dark-header .navbar .container { position: relative; }

.navbar-header { display: flex; align-items: center; min-height: 88px; }

.navbar-header .navbar-brand {
    height: auto;
    padding: 0;
    margin-left: 0 !important;
    display: flex;
    align-items: center;
}

.navbar-header .navbar-brand img.site_logo,
.top-logo-left-header .navbar-brand > img {
    display: block;
    height: 60px;
    width: auto;
    max-width: none;
}

/* Menu items */
.navbar-default .navbar-nav > li > a,
.dark-header .navbar-default .navbar-nav > li > a {
    position: relative;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--on-navy);
    padding: 34px 12px;
    line-height: 20px;
    white-space: nowrap;
}

/* one hover rule for every link in the header: text turns amber, nothing moves */
.navbar-default .navbar-nav > li.is-active > a { color: #ffffff; }

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li.open > a,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover,
header .nav .open > a.highlighteds,
.navbar-default .navbar-nav > li > a.highlighted,
.navbar-default .navbar-nav > li.is-active > a:hover {
    color: var(--amber);
    background: transparent;
}

/* current page: one static rule under the label */
.navbar-default .navbar-nav > li.is-active > a:after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 26px;
    height: 2px;
    background: rgba(255, 255, 255, .5);
}

/* items with a submenu get a small chevron */
.navbar-default .navbar-nav > li > a.has-submenu { padding-right: 26px; }
.navbar-default .navbar-nav > li > a.has-submenu:before {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: .7;
}
.navbar-default .navbar-nav > li.is-active > a.has-submenu:after { right: 26px; }

/* Desktop: logo left, menu as a group on the right */
@media (min-width: 992px) {
    .dark-header .navbar .row > .col-md-12 { display: flex; align-items: center; }
    .dark-header .navbar-header { float: none; flex: 0 0 auto; }
    .dark-header .navbar-collapse,
    .dark-header .navbar-collapse.collapse {
        display: flex !important;
        flex: 1 1 auto;
        justify-content: flex-end;
        padding: 0;
        overflow: visible;
    }
    .top-logo-left-header ul.navbar-nav,
    .dark-header ul.navbar-nav {
        width: auto !important;
        float: none;
        display: flex;
        align-items: center;
        margin: 0 0 0 auto;
    }
    .dark-header ul.navbar-nav > li { float: none; flex: 0 0 auto; width: auto; }
    .top-logo-left-header .navbar-nav .navbar-contact { float: none; }
    .dark-header ul.navbar-nav > li.nav-home { display: none; }

    /* compact bar once it sticks */
    .sticky-wrapper.is-sticky .navbar { min-height: 64px; box-shadow: 0 6px 24px rgba(0, 0, 0, .35); }
    .sticky-wrapper.is-sticky .navbar-header { min-height: 64px; }
    .sticky-wrapper.is-sticky .navbar-brand img.site_logo { height: 42px; }
    .sticky-wrapper.is-sticky .navbar-default .navbar-nav > li > a { padding-top: 22px; padding-bottom: 22px; }
    .sticky-wrapper.is-sticky .navbar-default .navbar-nav > li.is-active > a:after { bottom: 16px; }
    .sticky-wrapper.is-sticky .navbar-nav > li.taktos-nav > a { padding-top: 20px; padding-bottom: 20px; }
}

/* Taktos item keeps its branded face but sits on the same baseline */
.navbar-nav > li.taktos-nav > a { padding-top: 32px; padding-bottom: 32px; }
.taktos-nav .tk-name { font-size: 16px !important; }
.taktos-nav > a:hover .tk-name, .taktos-nav > a:hover .tk-name b { color: var(--amber) !important; }

/* Get In Touch: the one amber button in the header */
li.navbar-contact {
    background: transparent;
    padding: 0;
    margin-left: 14px;
    display: flex;
    align-items: center;
}

.navbar-contact a,
.navbar-default .navbar-nav > li.navbar-contact > a {
    background: var(--amber);
    color: var(--amber-ink) !important;
    padding: 11px 20px;
    border-radius: 3px;
    line-height: 18px;
}

.navbar-default .navbar-nav > li.navbar-contact > a:after { display: none; }

.navbar-contact a:hover,
.navbar-default .navbar-nav > li.navbar-contact > a:hover,
.navbar-default .navbar-nav > li.navbar-contact > a:focus {
    background: #ffc855;
    color: var(--amber-ink) !important;
}

/* Dropdowns and the mega menu */
.dark-header .dropdown-menu,
.mega-menu .dropdown-menu,
.dropdown-menu {
    background: var(--navy-2);
    border: 0;
    border-top: 3px solid var(--amber);
    border-radius: 0 0 3px 3px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .4);
    margin-top: 0;
    padding: 8px 0;
    min-width: 260px;
}

.dropdown-menu > li > a,
.dark-header .dropdown-menu > li > a {
    color: var(--on-navy);
    padding: 10px 22px;
    font-size: 15px;
    white-space: nowrap;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    background: rgba(255, 255, 255, .06);
    color: var(--amber);
}

/* hide the theme's icon-font glyphs inside menus */
.dropdown-menu > li > a > i,
.page-links div a i { display: none; }

/* mega menu aligns with the container, not the window */
.mega-menu .dropdown-menu {
    left: 0;
    right: 0;
    min-width: 0 !important;
    max-width: none !important;
    padding: 28px 32px 24px;
}

.mega-menu .dropdown-menu > li { padding: 0; }

.mega-menu .page-links + h6.title { margin-top: 22px !important; }   /* second group stacked in a menu column */

.mega-menu h6.title {
    font-family: var(--font-mono) !important;
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--amber);
    font-weight: 500;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--navy-line);
}

.dark-header .page-links div a,
.page-links div a {
    display: block;
    color: var(--on-navy);
    font-size: 15px;
    line-height: 1.4;
    padding: 6px 0;
}

.page-links div a:hover,
.page-links div a:focus { color: var(--amber); }

/* ---------------------------------------------------------------------------
   Home hero
   ------------------------------------------------------------------------- */
main, .hero, .page-header { clear: both; }   /* the floated nav column can overhang its bar by a pixel; never let the hero sit beside it */
.hero {
    position: relative;
    background: var(--navy);
    color: var(--on-navy);
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    background: url(../img/bg/led_assembly_darkroom.webp) center center / cover no-repeat;
    opacity: .82;
}

.no-webp .hero-media { background-image: url(../img/bg/led_assembly_darkroom.jpg); }

.hero-media:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 24, 30, .92) 0%, rgba(20, 24, 30, .58) 45%, rgba(20, 24, 30, .05) 78%);
}

.hero .container { position: relative; z-index: 1; }

.hero-content {
    max-width: 100%;
    padding: 96px 0 72px;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--amber);
    margin: 0 0 18px;
}

.hero h1 {
    text-align: left;
    font-size: clamp(34px, 4.3vw, 58px);
    font-weight: 800;
    line-height: 1.02;
    color: #ffffff;
    margin: 0 0 18px;
    text-wrap: balance;
}

.hero .hero-subtitle {
    font-family: var(--font-body) !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: var(--on-navy) !important;
    text-align: left !important;
    margin: 0 0 28px !important;
    max-width: 600px;
    text-transform: none !important;
    letter-spacing: 0;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn,
.btn.big {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    padding: 14px 26px;
    border-radius: 3px;
    border: 1.5px solid transparent;
    transition: background .15s linear, color .15s linear, border-color .15s linear;
}

.btn-primary,
.btn-default,
.btn-rfq,
.btn-black,
.btn-amber {
    background: var(--amber);
    color: var(--amber-ink) !important;
    border-color: var(--amber);
}

.btn-primary:hover, .btn-primary:focus,
.btn-default:hover, .btn-default:focus,
.btn-rfq:hover, .btn-rfq:focus,
.btn-black:hover, .btn-black:focus,
.btn-amber:hover, .btn-amber:focus {
    background: #ffc855;
    border-color: #ffc855;
    color: var(--amber-ink) !important;
    padding: 14px 26px;
}

.btn-white,
.btn-outline-light {
    background: transparent;
    color: #ffffff !important;
    border-color: var(--on-navy);
}

.btn-white:hover, .btn-white:focus,
.btn-outline-light:hover, .btn-outline-light:focus {
    background: rgba(255, 255, 255, .1);
    color: #ffffff !important;
    border-color: #ffffff;
}

.btn-outline-dark {
    background: transparent;
    color: var(--ink) !important;
    border-color: var(--ink);
}

.btn-outline-dark:hover, .btn-outline-dark:focus { background: var(--ink); color: #ffffff !important; }

.btn-primary:focus-visible, .btn-default:focus-visible, .btn-rfq:focus-visible,
.btn-white:focus-visible, .btn-black:focus-visible {
    outline: 2px solid var(--amber);
    outline-offset: 3px;
}

/* ---------------------------------------------------------------------------
   Home: equipment tiles (replaces icon boxes)
   ------------------------------------------------------------------------- */
.tile-grid { display: flex; flex-wrap: wrap; margin: 0 -12px; }

.tile {
    padding: 0 12px 24px;
}

.tile > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
    color: var(--ink);
    transition: border-color .15s linear, box-shadow .15s linear, transform .15s ease;
}

.tile > a:hover,
.tile > a:focus {
    border-color: var(--amber);
    box-shadow: 0 10px 28px rgba(23, 32, 43, .10);
    transform: translateY(-2px);
    color: var(--ink);
}

.tile img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.tile-body { padding: 18px 20px 22px; }

.tile h3,
.tile .equipment-title {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--ink);
}

.tile p,
.tile div.tile-text {
    font-size: 15.5px;
    line-height: 1.5;
    color: var(--ink-2);
    margin: 0;
}

/* Home: about + services + standard products */
#company h2 {
    font-size: 26px;
    font-weight: 700;
    max-width: 820px;
    margin: 0 auto 18px;
    text-wrap: balance;
}

#services .service-title,
#standardproducts .product-title {
    font-size: 20px;
    margin: 14px 0 8px;
}

#services .service-title a,
#standardproducts .product-title a { color: var(--ink); }

#services .service-title a:hover,
#standardproducts .product-title a:hover { color: var(--amber-deep); }

#services figure img {
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    background: var(--surface);
    padding: 0;
}

/* Standard products: renders sit on white, no frame, uniform height */
#standardproducts figure img,
#service .opacity img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    border: 0;
    padding: 0;
    background: var(--surface);
}
#standardproducts .row.margin-40 { background: var(--surface); margin-left: 0; margin-right: 0; padding: 24px 0 8px; }
#service .opacity img { height: 320px; }
#service h5 a, #service h5 a:visited, #standardproducts .product-title a:visited { color: var(--ink); }
#service h5 a:hover, #service h5 a:focus { color: var(--amber-deep); }

.standard-item { color: var(--ink-2); font-size: 15.5px; }

/* ---------------------------------------------------------------------------
   Inner page title band
   ------------------------------------------------------------------------- */
.page-header,
.page-header.mini {
    background: var(--navy);
    border-top: 0;
    padding: 18px 0;
    margin: 0;
}

.page-header .col-md-12 { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.page-header h1,
.page-header .title {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--on-navy-muted);
    text-align: left;
    float: none;
    position: static;
}

.page-header .breadcrumb > li + li:before { color: var(--navy-line); content: "/"; padding: 0 8px; }
.page-header .breadcrumb a { color: var(--on-navy-muted); }
.page-header .breadcrumb a:hover { color: #ffffff; }
.page-header .breadcrumb > .active { color: #ffffff; }

/* ---------------------------------------------------------------------------
   Inner pages: sidebar, project lists, spec tables, custom grid
   ------------------------------------------------------------------------- */
.sidebar .widget-title h3 {
    font-family: var(--font-mono) !important;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
    margin-bottom: 10px;
}

.list-group-item {
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    color: var(--ink-2);
    font-size: 15px;
    padding: 9px 0 9px 32px;
}

.list-group-item:hover,
.list-group-item:focus,
.list-group-item.active {
    color: var(--ink);
    background: transparent;
    border-color: var(--line-soft);
}

.list-group-item:before { color: var(--amber); left: 12px; top: 10px; }

.project-table {
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 15px;
}

.project-table tr th {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
    padding: 10px 12px;
    border-bottom: 2px solid var(--ink);
    background: var(--ground);
    font-weight: 500;
}

.project-table tr td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--line-soft);
    font-variant-numeric: tabular-nums;
}

.project-table tr td:first-child { font-weight: 600; color: var(--ink); }
.project-table tr:last-child td { border-bottom: 0; }

.custom-equipment a { width: auto; height: auto; display: block; }
.custom-equipment img { width: 100%; height: 300px; object-fit: cover; display: block; }

.custom-equipment .title {
    opacity: .78;
    background: var(--navy);
    border: 0;
    height: 56px;
    margin-top: -56px;
    position: relative;
}

.custom-equipment h5 {
    font-family: var(--font-display) !important;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    top: -38px;
}

.post-img.thumbnail,
.thumbnail {
    border-color: var(--line);
    border-radius: 0;
    padding: 6px;
    background: var(--surface);
}

.caption small { color: var(--ink-3); }

.list-style li { color: var(--ink-2); font-size: 16px; line-height: 1.5; margin-bottom: 6px; }
.list-style { padding-left: 18px; }

/* Text on the dark photo bands (Industries Served, Products Built For, Technical Knowledge) */
.white, .white h1, .white h2, .white h3, .white h4, .white h5, .white h6, .white .title,
.section-title.white h2, .item-box.hover-white .title { color: #ffffff; }
.image-bg.content-in + .container { position: relative; z-index: 1; }

/* About: values / vision / mission band */
.values { color: var(--on-navy); }
.values1 { background: var(--navy); }
.values2 { background: var(--navy-2); }
.values3 { background: var(--navy); }
.values h2 { color: #ffffff; }
.values h4 { color: var(--amber); font-weight: 600; }
.values hr { border-color: var(--navy-line); }
.values span.icons { color: rgba(255, 178, 36, .10); }
.en-values .col-md-4 + .col-md-4 .values { border-left: 1px solid var(--navy-line); }

/* Services timeline: dark headings, white ring on the photos */
.timeliner .timeline-heading h4.subheading { color: var(--ink); text-transform: none; font-size: 22px; }
.timeliner > li .timeline-image { border: 4px solid var(--surface); background: var(--surface); box-shadow: 0 2px 10px rgba(23, 32, 43, .12); }
.timeliner > li .timeline-image img { border: 0; }

/* Logos on white backgrounds blend into the page */
img[src$="zagolglobe.png"],
img[src$="made-in-the-usa.png"] { mix-blend-mode: multiply; }

/* Vendor and client logo strips: white-background logo files blend into the page */
.vendor-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 40px; }
.vendor-list a { display: block; padding: 0; }
.vendor-list img {
    padding: 0;
    width: 150px;
    height: 110px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: grayscale(1);
    opacity: .75;
}
.vendor-list a:hover img { filter: none; opacity: 1; }

/* Dark image bands on About / Services / Standard keep their photos */
.image-bg + .container .section-title h2:before { background-color: var(--amber); }

/* ---------------------------------------------------------------------------
   Quote band + footer
   ------------------------------------------------------------------------- */
.get-a-quote {
    margin-top: 0;
    background: var(--navy);
    border-top: 4px solid var(--amber);
}

.overbanner {
    background: transparent;
    padding: 36px 0;
    text-align: left;
}

.overbanner .row { display: flex; align-items: center; flex-wrap: wrap; }
.overbanner .col-md-8 { flex: 1 1 auto; }
.overbanner .col-md-1 { flex: 0 0 auto; width: auto; }

.get-a-quote h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.get-a-quote:hover a,
.btn-rfq,
.btn-rfq:hover { padding: 14px 28px; border-radius: 3px; font-size: 15px; }

#footer { color: var(--ink-2); }

#footer .footer-widget {
    background: var(--ground);
    border-top: 1px solid var(--line);
    padding: 40px 0 24px;
    line-height: 1.55;
}

#footer .widget { font-size: 15px; }

#footer .footer-widget .widget-title { padding-top: 0; border-bottom: 0; }   /* the heading below draws its own rule; the theme drew a second one on the wrapper */

#footer .widget-title h3 {
    font-family: var(--font-mono) !important;
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
    font-weight: 500;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

#footer .widget p { margin-bottom: 12px; }
#footer .widget strong { color: var(--ink); font-weight: 600; }
#footer .widget a { color: var(--ink-2); }
#footer .widget a:hover { color: var(--amber-deep); }

.social-icon.gray-bg a,
.page-scroll.gray-bg a { background: transparent; border: 0; box-shadow: none; }

.gray-bg i {
    background: var(--surface);
    color: var(--ink-2);
    border: 1px solid var(--line);
}

.gray-bg i:hover,
.social-icon.gray-bg a:hover i {
    background: var(--amber);
    color: var(--amber-ink);
    border-color: var(--amber);
}

#footer .copyright,
#footer .copyright div,
#footer .copyright a {
    background: var(--navy);
    border-top: 0;
    color: #c9d2db !important;
    font-size: 14px;
    padding: 20px 0;
}
#footer .copyright div { background: transparent; padding: 0 15px; }
#footer .copyright a { background: transparent; padding: 0; }
#footer .copyright .page-scroll a { display: inline-block; }

#footer .copyright .gray-bg i {
    background: transparent;
    border: 1px solid #4a5665;
    color: #c9d2db;
}

#footer .copyright .gray-bg i:hover { background: var(--amber); color: var(--amber-ink); border-color: var(--amber); }

/* ---------------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------------- */
.form-control,
input[type=text], input[type=email], textarea {
    border: 1px solid var(--line);
    border-radius: 3px;
    color: var(--ink);
    background: var(--surface);
    box-shadow: none;
    font-size: 16px;
}

.form-control:focus,
textarea:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 178, 36, .25); }

/* ---------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1399px) {
    .navbar-default .navbar-nav > li > a,
    .dark-header .navbar-default .navbar-nav > li > a { padding-left: 10px; padding-right: 10px; font-size: 14px; letter-spacing: .02em; }
    .navbar-default .navbar-nav > li.is-active > a:after { left: 10px; right: 10px; }
    .navbar-default .navbar-nav > li > a.has-submenu { padding-right: 24px; }
    .navbar-default .navbar-nav > li > a.has-submenu:before { right: 10px; }
    .navbar-default .navbar-nav > li.is-active > a.has-submenu:after { right: 24px; }
    .taktos-nav .tk-name { font-size: 15px !important; }
}
@media (max-width: 1199px) {
    .navbar-default .navbar-nav > li > a,
    .dark-header .navbar-default .navbar-nav > li > a { padding-left: 8px; padding-right: 8px; font-size: 13px; }
    .navbar-default .navbar-nav > li > a.has-submenu { padding-right: 20px; }
    .navbar-default .navbar-nav > li > a.has-submenu:before { right: 8px; }
    .navbar-default .navbar-nav > li.is-active > a.has-submenu:after { right: 20px; }
    li.navbar-contact { margin-left: 8px; }
    .navbar-contact a,
    .navbar-default .navbar-nav > li.navbar-contact > a { padding: 10px 14px; }
}

@media (max-width: 991px) {
    .hero h1 { font-size: clamp(32px, 4.6vw, 44px); }
    .hero .hero-subtitle { font-size: 19px !important; }
    .hero-content { padding: 72px 0 56px; }
    .tile img { height: 190px; }
    .get-a-quote h2 { font-size: 24px; margin-bottom: 16px; }
    .page-header h1, .page-header .title { font-size: 24px; }
    .navbar-header { min-height: 72px; }
    .navbar-header .navbar-brand img.site_logo { height: 48px; }

    .navbar-default .navbar-nav > li.is-active > a:after,
    .navbar-default .navbar-nav > li > a.has-submenu:before { display: none; }
    /* mobile full-screen menu (responsive.css) recoloured */
    .navbar-collapse,
    .dark-header .navbar-collapse,
    .navbar-default .navbar-collapse,
    .navbar-default .navbar-collapse.collapse,
    .navbar-default .navbar-collapse.collapse.in { background: rgba(20, 24, 30, .98) !important; }
    .navbar-nav > li > a {
        font-family: var(--font-display) !important;
        border-radius: 3px !important;
    }
    .navbar-nav > li > a:hover,
    .navbar-nav > li > a:focus { border-color: var(--amber) !important; }
    .navbar-contact,
    .navbar-contact a,
    .navbar-nav > li.navbar-contact,
    .navbar-nav > li.navbar-contact > a,
    .navbar-default .navbar-nav > li.navbar-contact > a,
    .dark-header .navbar-default .navbar-nav > li.navbar-contact > a,
    .navbar-collapse.in .navbar-nav > li.navbar-contact > a { background: var(--amber) !important; border-color: var(--amber) !important; color: var(--amber-ink) !important; border-radius: 3px !important; }
    .navbar-contact a:hover,
    .navbar-contact a:focus,
    .navbar-nav > li.navbar-contact > a:hover,
    .navbar-nav > li.navbar-contact > a:focus,
    .dark-header .navbar-default .navbar-nav > li.navbar-contact > a:hover,
    .dark-header .navbar-default .navbar-nav > li.navbar-contact > a:focus { background: #ffc855 !important; border-color: #ffc855 !important; color: var(--amber-ink) !important; }
    .navbar-toggle { border-color: var(--on-navy-muted) !important; margin-top: 14px !important; }
    .mega-menu h6.title { color: var(--amber) !important; }
}

@media (max-width: 767px) {
    body { font-size: 16px; }
    .page-section { padding: 44px 0; }
    .hero { min-height: 520px; }
    .hero h1 { font-size: clamp(30px, 8.6vw, 36px); }
    .hero .hero-subtitle { font-size: 17px !important; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .section-title h1, .section-title h2 { font-size: 26px; }
    #top-bar .top-social-icon { float: none; justify-content: center; gap: 18px; font-size: 14px; height: 40px; }
    .overbanner { text-align: center; }
    .overbanner .row { justify-content: center; }
    .page-header { padding: 14px 0; }
    .page-header .breadcrumb { display: none; }
    .project-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .project-table tr td, .project-table tr th { white-space: nowrap; }
    .project-table tr td:first-child, .project-table tr th:first-child { white-space: normal; min-width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
    .tile > a, .btn { transition: none; }
    .tile > a:hover { transform: none; }
}

/* theme drew small triangles under the title band */
.page-header:before, .page-header:after { display: none; }

/* Forms: notices, file label, honeypot */
.form-notice { padding: 12px 14px; border-radius: 3px; margin-bottom: 14px; font-size: 15px; }
.form-notice-ok { background: #e2f2e8; color: #2f5d43; border: 1px solid #b9dfc8; }
.form-notice-err { background: #fbe6e3; color: #7a2a22; border: 1px solid #f1c3bd; }
.form-file-label { display: block; font-size: 14px; color: var(--ink-2); margin: 4px 0 6px; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.register-form .form-control { margin-bottom: 12px; }

/* ---------------------------------------------------------------------------
   Request for Quotation form
   ------------------------------------------------------------------------- */
.rfq-form { max-width: 720px; }
.rfq-required { font-size: 14px; color: var(--ink-3); margin: 0 0 18px; }
.req { color: var(--amber-deep); font-weight: 700; }
.rfq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.rfq-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.rfq-field { margin: 0 0 18px; min-width: 0; }
.rfq-field label, .rfq-choices legend { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.rfq-choices legend { border: 0; padding: 0; margin-bottom: 8px; }
.rfq-choices { border: 0; padding: 0; }
.rfq-choice { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 400 !important; margin: 0 22px 8px 0 !important; font-size: 16px !important; cursor: pointer; }
.rfq-choice input { margin: 0; width: 18px; height: 18px; accent-color: var(--amber); }
.rfq-form input[type="text"], .rfq-form input[type="email"], .rfq-form input[type="tel"], .rfq-form textarea {
    display: block; width: 100%; min-height: 46px; padding: 10px 12px; font-size: 16px; line-height: 1.4;
    color: var(--ink); background: var(--surface); border: 1px solid #c3ccd6; border-radius: 3px; box-shadow: none;
}
.rfq-form textarea { min-height: 160px; resize: vertical; }
.rfq-form input:focus, .rfq-form textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 178, 36, .3); }
.rfq-form input[type="file"] { display: block; font-size: 15px; padding: 8px 0; }
.rfq-hint { font-size: 14px; color: var(--ink-3); margin-top: 4px; }
.has-error label, .has-error legend { color: var(--red, #b83a2f); }
.has-error input, .has-error textarea { border-color: #d9534f; }
.rfq-actions { margin-top: 8px; }
.rfq-actions .btn { min-width: 180px; }
.rfq-aside { margin-top: 4px; }
.rfq-card { background: var(--surface); border: 1px solid var(--line); padding: 20px 22px; margin-bottom: 18px; font-size: 15px; color: var(--ink-2); }
.rfq-card h3.title { font-family: var(--font-mono) !important; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.rfq-card p { margin-bottom: 10px; } .rfq-card p:last-child { margin-bottom: 0; }
.rfq-card strong { color: var(--ink); font-weight: 600; }
.rfq-done h2 { font-size: 26px; margin-bottom: 8px; }
.rfq-summary { max-width: 720px; margin: 12px 0 24px; }
.rfq-summary td:first-child { width: 220px; }
.form-notice a { color: inherit; font-weight: 600; }
@media (max-width: 767px) {
    .rfq-row, .rfq-row-3 { grid-template-columns: 1fr; }
    .rfq-aside { margin-top: 32px; }
    .rfq-actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------------------
   Services: project walkthrough
   ------------------------------------------------------------------------- */
.process-section { padding-top: 48px; }
.process-intro { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 820px; margin: 0 0 48px; }
.process-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.process-rail { position: sticky; top: 88px; }
[id] { scroll-margin-top: 92px; }   /* anchor targets clear the sticky header */
@media (max-width: 991px) { [id] { scroll-margin-top: 76px; } }
.process-rail-title { font-family: var(--font-mono) !important; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin: 0 0 14px; }
.process-rail ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.process-rail li { margin: 0; }
.process-rail a { display: flex; gap: 12px; align-items: baseline; padding: 9px 0 9px 18px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-3); font-size: 15px; line-height: 1.3; }
.process-rail a:hover { color: var(--ink); }
.process-rail a.is-current { color: var(--ink); border-left-color: var(--amber); font-weight: 600; }
.process-rail-no { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); flex: 0 0 auto; }
.process-rail a.is-current .process-rail-no { color: var(--amber-deep); }
.process-steps { display: flex; flex-direction: column; }
.process-step { display: grid; grid-template-columns: 56px minmax(0, 1fr) 220px; gap: 0 28px; padding: 36px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.process-step:first-child { border-top: 0; padding-top: 8px; }
.process-step-no { font-family: var(--font-mono); font-size: 14px; color: var(--amber-deep); padding-top: 8px; }
.process-step h2 { font-size: 24px; font-weight: 800; margin: 0 0 6px; border: 0; padding: 0; }
.process-lead { font-size: 17px; color: var(--ink-2); margin: 0 0 12px; }
.process-step-body p { font-size: 16.5px; line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.process-step-body p:last-child { margin-bottom: 0; }
.process-figure { margin: 4px 0 0; }
.process-figure img { width: 100%; height: auto; border: 1px solid var(--line); background: var(--surface); }
.process-also { margin-top: 12px; padding: 24px 28px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--amber); }
.process-also h2 { font-size: 20px; font-weight: 700; margin: 0 0 8px; border: 0; padding: 0; }
.process-also p { margin: 0; color: var(--ink-2); font-size: 16px; }
.knowledge-section { position: relative; background: var(--navy); color: var(--on-navy); overflow: hidden; }
.knowledge-section:before { content: ""; position: absolute; inset: 0; background: url("../img/services/web/gripper-bg.jpg") center / cover no-repeat; opacity: .22; }
.knowledge-section:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,30,41,.35) 0%, rgba(22,30,41,.85) 100%); }
.knowledge-section .container { position: relative; z-index: 1; }
.knowledge-section .section-title h2 { color: #ffffff; }
.knowledge-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.knowledge-group h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; color: #ffffff; }
.knowledge-group p { font-size: 16px; line-height: 1.55; color: #c9d2db; margin: 0 0 16px; }
.knowledge-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.knowledge-tags li { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #c9d2db; font-size: 14px; line-height: 1.3; padding: 7px 12px; border-radius: 3px; }
.knowledge-tags li:has(a) { padding: 0; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.knowledge-tags li a { display: block; padding: 7px 12px; color: #ffffff; }
.knowledge-tags li a:hover, .knowledge-tags li a:focus { color: var(--amber); }
.knowledge-tags li:has(a:hover), .knowledge-tags li:has(a:focus) { border-color: var(--amber); }
@media (max-width: 991px) { .knowledge-groups { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 991px) {
    .process-layout { grid-template-columns: 1fr; gap: 28px; }
    .process-rail { position: static; }
    .process-rail ol { display: flex; flex-wrap: wrap; gap: 4px 0; border-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
    .process-rail a { padding: 6px 12px 6px 0; border-left: 0; margin: 0; }
    .process-rail a.is-current { border-left: 0; }
    .process-rail-name { display: none; }
    .process-rail-no { font-size: 14px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 3px; }
    .process-rail a.is-current .process-rail-no { border-color: var(--amber); background: var(--amber); color: var(--amber-ink); }
    .process-step { grid-template-columns: 44px minmax(0, 1fr); }
    .process-figure { grid-column: 2; max-width: 360px; }
}
@media (max-width: 767px) {
    .process-intro { font-size: 17px; }
    .process-step { grid-template-columns: 1fr; padding: 28px 0; }
    .process-step-no { padding-top: 0; }
    .process-figure { grid-column: 1; }
}

/* ---------------------------------------------------------------------------
   Custom Equipment directory
   ------------------------------------------------------------------------- */
.catalog { padding-top: 40px; }
.catalog-intro { font-size: 19px; line-height: 1.55; color: var(--ink-2); max-width: 780px; margin: 0 0 40px; }
.catalog-group { margin-bottom: 44px; }
.catalog-group:last-child { margin-bottom: 8px; }
.catalog-label { font-family: var(--font-mono) !important; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin: 0 0 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.catalog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.catalog-row { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.catalog-thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); border: 1px solid var(--line); }
.catalog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.catalog-body h3 { font-size: 19px; font-weight: 700; margin: 0 0 4px; }
.catalog-body h3 a { color: var(--ink); } .catalog-body h3 a:hover { color: var(--amber-deep); }
.catalog-tagline { font-size: 15px; color: var(--ink-3); margin: 0 0 10px; }
.catalog-projects { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.catalog-projects li a { display: inline-block; font-size: 14px; line-height: 1.3; padding: 5px 10px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--ink-2); }
.catalog-projects li a:hover { border-color: var(--amber); color: var(--ink); }
@media (max-width: 991px) { .catalog-list { grid-template-columns: 1fr; gap: 0; } .catalog-row { grid-template-columns: 140px minmax(0, 1fr); } }
@media (max-width: 600px) { .catalog-row { grid-template-columns: 108px minmax(0, 1fr); gap: 14px; padding: 18px 0; } .catalog-body h3 { font-size: 17px; } .catalog-tagline { font-size: 14px; } }

/* ---------------------------------------------------------------------------
   Standard product pages: drawings, model cards, spec tables on phones
   ------------------------------------------------------------------------- */
.drawing-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--surface); border: 1px solid var(--line); margin: 0 0 16px; }
.drawing-scroll img { display: block; width: 100%; max-width: none; min-width: 640px; height: auto; }
.model-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 8px 0 24px; }
@media (max-width: 1199px) { .model-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.model-card { background: var(--surface); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.model-card h3 { font-family: var(--font-mono) !important; font-size: 12px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin: 0 0 12px; min-height: 54px; display: flex; align-items: flex-end; justify-content: center; }
.model-card .model-fig { height: 270px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 14px; }
.model-card img { height: 240px; width: auto; }
.model-card .model-fig-tall img { height: 265px; }   /* S-Series picture includes the mirror above the machine; taller so the machine itself matches the others */
.model-card p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; text-align: left; }
.project-table th.spec-label-col { width: 40%; }
@media (max-width: 991px) { .model-cards { grid-template-columns: 1fr; } .model-card { flex-direction: row; text-align: left; align-items: flex-start; gap: 18px; } .model-card h3 { flex: 0 0 auto; writing-mode: horizontal-tb; } .model-card .model-fig { height: auto; margin: 0; flex: 0 0 auto; } .model-card img { height: 160px; margin: 0; } .model-card .model-fig-tall img { height: 176px; } }
@media (max-width: 767px) {
    .model-card { flex-wrap: wrap; } .model-card h3 { flex-basis: 100%; }
    .project-table th.spec-label-col { width: auto; min-width: 150px; }
    .drawing-scroll img { min-width: 720px; }
}

/* Home: capability index (replaces the photo tiles) */
.cap-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); margin-top: 8px; }
.cap-item { display: block; padding: 22px 0 20px; border-bottom: 1px solid var(--line); color: var(--ink); }
.cap-item h3, .cap-item h3.equipment-title { font-size: 18px !important; font-weight: 700 !important; margin: 0 0 6px; color: var(--ink); }
.cap-item p { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.cap-item:hover h3, .cap-item:focus h3 { color: var(--amber-deep); }
.cap-item:hover p { color: var(--ink); }
#customequipment .text-center { margin-top: 28px; }
@media (max-width: 991px) { .cap-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; } }
@media (max-width: 600px) { .cap-index { grid-template-columns: 1fr; } .cap-item { padding: 16px 0; } }

/* Home: one photo + nine capability names */
.cap-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; margin-top: 8px; }
.cap-photo { margin: 0; }
.cap-photo img { width: 100%; height: auto; display: block; border: 1px solid var(--line); }
.cap-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.cap-links li { border-bottom: 1px solid var(--line); }
.cap-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--ink); }
.cap-links a:after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--ink-3); border-top: 2px solid var(--ink-3); transform: rotate(45deg); flex: 0 0 auto; }
.cap-links a:hover { color: var(--amber-deep); } .cap-links a:hover:after { border-color: var(--amber-deep); }
@media (max-width: 991px) { .cap-split { grid-template-columns: 1fr; gap: 24px; } .cap-links { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cap-links { grid-template-columns: 1fr; } .cap-links a { padding: 11px 0; font-size: 15px; } }

/* Home: featured machines */
.featured-machines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.featured-machine { display: block; color: var(--ink); }
.featured-machine img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: 1px solid var(--line); background: var(--navy); }
.featured-name { display: block; padding: 12px 2px 0; font-family: var(--font-display); font-size: 14.5px; letter-spacing: -.01em; font-weight: 700; line-height: 1.3; color: var(--ink); }
.featured-machine:hover img { border-color: var(--amber); }
.featured-machine:hover .featured-name { color: var(--amber-deep); }
@media (max-width: 991px) { .featured-machines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 480px) { .featured-machines { grid-template-columns: 1fr; } }

/* About: one readable column */
#about-us .about-lead, #about-us .about-body { width: 100%; float: none; }
#about-us .about-lead { max-width: 820px; }
#about-us .about-lead .section-title { margin-bottom: 14px; }
#about-us .about-lead p { font-size: 19px; line-height: 1.55; color: var(--ink-2); margin-bottom: 36px; }
#about-us .about-body { max-width: 820px; }
#about-us .about-body h4 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
#about-us .about-body h4:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
#about-us .about-body p { color: var(--ink-2); }
#about-us .leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 4px 0 28px; }
#about-us .leader { background: var(--surface); border: 1px solid var(--line); padding: 20px 22px; }
#about-us .leader p { margin: 0; font-size: 15.5px; }
#about-us .leader strong { display: block; font-family: var(--font-display); font-size: 17px; color: var(--ink); margin-bottom: 8px; }
#about-us .about-body br + br { display: none; }
@media (max-width: 767px) { #about-us .leaders { grid-template-columns: 1fr; } }

/* Home: category links, three-by-three like the original layout */
.cap-row { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--line); }
.cap-row li { border-bottom: 1px solid var(--line); }
.cap-row li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 2px; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--ink); }
.cap-row li a:after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--ink-3); border-top: 2px solid var(--ink-3); transform: rotate(45deg); flex: 0 0 auto; }
.cap-row li a:hover { color: var(--amber-deep); } .cap-row li a:hover:after { border-color: var(--amber-deep); }
@media (max-width: 991px) { .cap-row { grid-template-columns: 1fr 1fr; gap: 0 28px; } }
@media (max-width: 600px) { .cap-row { grid-template-columns: 1fr; } .cap-row li a { font-size: 15px; padding: 11px 2px; } }
#customequipment .text-center { margin-top: 26px; }

/* Spec sheet downloads */
.sheet-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; color: #1f6f9f; }
.sheet-link:hover { color: var(--amber-deep); }
.sheet-ico { width: 14px; height: 17px; border: 1.5px solid currentColor; border-radius: 2px; position: relative; flex: 0 0 auto; }
.sheet-ico:after { content: ""; position: absolute; left: 3px; right: 3px; top: 5px; height: 1.5px; background: currentColor; box-shadow: 0 3px 0 currentColor, 0 6px 0 currentColor; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 8px; }

/* Home: category grid with icons and blurbs, under the featured machines */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.cap-cell { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 2px 14px; padding: 22px 0 20px; border-bottom: 1px solid var(--line); color: var(--ink); align-items: start; }
.cap-cell .cap-icon { grid-row: 1 / span 2; font-size: 30px; line-height: 1; color: var(--amber-deep); margin-top: 2px; position: static; display: block; }
.cap-cell h3, .cap-cell h3.equipment-title { font-size: 17px !important; font-weight: 700 !important; margin: 0; color: var(--ink); }
.cap-cell p { font-size: 15px; line-height: 1.5; color: var(--ink-2); margin: 0; }
.cap-cell:hover h3 { color: var(--amber-deep); }
@media (max-width: 991px) { .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; } }
@media (max-width: 600px) { .cap-grid { grid-template-columns: 1fr; } .cap-cell { padding: 16px 0; } }

/* ---------------------------------------------------------------------------
   Aesthetic pass (Sept 2026): even photo rows, About facts panel, Medical Q&A,
   FAQ cards, Careers job card
   ------------------------------------------------------------------------- */
/* 1. Project photo rows: every photo in a captioned column gets the same 4:3 frame; drawings are fitted, not cropped */
.page-section div[class*="col-"]:has(> img + .caption) > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface); }
.page-section div[class*="col-"]:has(> img + .caption) > img[src$=".png"] { object-fit: contain; border: 1px solid var(--line); }
.page-section div[class*="col-"] > img + .caption { margin: 8px 0 14px; }
@media (min-width: 992px) {
    .page-section .row:has(> [class*="col-md-3"] > img + .caption) > div[class*="col-"] > img { aspect-ratio: auto; height: 300px; }
    .page-section .row:has(> [class*="col-md-3"] > img + .caption) > div[class*="col-"] > img[src$=".png"] { object-fit: contain; }
}

/* 3. About: two-thirds body, one-third facts; frames and boxes removed */
#about-us .about-lead, #about-us .about-body { max-width: none; }
#about-us .about-body { width: 100%; float: none; max-width: 900px; }
#about-us .about-body .post-img.thumbnail { border: 0; padding: 0; background: none; box-shadow: none; margin-bottom: 8px; }
#about-us .about-body .post-img.thumbnail img { width: 100%; }
#about-us .about-body .row .post-img.thumbnail img { aspect-ratio: 4 / 3; object-fit: cover; }
#about-us .leader { background: none; border: 0; border-left: 3px solid var(--amber); padding: 2px 0 2px 18px; }
/* 4. Medical: the three questions sit below the intro at full width, two columns on desktop */
.medical-qa { columns: 2; column-gap: 40px; margin-bottom: 8px; }
.medical-qa h5 { break-after: avoid; font-size: 16px; margin: 0 0 6px; }
.medical-qa p { break-inside: avoid; margin-bottom: 18px; }
@media (max-width: 767px) { .medical-qa { columns: 1; } }

/* 5. FAQ: accent bar clear of the subtitle; each topic on a light card */
.section-title .subtitle { margin-top: 26px; }
.faq-section { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 26px 32px 14px; }
.faq-section h3 { font-size: 20px; margin: 0 0 4px; }
.faq-section hr { margin: 10px 0 18px; border-top: 2px solid var(--amber); width: 36px; }
.faq-section h4 { font-size: 16.5px; margin: 18px 0 6px; }
.faq-section p { color: var(--ink-2); }
.faq-section + br { display: none; }
.faq-section { margin-bottom: 22px; }

/* 6. Careers: one job card, all sections open; matching file control */
.job-card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--amber); padding: 26px 30px 22px; margin-bottom: 24px; }
.job-card h3 { font-size: 21px; margin: 0 0 14px; }
.job-card h4 { font-family: var(--font-mono) !important; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; margin: 20px 0 8px; }
.job-card p { color: var(--ink-2); }
.job-card ol { padding-left: 20px; color: var(--ink-2); }
.job-card ol li { margin-bottom: 5px; }
#careerform input[type="file"] { display: block; width: 100%; font-size: 14px; padding: 6px 0; }
#careerform input[type="file"]::file-selector-button { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--ink); background: var(--ground); border: 1px solid var(--line); border-radius: 3px; padding: 8px 14px; margin-right: 12px; cursor: pointer; }
#careerform input[type="file"]::file-selector-button:hover { border-color: var(--amber); }

/* Standard Products: four cards across, badge kept in the intro */
#service .section-title { position: relative; }
#service .section-title p, #service .section-title + p { max-width: 720px; }
#service .std-grid { display: flex; flex-wrap: wrap; margin-top: 24px; }
#service .std-card { display: flex; flex-direction: column; margin-bottom: 30px; }
#service .std-card > * { flex: 0 0 auto; }
#service .std-card figure { background: var(--surface); border: 1px solid var(--line); padding: 10px 6px; margin: 0 0 14px; }
#service .std-card .opacity img { height: 320px; background: transparent; }
#service .std-card h5 { font-size: 18px; margin: 0 0 8px; }
#service .std-card p { font-size: 15px; line-height: 1.5; color: var(--ink-2); }
#service .std-card p:last-child { margin-top: auto; }
@media (max-width: 991px) { #service .std-card .opacity img { height: 260px; } }

/* Quote form: inline errors, optional group label, sending state */
.rfq-error { margin: 6px 0 0; font-size: 14px; color: #b83a2f; }
.rfq-optional { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 6px 0 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.btn.is-sending, #careerform .btn.is-sending { opacity: .7; cursor: progress; }

/* Sticky quick-contact bar on phones */
.mobile-cta { display: none; }
@media (max-width: 767px) {
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
    .mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; display: flex; gap: 10px; align-items: center; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--navy); border-top: 2px solid var(--amber); box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
    .mobile-cta a { font-family: var(--font-display); font-weight: 700; font-size: 15px; border-radius: 3px; padding: 12px 14px; text-align: center; text-decoration: none; }
    .mobile-cta-call { flex: 0 0 auto; color: #ffffff; border: 1.5px solid rgba(255,255,255,.55); display: inline-flex; align-items: center; gap: 8px; }
    .mobile-cta-call i { color: var(--amber); font-size: 16px; }
    .mobile-cta-quote { flex: 1 1 auto; background: var(--amber); color: var(--amber-ink); }
    .mobile-cta a:hover, .mobile-cta a:focus { color: inherit; }
    .mobile-cta-quote:hover, .mobile-cta-quote:focus { background: var(--amber-deep); color: var(--amber-ink); }
}
