/* ============================================
   STRAIGHTLINE CONTRACTING — Styles
   Dark-mode-first. Bold. Capable.
   ============================================ */

/* --- Custom Properties --- */
:root {
  --black: #0A0A0A;
  --dark: #111111;
  --dark-card: #1A1A1A;
  --dark-border: #2A2A2A;
  --lime: #8BC34A;
  --lime-hover: #9CCC65;
  --lime-dark: #689F38;
  --lime-glow: rgba(139, 195, 74, 0.15);
  --lime-glow-strong: rgba(139, 195, 74, 0.3);
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #E0E0E0;
  --gray-300: #BDBDBD;
  --gray-400: #9E9E9E;
  --gray-500: #757575;
  --gray-600: #616161;
  --text-primary: #F5F5F5;
  --text-secondary: #BDBDBD;
  --text-muted: #9E9E9E;

  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;

  --nav-height: 72px;
  --section-pad: 80px;
  --section-pad-mobile: 56px;
  --container-max: 1200px;
  --container-wide: 1400px;
  --radius: 8px;
  --radius-lg: 16px;

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.1s forwards;
  overflow-x: hidden;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transition: opacity 0.4s ease;
}
img.loaded {
  opacity: 1;
}

a {
  color: var(--lime);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--lime-hover);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}
h2 {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
}
h3 {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.text-lime {
  color: var(--lime);
}

.lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

.container--wide {
  max-width: var(--container-wide);
}

section {
  padding: var(--section-pad-mobile) 0;
}

@media (min-width: 768px) {
  section {
    padding: var(--section-pad) 0;
  }
  .container {
    padding: 0 40px;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

.btn--primary {
  background: var(--lime);
  color: var(--black);
}
.btn--primary:hover {
  background: var(--lime-hover);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--lime-glow-strong);
}
.btn--primary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--dark-border);
}
.btn--outline:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--dark-card);
  color: var(--white);
  border: 1px solid var(--dark-border);
}
.btn--dark:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}

.btn--phone {
  background: var(--lime);
  color: var(--black);
  font-weight: 700;
  font-size: 1.1rem;
}
.btn--phone:hover {
  background: var(--lime-hover);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--lime-glow-strong);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--dark-border);
}

.nav__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1001;
}

.nav__logo-mark {
  width: 32px;
  height: 3px;
  background: var(--lime);
  display: inline-block;
}

.nav__links {
  display: none;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav__links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  transition: color var(--transition);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--lime);
  transition: width var(--transition);
}
.nav__links a:hover,
.nav__links a[aria-current="page"] {
  color: var(--white);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after {
  width: 100%;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Panel */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background: var(--dark);
  z-index: 999;
  transition: right var(--transition);
  padding: calc(var(--nav-height) + 24px) 32px 32px;
  display: flex;
  flex-direction: column;
}
.mobile-nav.open {
  right: 0;
}
.mobile-nav__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav__links a {
  display: block;
  padding: 16px 0;
  color: var(--text-secondary);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--dark-border);
  transition: color var(--transition), padding-left var(--transition);
}
.mobile-nav__links a:hover,
.mobile-nav__links a[aria-current="page"] {
  color: var(--lime);
  padding-left: 8px;
}

.mobile-nav__cta {
  margin-top: auto;
  padding-top: 32px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 998;
}
.nav-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 900px) {
  .nav__links {
    display: flex;
  }
  .nav__toggle {
    display: none;
  }
  .mobile-nav,
  .nav-overlay {
    display: none !important;
  }
  .nav__inner {
    padding: 0 40px;
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.hero__image {
  position: relative;
  width: 100%;
  height: 50vh;
  height: 50dvh;
  min-height: 300px;
  overflow: hidden;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--black), transparent);
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 20px 100px;
  position: relative;
  z-index: 2;
  margin-top: -40px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}
.hero__tag::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--lime);
}

.hero h1 {
  margin-bottom: 20px;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    align-items: stretch;
    min-height: 100vh;
  }
  .hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero__image::after {
    height: 100%;
    background: linear-gradient(to right, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 40%, rgba(10,10,10,0.2) 70%, transparent 100%);
  }
  .hero__content {
    max-width: 600px;
    padding: calc(var(--nav-height) + 60px) 40px 60px;
    margin-top: 0;
    justify-content: center;
  }
  .hero__actions {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1200px) {
  .hero__content {
    padding-left: max(calc((100vw - var(--container-wide)) / 2 + 40px), 80px);
  }
}

/* --- Page Hero (interior pages) --- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-height) + 48px) 0 48px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.85), rgba(10,10,10,0.95));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 16px;
}
.page-hero .lead {
  max-width: 640px;
}

@media (min-width: 768px) {
  .page-hero {
    padding: calc(var(--nav-height) + 80px) 0 80px;
  }
}

/* --- Service Cards Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  z-index: 1;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  border-color: var(--lime);
}

.service-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card__image img {
  transform: scale(1.05);
}
.service-card__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, var(--dark-card), transparent);
}

.service-card__body {
  padding: 24px;
}
.service-card__body h3 {
  margin-bottom: 8px;
}
.service-card__body h3 a {
  color: var(--white);
  text-decoration: none;
}
.service-card__body h3 a:hover {
  color: var(--lime);
}
.service-card__body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--lime);
  text-decoration: none;
  transition: gap var(--transition);
}
.service-card__link:hover {
  gap: 10px;
}

/* --- Feature Blocks (alternating image + text) --- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.feature-block__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.feature-block__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature-block__content h2 {
  margin-bottom: 16px;
}
.feature-block__content p {
  margin-bottom: 12px;
}

.feature-block__list {
  list-style: none;
  margin: 20px 0;
}
.feature-block__list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-secondary);
}
.feature-block__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 2px;
  background: var(--lime);
}

@media (min-width: 768px) {
  .feature-block {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .feature-block--reverse .feature-block__image {
    order: 2;
  }
}

/* --- Highlight / Stats Bar --- */
.highlight-bar {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.highlight-bar__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  text-align: center;
}

.highlight-item {
  padding: 8px 0;
}
.highlight-item__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lime-glow);
  border-radius: 50%;
}
.highlight-item__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--lime);
  fill: none;
  stroke-width: 2;
}

.highlight-item h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 4px;
}
.highlight-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

@media (min-width: 600px) {
  .highlight-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .highlight-bar__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
}
.cta-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-section__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.92), rgba(10,10,10,0.8));
}

.cta-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}
.cta-section p {
  max-width: 540px;
  margin: 0 auto 32px;
}
.cta-section .btn {
  margin: 0 auto;
}

/* --- About Section --- */
.about-intro {
  background: var(--dark);
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--dark-border);
}
.about-intro__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 768px) {
  .about-intro__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

/* --- Contact / Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.contact-info__item svg {
  width: 24px;
  height: 24px;
  stroke: var(--lime);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-info__item h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 4px;
}
.contact-info__item p {
  margin: 0;
  color: var(--text-secondary);
}
.contact-info__item a {
  color: var(--white);
  font-weight: 600;
  font-size: 1.2rem;
}
.contact-info__item a:hover {
  color: var(--lime);
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-600);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-glow);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 500px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form__submit {
  align-self: flex-start;
}

.form__message {
  display: none;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 600;
}
.form__message--success {
  background: var(--lime-glow);
  color: var(--lime);
  border: 1px solid var(--lime-dark);
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  padding: 56px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer__nav h4,
.footer__contact h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 16px;
}

.footer__nav ul {
  list-style: none;
}
.footer__nav ul li {
  margin-bottom: 10px;
}
.footer__nav ul a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer__nav ul a:hover {
  color: var(--white);
}

.footer__contact p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.footer__contact a {
  color: var(--text-secondary);
}
.footer__contact a:hover {
  color: var(--lime);
}

.footer__bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin: 0;
}

@media (min-width: 600px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: 48px;
}
.section-header--center {
  text-align: center;
}
.section-header__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
}
.section-header__tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--lime);
}
.section-header h2 {
  margin-bottom: 12px;
}
.section-header p {
  max-width: 580px;
  color: var(--text-muted);
}
.section-header--center p {
  margin-left: auto;
  margin-right: auto;
}

/* --- Content Sections (service detail pages) --- */
.content-section {
  background: var(--black);
}

.content-section--alt {
  background: var(--dark);
}

.content-block {
  max-width: 720px;
}

.content-block h2 {
  margin-bottom: 20px;
}

.content-block ul {
  list-style: none;
  margin: 20px 0;
}
.content-block ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--dark-border);
}
.content-block ul li:last-child {
  border-bottom: none;
}
.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 2px;
  background: var(--lime);
}

/* --- Image Banner --- */
.image-banner {
  position: relative;
  height: 300px;
  overflow: hidden;
}
.image-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--black), transparent 20%, transparent 80%, var(--black));
}

@media (min-width: 768px) {
  .image-banner {
    height: 400px;
  }
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.15s; }
.stagger > *:nth-child(4) { transition-delay: 0.2s; }

/* --- Sticky Phone CTA (mobile) --- */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--lime-glow-strong);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  isolation: isolate;
}
.sticky-cta:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px var(--lime-glow-strong);
  color: var(--black);
}
.sticky-cta svg {
  width: 24px;
  height: 24px;
  fill: var(--black);
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

/* --- Utility --- */
.mb-0 { margin-bottom: 0; }
.mt-48 { margin-top: 48px; }
.pt-0 { padding-top: 0; }
.text-center { text-align: center; }

/* Mountain SVG decoration */
.mountain-divider {
  width: 100%;
  height: 60px;
  overflow: hidden;
  line-height: 0;
}
.mountain-divider svg {
  width: 100%;
  height: 100%;
}

/* --- Scrollbar (desktop) --- */
@media (min-width: 768px) {
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: var(--black);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--dark-border);
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--gray-600);
  }
}

/* Contain horizontal overflow on mobile */
main,
.footer {
  overflow-x: hidden;
}

/* Add padding for sticky CTA on mobile */
@media (max-width: 899px) {
  main {
    padding-bottom: 100px;
  }
  .services-grid .service-card:last-child {
    margin-bottom: 60px;
  }
  .hero__actions {
    align-items: flex-start;
  }
}

/* -----------------------------------------------------------------
 * Reveal-animation fix (2026-04-17): previously, .reveal elements had
 * opacity:0 by default and only became visible after scroll-reveal JS
 * kicked in. On slow connections, during print, or if JS failed, half
 * the page appeared empty. Now reveal elements default to visible; any
 * scroll-in animation runs as an additive enhancement instead of a
 * subtractive hide.
 * ----------------------------------------------------------------- */
.reveal,
.reveal-left,
.reveal-right,
.reveal-up,
.reveal-down,
.fade-in,
.scroll-reveal,
[data-reveal],
[data-aos],
.stagger > * {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

