/* ADM Technologies Inc. — refined corporate design
   Brand palette: ADM blue, orange, charcoal and cool gray.
*/
:root {
  --brand-blue: #0797d2;
  --brand-blue-dark: #0676a8;
  --brand-orange: #f04b27;
  --charcoal: #101820;
  --slate: #34434e;
  --gray: #62676b;
  --muted: #687783;
  --line: #e3e9ed;
  --soft: #f4f7f9;
  --white: #fff;
  --container: 1180px;
  --shadow-sm: 0 8px 24px rgba(16, 24, 32, .06);
  --shadow-lg: 0 22px 55px rgba(16, 24, 32, .14);
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: #fff;
  color: var(--charcoal);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

/* Utility bar and navigation */
.topbar {
  background: #0b1218;
  color: #c8d3da;
  font-size: 11px;
  letter-spacing: .025em;
  padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.topbar strong { color: #fff; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16,24,32,.08);
  box-shadow: 0 5px 22px rgba(16,24,32,.035);
}
.navbar { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 158px; height: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); color: #34434e; font-size: 12px; font-weight: 700; }
.nav-links a:not(.btn) { position: relative; padding: 9px 0; transition: color .2s ease; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px;
  height: 2px; background: var(--brand-orange); transition: right .2s ease;
}
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { right: 0; }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--brand-blue-dark); }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--charcoal); font-size: 27px; cursor: pointer; }

/* Buttons and section labels */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 12px 21px; border: 1px solid var(--brand-blue);
  border-radius: 5px; background: var(--brand-blue); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: .045em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); background: var(--brand-blue-dark); box-shadow: 0 9px 20px rgba(7,151,210,.2); }
.btn-orange { background: var(--brand-orange); border-color: var(--brand-orange); }
.btn-orange:hover { background: #d93e1e; border-color: #d93e1e; box-shadow: 0 9px 20px rgba(240,75,39,.2); }
.btn-outline { color: #fff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.55); }
.btn-outline:hover { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn-light { background: #fff; color: var(--charcoal); border-color: #fff; }
.btn-light:hover { background: #edf6fa; border-color: #edf6fa; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-blue-dark); font-size: 10px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 3px; background: var(--brand-orange); }

/* Homepage hero: locally hosted U.S. Virgin Islands-inspired image */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 590px;
  color: #fff;
  background-color: #102536;
  background-image:
    linear-gradient(90deg, rgba(7,18,29,.92) 0%, rgba(7,18,29,.78) 39%, rgba(7,18,29,.28) 76%, rgba(7,18,29,.12) 100%),
    linear-gradient(0deg, rgba(7,18,29,.32), transparent 48%),
    url("../images/adm-hero-bg.png");
  background-size: cover;
  background-position: center 53%;
  padding: 105px 0 92px;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(120deg, rgba(7,151,210,.12), transparent 48%);
}
.hero::after {
  content: ""; position: absolute; pointer-events: none;
  width: 520px; height: 520px; right: -210px; top: -260px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,255,255,.055), 0 0 0 110px rgba(255,255,255,.035);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero .eyebrow { color: #9be0f8; }
.hero h1 {
  margin: 20px 0 18px; color: #fff;
  font-size: clamp(44px, 6.1vw, 72px); line-height: 1.03;
  letter-spacing: -.058em; font-weight: 800;
  text-wrap: balance;
}
.hero h1 em { color: #71d0f4; font-style: normal; }
.hero p { max-width: 620px; margin: 0 0 30px; color: #e1e9ee; font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 23px; flex-wrap: wrap; margin-top: 38px; color: #e0e8ed; font-size: 11px; }
.hero-points span::before { content: "✓"; color: #ff886b; font-weight: 900; margin-right: 8px; }

/* Content sections */
.section { padding: 88px 0; }
.section-soft { background: linear-gradient(135deg, #f4f8fa, #edf4f7); }
.section-head { max-width: 740px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section h2 { margin: 13px 0; color: var(--charcoal); font-size: clamp(30px, 4vw, 45px); line-height: 1.12; letter-spacing: -.047em; text-wrap: balance; }
.section-head p, .lead { color: var(--muted); font-size: 14px; line-height: 1.85; }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.service-card {
  position: relative; overflow: hidden; min-height: 220px;
  padding: 27px 25px 25px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--brand-blue); transform: scaleY(0); transform-origin: bottom; transition: transform .25s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #c8e5f0; box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px;
  border-radius: 10px; background: #e8f6fc; color: var(--brand-blue-dark); font-size: 23px;
}
.service-card:nth-child(3n+2) .service-icon { background: #fff0ec; color: var(--brand-orange); }
.service-card h3 { margin: 0 0 9px; color: var(--charcoal); font-size: 16px; line-height: 1.35; }
.service-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.text-link { display: inline-flex; margin-top: 17px; color: var(--brand-blue-dark); font-size: 10px; font-weight: 900; letter-spacing: .07em; }

/* Image feature panel */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.visual {
  position: relative; min-height: 420px; overflow: hidden; border-radius: 12px;
  background:
    linear-gradient(0deg, rgba(8,20,29,.62), rgba(8,20,29,.04) 65%),
    url("../images/adm-hero-bg.png") center/cover;
  box-shadow: var(--shadow-lg);
}
.visual-badge { position: absolute; left: 22px; bottom: 22px; max-width: 285px; padding: 17px 20px; background: #fff; border-left: 4px solid var(--brand-orange); border-radius: 0 6px 6px 0; box-shadow: var(--shadow-lg); }
.visual-badge strong { display: block; color: var(--charcoal); font-size: 14px; }
.visual-badge span { color: var(--muted); font-size: 10px; line-height: 1.6; }
.check-list { list-style: none; padding: 0; margin: 22px 0; }
.check-list li { padding: 8px 0; color: #46545e; font-size: 13px; }
.check-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 21px; height: 21px; margin-right: 10px; border-radius: 50%; background: #e7f6fc; color: var(--brand-blue-dark); font-weight: 900; }

/* Industries and CTA */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.industry { min-height: 140px; display: flex; flex-direction: column; justify-content: space-between; padding: 23px; border-radius: 8px; background: linear-gradient(145deg, #152632, #101820); color: #fff; border-bottom: 3px solid var(--brand-blue); box-shadow: var(--shadow-sm); }
.industry:nth-child(even) { border-bottom-color: var(--brand-orange); }
.industry span { color: #7bd4f4; font-size: 25px; }
.industry strong { font-size: 13px; }
.cta { padding: 58px 0; border-top: 4px solid var(--brand-blue); background: linear-gradient(110deg, #101820, #17394c 75%, #1c536b); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { margin: 0 0 8px; color: #fff; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; letter-spacing: -.04em; }
.cta p { margin: 0; color: #c8d3da; font-size: 13px; }

/* Interior page hero shares the local brand image */
.page-hero {
  padding: 86px 0;
  color: #fff;
  background-color: #102536;
  background-image: linear-gradient(90deg, rgba(7,18,29,.94), rgba(7,18,29,.70) 62%, rgba(7,18,29,.48)), url("../images/adm-hero-bg.png");
  background-size: cover; background-position: center 54%;
}
.breadcrumb { color: #9be0f8; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.page-hero h1 { margin: 14px 0; color: #fff; font-size: clamp(39px, 5vw, 58px); line-height: 1.07; letter-spacing: -.052em; }
.page-hero p { max-width: 700px; margin: 0; color: #dce6ec; font-size: 14px; line-height: 1.8; }

/* Service detail, about and process */
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-detail { display: grid; grid-template-columns: 50px 1fr; gap: 17px; padding: 25px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: var(--shadow-sm); }
.service-detail h3 { margin: 0 0 8px; color: var(--charcoal); font-size: 16px; line-height: 1.4; }
.service-detail p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.about-band { padding: 21px 24px; border-left: 4px solid var(--brand-orange); border-radius: 0 7px 7px 0; background: #edf7fb; color: #40515d; font-size: 13px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-card { padding: 23px; border: 1px solid var(--line); border-radius: 9px; background: #fff; box-shadow: var(--shadow-sm); }
.process-number { color: var(--brand-orange); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.process-card h3 { margin: 8px 0; color: var(--charcoal); font-size: 15px; }
.process-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 48px; }
.contact-info { padding: 32px; border-top: 4px solid var(--brand-blue); border-radius: 9px; background: linear-gradient(150deg, #172936, #101820); color: #fff; box-shadow: var(--shadow-lg); }
.contact-info h2 { color: #fff; font-size: 27px; }
.contact-info p { color: #c7d2d9; font-size: 12px; line-height: 1.85; }
.contact-item { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.13); }
.contact-item small { display: block; color: #76cdef; font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.contact-item strong { font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: #40515d; font-size: 10px; font-weight: 900; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 12px 13px; border: 1px solid #d8e2e8;
  border-radius: 5px; outline: none; background: #fff; color: var(--charcoal); font-size: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 135px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(7,151,210,.12); }
.form-note { margin-top: 11px; color: var(--muted); font-size: 10px; line-height: 1.7; }

/* Footer */
.site-footer { padding: 55px 0 19px; background: #0d151c; color: #c5d0d7; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 34px; }
.footer-logo { width: 142px; padding: 6px; border-radius: 4px; background: #fff; }
.site-footer p { max-width: 315px; margin-top: 16px; color: #a8b5bd; font-size: 11px; line-height: 1.8; }
.site-footer h4 { margin: 4px 0 15px; color: #fff; font-size: 10px; letter-spacing: .1em; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 9px 0; color: #a8b5bd; font-size: 11px; }
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: #fff; }
.copyright { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.12); color: #8797a1; font-size: 9px; }

/* Accessibility and responsive behavior */
:focus-visible { outline: 3px solid rgba(7,151,210,.55); outline-offset: 3px; }
@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .industries, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { gap: 15px; }
  .split { gap: 34px; }
}
@media (max-width: 720px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .navbar { min-height: 72px; }
  .brand img { width: 135px; }
  .menu-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    align-items: stretch; flex-direction: column; gap: 13px;
    padding: 20px 24px 24px; border-bottom: 1px solid var(--line);
    background: #fff; box-shadow: 0 16px 25px rgba(16,24,32,.09);
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; }
  .hero { min-height: 560px; padding: 78px 0 70px; background-position: 58% center; }
  .hero h1 { font-size: clamp(42px, 10vw, 58px); }
  .hero p { max-width: 560px; font-size: 14px; }
  .hero-points { gap: 10px 18px; margin-top: 28px; }
  .section { padding: 66px 0; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .visual { min-height: 310px; }
  .service-list { grid-template-columns: 1fr; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 65px 0; background-position: 58% center; }
}
@media (max-width: 500px) {
  .container { width: calc(100% - 32px); }
  .service-grid, .industries, .process-grid, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .hero { min-height: 590px; padding: 70px 0 62px; background-position: 62% center; }
  .hero h1 { font-size: 42px; }
  .hero-points { flex-direction: column; gap: 7px; }
  .page-hero { padding: 54px 0; }
  .service-card, .service-detail { padding: 21px; }
  .contact-info { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
