/* MAC Services — brand palette pulled from logo */
:root {
  --mac-black: #0a0a0a;
  --mac-black-soft: #141414;
  --mac-red: #c60203;
  --mac-red-light: #e8380f;
  --mac-blue: #3160b8;
  --mac-blue-light: #5eb4ff;
  --mac-white: #ffffff;
  --mac-gray: #6c7280;
  --mac-gray-light: #f4f5f7;
  --mac-border: #23262d;
  --shadow: 0 10px 30px rgba(0,0,0,0.15);
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1c1e22;
  background: var(--mac-white);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(90deg, var(--mac-red) 0%, var(--mac-red-light) 100%);
  color: var(--mac-white);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(198,2,3,0.35); }
.btn-secondary {
  background: transparent;
  color: var(--mac-white);
  border-color: var(--mac-white);
}
.btn-secondary:hover { background: var(--mac-white); color: var(--mac-black); }
.btn-block { width: 100%; text-align: center; }

/* Top call bar */
.call-bar {
  background: var(--mac-red);
  color: var(--mac-white);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}
.call-bar a { text-decoration: underline; }

/* Header / nav */
header.site-header {
  background: var(--mac-black);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--mac-border);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.logo-link img { height: 46px; width: auto; }
nav.main-nav ul {
  display: flex;
  gap: 32px;
}
nav.main-nav a {
  color: var(--mac-white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  border-color: var(--mac-red);
  color: var(--mac-blue-light);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-phone {
  color: var(--mac-white);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}
.nav-phone span { color: var(--mac-blue-light); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--mac-white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  background: var(--mac-black);
  color: var(--mac-white);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 70px 24px 90px;
  max-width: 1160px;
  margin: 0 auto;
}
.hero-eyebrow {
  color: var(--mac-blue-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--mac-red-light); }
.hero p {
  color: #cfd2d8;
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-image img {
  border-radius: var(--radius);
  width: 100%;
}

/* Trust strip */
.trust-strip {
  background: var(--mac-gray-light);
  border-bottom: 1px solid #e7e9ee;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  font-weight: 600;
  color: #3b3f47;
  font-size: 0.95rem;
}
.trust-strip .item { display: flex; align-items: center; gap: 8px; }
.trust-strip .dot { color: var(--mac-red); font-weight: 900; }

/* Section basics */
section { padding: 80px 0; }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-eyebrow {
  color: var(--mac-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 2rem; margin-bottom: 14px; }
.section-head p { color: var(--mac-gray); }

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--mac-white);
  border: 1px solid #e7e9ee;
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--mac-blue-light);
}
.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mac-red) 0%, var(--mac-blue) 100%);
  color: var(--mac-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--mac-gray); font-size: 0.96rem; margin-bottom: 14px; }
.service-card a.learn-more {
  font-weight: 700;
  color: var(--mac-red);
  font-size: 0.92rem;
}

/* Area served */
.area-section {
  background: var(--mac-black);
  color: var(--mac-white);
}
.area-section .section-head p { color: #b9bdc6; }
.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.area-chip {
  border: 1px solid var(--mac-border);
  background: var(--mac-black-soft);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}
.area-chip strong { color: var(--mac-blue-light); }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--mac-gray-light);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.testimonial-card .stars { color: var(--mac-red); margin-bottom: 12px; font-size: 1rem; letter-spacing: 2px; }
.testimonial-card p.quote { font-style: italic; color: #383c44; margin-bottom: 16px; }
.testimonial-card .author { font-weight: 700; font-size: 0.9rem; color: var(--mac-blue); }

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, var(--mac-red) 0%, var(--mac-blue) 100%);
  color: var(--mac-white);
  text-align: center;
  padding: 56px 24px;
}
.cta-band h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-band p { margin-bottom: 24px; opacity: 0.95; }
.cta-band .btn-secondary { border-color: var(--mac-white); }

/* Page header (interior pages) */
.page-header {
  background: var(--mac-black);
  color: var(--mac-white);
  padding: 56px 24px;
  text-align: center;
}
.page-header .section-eyebrow { color: var(--mac-blue-light); }
.page-header h1 { font-size: 2.2rem; margin-bottom: 10px; }
.page-header p { color: #c7cad1; max-width: 640px; margin: 0 auto; }

/* Service detail sections */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid #e7e9ee;
}
.service-detail:nth-child(even) .service-detail-media { order: 2; }
.service-detail-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 420px;
  object-fit: cover;
}
.service-detail h2 { font-size: 1.7rem; margin-bottom: 16px; }
.service-detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin-top: 20px;
}
.service-detail-list li {
  font-size: 0.95rem;
  color: #383c44;
  padding-left: 20px;
  position: relative;
}
.service-detail-list li::before {
  content: "✓";
  color: var(--mac-red);
  font-weight: 900;
  position: absolute;
  left: 0;
}

/* About page */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.timeline { border-left: 3px solid var(--mac-red); padding-left: 24px; margin-top: 10px; }
.timeline-item { margin-bottom: 26px; }
.timeline-item .year {
  display: inline-block;
  background: var(--mac-black);
  color: var(--mac-blue-light);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.team-note {
  background: var(--mac-gray-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 20px;
  font-size: 0.95rem;
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-info-card {
  background: var(--mac-black);
  color: var(--mac-white);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info-card h3 { font-size: 1.3rem; margin-bottom: 20px; }
.contact-line { margin-bottom: 18px; }
.contact-line .label {
  display: block;
  color: var(--mac-blue-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 4px;
}
.contact-line a, .contact-line span.value { font-size: 1.1rem; font-weight: 600; }

form.contact-form {
  background: var(--mac-white);
  border: 1px solid #e7e9ee;
  border-radius: var(--radius);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: 0.85rem; margin-bottom: 6px; color: #383c44; }
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d5d8de;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.98rem;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--mac-blue-light);
  box-shadow: 0 0 0 3px rgba(94,180,255,0.2);
}
textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.82rem; color: var(--mac-gray); margin-top: 10px; }

/* Footer */
footer.site-footer {
  background: var(--mac-black);
  color: #c7cad1;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo img { height: 44px; margin-bottom: 14px; }
.footer-grid h4 {
  color: var(--mac-white);
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer-grid ul li { margin-bottom: 10px; font-size: 0.95rem; }
.footer-grid a:hover { color: var(--mac-blue-light); }
.footer-bottom {
  border-top: 1px solid var(--mac-border);
  padding-top: 20px;
  font-size: 0.85rem;
  color: #7a7e88;
  text-align: center;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; }
  .hero h1 { font-size: 2.1rem; }
  .service-detail { grid-template-columns: 1fr; padding: 44px 0; }
  .service-detail:nth-child(even) .service-detail-media { order: 0; }
  .about-story { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  .nav-phone span::before { content: "\260E  "; }
  header.site-header.nav-open nav.main-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--mac-black);
    padding: 16px 24px 24px;
    border-top: 1px solid var(--mac-border);
  }
  header.site-header.nav-open nav.main-nav ul { flex-direction: column; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-detail-list { grid-template-columns: 1fr; }
}
