/* ============================================
   Diamond West Civil — Global Styles
   ============================================ */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

a.logo:hover {
  color: var(--color-text-primary);
}

a.logo:hover .text-accent {
  color: var(--color-accent);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- CSS Variables --- */
:root {
  --color-bg-primary: #1A1A1A;
  --color-bg-secondary: #2D2D2D;
  --color-bg-tertiary: #3A3A3A;
  --color-text-primary: #FFFFFF;
  --color-text-secondary: #B0B0B0;
  --color-accent: #F59E0B;
  --color-accent-hover: #F97316;
  --color-success: #22C55E;
  --color-error: #EF4444;

  --font-h1: 700 3rem/1.15 'Inter', sans-serif;
  --font-h2: 700 2.25rem/1.2 'Inter', sans-serif;
  --font-h3: 600 1.5rem/1.35 'Inter', sans-serif;
  --font-body: 400 1rem/1.75 'Inter', sans-serif;
  --font-small: 400 0.875rem/1.45 'Inter', sans-serif;

  --container-max: 1200px;
  --section-padding: 80px 0;
  --gap: 32px;
  --radius: 8px;
  --transition: 0.2s ease;
}

/* --- Typography --- */
h1 { font: var(--font-h1); }
h2 { font: var(--font-h2); }
h3 { font: var(--font-h3); }
p { font: var(--font-body); color: var(--color-text-secondary); }

h1, h2, h3 {
  color: var(--color-text-primary);
}

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

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

.section {
  padding: var(--section-padding);
}

.section--alt {
  background-color: var(--color-bg-secondary);
}

.grid {
  display: grid;
  gap: var(--gap);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.flex {
  display: flex;
  align-items: center;
}

.flex--between {
  justify-content: space-between;
}

.flex--center {
  justify-content: center;
}

.flex--col {
  flex-direction: column;
}

.text-center { text-align: center; }

/* --- Section Header --- */
.section-header {
  max-width: 700px;
  margin-bottom: 48px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  margin-top: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-bg-primary);
}

.btn--primary:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.btn--secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 2px solid var(--color-text-primary);
}

.btn--secondary:hover {
  background-color: var(--color-text-primary);
  color: var(--color-bg-primary);
}

.btn--small {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn--full {
  width: 100%;
}

/* --- Top Bar --- */
.topbar {
  background-color: var(--color-bg-secondary);
  padding: 8px 0;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-bg-tertiary);
}

.topbar a {
  color: var(--color-accent);
}

/* --- Header / Navbar --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-bg-tertiary);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo svg {
  width: 28px;
  height: 28px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

.logo .text-accent {
  color: var(--color-accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--color-accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  margin: 6px 0;
  transition: all 0.3s ease;
}

/* --- Hero --- */
.hero {
  padding: 48px 0;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,26,26,0.95) 0%, rgba(26,26,26,0.8) 50%, rgba(26,26,26,0.4) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.hero--home {
  background-image: url('../assets/images/hero-excavation.jpg');
}

.hero--site-prep {
  background-image: url('../assets/images/hero-construction.jpg');
}

.hero--grading {
  background-image: url('../assets/images/hero-grading.jpg');
}

.hero--retaining-walls {
  background-image: url('../assets/images/retaining-wall.jpg');
}

.hero__content {
  padding-top: 0;
}

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

.hero__content p {
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Landing page hero (form on right) */
.hero--landing {
  padding: 40px 0;
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 24px 0;
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-bg-tertiary);
  border-bottom: 1px solid var(--color-bg-tertiary);
}

.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.trust-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

/* --- Cards --- */
.card {
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--color-bg-tertiary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  fill: var(--color-accent);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  margin-bottom: 20px;
}

/* --- Service Detail Section --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.service-detail__info h2 {
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 16px;
}

.service-detail__info h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
}

.service-detail__info > p {
  margin-bottom: 32px;
}

.service-detail__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-detail__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-bg-tertiary);
}

.service-detail__card {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: var(--radius);
  padding: 28px;
}

.service-detail__card h3 {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-detail__card h3 svg {
  width: 22px;
  height: 22px;
  fill: var(--color-accent);
}

/* --- Service Detail List --- */
.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin: 24px 0;
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  padding: 8px 12px;
  background-color: var(--color-bg-secondary);
  border-radius: var(--radius);
  border: 1px solid var(--color-bg-tertiary);
  font-size: 0.9375rem;
}

.service-list li svg {
  width: 18px;
  height: 18px;
  fill: var(--color-accent);
  flex-shrink: 0;
}

/* --- Process Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-bg-primary);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.step h3 {
  margin-bottom: 8px;
}

/* --- CTA Section --- */
.cta-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: 16px;
}

.cta-section p {
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- FAQ --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 8px;
}

.faq-item {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  fill: var(--color-text-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 24px 20px;
}

/* --- Form --- */
.form-card {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-bg-tertiary);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.form-card h3,
.form-card .form-title {
  margin-bottom: 2px;
  font-size: 1.25rem;
  font: var(--font-h3);
}

.form-card > p {
  margin-bottom: 16px;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 9px 12px;
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-bg-tertiary);
  border-radius: var(--radius);
  color: var(--color-text-primary);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(176, 176, 176, 0.35);
}

.form-group select:invalid,
.form-group select option[value=""] {
  color: rgba(176, 176, 176, 0.35);
}

.form-group select option {
  color: var(--color-text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-group input.error,
.form-group select.error {
  border-color: var(--color-error);
}

.form-group .error-message {
  font-size: 0.8125rem;
  color: var(--color-error);
  margin-top: 4px;
  display: none;
}

.form-group input.error ~ .error-message,
.form-group select.error ~ .error-message {
  display: block;
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23B0B0B0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-row .form-group {
  margin-bottom: 0;
}

.lead-form .btn--full {
  margin-top: 6px;
  padding: 12px 24px;
}

.form-privacy {
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-privacy svg {
  width: 14px;
  height: 14px;
  fill: var(--color-text-secondary);
  flex-shrink: 0;
}

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--color-bg-tertiary);
  transition: transform var(--transition), opacity var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* --- Footer --- */
.footer {
  padding: 48px 0 24px;
  background-color: var(--color-bg-secondary);
  border-top: 1px solid var(--color-bg-tertiary);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--gap);
  margin-bottom: 40px;
}

/* When there's no services column (landing pages) */
.footer__top > :first-child:nth-last-child(2),
.footer__top > :first-child:nth-last-child(2) ~ * {
  /* Auto-adjust: if only 2 children, use 2-col layout */
}

.footer__top:has(> :nth-child(3)) {
  grid-template-columns: 2fr 1fr 1fr;
}

.footer__top:not(:has(> :nth-child(3))) {
  grid-template-columns: 2fr 1fr;
}

.footer__brand p {
  margin-top: 12px;
  font-size: 0.875rem;
  max-width: 320px;
}

.footer__links h4,
.footer__contact h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer__links a,
.footer__contact a {
  display: block;
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 8px;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  border-top: 1px solid var(--color-bg-tertiary);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

/* --- Mobile Sticky CTA (hidden on desktop via min-width) --- */
@media (min-width: 769px) {
  .mobile-cta {
    display: none;
  }
}

.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px;
  background-color: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-bg-tertiary);
  gap: 10px;
  display: flex;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-cta.visible {
  transform: translateY(0);
}

.mobile-cta a {
  flex: 1;
  text-align: center;
}

/* --- Landing Page Footer --- */
.footer-landing {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-bg-tertiary);
}

.footer-landing .logo {
  justify-content: center;
  margin-bottom: 8px;
}

.footer-landing p {
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.footer-landing__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.9375rem;
}

.footer-landing__contact span {
  color: var(--color-bg-tertiary);
}

/* --- Landing Page Minimal Header --- */
.header--landing .nav,
.header--landing .menu-toggle {
  display: none;
}

/* --- Thank You Page --- */
.thankyou {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 0;
}

.thankyou__icon {
  width: 80px;
  height: 80px;
  fill: var(--color-success);
  margin: 0 auto 24px;
}

.thankyou h1 {
  margin-bottom: 16px;
}

.thankyou p {
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --font-h1: 700 1.625rem/1.25 'Inter', sans-serif;
    --font-h2: 700 1.375rem/1.25 'Inter', sans-serif;
    --font-h3: 600 1.125rem/1.3 'Inter', sans-serif;
    --section-padding: 48px 0;
    --gap: 16px;
  }

  /* --- Topbar: hide on mobile — CTA in header is enough --- */
  .topbar {
    display: none;
  }

  /* --- Header mobile --- */
  .header .container {
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px;
  }

  .logo {
    font-size: 1rem;
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
  }

  .logo svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .header-phone {
    display: none;
  }

  .header-cta {
    gap: 8px;
    flex-shrink: 0;
  }

  .header-cta .btn--primary {
    padding: 8px 12px;
    font-size: 0.75rem;
    min-height: 40px;
    white-space: nowrap;
  }

  /* Mobile nav */
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-primary);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    z-index: 200;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 1.25rem;
    text-align: center;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle {
    display: block;
    z-index: 300;
    min-width: 44px;
    min-height: 44px;
  }

  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* --- Hero mobile --- */
  .hero {
    padding: 20px 0 24px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(26,26,26,0.93) 0%, rgba(26,26,26,0.97) 100%);
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__form {
    order: -1;
  }

  .hero__content {
    padding-top: 0;
    text-align: left;
  }

  .hero__content h1 {
    margin-bottom: 12px;
  }

  .hero__content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
  }

  .hero__actions {
    justify-content: center;
  }

  /* --- Form mobile --- */
  .form-card {
    padding: 20px 16px;
    border: none;
    border-top: 3px solid var(--color-accent);
    background-color: rgba(45, 45, 45, 0.95);
    border-radius: 10px;
  }

  .form-card h3 {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 4px;
  }

  .form-card > p {
    text-align: center;
    margin-bottom: 16px;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-group label {
    font-size: 0.8125rem;
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--color-text-secondary);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 16px; /* prevents iOS zoom on focus */
    border-radius: 8px;
    min-height: 48px; /* touch target */
  }

  .form-group textarea {
    min-height: 64px;
  }

  /* Single column on mobile — always */
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-row .form-group {
    margin-bottom: 0;
  }

  /* Show ALL fields on mobile */
  .form-group--optional {
    display: block;
  }

  .lead-form .btn--full {
    margin-top: 8px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    min-height: 52px; /* prominent CTA */
  }

  .form-privacy {
    font-size: 0.75rem;
    justify-content: center;
    margin-top: 10px;
  }

  .form-privacy svg {
    width: 12px;
    height: 12px;
  }

  /* --- Trust bar mobile: 2x2 grid, readable --- */
  .trust-bar {
    padding: 16px 0;
  }

  .trust-bar .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
  }

  .trust-item {
    font-size: 0.8125rem;
    gap: 6px;
    justify-content: flex-start;
  }

  .trust-item svg {
    width: 16px;
    height: 16px;
  }

  /* --- Section mobile --- */
  .section-header {
    margin-bottom: 28px;
    text-align: left;
  }

  .section-header.text-center {
    text-align: left;
  }

  .section-header p {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.6;
  }

  /* --- Cards mobile --- */
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .grid--4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .card {
    padding: 20px;
    border-radius: 10px;
  }

  .card:hover {
    transform: none;
    box-shadow: none;
  }

  .card h3 {
    font-size: 1.0625rem;
    margin-bottom: 6px;
  }

  .card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .card .btn--small {
    min-height: 44px;
  }

  /* --- Steps mobile --- */
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .step__number {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .step h3 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .step p {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  /* --- Service detail mobile --- */
  .service-detail {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-detail__info h2 {
    font-size: 1.375rem;
  }

  .service-detail__info > p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-list li {
    font-size: 0.9375rem;
    padding: 10px 12px;
    min-height: 44px;
  }

  .service-detail__image {
    height: 200px;
    border-radius: 10px;
  }

  .service-detail__card {
    padding: 20px;
    border-radius: 10px;
  }

  .service-detail__card h3 {
    font-size: 1.0625rem;
  }

  .service-detail__card p {
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  /* --- Gallery mobile --- */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery-grid img {
    height: 160px;
    border-radius: 8px;
  }

  /* --- CTA section mobile --- */
  .cta-section {
    padding: 40px 0;
    text-align: left;
  }

  .cta-section h2 {
    font-size: 1.375rem;
    margin-bottom: 10px;
  }

  .cta-section p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .cta-section .btn {
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
  }

  /* --- FAQ mobile --- */
  .faq-list {
    gap: 8px;
  }

  .faq-item {
    border-radius: 10px;
  }

  .faq-question {
    padding: 16px;
    font-size: 0.9375rem;
    min-height: 52px;
  }

  .faq-answer p {
    padding: 0 16px 16px;
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  /* --- Footer mobile --- */
  .footer {
    padding: 32px 0 20px;
    padding-bottom: 80px; /* space for sticky CTA */
  }

  .footer__top {
    grid-template-columns: 1fr !important;
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer__brand .logo {
    margin-bottom: 8px;
  }

  .footer__brand p {
    font-size: 0.875rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .footer__links h4,
  .footer__contact h4 {
    font-size: 0.8125rem;
    margin-bottom: 12px;
  }

  .footer__links a,
  .footer__contact a {
    font-size: 1rem;
    padding: 6px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    font-size: 0.8125rem;
  }

  /* --- Mobile Sticky CTA --- */
  .mobile-cta {
    padding: 12px 16px;
    gap: 10px;
  }

  .mobile-cta a {
    padding: 12px 16px;
    font-size: 0.9375rem;
    min-height: 48px;
    border-radius: 8px;
  }

  /* --- Thank you mobile --- */
  .thankyou {
    padding: 48px 0;
    min-height: 50vh;
  }

  .thankyou__icon {
    width: 64px;
    height: 64px;
  }

  .thankyou h1 {
    font-size: 1.5rem;
  }

  .thankyou p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  /* --- Problem section text mobile --- */
  .section--alt .section-header,
  .section .section-header[style] {
    text-align: left;
  }

  .section--alt .section-header p,
  .section .section-header[style] p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* --- Extra small screens (< 380px) --- */
@media (max-width: 380px) {
  :root {
    --font-h1: 700 1.375rem/1.25 'Inter', sans-serif;
    --font-h2: 700 1.25rem/1.3 'Inter', sans-serif;
  }

  .container {
    padding: 0 14px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 200px;
  }
}
