/* MACH GROUP LLC - One Page Website Styles */
:root {
  --navy: #0f2742;
  --navy-2: #163a5f;
  --gold: #d79b38;
  --gold-2: #f0b85a;
  --white: #ffffff;
  --offwhite: #f7f5f0;
  --light: #edf1f5;
  --text: #172233;
  --muted: #64748b;
  --border: rgba(15, 39, 66, 0.12);
  --shadow: 0 20px 60px rgba(15, 39, 66, 0.16);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 32px, var(--container)); margin: 0 auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15,39,66,0.08);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center;
  color: var(--white); font-weight: 800;
  background: linear-gradient(135deg, var(--navy), var(--gold));
  box-shadow: 0 12px 30px rgba(15,39,66,0.2);
}
.brand-text strong { display: block; line-height: 1; color: var(--navy); letter-spacing: .02em; }
.brand-text small { color: var(--muted); font-size: 12px; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 700; color: var(--navy); }
.main-nav a { position: relative; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 2px;
  background: var(--gold); transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--navy); border-radius: 12px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--white); border-radius: 99px; }

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding-top: 82px;
}
.hero-slider, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 5s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8,25,45,.88) 0%, rgba(8,25,45,.72) 42%, rgba(8,25,45,.28) 100%),
    linear-gradient(180deg, rgba(8,25,45,.22), rgba(8,25,45,.42));
}
.hero-content { position: relative; z-index: 2; }
.hero-card { width: min(720px, 100%); color: var(--white); padding: 54px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-2); font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; font-size: 12px; margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(42px, 7vw, 78px); line-height: .96; margin-bottom: 24px; letter-spacing: -0.05em; }
.hero p { font-size: 18px; max-width: 660px; color: rgba(255,255,255,.88); margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 14px 22px; border-radius: 999px;
  font-weight: 800; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: var(--navy); box-shadow: 0 15px 35px rgba(215,155,56,.25); }
.btn-light { background: rgba(255,255,255,.95); color: var(--navy); }
.btn-whatsapp { background: rgba(255,255,255,.14); color: var(--white); border-color: rgba(255,255,255,.28); backdrop-filter: blur(8px); }
.btn-full { width: 100%; border: 0; font-size: 16px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.trust-row span { border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.10); padding: 8px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.slider-dots { position: absolute; z-index: 3; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.slider-dots button { width: 12px; height: 12px; border: 0; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; }
.slider-dots button.active { background: var(--gold); width: 34px; border-radius: 99px; }

.section { padding: 96px 0; }
.section-heading { width: min(760px, 100%); margin-bottom: 38px; }
.section-heading h2, .about-copy h2, .estimate-copy h2, .payment-banner h2 { color: var(--navy); font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 16px; }
.section-heading p, .about-copy p, .estimate-copy p, .payment-banner p { color: var(--muted); font-size: 17px; }

.services { background: var(--offwhite); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(15,39,66,.06); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-card img { height: 218px; width: 100%; object-fit: cover; }
.service-card div { padding: 24px; }
.service-card h3 { color: var(--navy); font-size: 21px; margin-bottom: 9px; }
.service-card p { color: var(--muted); margin: 0; }

.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 52px; align-items: center; }
.about-image img { border-radius: 30px; min-height: 520px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.feature-list { display: grid; gap: 14px; margin-top: 26px; }
.feature-list div { padding: 18px; border-radius: 18px; background: var(--offwhite); border: 1px solid var(--border); }
.feature-list strong { display: block; color: var(--navy); }
.feature-list span { color: var(--muted); }

.why { background: var(--navy); color: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; }
.why-card span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--gold); color: var(--navy); font-weight: 900; margin-bottom: 18px; }
.why-card h3 { font-size: 20px; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,.76); margin: 0; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 260px; background: var(--light); }
.gallery-item img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

.payments { background: var(--offwhite); padding: 74px 0; }
.payment-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--navy); color: var(--white); padding: 44px; border-radius: 30px; box-shadow: var(--shadow); }
.payment-banner h2 { color: var(--white); }
.payment-banner p { color: rgba(255,255,255,.75); max-width: 760px; margin-bottom: 0; }

.estimate { background: linear-gradient(180deg, #fff, var(--offwhite)); }
.estimate-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.contact-mini { display: grid; gap: 12px; margin-top: 24px; }
.contact-mini a { padding: 15px 18px; background: var(--white); border: 1px solid var(--border); border-radius: 16px; color: var(--navy); font-weight: 800; box-shadow: 0 10px 28px rgba(15,39,66,.05); }
.estimate-form { background: var(--white); border-radius: 30px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-row.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
label { display: grid; gap: 8px; margin-bottom: 16px; color: var(--navy); font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid rgba(15,39,66,.15); border-radius: 15px; padding: 14px 15px; font: inherit; color: var(--text); background: var(--white); outline: none; transition: border .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(215,155,56,.16); }
textarea { resize: vertical; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; color: var(--muted); }
.consent input { width: auto; margin-top: 5px; }
.hidden-field { position: absolute; left: -9999px; opacity: 0; }
.form-note { color: var(--muted); font-size: 13px; margin: 14px 0 0; text-align: center; }

.site-footer { background: #08192d; color: var(--white); padding: 70px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .8fr .8fr; gap: 40px; }
.site-footer h2, .site-footer h3 { margin-bottom: 14px; }
.site-footer p { color: rgba(255,255,255,.72); margin-bottom: 8px; }
.site-footer a:hover { color: var(--gold-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; font-size: 14px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; left: 16px; right: 16px; top: 88px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 14px; border-radius: 20px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: 0; }
  .service-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .estimate-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .payment-banner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--container)); }
  .nav-wrap { min-height: 74px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text small { display: none; }
  .hero { min-height: 720px; padding-top: 74px; }
  h1 { font-size: 42px; }
  .section { padding: 70px 0; }
  .service-grid, .why-grid, .gallery-grid, .form-row.two { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .about-image img { min-height: 360px; }
  .estimate-form, .payment-banner { padding: 24px; border-radius: 24px; }
}
