/* Troeux R&I — site styles */
:root {
  --red: #c62025;
  --red-dark: #9e181c;
  --black: #0d0d0f;
  --ink: #1f2937;
  --muted: #5b6575;
  --line: #e5e7eb;
  --bg-alt: #f4f4f4;
  --white: #fff;
  --radius: 10px;
  --max: 1160px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --font-head: "Yantramanav", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--black); }
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 3px solid var(--red);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand img { width: 190px; height: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: 10px 14px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .04em;
  text-transform: uppercase; color: #fff; text-decoration: none; border-radius: 6px;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); }
.main-nav a.nav-call { background: var(--red); color: #fff; margin-left: 8px; }
.main-nav a.nav-call:hover { background: var(--red-dark); color: #fff; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px; color: #fff;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 26px; height: 3px; background: #fff; border-radius: 2px; position: relative; transition: .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--black); border-bottom: 3px solid var(--red);
    display: none;
  }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 20px; }
  .main-nav a { padding: 14px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav a.nav-call { margin: 12px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--red); color: #fff; text-decoration: none; border: 2px solid var(--red); cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background: #fff; color: var(--black); border-color: #fff; }
.link-arrow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.link-arrow::after { content: " →"; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: var(--black) url("../images/callcenter-header.jpg") center/cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,15,.92) 0%, rgba(13,13,15,.75) 55%, rgba(13,13,15,.45) 100%); }
.hero .container { position: relative; padding: clamp(80px, 12vw, 150px) 0; }
.hero h1 { color: #fff; max-width: 760px; }
.hero .eyebrow { color: #fff; opacity: .85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.page-hero { background: var(--black); color: #fff; padding: 56px 0; border-bottom: 1px solid #222; }
.page-hero h1 { color: #fff; margin: 0; }
.page-hero p { margin: 8px 0 0; color: #cfd2d8; }
.eyebrow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--red); font-size: .85rem; margin-bottom: 10px; display: block; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--black); color: #e5e7eb; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head.center { text-align: center; margin-inline: auto; }
.rule { width: 60px; height: 4px; background: var(--red); border: 0; margin: 0 0 22px; border-radius: 2px; }
.center .rule { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

/* ---------- Cards / services ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.service-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: var(--radius); padding: 30px 24px; text-align: center; transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card svg { width: 46px; height: 46px; color: var(--red); margin: 0 auto 14px; }
.service-card h3 { margin: 0; }

.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; }
.stat-band strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3rem); color: var(--red); line-height: 1; }
.stat-band span { color: #cfd2d8; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
@media (max-width: 640px) { .stat-band { grid-template-columns: 1fr; } }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--red)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ---------- Logo strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px 56px; }
.logo-strip img { max-height: 64px; width: auto; filter: grayscale(1); opacity: .8; transition: .2s; }
.logo-strip img:hover { filter: none; opacity: 1; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.team-card img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.team-card .body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.team-card h3 { margin-bottom: 2px; }
.team-card .role { color: var(--red); font-weight: 700; font-size: .92rem; margin-bottom: 12px; }
.team-card p { color: var(--muted); font-size: .95rem; flex: 1; }

/* ---------- Bio ---------- */
.bio { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.bio-aside img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.bio-aside .role { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin: 18px 0 4px; color: var(--black); }
.bio-aside .ext a { font-weight: 600; text-decoration: none; }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; } .bio-aside { max-width: 340px; } }
.timeline { border-left: 3px solid var(--red); padding-left: 24px; margin: 28px 0; }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before { content: ""; position: absolute; left: -32px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.timeline-item h3 { margin-bottom: 2px; }
.timeline-item .meta { color: var(--muted); font-size: .92rem; margin-bottom: 10px; font-weight: 600; }
.back-link { display: inline-block; margin-top: 10px; }

/* ---------- Contact / claims ---------- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.info-list svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--red); margin-top: 2px; }
.info-list .label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.info-list a, .info-list .value { font-weight: 600; color: var(--black); text-decoration: none; word-break: break-word; }
.info-list a:hover { color: var(--red); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 6px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--black); }
.form-row .req { color: var(--red); }
.form-row .hint { display: block; font-size: .87rem; color: var(--muted); margin-top: 6px; }
input[type="text"], input[type="email"], textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid #cfd4dc; border-radius: 6px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(198,32,37,.15); }
.drop-zone {
  border: 2px dashed #cfd4dc; border-radius: var(--radius); padding: 28px; text-align: center; background: #fafafa; cursor: pointer; transition: .15s;
}
.drop-zone.dragover, .drop-zone:hover { border-color: var(--red); background: #fff5f5; }
.drop-zone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop-zone .file-names { margin-top: 10px; font-weight: 600; color: var(--black); font-size: .95rem; }
.hp { position: absolute !important; left: -9999px !important; }
.progress { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 14px 0 0; display: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--red); transition: width .2s; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 6px; display: none; font-weight: 600; }
.form-status.ok { display: block; background: #ecfdf3; color: #05603a; border: 1px solid #a6f4c5; }
.form-status.err { display: block; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }

.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
@media (max-width: 760px) { .methods { grid-template-columns: 1fr; } }
.method { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.method svg { width: 38px; height: 38px; color: var(--red); margin: 0 auto 10px; }
.method .label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.method a, .method .value { font-weight: 700; font-size: 1.05rem; color: var(--black); text-decoration: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; padding: 48px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.cta-band h2 { color: #fff; margin: 0; }
.cta-band .btn { background: #fff; color: var(--red); border-color: #fff; }
.cta-band .btn:hover { background: var(--black); color: #fff; border-color: var(--black); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #b8bcc5; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #e5e7eb; text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.site-footer .brand img { width: 180px; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid #23252b; margin-top: 48px; padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; }
.to-top { color: #e5e7eb; }

/* ---------- Utility ---------- */
.lead { font-size: 1.12rem; color: var(--muted); }
.mt-0 { margin-top: 0; }
.notfound { text-align: center; padding: 120px 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.drop-zone svg { display: block; }
