/* Hicom Inc. — modern rebuild
   Palette keeps the original brand red, lightened and paired with warm neutrals. */
:root {
  --brand: #A6192E;
  --brand-dark: #7A1021;
  --brand-deep: #4F0A15;
  --brand-tint: #FBEDEF;
  --ink: #1C1F23;
  --ink-2: #4B5159;
  --ink-3: #737A84;
  --line: #E5E2DE;
  --bg: #FFFFFF;
  --bg-alt: #F7F5F2;
  --card: #FFFFFF;
  --shadow: 0 1px 2px rgba(20, 16, 14, .06), 0 10px 30px -12px rgba(20, 16, 14, .18);
  --radius: 14px;
  --max: 1180px;
  --font-head: "Barlow", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
svg { width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; color: var(--brand); margin-bottom: .6em;
}
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 46ch; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-head); font-weight: 700;
  font-size: 1rem; letter-spacing: .02em; padding: .72rem 1.25rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 1.1rem; padding: .9rem 1.6rem; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.text-link { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }

/* Top bar */
.topbar { background: var(--brand-deep); color: #F6E7E9; font-size: .88rem; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; padding: .45rem 0; align-items: center; }
.topbar a, .topbar-hours { display: inline-flex; align-items: center; gap: .4rem; color: inherit; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-hours { margin-left: auto; opacity: .85; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); }
.logo-mark { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; letter-spacing: -.01em; }
.brand-name span { color: var(--brand); }
.brand-tag { font-size: .72rem; color: var(--ink-3); letter-spacing: .04em; text-transform: uppercase; margin-top: .2rem; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.primary-nav li { position: relative; }
.primary-nav a, .primary-nav button {
  display: inline-flex; align-items: center; gap: .2rem; padding: .55rem .8rem; border-radius: 8px; font-weight: 600;
  font-size: .95rem; color: var(--ink); background: none; border: 0; font-family: inherit; cursor: pointer;
}
.primary-nav a:hover, .primary-nav button:hover, .primary-nav a.active, .primary-nav button.active { color: var(--brand); background: var(--brand-tint); }
.primary-nav .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.primary-nav .sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); padding: .4rem; display: none; flex-direction: column; align-items: stretch; gap: 0;
}
.primary-nav .sub a { display: block; padding: .55rem .75rem; border-radius: 8px; font-weight: 500; }
.primary-nav .has-sub.open .sub, .primary-nav .has-sub:focus-within .sub { display: flex; }
@media (hover: hover) { .primary-nav .has-sub:hover .sub, .primary-nav .has-sub.hovering .sub { display: flex; } }
.nav-cta { margin-left: .5rem; }
.nav-cta .btn { padding: .55rem 1.1rem; font-size: .95rem; }
.nav-cta .btn:hover { background: var(--brand-dark); color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* Hero */
.hero { position: relative; min-height: 78vh; display: grid; align-items: center; color: #fff; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(38,8,14,.92) 0%, rgba(79,10,21,.78) 40%, rgba(79,10,21,.25) 100%);
}
.hero-content { padding: 5rem 0; max-width: 680px; margin-left: calc((100% - min(100% - 32px, var(--max))) / 2); }
.hero .eyebrow { color: #F5C6CE; }
.hero h1 { color: #fff; }
.hero h1 span { color: #F5C6CE; }
.hero .lead { color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-badges li { font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); }

/* Page hero */
.page-hero { position: relative; color: #fff; padding: 4.5rem 0 3.5rem; isolation: isolate; background: var(--brand-deep); }
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(38,8,14,.94) 0%, rgba(79,10,21,.82) 45%, rgba(79,10,21,.45) 100%); }
.page-hero-short { background: linear-gradient(100deg, var(--brand-deep), var(--brand-dark)); }
.page-hero .eyebrow { color: #F5C6CE; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.88); }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head p:last-child { color: var(--ink-2); }

.service-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.service-card { flex: 1 1 280px; max-width: 360px; }
.service-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(20,16,14,.06), 0 24px 40px -16px rgba(20,16,14,.28); color: var(--ink); }
.service-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-alt); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service-card:hover .service-img img { transform: scale(1.04); }
.service-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.service-body p { color: var(--ink-2); font-size: .97rem; flex: 1; }
.service-link { color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.feature-list, .highlights { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: .7rem; }
.feature-list li, .highlights li { display: flex; gap: .6rem; align-items: flex-start; }
.feature-list svg, .highlights svg { color: var(--brand); margin-top: .25em; }
.highlights { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); background: var(--brand-tint); padding: 1.1rem 1.3rem; border-radius: var(--radius); margin-top: 0; font-weight: 500; }

.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; margin-bottom: 1.8rem; }
.quote { margin: 0; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow); }
.quote p { font-size: 1.05rem; color: var(--ink); }
.quote footer { display: flex; flex-direction: column; font-size: .92rem; color: var(--ink-3); }
.quote footer strong { color: var(--ink); }
.quote-stack { display: grid; gap: 1.4rem; }
.quote-lg p { font-size: 1.12rem; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.4rem; text-align: center; }
.stat-num { display: block; font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; color: var(--brand); line-height: 1; }
.stat-label { color: var(--ink-2); font-size: .95rem; }

/* Two column content + sidebar */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 3rem; align-items: start; }
.content p { max-width: 70ch; }
.content h2 { margin-top: 2rem; }
.sidebar { display: grid; gap: 1.2rem; position: sticky; top: 96px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .8rem; }
.side-nav { list-style: none; margin: 0; padding: 0; }
.side-nav li + li { border-top: 1px solid var(--line); }
.side-nav a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .65rem 0; color: var(--ink); font-weight: 500; }
.side-nav a svg { color: var(--brand); opacity: 0; transition: opacity .15s, transform .15s; }
.side-nav a:hover svg, .side-nav a.current svg { opacity: 1; transform: translateX(2px); }
.side-nav a.current { color: var(--brand); font-weight: 600; }
.card-brand { background: linear-gradient(145deg, var(--brand), var(--brand-deep)); color: #fff; border: 0; }
.card-brand h3 { color: #fff; }
.card-brand p { color: rgba(255,255,255,.88); font-size: .97rem; }
.card-brand .btn { width: 100%; justify-content: center; margin-bottom: .6rem; }
.side-link { color: #fff; font-size: .92rem; display: inline-flex; align-items: center; gap: .3rem; text-decoration: underline; text-underline-offset: 3px; }
.side-link:hover { color: #F5C6CE; }
.card-survey { display: flex; flex-direction: column; gap: .15rem; color: var(--ink); background: var(--bg-alt); border-style: dashed; transition: border-color .15s, background .15s; }
.card-survey:hover { border-color: var(--brand); background: var(--brand-tint); color: var(--ink); }
.survey-kicker { font-size: .85rem; color: var(--ink-3); }
.survey-title { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--brand); letter-spacing: .02em; }
.survey-cta { font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; margin-top: .3rem; }

.brands { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.brands ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.brands li { font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-2); background: var(--bg-alt); }
.inline-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; background: var(--bg-alt); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.inline-cta p { margin: 0; font-size: 1.05rem; }
.inline-figure img, .float-figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.inline-figure { margin: 1.8rem 0; }
.inline-figure img { width: 100%; max-height: 440px; object-fit: cover; object-position: 50% 42%; }
.float-figure { float: right; width: min(42%, 320px); margin: .3rem 0 1rem 1.6rem; }
.float-figure figcaption { font-size: .85rem; color: var(--ink-3); margin-top: .4rem; text-align: center; }

.timeline { list-style: none; padding: 0; margin: 2.2rem 0 0; clear: both; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.4rem 1.6rem; display: grid; gap: .15rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: .45rem; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px #fff; }
.tl-year { font-family: var(--font-head); font-weight: 800; color: var(--brand); letter-spacing: .04em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.contact-tile { background: var(--bg-alt); border-radius: var(--radius); padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .15rem; }
.contact-tile > svg { width: 1.5rem; height: 1.5rem; color: var(--brand); margin-bottom: .4rem; }
.contact-tile h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem; color: var(--ink-3); }
.contact-tile a { font-weight: 600; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; margin-bottom: 2.5rem; }
.team-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow); }
.avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto .9rem; display: grid; place-items: center; background: linear-gradient(145deg, var(--brand), var(--brand-deep)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; }
.team-card h3 { margin-bottom: .1rem; }
.team-card .role { color: var(--ink-3); font-size: .92rem; margin-bottom: .6rem; }
.team-card a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .95rem; }

/* Forms */
.form { display: grid; gap: 1rem; max-width: 720px; }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 1rem; padding: .7rem .85rem; border: 1px solid #CFCAC4; border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.form textarea { resize: vertical; }
.form fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 1rem 1.1rem; margin: 0; }
.form legend { font-weight: 600; font-size: .95rem; padding: 0 .4rem; }
.form legend small { font-weight: 400; color: var(--ink-3); }
.choices { display: grid; gap: .5rem; }
.choices label { grid-template-columns: auto 1fr; align-items: center; font-weight: 500; }
.choices input { width: 1.15rem; height: 1.15rem; accent-color: var(--brand); }
.stars { display: flex; gap: .5rem; }
.star { position: relative; }
.star input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.star span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; border: 1px solid #CFCAC4; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.star input:checked + span { background: var(--brand); color: #fff; border-color: var(--brand); }
.star input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-note { font-size: .85rem; color: var(--ink-3); margin: 0; }
.form.card { padding: 2rem; }

/* CTA band + footer */
.cta-band { background: linear-gradient(110deg, var(--brand) 0%, var(--brand-deep) 100%); color: #fff; padding: 3.5rem 0; }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; color: rgba(255,255,255,.88); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.site-footer { background: #1A1517; color: #CFC7C9; padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; }
.site-footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #CFC7C9; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand-tag { color: #A89FA2; }
.footer-brand p { color: #A89FA2; max-width: 36ch; }
.partner-badge { display: inline-block; font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; padding: .35rem .75rem; border: 1px solid #4A3F42; border-radius: 6px; color: #fff !important; }
.contact-list li { display: flex; gap: .5rem; align-items: flex-start; }
.contact-list svg { color: var(--brand); margin-top: .25em; opacity: .9; }
.fax-label { font-weight: 600; width: 1.1em; font-size: .75rem; margin-top: .3em; color: #A89FA2; }
.footer-bottom { border-top: 1px solid #332A2D; margin-top: 2.5rem; padding-top: 1.3rem; font-size: .88rem; color: #A89FA2; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 1000px) {
  .two-col { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
  .topbar-hours { display: none; }
  .nav-toggle { display: flex; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; padding: .6rem 16px 1rem; }
  .primary-nav.open { display: block; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li > a, .primary-nav > ul > li > button { width: 100%; justify-content: space-between; padding: .8rem .6rem; font-size: 1.05rem; }
  .primary-nav .sub { position: static; display: none; border: 0; box-shadow: none; padding: 0 0 .4rem .8rem; }
  .primary-nav .has-sub.open .sub { display: flex; }
  .primary-nav .has-sub:focus-within .sub { display: none; }
  .primary-nav .has-sub.open:focus-within .sub { display: flex; }
  .nav-cta { margin: .6rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .hero { min-height: 0; }
  .hero-content { padding: 4rem 0; }
  .section { padding: 3.2rem 0; }
  .form-row { grid-template-columns: 1fr; }
  .float-figure { float: none; width: 100%; margin: 0 0 1.4rem; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .topbar-inner { gap: .3rem .9rem; font-size: .82rem; }
  .brand-tag { display: none; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .form.card { padding: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---- Logo: recreated Hicom "H" mark + Orbitron wordmark ---- */
:root { --logo-red: #C8102E; --logo-ink: #111111; --logo-fill: #FFFFFF; --logo-halo: #FFFFFF; }
.logo-mark { width: 52px; height: 52px; }
.brand { gap: .8rem; align-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: "Orbitron", var(--font-head); font-weight: 900; letter-spacing: .04em; }
.brand-name { font-size: 1.45rem; color: var(--ink); padding-bottom: .18rem; border-bottom: 2px solid var(--logo-red); }
.brand-inc { font-size: .95rem; color: var(--ink); padding-top: .22rem; }
.brand-tag { font-family: var(--font-head); font-weight: 600; font-size: .72rem; color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; margin-left: .4rem; padding-left: 1rem; border-left: 1px solid var(--line); align-self: center; max-width: 9rem; line-height: 1.25; }
.site-footer { --logo-ink: #FFFFFF; --logo-fill: #1A1517; --logo-halo: #1A1517; }
.site-footer .brand-name, .site-footer .brand-inc { color: #fff; }
.footer-tag { font-family: var(--font-head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .75rem; color: #CFC7C9 !important; margin: -.2rem 0 .8rem; }
.muted-sm { font-size: .78rem; color: #A89FA2; margin-left: .2rem; }

/* ---- Photo gallery strip ---- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #1A1517; }
.gallery figure { margin: 0; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 1.6rem 1rem .8rem; color: #fff; font-size: .9rem; font-weight: 500; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,0)); }
.team-photo { margin-top: 0; }
.team-photo img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
@media (max-width: 1000px) { .brand-tag { display: none; } }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } .gallery figure { aspect-ratio: 16 / 10; } }

.primary-nav .nav-cta a.btn { background: var(--brand); color: #fff; }
.primary-nav .nav-cta a.btn:hover { background: var(--brand-dark); color: #fff; }
@media (max-width: 860px) { .primary-nav > ul > li.nav-cta > a.btn { justify-content: center; border-radius: 999px; } }

/* ---- Product gallery (Telecom) ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; margin: 2rem 0; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-card.featured { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.product-card.featured .product-img { flex: 1 1 55%; }
.product-card.featured .product-body { flex: 1 1 45%; }
.product-img { background: #fff; padding: 1rem; display: grid; place-items: center; aspect-ratio: 4 / 3; }
.product-img img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.product-body { padding: 1rem 1.2rem 1.3rem; }
.product-body h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.product-body p { font-size: .95rem; color: var(--ink-2); margin: 0 0 .7em; }
.product-body p:last-child { margin-bottom: 0; }
.product-card.featured .product-img { align-self: stretch; aspect-ratio: auto; }
.product-tag { display: inline-block; font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; color: var(--brand); margin-bottom: .4rem; }
@media (max-width: 700px) { .product-card.featured { flex-direction: column; } }

/* ---- Video ---- */
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-section .container { max-width: 960px; }

/* ---- Phone layout: photo on top, text on a light panel (no dark overlay) ---- */
@media (max-width: 700px) {
  .hero { display: block; color: var(--ink); background: #fff; min-height: 0; }
  .hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 4 / 3; }
  .hero-media img { object-position: 55% 40%; }
  .hero-media::after { background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 28%); }
  .hero-content { padding: .5rem 0 2.5rem; margin-left: 0; width: min(100% - 32px, var(--max)); margin-inline: auto; }
  .hero .eyebrow { color: var(--brand); }
  .hero h1 { color: var(--ink); }
  .hero h1 span { color: var(--brand); }
  .hero .lead { color: var(--ink-2); }
  .hero .btn-ghost { background: #fff; color: var(--brand); border-color: var(--brand); backdrop-filter: none; }
  .hero-badges li { background: var(--brand-tint); border-color: transparent; color: var(--brand-dark); }

  .page-hero { color: var(--ink); background: #fff; padding: 0 0 1.8rem; }
  .page-hero-media { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 9; margin-bottom: 1.4rem; }
  .page-hero-media::after { background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 30%); }
  .page-hero .eyebrow { color: var(--brand); }
  .page-hero h1 { color: var(--ink); }
  .page-hero .lead { color: var(--ink-2); }
  .page-hero-short { background: var(--brand-tint); padding: 2.2rem 0; }
  .page-hero + .section { padding-top: 1.5rem; }
}

@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
