/* =========================================================
   Dasta Services Inc - marketing site styles
   Palette derived from reference (refreshpropsolutions.com):
     teal #166888 | dark #12242b | ink #333232 | red #e11b22
   ========================================================= */

:root {
  --teal: #166888;
  --teal-dark: #12242b;
  --teal-light: #2c8aad;
  --ink: #333232;
  --red: #e11b22;
  --red-dark: #b8151b;
  --nav: #223138;
  --nav-hover: #2f434c;
  --bg: #ffffff;
  --panel: #f4f6f7;
  --line: #d9e0e3;
  --maxw: 1180px;
  --radius: 6px;
  --shadow: 0 6px 22px rgba(18, 36, 43, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: "Play", "Jura", Arial, sans-serif;
  color: var(--teal-dark);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
}

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

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(18, 36, 43, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand .wordmark {
  font-family: "Play", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 4.5vw, 30px);
  letter-spacing: 2px;
  color: var(--teal);
  text-transform: uppercase;
}
.brand .wordmark span { color: var(--teal-dark); }
.brand .tagline {
  font-family: "Jura", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 6px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-phone {
  font-family: "Jura", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 10px 20px;
  border-radius: var(--radius);
  white-space: nowrap;
}
.header-phone:hover { background: var(--red-dark); color: #fff; text-decoration: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: var(--nav);
  border: 0;
  width: 46px;
  height: 42px;
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ===================== NAV BAR ===================== */
.mainnav {
  background: var(--nav);
  border-top: 3px solid var(--teal);
}
.mainnav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--maxw);
  display: flex;
  flex-wrap: wrap;
}
.mainnav a {
  display: block;
  padding: 15px 22px;
  color: #dfe8ec;
  font-family: "Jura", Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .6px;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: background .2s ease, color .2s ease;
}
.mainnav a:hover { background: var(--nav-hover); color: #fff; text-decoration: none; }
.mainnav a.active {
  background: var(--teal);
  color: #fff;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: "Jura", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .1s ease;
  font-size: 15px;
}
.btn:hover { background: var(--red-dark); text-decoration: none; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--teal { background: var(--teal); }
.btn--teal:hover { background: var(--teal-dark); }
.btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn--ghost:hover { background: #fff; color: var(--teal-dark); }

/* ===================== HERO BANNER ===================== */
.banner {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 18px 22px;
}
.banner h1, .banner h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(22px, 3.6vw, 34px);
  letter-spacing: .5px;
}

/* Home hero split */
.hero {
  padding: 40px 0 30px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-copy h2 { font-size: clamp(24px, 3vw, 32px); }
.hero-copy .lead { font-size: 18px; margin-bottom: 18px; }
.hero-copy ul.speclist {
  margin: 0 0 20px;
  padding-left: 20px;
}
.hero-copy ul.speclist li { margin-bottom: 6px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}

/* ===================== BBB BADGE ===================== */
.bbb-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  padding: 10px 16px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform .12s ease, box-shadow .2s ease;
}
.bbb-badge:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(18,36,43,.16); }
.bbb-badge .bbb-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--teal-dark);
  color: #fff;
  font-family: "Play", Arial, sans-serif;
  font-weight: 700;
  border-radius: 4px;
  padding: 6px 10px;
  line-height: 1;
}
.bbb-badge .bbb-mark .bbb-letters { font-size: 20px; letter-spacing: 1px; }
.bbb-badge .bbb-mark .bbb-rating { font-size: 11px; margin-top: 3px; color: #7fd0ea; }
.bbb-badge .bbb-text { display: flex; flex-direction: column; line-height: 1.25; }
.bbb-badge .bbb-text strong { color: var(--teal-dark); font-size: 15px; }
.bbb-badge .bbb-text small { color: var(--ink); font-size: 12.5px; }

/* ===================== SECTIONS ===================== */
.section { padding: 56px 0; }
.section--panel { background: var(--panel); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 38px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 34px); }
.section-head .kicker {
  display: inline-block;
  font-family: "Jura", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  font-size: 13px;
  margin-bottom: 10px;
}
.section-head p { color: var(--ink); margin: 0; }

/* Card grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(18,36,43,.15); }
.card .card-media { aspect-ratio: 4 / 3; overflow: hidden; }
.card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card .card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { margin: 0 0 18px; font-size: 15.5px; }
.card .card-body .btn { margin-top: auto; align-self: flex-start; }

/* Feature / split rows */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.split .split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.split .split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(24px, 3vw, 30px); }
.split.reverse .split-media { order: 2; }

/* Stats strip */
.stats {
  background: var(--teal-dark);
  color: #fff;
  padding: 40px 0;
}
.stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats .stat .num {
  font-family: "Play", Arial, sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: #fff;
}
.stats .stat .lbl {
  font-family: "Jura", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  color: #a9cfdd;
}

/* CTA band */
.cta-band {
  background: var(--teal);
  color: #fff;
  text-align: center;
  padding: 50px 22px;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.2vw, 32px); }
.cta-band p { max-width: 640px; margin: 0 auto 24px; font-size: 18px; }
.cta-band .btn { background: #fff; color: var(--teal-dark); }
.cta-band .btn:hover { background: var(--teal-dark); color: #fff; }

/* Service list (services page detail) */
.svc-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px; }
.svc-detail .svc-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.svc-detail .svc-item .thumb { border-radius: 4px; overflow: hidden; aspect-ratio: 1/1; }
.svc-detail .svc-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-detail .svc-item h3 { font-size: 19px; margin-bottom: 6px; }
.svc-detail .svc-item p { margin: 0; font-size: 15px; }

/* ===================== GALLERY ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery-grid .g-item {
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--teal-dark);
  box-shadow: var(--shadow);
}
.gallery-grid .g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .2s ease; }
.gallery-grid .g-item:hover img { transform: scale(1.07); opacity: .92; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 25, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: var(--radius);
  box-shadow: 0 10px 50px rgba(0,0,0,.6);
}
.lightbox .lb-close,
.lightbox .lb-nav {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.lightbox .lb-close:hover, .lightbox .lb-nav:hover { background: var(--red); }
.lightbox .lb-close { top: 22px; right: 22px; }
.lightbox .lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-caption {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-family: "Jura", Arial, sans-serif;
  letter-spacing: 1px;
}

/* ===================== REVIEWS ===================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.review .stars { color: #f5a623; font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-style: italic; margin: 0 0 18px; }
.review .who { margin-top: auto; font-family: "Jura", Arial, sans-serif; font-weight: 700; color: var(--teal-dark); }
.review .who span { display: block; font-weight: 400; font-style: normal; font-size: 14px; color: var(--ink); }

/* ===================== CONTACT ===================== */
.contact-grid {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  justify-content: flex-start;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child { border-bottom: 0; }
.info-list .ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}
.info-list h3 { font-size: 16px; margin: 0 0 3px; }
.info-list p, .info-list a { margin: 0; font-size: 16px; }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }

.service-area-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.service-area-tags span {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 14px;
  color: var(--teal-dark);
}

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
  color: #fff;
  padding: 52px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 8px; }
.page-hero p { margin: 0; color: #cfe4ec; max-width: 700px; margin: 0 auto; font-size: 18px; }
.breadcrumb { font-family: "Jura", Arial, sans-serif; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #a9cfdd; margin-bottom: 12px; }
.breadcrumb a { color: #cfe4ec; }

.prose { max-width: 820px; margin: 0 auto; }
.prose p { margin: 0 0 18px; }

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--teal-dark);
  color: #cdd8dd;
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.site-footer h4 {
  color: #fff;
  font-family: "Jura", Arial, sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 15px;
  margin-bottom: 16px;
}
.site-footer .f-brand .wordmark {
  font-family: "Play", Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.site-footer a { color: #9fd0e2; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer p { margin: 0 0 10px; color: #b7c4c9; font-size: 15px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 20px 22px;
  font-size: 14px;
  color: #9fb0b6;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 26px; }
  .split.reverse .split-media { order: 0; }
  .cards, .gallery-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-detail { grid-template-columns: 1fr; }
  .stats .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .header-phone { padding: 8px 14px; font-size: 12px; }
  .mainnav ul {
    display: none;
    flex-direction: column;
  }
  .mainnav ul.open { display: flex; }
  .mainnav a { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .gallery-grid, .reviews-grid { grid-template-columns: 1fr; }
  .stats .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 42px 0; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  .bbb-badge { width: 100%; justify-content: flex-start; }
}
