/* ==========================================================================
   Auromax Technologies — stylesheet
   Brand: teal #17788C  |  red #E0342A  |  charcoal #58595B
   ========================================================================== */

:root {
  --teal: #17788c;
  --teal-dark: #115d6d;
  --teal-light: #e6f2f5;
  --red: #e0342a;
  --red-dark: #b9271f;
  --charcoal: #58595b;
  --ink: #22303a;
  --bg: #ffffff;
  --bg-alt: #f5f9fa;
  --border: #dfe7ea;
  --radius: 10px;
  --shadow: 0 2px 14px rgba(23, 120, 140, 0.09);
  --shadow-lg: 0 10px 34px rgba(23, 120, 140, 0.16);
  --maxw: 1160px;
  --font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .6em;
}
h1 { font-size: 2.7rem; }
h2 { font-size: 2.05rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.section { padding: 78px 0; }
.section--alt { background: var(--bg-alt); }
.section--teal { background: var(--teal); color: #eaf5f7; }
.section--teal h2, .section--teal h3 { color: #fff; }

.section-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.section-head p { font-size: 1.05rem; margin-bottom: 0; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .7em;
}
.section--teal .eyebrow { color: #ffd7d3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; transform: translateY(-2px); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); }
.btn--outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn--outline:hover { background: var(--teal); color: #fff; }
.btn--light { background: #fff; color: var(--teal); }
.btn--light:hover { background: #ffe9e7; color: var(--red-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand img { height: 52px; width: auto; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 26px; height: 3px; margin: 5px 0; border-radius: 2px;
  background: var(--teal); transition: .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav ul { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 10px 15px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: .98rem;
}
.site-nav a:hover { background: var(--teal-light); color: var(--teal); }
.site-nav a.is-active { color: var(--teal); }
.site-nav a.is-active::after {
  content: ""; display: block; height: 3px; border-radius: 2px;
  background: var(--red); margin-top: 4px;
}
.site-nav .nav-cta a { background: var(--red); color: #fff; padding: 11px 22px; }
.site-nav .nav-cta a:hover { background: var(--red-dark); color: #fff; }
.site-nav .nav-cta a.is-active::after { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,58,68,.93) 0%, rgba(17,93,109,.86) 45%, rgba(23,120,140,.62) 100%);
}
.hero__inner { position: relative; padding: 108px 0 112px; max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero p { font-size: 1.17rem; color: #dceef1; margin-bottom: 1.8em; }
.hero .eyebrow { color: #ffd7d3; }

.page-hero { position: relative; color: #fff; }
.page-hero__media { position: absolute; inset: 0; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,58,68,.93), rgba(23,120,140,.7));
}
.page-hero__inner { position: relative; padding: 72px 0 76px; max-width: 760px; }
.page-hero h1 { color: #fff; font-size: 2.4rem; }
.page-hero p { color: #dceef1; font-size: 1.08rem; margin-bottom: 0; }

/* ---------- Layout helpers ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--teal-light); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px; flex: 1; }
.card__body h3 { margin-bottom: .45em; }
.card__body p { font-size: .97rem; margin-bottom: 0; }

.icon-card {
  background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--teal);
  border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-top-color: var(--red); }
.icon-card h3 { font-size: 1.12rem; }
.icon-card p { font-size: .96rem; margin-bottom: 0; }
.icon-card__mark {
  width: 46px; height: 46px; border-radius: 10px; margin-bottom: 16px;
  background: var(--teal-light); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.05rem;
}

/* ---------- Lists ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding: 0 0 14px 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
}
.check-list--light li::before { background-color: #fff; }
.check-list strong { color: var(--ink); }
.section--teal .check-list strong { color: #fff; }
.check-list--red li::before { background-color: var(--red); }

.pill-grid { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.pill-grid li {
  background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--teal);
  border-radius: 8px; padding: 13px 20px; font-weight: 600; color: var(--ink); font-size: .96rem;
}
.section--teal .pill-grid li { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); border-left-color: var(--red); color: #fff; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px 26px; box-shadow: var(--shadow);
}
.step__num {
  position: absolute; top: -18px; left: 26px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.08rem; margin-top: 8px; }
.step p { font-size: .95rem; margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.review__stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 12px; }
.review__text { font-style: italic; color: var(--charcoal); flex: 1; }
.review__author { display: flex; align-items: center; gap: 13px; margin-top: 14px; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 44px;
  background: var(--teal); color: #fff; font-weight: 700; font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
}
.review__avatar--red { background: var(--red); }
.review__name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.review__role { font-size: .85rem; color: #8b9298; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(105deg, var(--teal-dark), var(--teal)); color: #fff; text-align: center; padding: 66px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9edf1; max-width: 620px; margin: 0 auto 1.7em; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 42px; align-items: start; }
.info-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); margin-bottom: 24px;
}
.info-card h3 { font-size: 1.1rem; }
.info-card address { font-style: normal; }

.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; margin-bottom: 6px; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .98rem; color: var(--ink);
  border: 1px solid var(--border); border-radius: 8px; background: #fcfdfd;
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,120,140,.14); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .86rem; color: #8b9298; margin: 14px 0 0; }
.form-status { display: none; padding: 13px 16px; border-radius: 8px; margin-bottom: 18px; font-size: .95rem; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: #e7f6ef; border: 1px solid #a9dcc4; color: #1c6b47; }
.form-status.is-error { background: #fdecea; border: 1px solid #f2b7b2; color: #a3251d; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0e4c59; color: #bcd8de; padding: 56px 0 0; font-size: .96rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1em; letter-spacing: .02em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 42px; }
.footer-logo { background: #fff; padding: 12px 16px; border-radius: 8px; display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 46px; width: auto; }
.site-footer a { color: #bcd8de; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.site-footer address { font-style: normal; }
.footer-bottom {
  margin-top: 44px; border-top: 1px solid rgba(255,255,255,.15);
  padding: 18px 0; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .grid--3, .grid--4, .steps, .reviews { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0,0,0,.1);
    max-height: 0; overflow: hidden; transition: max-height .28s ease;
  }
  .site-nav.is-open { max-height: 460px; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 20px; }
  .site-nav a { padding: 13px 8px; border-radius: 6px; }
  .site-nav a.is-active::after { display: none; }
  .site-nav .nav-cta { margin-top: 10px; }
  .site-nav .nav-cta a { text-align: center; }
  .header-inner { position: relative; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 54px 0; }
  .hero__inner { padding: 74px 0 78px; }
  .grid--2, .grid--3, .grid--4, .steps, .reviews, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .btn { width: 100%; text-align: center; }
  .brand img { height: 42px; }
  .form-card { padding: 22px; }
}
