/* ==========================================================================
   Nyamane Solutions – main stylesheet
   Layout inspired by the "Crystal" one-page template, rebuilt without
   jQuery/Bootstrap. Colours taken from the company profile.
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bebas-neue-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }

/* ---------- Design tokens ---------- */
:root {
  --maroon: #7b0032;
  --maroon-dark: #5c0026;
  --maroon-deep: #3a0018;
  --navy: #091840;
  --navy-light: #13265c;
  --gold: #bf8f00;
  --gold-light: #ffe79a;
  --orange: #f5821f;
  --leaf: #9ad8a2;      /* logo dots */
  --lilac: #aaa7cf;     /* logo dots */
  --ink: #231f20;
  --text: #4b4852;
  --muted: #6c6e70;
  --line: #e6e2e4;
  --bg: #ffffff;
  --bg-alt: #f7f3f5;

  --font-head: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --font-body: "Poppins", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(9, 24, 64, .08);
  --shadow-lg: 0 18px 45px rgba(9, 24, 64, .16);
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--maroon); text-decoration: none; transition: color .2s; }
a:hover { color: var(--maroon-dark); text-decoration: underline; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .75rem; }
h3 { font-size: 1.15rem; font-weight: 600; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em; height: 1.25em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) var(--radius);
}
.skip-link:focus { top: 0; color: #fff; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .8rem 1.6rem;
  font-weight: 600; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: 4px; cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--maroon); color: #fff; }
.btn--primary:hover { background: var(--maroon-dark); color: #fff; }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--maroon); }
.btn--gold { background: var(--gold-light); color: var(--navy); }
.btn--gold:hover { background: #fff; color: var(--maroon); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; }

.topbar { background: var(--navy); color: #fff; font-size: .8rem; transition: margin-top .3s var(--ease); }
.topbar__inner { display: flex; align-items: center; gap: 1.75rem; min-height: 36px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--gold-light); text-decoration: none; }
.topbar .icon { width: 1rem; height: 1rem; color: var(--leaf); }
.topbar__badge { margin-left: auto; display: inline-flex; align-items: center; gap: .45rem; color: var(--gold-light); }

.navbar { background: #fff; box-shadow: 0 2px 8px rgba(50, 50, 50, .08); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: block; }
.brand img { height: 66px; width: auto; }

.nav-menu { list-style: none; display: flex; align-items: center; gap: .25rem; }
.nav-menu a {
  display: block; padding: .5rem .85rem; color: var(--ink);
  font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em;
  position: relative;
}
.nav-menu a::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px;
  background: var(--maroon); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-menu a:hover, .nav-menu a.is-active { color: var(--maroon); text-decoration: none; }
.nav-menu a:hover::after, .nav-menu a.is-active::after { transform: scaleX(1); }
.nav-menu .nav-cta { background: var(--maroon); color: #fff; border-radius: 4px; margin-left: .5rem; padding-inline: 1.1rem; }
.nav-menu .nav-cta::after { display: none; }
.nav-menu .nav-cta:hover, .nav-menu .nav-cta.is-active { background: var(--maroon-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: .5rem; color: var(--maroon); cursor: pointer;
}
.nav-toggle .icon { width: 30px; height: 30px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--open { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

.site-header.is-scrolled .navbar { box-shadow: 0 6px 20px rgba(9, 24, 64, .12); }

/* ---------- Hero slider ---------- */
.hero {
  position: relative; overflow: hidden;
  margin-top: calc(var(--header-h) + 36px);
  background: var(--maroon-deep);
  color: #fff;
}
.hero__slides { display: grid; min-height: clamp(540px, calc(100vh - var(--header-h) - 36px), 820px); }
.hero__slide {
  grid-area: 1 / 1; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s;
  background-color: var(--maroon-deep); background-size: cover; background-position: center;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
@media (min-width: 1100px) {
  /* Keep the photo's subject clear of the headline on wide screens */
  .hero__slide { background-repeat: no-repeat; background-size: cover, auto 100%; background-position: center, right center; }
}

/* Photo + brand overlay. If a photo is missing, the gradient still shows. */
.hero__slide--1 { background-image: linear-gradient(100deg, rgb(58, 0, 24) 0%, rgba(58, 0, 24, .97) 26%, rgba(123, 0, 50, .7) 52%, rgba(9, 24, 64, .4) 100%), url("../../images/hero/hero-1.jpg?v=2"); }
.hero__slide--2 { background-image: linear-gradient(100deg, rgb(9, 24, 64) 0%, rgba(9, 24, 64, .97) 26%, rgba(9, 24, 64, .7) 52%, rgba(123, 0, 50, .4) 100%), url("../../images/hero/hero-2.jpg?v=2"); }
.hero__slide--3 { background-image: linear-gradient(100deg, rgb(58, 0, 24) 0%, rgba(58, 0, 24, .97) 26%, rgba(92, 0, 38, .7) 52%, rgba(9, 24, 64, .4) 100%), url("../../images/hero/hero-3.jpg?v=2"); }

.hero__caption { position: relative; z-index: 2; padding-block: 3rem 5rem; }
.hero__caption > * { max-width: 760px; }
.hero__slide.is-active .hero__caption > * { animation: rise .9s var(--ease) both; }
.hero__slide.is-active .hero__caption > *:nth-child(2) { animation-delay: .12s; }
.hero__slide.is-active .hero__caption > *:nth-child(3) { animation-delay: .24s; }
.hero__slide.is-active .hero__caption > *:nth-child(4) { animation-delay: .36s; }

.hero__eyebrow {
  display: inline-block; margin-bottom: 1rem; padding: .3rem .9rem .3rem .8rem;
  border-left: 4px solid var(--gold-light); background: rgba(255, 255, 255, .1);
  font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light);
}
.hero__title {
  font-family: var(--font-head); font-weight: 400; color: #fff;
  font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1; letter-spacing: .01em; margin-bottom: 1.25rem;
}
.hero__text { font-size: clamp(1rem, 2vw, 1.2rem); color: rgba(255, 255, 255, .9); max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.hero__controls {
  position: absolute; z-index: 3; left: 50%; bottom: 1.75rem; transform: translateX(-50%);
  display: flex; align-items: center; gap: 1rem;
}
.hero__arrow {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .4); color: #fff; cursor: pointer;
  transition: background-color .3s;
}
.hero__arrow:hover { background: var(--maroon); }
.hero__dots { display: flex; gap: .6rem; }
.hero__dot {
  width: 12px; height: 12px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2px solid #fff; background: transparent; transition: background-color .3s, width .3s;
}
.hero__dot.is-active { background: var(--gold-light); border-color: var(--gold-light); width: 32px; border-radius: 6px; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Credentials strip ---------- */
.credentials { background: var(--maroon); color: #fff; position: relative; }
.credentials::after {
  content: ""; position: absolute; inset: auto 0 0; height: 4px;
  background: linear-gradient(90deg, var(--leaf), var(--lilac), var(--gold-light));
}
.credentials__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.credential { display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1rem; }
.credential + .credential { border-left: 1px solid rgba(255, 255, 255, .18); }
.credential .icon { width: 2.2rem; height: 2.2rem; color: var(--gold-light); stroke-width: 1.6; }
.credential strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.7rem; line-height: 1; letter-spacing: .03em; }
.credential span { font-size: .82rem; opacity: .9; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 9vw, 6.5rem); }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy); color: rgba(255, 255, 255, .85); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dots {
  background-color: #fff;
  background-image: radial-gradient(rgba(123, 0, 50, .07) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
}

.section-head { max-width: 760px; margin: 0 auto 3rem; text-align: center; }

/* Tag styled like the profile's angled maroon title tabs */
.section-tag {
  display: inline-block; margin-bottom: .9rem; padding: .35rem 1.6rem .35rem 1rem;
  background: var(--maroon); color: #fff;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.section-tag--light { background: var(--gold-light); color: var(--navy); }

.section-title {
  font-family: var(--font-head); font-weight: 400; letter-spacing: .02em;
  font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1.05;
}
.lead { font-size: 1.12rem; color: var(--ink); font-weight: 500; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about__content .section-title { color: var(--maroon); }

.checklist { list-style: none; display: grid; gap: .6rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checklist .icon {
  width: 1.5rem; height: 1.5rem; padding: .25rem; margin-top: .1rem; border-radius: 50%;
  background: var(--maroon); color: #fff; stroke-width: 3;
}

.about__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: relative; }
.about__gallery::before {
  content: ""; position: absolute; z-index: -1; width: 70%; height: 70%; right: -18px; bottom: -18px;
  border-radius: var(--radius);
  background-image: radial-gradient(var(--leaf) 2.5px, transparent 2.5px);
  background-size: 18px 18px; opacity: .8;
}
.about__gallery .img-frame:nth-child(odd) { transform: translateY(18px); }

/* Image frame with brand gradient placeholder (shown until a photo is added) */
.img-frame, .sector {
  margin: 0; position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--maroon) 0%, var(--navy) 100%);
}
.img-frame { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.img-frame img, .sector img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.img-frame:hover img { transform: scale(1.05); }
.img-missing img { visibility: hidden; }
.img-frame.img-missing::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 2px, transparent 2px); background-size: 16px 16px;
}

/* ---------- Approach / values ---------- */
.section--dark .section-head p:not(.section-tag) { color: rgba(255, 255, 255, .8); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-card {
  padding: 2rem 1.6rem; border-radius: var(--radius);
  background: var(--navy-light); border-top: 4px solid var(--maroon);
  transition: transform .4s var(--ease), border-color .4s, background-color .4s;
}
.value-card:hover { transform: translateY(-6px); border-color: var(--gold-light); background: #172d6b; }
.value-card__icon {
  display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.25rem; border-radius: 50%;
  background: var(--maroon); color: #fff;
}
.value-card__icon .icon { width: 28px; height: 28px; }
.value-card h3 { font-size: 1.1rem; }
.value-card p { font-size: .92rem; margin: 0; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: start; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem 1.4rem; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--maroon);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service:hover::before { transform: scaleX(1); }
.service__icon {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.1rem; border-radius: 12px;
  background: rgba(123, 0, 50, .08); color: var(--maroon); transition: background-color .3s, color .3s;
}
.service:hover .service__icon { background: var(--maroon); color: #fff; }
.service__icon .icon { width: 28px; height: 28px; }
.service h3 { font-size: 1.05rem; min-height: 2.45em; }
.service > p { font-size: .9rem; }

.service details { border-top: 1px solid var(--line); padding-top: .8rem; }
.service summary {
  display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none;
  font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--maroon);
}
.service summary::-webkit-details-marker { display: none; }
.service summary .icon { transition: transform .3s var(--ease); }
.service details[open] summary .icon { transform: rotate(180deg); }
.service details ul { list-style: none; margin-top: .8rem; display: grid; gap: .45rem; }
.service details li { position: relative; padding-left: 1.1rem; font-size: .86rem; line-height: 1.5; }
.service details li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--leaf);
}

/* ---------- CTA band ---------- */
.cta-band {
  color: #fff; padding-block: clamp(3.5rem, 7vw, 5rem);
  background-color: var(--maroon);
  background-image: linear-gradient(90deg, rgba(92, 0, 38, .95), rgba(123, 0, 50, .8)), url("../../images/cta-bg.jpg");
  background-size: cover; background-position: center;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { color: #fff; font-family: var(--font-head); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: .5rem; }
.cta-band p { max-width: 640px; margin: 0; color: rgba(255, 255, 255, .9); }
.cta-band .btn { flex-shrink: 0; }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.sector { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.sector__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem; color: #fff;
  background: linear-gradient(180deg, rgba(9, 24, 64, 0) 30%, rgba(9, 24, 64, .88) 100%);
  transition: background-color .4s;
}
.sector__overlay .icon {
  width: 48px; height: 48px; padding: 11px; margin-bottom: .8rem; border-radius: 50%;
  background: var(--maroon); color: #fff; transition: transform .4s var(--ease);
}
.sector h3 { color: #fff; font-family: var(--font-head); font-weight: 400; font-size: 1.7rem; letter-spacing: .03em; margin: 0; }
.sector:hover img { transform: scale(1.08); }
.sector:hover .sector__overlay { background-color: rgba(123, 0, 50, .45); }
.sector:hover .sector__overlay .icon { transform: translateY(-4px); }
.sector.img-missing .sector__overlay .icon { background: rgba(255, 255, 255, .16); }

/* ---------- Why us ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.feature {
  background: #fff; padding: 2rem 1.5rem; border-radius: var(--radius); text-align: center;
  border-bottom: 4px solid var(--navy); box-shadow: var(--shadow); transition: transform .4s var(--ease), border-color .4s;
}
.feature:hover { transform: translateY(-5px); border-color: var(--maroon); }
.feature > .icon { width: 3rem; height: 3rem; margin: 0 auto 1rem; color: var(--maroon); stroke-width: 1.6; }
.feature p { font-size: .9rem; margin: 0; }

.company-info {
  margin-top: 3rem; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow);
}
.company-info h3 {
  margin: 0; padding: .9rem 1.5rem; background: var(--maroon); color: #fff;
  font-size: .9rem; letter-spacing: .1em; text-transform: uppercase;
}
.company-info dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.company-info dl > div { padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.company-info dt { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.company-info dd { margin: .15rem 0 0; color: var(--ink); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-section { padding-bottom: 0; }
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; align-items: start; margin-bottom: clamp(3rem, 7vw, 5rem); }

.contact__details {
  background: var(--navy); color: rgba(255, 255, 255, .88); border-radius: var(--radius);
  padding: 2.2rem 2rem; position: relative; overflow: hidden;
}
.contact__details::after {
  content: ""; position: absolute; width: 180px; height: 180px; right: -50px; bottom: -50px;
  background-image: radial-gradient(var(--leaf) 3px, transparent 3px); background-size: 20px 20px; opacity: .25;
}
.contact__details h3 { color: #fff; font-family: var(--font-head); font-weight: 400; font-size: 1.9rem; letter-spacing: .03em; }
.contact__details ul { list-style: none; display: grid; gap: 1.3rem; margin-top: 1.5rem; position: relative; z-index: 1; }
.contact__details li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__details li > .icon {
  width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--maroon); color: #fff;
}
.contact__details span { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-light); }
.contact__details a { color: #fff; word-break: break-word; }
.contact__details a:hover { color: var(--gold-light); }

.contact-form {
  background: #fff; border-radius: var(--radius); padding: 2.2rem 2rem; box-shadow: var(--shadow-lg);
  border-top: 4px solid var(--maroon);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field label span { color: var(--maroon); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 6px; background: #fcfbfc;
  transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(123, 0, 50, .15); background: #fff;
}
.field .is-invalid, .field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid { border-color: #c0262d; }
.field--check { flex-direction: row; align-items: flex-start; gap: .7rem; }
.field--check input { width: 20px; height: 20px; margin-top: .2rem; flex-shrink: 0; accent-color: var(--maroon); }
.field--check label { font-weight: 400; font-size: .85rem; line-height: 1.55; }
.field--hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 1.2rem 0 0; font-size: .92rem; }
.form-status:empty { display: none; }
.form-status.is-success, .form-status.is-error { padding: .85rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.form-status.is-success { background: #e8f6ea; color: #1c5a29; border-left: 4px solid #3a9d4f; }
.form-status.is-error { background: #fbeaec; color: #8a1c24; border-left: 4px solid #c0262d; }
.contact-form .btn { margin-top: 1.2rem; }
.form-note { font-size: .85rem; margin: 1rem 0 0; }

.map { height: 380px; background: var(--bg-alt); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-block: 4rem 3rem; }
.footer__brand img { width: 200px; margin-bottom: 1rem; }
.footer__brand p { max-width: 280px; }
.footer__col h2 {
  font-family: var(--font-head); font-weight: 400; font-size: 1.5rem; letter-spacing: .05em; color: #fff;
  margin-bottom: 1rem; padding-bottom: .5rem; position: relative;
}
.footer__col h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--maroon); }
.footer__col ul { list-style: none; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .8); }
.site-footer a:hover { color: var(--gold-light); }
.footer__contact li { display: flex; gap: .6rem; align-items: flex-start; word-break: break-word; }
.footer__contact .icon { color: var(--leaf); width: 1.1rem; height: 1.1rem; margin-top: .25rem; }
.footer__bottom { background: var(--maroon); color: rgba(255, 255, 255, .9); font-size: .82rem; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1rem; }
.footer__bottom p { margin: 0; }

.to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--maroon); color: #fff; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease);
}
.to-top .icon { transform: rotate(180deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--maroon-dark); color: #fff; }

/* ---------- Simple content pages (privacy / 404) ---------- */
.page-hero {
  margin-top: calc(var(--header-h) + 36px); padding-block: 4rem 3rem; color: #fff;
  background: linear-gradient(100deg, var(--maroon-deep), var(--maroon) 55%, var(--navy));
}
.page-hero h1 { color: #fff; font-family: var(--font-head); font-weight: 400; font-size: clamp(2.6rem, 6vw, 4rem); margin: 0; }
.page-hero p { margin: .5rem 0 0; color: rgba(255, 255, 255, .85); }
.prose { max-width: 820px; }
.prose h2 { font-family: var(--font-head); font-weight: 400; font-size: 2rem; color: var(--maroon); margin-top: 2.5rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .35rem; }
.error-page { text-align: center; }
.error-page .code { font-family: var(--font-head); font-size: clamp(6rem, 20vw, 10rem); line-height: 1; color: var(--maroon); margin: 0; }

/* ---------- Scroll reveal (enabled by JS only) ---------- */
.reveal-ready .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services, .values, .features { grid-template-columns: repeat(2, 1fr); }
  .service h3 { min-height: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  :root { --header-h: 70px; }
  .topbar__badge { display: none; }
  .brand img { height: 58px; }

  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; box-shadow: 0 16px 30px rgba(9, 24, 64, .15);
    padding: .5rem 20px 1.25rem;
    max-height: calc(100vh - var(--header-h) - 36px); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all .3s var(--ease);
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-menu a { padding: .9rem .25rem; border-bottom: 1px solid var(--line); }
  .nav-menu a::after { display: none; }
  .nav-menu .nav-cta { margin: 1rem 0 0; text-align: center; border-bottom: 0; }

  .about, .contact { grid-template-columns: 1fr; }
  .about__gallery { max-width: 620px; }
  .credentials__grid { grid-template-columns: repeat(2, 1fr); }
  .credential:nth-child(3) { border-left: 0; }
  .credential:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .company-info dl { grid-template-columns: repeat(2, 1fr); }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .topbar__inner { justify-content: center; gap: 1rem; }
  .topbar__inner a:nth-child(2) { display: none; }
  .brand img { height: 52px; }

  .hero__slides { min-height: 560px; }
  .hero__caption { padding-block: 2.5rem 6rem; }
  .hero__actions .btn { width: 100%; }
  .hero__arrow { display: none; }

  .credential { padding: 1rem .5rem; gap: .6rem; }
  .credential .icon { width: 1.7rem; height: 1.7rem; }
  .credential strong { font-size: 1.35rem; }
  .credential span { font-size: .72rem; }

  .services, .values, .features, .sectors, .form-grid, .company-info dl { grid-template-columns: 1fr; }
  .about__gallery .img-frame:nth-child(odd) { transform: none; }
  .about__gallery::before { display: none; }
  .contact__details, .contact-form { padding: 1.75rem 1.25rem; }
  .cta-band .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .map { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero__controls, .map, .to-top, .contact-form { display: none; }
  .hero { margin-top: 0; }
  .hero__slide { opacity: 1; visibility: visible; }
}

.page-offset { margin-top: calc(var(--header-h) + 36px); }
