/* ============================================
   Windham Plumbing Services - Del Valle, TX
   Design: Texas Tradesman
   ============================================ */

/* --- Custom Properties --- */
:root {
  --color-navy: #1e3a4f;
  --color-navy-deep: #142a3a;
  --color-rust: #c0522a;
  --color-rust-light: #d4673f;
  --color-rust-dark: #a3441f;
  --color-cream: #f5efe8;
  --color-cream-dark: #e8dfd4;
  --color-dark: #0f1a22;
  --color-light: #faf8f5;
  --color-white: #ffffff;
  --color-text: #2e2e2e;
  --color-text-light: #5a6570;
  --color-text-on-dark: #d4cfc8;
  --color-border: #d4cfc8;
  --font-heading: 'Yanone Kaffeesatz', sans-serif;
  --font-body: 'Red Hat Text', sans-serif;
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 2px 8px rgba(15, 26, 34, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 26, 34, 0.12);
  --shadow-lg: 0 8px 40px rgba(15, 26, 34, 0.16);
  --radius: 6px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-light);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--color-rust);
  text-decoration: none;
  transition: color 150ms ease;
}

a:hover {
  color: var(--color-rust-light);
}

a:focus-visible {
  outline: 3px solid var(--color-rust);
  outline-offset: 2px;
  border-radius: 2px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p + p { margin-top: 1em; }

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-rust);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 10000;
  font-weight: 600;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--color-white);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 800px;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-navy-deep);
  border-bottom: 3px solid var(--color-rust);
  transition: box-shadow 300ms ease;
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo img {
  height: 56px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-cream);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.header__logo-text span {
  display: block;
  font-size: 0.7rem;
  color: var(--color-rust);
  letter-spacing: 0.15em;
  font-family: var(--font-body);
  font-weight: 500;
}

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

.nav__link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-cream);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding: 4px 0;
  transition: color 150ms ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-rust);
  transition: width 300ms var(--ease-reveal);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-rust);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-rust);
  letter-spacing: 0.03em;
}

.nav__phone svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav__phone:hover {
  color: var(--color-rust-light);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-cream);
  margin: 6px 0;
  transition: transform 300ms ease, opacity 200ms ease;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: var(--color-dark);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,26,34,0.92) 0%, rgba(30,58,79,0.75) 50%, rgba(15,26,34,0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 80px 0 100px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192, 82, 42, 0.15);
  border: 1px solid rgba(192, 82, 42, 0.4);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-rust);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  animation: fadeInUp 600ms var(--ease-reveal) both;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 20px;
  animation: fadeInUp 600ms 100ms var(--ease-reveal) both;
}

.hero h1 span {
  color: var(--color-rust);
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-on-dark);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  animation: fadeInUp 600ms 200ms var(--ease-reveal) both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 600ms 300ms var(--ease-reveal) both;
}

.hero__license {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 12px 20px;
  animation: fadeIn 800ms 600ms var(--ease-reveal) both;
}

.hero__license-icon {
  width: 36px;
  height: 36px;
  background: var(--color-rust);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__license-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
}

.hero__license-text {
  font-size: 0.8rem;
  color: var(--color-text-on-dark);
  line-height: 1.4;
}

.hero__license-text strong {
  display: block;
  color: var(--color-white);
  font-size: 0.9rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
  min-height: 44px;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--color-rust);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-rust-light);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
}

.btn--dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn--dark:hover {
  background: var(--color-navy-deep);
  color: var(--color-white);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Section Base --- */
.section {
  padding: 80px 0;
}

.section--dark {
  background: var(--color-dark);
  color: var(--color-text-on-dark);
}

.section--navy {
  background: var(--color-navy);
  color: var(--color-text-on-dark);
}

.section--cream {
  background: var(--color-cream);
}

.section--light {
  background: var(--color-light);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-rust);
  margin-bottom: 12px;
}

.section__header h2 {
  color: var(--color-navy);
  margin-bottom: 16px;
}

.section--dark .section__header h2,
.section--navy .section__header h2 {
  color: var(--color-white);
}

.section__header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-light);
  font-size: 1.05rem;
}

.section--dark .section__header p,
.section--navy .section__header p {
  color: var(--color-text-on-dark);
}

/* --- Angled Section Divider --- */
.section--angled {
  position: relative;
  clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%);
  padding-top: 120px;
  padding-bottom: 120px;
  margin-top: -40px;
  margin-bottom: -40px;
}

/* --- Services Overview (Index) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 300ms var(--ease-reveal), box-shadow 300ms ease;
  border: 1px solid rgba(0,0,0,0.04);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card__img {
  height: 220px;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-reveal);
}

.service-card:hover .service-card__img img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 28px;
}

.service-card__body h3 {
  color: var(--color-navy);
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.service-card__body p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-card__link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-rust);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 200ms ease;
}

.service-card__link:hover {
  gap: 12px;
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* --- Why Choose Us --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

.why-grid__image {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius) 0 0 var(--radius);
}

.why-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.why-grid__content {
  padding: 60px 48px;
  background: var(--color-navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-grid__content h2 {
  color: var(--color-white);
  margin-bottom: 32px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.why-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.why-item:last-child {
  border-bottom: none;
}

.why-item__icon {
  width: 40px;
  height: 40px;
  background: rgba(192, 82, 42, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-rust);
}

.why-item h4 {
  color: var(--color-white);
  margin-bottom: 4px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.why-item p {
  color: var(--color-text-on-dark);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --- Emergency CTA --- */
.emergency-cta {
  position: relative;
  padding: 80px 0;
  background: var(--color-rust);
  overflow: hidden;
}

.emergency-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(0,0,0,0.04) 20px,
    rgba(0,0,0,0.04) 40px
  );
}

.emergency-cta .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.emergency-cta__content {
  max-width: 600px;
}

.emergency-cta__content h2 {
  color: var(--color-white);
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.emergency-cta__content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
}

.emergency-cta__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.btn--white {
  background: var(--color-white);
  color: var(--color-rust);
}

.btn--white:hover {
  background: var(--color-cream);
  color: var(--color-rust-dark);
}

/* --- Trust Bar --- */
.trust-bar {
  padding: 40px 0;
  background: var(--color-cream);
  border-top: 1px solid var(--color-cream-dark);
  border-bottom: 1px solid var(--color-cream-dark);
}

.trust-bar__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trust-item svg {
  width: 24px;
  height: 24px;
  fill: var(--color-rust);
}

/* --- Map Section --- */
.map-section {
  padding: 80px 0;
  background: var(--color-light);
}

.map-section .section__header {
  margin-bottom: 40px;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--color-navy);
}

#map {
  height: 400px;
  width: 100%;
}

/* --- Contact Section (on index) --- */
.contact-strip {
  padding: 80px 0;
  background: var(--color-navy);
}

.contact-strip__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-strip__info h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.contact-strip__info p {
  color: var(--color-text-on-dark);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-detail:last-child {
  border-bottom: none;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  background: rgba(192, 82, 42, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-rust);
}

.contact-detail__text {
  color: var(--color-text-on-dark);
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-detail__text strong {
  display: block;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.contact-detail__text a {
  color: var(--color-rust);
  font-size: 1.1rem;
  font-weight: 600;
}

/* --- Forms --- */
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-cream);
}

.form__input,
.form__textarea {
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-rust);
  box-shadow: 0 0 0 3px rgba(192, 82, 42, 0.15);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#form-status {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  display: none;
}

#form-status.success {
  display: block;
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

#form-status.error {
  display: block;
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Contact page specific */
.contact-page .form__label {
  color: var(--color-navy);
}

/* --- Services Page --- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-detail__img img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 500ms var(--ease-reveal);
}

.service-detail:hover .service-detail__img img {
  transform: scale(1.03);
}

.service-detail__content h3 {
  color: var(--color-navy);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.service-detail__content p {
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 24px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text);
}

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

/* --- About Page --- */
.about-hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--color-navy);
  overflow: hidden;
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-light));
}

.about-hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-hero__content h1 {
  color: var(--color-white);
  margin-bottom: 24px;
}

.about-hero__content p {
  color: var(--color-text-on-dark);
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-hero__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-hero__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-values {
  padding: 80px 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--color-rust);
  transition: transform 300ms var(--ease-reveal);
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  background: rgba(192, 82, 42, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
  fill: var(--color-rust);
}

.value-card h3 {
  color: var(--color-navy);
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.value-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* --- Contact Page --- */
.contact-hero {
  padding: 140px 0 60px;
  background: var(--color-navy);
}

.contact-hero h1 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.contact-hero p {
  color: var(--color-text-on-dark);
  font-size: 1.1rem;
  max-width: 600px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding: 60px 0;
}

.contact-grid__form {
  background: var(--color-white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.contact-grid__form h2 {
  color: var(--color-navy);
  margin-bottom: 24px;
  font-size: 1.8rem;
}

.contact-grid__sidebar h3 {
  color: var(--color-navy);
  margin-bottom: 20px;
}

.contact-sidebar-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-sidebar-item:last-child {
  border-bottom: none;
}

.contact-sidebar-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(192, 82, 42, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-sidebar-item__icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-rust);
}

.contact-sidebar-item h4 {
  color: var(--color-navy);
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-sidebar-item p,
.contact-sidebar-item a {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.contact-sidebar-item a {
  color: var(--color-rust);
  font-weight: 600;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 140px 0 60px;
  background: var(--color-navy);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-rust);
}

.page-hero h1 {
  color: var(--color-white);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--color-text-on-dark);
  font-size: 1.1rem;
  max-width: 600px;
}

/* --- Footer --- */
.footer {
  background: var(--color-dark);
  padding: 60px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__brand img {
  height: 64px;
  width: auto;
}

.footer__brand p {
  color: var(--color-text-on-dark);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer__col h4 {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer__col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--color-rust);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  color: var(--color-text-on-dark);
  font-size: 0.9rem;
  transition: color 150ms ease, padding-left 200ms ease;
}

.footer__col a:hover {
  color: var(--color-rust);
  padding-left: 4px;
}

.footer__bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  color: rgba(212, 207, 200, 0.6);
  font-size: 0.8rem;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  transition: background 200ms ease, transform 200ms ease;
}

.footer__social a:hover {
  background: var(--color-rust);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 18px;
  height: 18px;
  fill: var(--color-cream);
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms var(--ease-reveal), transform 600ms var(--ease-reveal);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-30px);
}

.reveal--left.visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(30px);
}

.reveal--right.visible {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal--scale.visible {
  transform: scale(1);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0ms; }
.stagger > *:nth-child(2) { transition-delay: 100ms; }
.stagger > *:nth-child(3) { transition-delay: 200ms; }
.stagger > *:nth-child(4) { transition-delay: 300ms; }
.stagger > *:nth-child(5) { transition-delay: 400ms; }

/* --- Keyframes --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

  .why-grid__image {
    min-height: 300px;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .why-grid__content {
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 40px 32px;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

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

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-strip__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-navy-deep);
    padding: 80px 32px 40px;
    transition: right 300ms var(--ease-reveal);
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
  }

  .nav__link {
    font-size: 1.3rem;
  }

  .nav__phone {
    font-size: 1.3rem;
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 100%;
  }

  .hero {
    min-height: 80vh;
    padding-top: 70px;
  }

  .hero__content {
    padding: 40px 0 60px;
  }

  .hero__license {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 32px;
    max-width: 300px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    text-align: center;
    justify-content: center;
  }

  .emergency-cta .container {
    flex-direction: column;
    text-align: center;
  }

  .emergency-cta__actions {
    justify-content: center;
  }

  .trust-bar__inner {
    flex-direction: column;
    gap: 20px;
  }

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

  .contact-grid__form {
    padding: 24px;
  }

  .header__logo-text {
    font-size: 1rem;
  }

  .header__logo img {
    height: 44px;
  }

  .section--angled {
    clip-path: polygon(0 20px, 100% 0, 100% calc(100% - 20px), 0 100%);
    padding-top: 80px;
    padding-bottom: 80px;
    margin-top: -20px;
    margin-bottom: -20px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .header__inner {
    padding: 10px 16px;
  }

  .header__logo-text span {
    display: none;
  }
}
