:root {
  --brand: #fc3;
  --black: #101010;
  --charcoal: #1a1a1a;
  --white: #fff;
  --muted: #b8b8b8;
  --line: rgba(255, 255, 255, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Barlow", sans-serif;
  color: var(--black);
  background: var(--white);
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><circle cx="9" cy="9" r="4" fill="%23fc3" stroke="%23101010" stroke-width="1.25"/></svg>') 9 9, auto;
}

a {
  color: inherit;
  text-decoration: none;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><circle cx="9" cy="9" r="4" fill="%23fc3" stroke="%23101010" stroke-width="1.25"/></svg>') 9 9, pointer;
}

button,
[role="button"],
.btn-brand,
.btn-ghost,
.cta-btn,
.main-nav a,
.brand,
.back-to-top,
.quote-callbar,
.quote-submit {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><circle cx="9" cy="9" r="4" fill="%23fc3" stroke="%23101010" stroke-width="1.25"/></svg>') 9 9, pointer;
}

.shell {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.promo-bar {
  background: var(--brand);
  color: var(--black);
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 0.62rem 1rem;
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(7px);
}

.nav-row {
  min-height: 4.6rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--black);
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--brand);
  font-size: 0.92rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  justify-self: center;
}

.main-nav a {
  font-weight: 600;
  color: var(--black);
  transition: color 0.3s ease;
  position: relative;
}

.main-nav a:hover {
  color: var(--brand);
}

.main-nav a.active {
  color: var(--brand) !important;
  font-weight: 700;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--brand);
  color: var(--black);
  font-weight: 700;
  padding: 0.88rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 20px rgba(255, 204, 51, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.cta-btn:hover {
  background: #ffb300;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(255, 204, 51, 0.32);
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--brand);
  color: var(--black);
  border: 2px solid var(--black);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
  z-index: 1200;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: #ffb300;
}

.hero {
  background: linear-gradient(145deg, #050505 0%, #121212 100%);
  color: var(--white);
  padding: 6rem 0 4.5rem;
  animation: fadeIn 0.8s ease-out;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(5, 5, 5, 0.82) 0%, rgba(18, 18, 18, 0.86) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero .shell {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  align-items: center;
}

.eyebrow {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0.8rem 0 1rem;
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.08;
}

.hero h1 span {
  color: var(--brand);
}

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  max-width: 42ch;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn-brand,
.btn-ghost {
  border-radius: 0.6rem;
  padding: 0.85rem 1.2rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.3s ease;
}

.btn-brand {
  background: var(--brand);
  color: var(--black);
}

.btn-brand:hover {
  background: #ffb300;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(255, 204, 51, 0.3);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-3px);
}

.hero-card {
  background: #111;
  border-radius: 0.95rem;
  color: var(--white);
  padding: 1.3rem;
  border: 2px solid var(--brand);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.hero-card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.hero-card p {
  margin: 0.45rem 0 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}

.hero-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.hero-list li {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.55rem;
  padding: 0.62rem 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.03);
}

.quote-card {
  padding: 0;
  overflow: hidden;
  max-width: 440px;
  justify-self: end;
}

.quote-callbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  background: #000;
  color: var(--brand);
  font-weight: 800;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line);
}

.quote-body {
  padding: 1rem;
}

.quote-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 204, 51, 0.1);
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 auto 0.95rem;
}

.quote-body h2 {
  margin: 0;
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.15;
}

.quote-subtitle {
  margin: 0.4rem 0 0.9rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.lead-form {
  display: grid;
  gap: 0.65rem;
}

.lead-form label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 0.05rem;
}

.lead-form input,
.lead-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background: #0d0d0d;
  color: var(--white);
  padding: 0.78rem 0.9rem;
  font: inherit;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lead-form input::placeholder,
.lead-form select {
  color: #b7b7b7;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 204, 51, 0.16);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.1rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.5rem;
  border-radius: 999px;
  background: #171717;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-row i {
  color: var(--brand);
}

.quote-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  background: var(--brand);
  color: var(--black);
  border-radius: 0.75rem;
  padding: 0.82rem 1rem;
  font-weight: 800;
  margin-top: 0.05rem;
  box-shadow: 0 12px 24px rgba(255, 204, 51, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.quote-submit:hover {
  background: #ffb300;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(255, 204, 51, 0.28);
}

.quote-note {
  margin: 0;
  text-align: center;
  font-size: 0.76rem;
  color: #9a9a9a;
}

.section {
  padding: 4.7rem 0;
  background: var(--white);
  animation: slideUp 0.8s ease-out;
}

.section.alt {
  background: #f7f7f7;
}

.section-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  color: var(--black);
}

.section-sub {
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.quote-section {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: 0;
  animation: fadeIn 0.8s ease-out;
}

.quote-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.quote-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(5, 5, 5, 0.72) 0%, rgba(18, 18, 18, 0.76) 100%);
  z-index: 1;
  pointer-events: none;
}

.quote-shell {
  position: relative;
  z-index: 2;
  color: var(--white);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
}

.quote-section .section-title {
  color: var(--white);
}

.quote-section .section-sub {
  color: rgba(255, 255, 255, 0.84);
}

.contact-card-yellow-box {
  width: min(860px, 100%);
  min-height: 360px;
  background: var(--brand);
  border-radius: 1.25rem;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2.5rem;
}

.contact-card-section {
  padding: 3rem 2rem;
  background: var(--white);
}

.contact-card-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  width: min(1180px, 95%);
  margin: 0 auto;
  height: 300px;
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.18);
}

.contact-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.contact-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.68) 0%, rgba(18, 18, 18, 0.72) 100%);
  z-index: 1;
  pointer-events: none;
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  gap: 1.5rem;
  padding: 0;
  width: 100%;
}

.contact-card-buttons {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-email,
.btn-contact {
  border-radius: 0.45rem;
  padding: 0.95rem 2.1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.btn-email {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}

.btn-email:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.btn-contact {
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--white);
}

.btn-contact:hover {
  background: var(--white);
  color: var(--black);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(255, 255, 255, 0.4);
}

.contact-card-text {
  color: var(--white);
  font-size: 1.1rem;
  margin: 0;
  text-align: center;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.contact-card-text strong {
  color: var(--brand);
  font-weight: 700;
  font-size: 1.15rem;
}

@media (max-width: 980px) {
  .quote-shell {
    justify-content: center;
  }

  .contact-card-yellow-box {
    width: 100%;
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .quote-section {
    min-height: 430px;
  }

  .quote-shell {
    min-height: 430px;
  }

  .contact-card-yellow-box {
    padding: 2rem 1.2rem;
    min-height: 290px;
  }

  .btn-email,
  .btn-contact {
    width: 100%;
    justify-content: center;
  }

  .contact-card-buttons {
    width: 100%;
  }
}

.service-grid,
.project-grid {
  margin-top: 1.65rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 1rem;
  animation: scaleIn 0.6s ease-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--black);
}

.card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.card-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}

.project {
  border-top: 4px solid var(--brand);
}

.site-footer {
  background: #000;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 3rem;
}

.footer-grid {
  padding: 3rem 0 1.75rem;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.6fr 1fr 1fr;
}

.footer-grid h3,
.footer-grid h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #fff;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-grid i {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.95rem 0 1.2rem;
  font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reviews-carousel {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  margin-top: 1.65rem;
  scroll-behavior: smooth;
}

.reviews-carousel::-webkit-scrollbar {
  height: 6px;
}

.reviews-carousel::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

.reviews-carousel::-webkit-scrollbar-thumb {
  background: var(--brand);
  border-radius: 10px;
}

.reviews-carousel::-webkit-scrollbar-thumb:hover {
  background: #ffb300;
}

.review-card {
  flex: 0 0 calc(33.333% - 0.8rem);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  padding: 1.45rem;
  animation: scaleIn 0.6s ease-out;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.review-stars {
  color: var(--brand);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin: 0;
}

.google-badge {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a73e8, #34a853, #fbbc05, #ea4335);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.loc-icon { vertical-align: middle; margin-right: 0.45rem; }

.review-header,
.review-text { cursor: pointer; }

.review-text:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.09);
}

.review-text {
  font-size: 0.97rem;
  line-height: 1.65;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.95rem;
  padding: 1rem 1rem 0.95rem;
}

.review-footer {
  order: -1;
  padding-bottom: 0.35rem;
}

.review-author-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.review-name {
  font-weight: 700;
  margin: 0;
  color: var(--white);
  font-size: 0.98rem;
}

.review-location {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0.3rem 0 0;
}

.review-card .review-header {
  padding-top: 0.1rem;
}

.review-card .review-header + .review-text {
  margin-top: 0.15rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .service-grid,
  .project-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  .review-card {
    flex: 0 0 calc(50% - 0.6rem);
  }
}

@media (max-width: 640px) {
  .review-card {
    flex: 0 0 calc(85% - 0.6rem);
  }
}

/* Header actions: keep CTA and social icons grouped at the far right */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Ensure the actions sit at the right of the nav row on wide screens */
.nav-row > .header-actions {
  justify-self: end;
}

.header-actions .social-link {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--black);
  background: transparent;
  border: 1px solid rgba(0,0,0,0.06);
  transition: background .12s ease, transform .12s ease;
}

.header-actions .social-link:hover {
  background: var(--brand);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 204, 51, 0.18);
}

@media (max-width: 980px) {
  /* collapse or move actions on smaller screens if needed */
  .nav-row > .header-actions {
    margin-left: 0;
  }
}
