/* ==========================================================================
   Dilling Heating, Cooling, Plumbing & Electrical
   Brand: Blue #0088D9 | Orange #FB4700 | Dark #111111
   Fonts: DM Serif Display + Plus Jakarta Sans
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --blue: #0088D9;
  --blue-dark: #006BAB;
  --blue-light: #E6F3FB;
  --blue-muted: #B3D9F2;
  --orange: #FB4700;
  --orange-light: #FFF0EB;
  --orange-dark: #D63D00;
  --dark: #111111;
  --gray-900: #1A1A1A;
  --gray-800: #2A2A2A;
  --gray-700: #3A3A3A;
  --gray-600: #555555;
  --gray-500: #777777;
  --gray-400: #999999;
  --gray-300: #CCCCCC;
  --gray-200: #E5E5E5;
  --gray-100: #F5F5F5;
  --white: #FFFFFF;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover { color: var(--blue-dark); }

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-sm);
}

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

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.text-blue { color: var(--blue); }
.text-orange { color: var(--orange); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-600); }

/* ==========================================================================
   Layout
   ========================================================================== */

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

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

.section {
  padding: 80px 0;
}

.section--lg {
  padding: 100px 0;
}

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

.section--blue h2,
.section--blue h3 {
  color: var(--white);
}

.section--dark {
  background: var(--gray-900);
  color: var(--gray-300);
}

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

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

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

.grid {
  display: grid;
  gap: 32px;
}

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

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

@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section--lg { padding: 72px 0; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 150ms ease;
  text-decoration: none;
  min-height: 48px;
  min-width: 44px;
}

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

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

.btn--primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--secondary:hover {
  background: var(--white);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary:active {
  transform: translateY(0);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline:active {
  transform: translateY(0);
}

.btn--lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--gray-900);
  transition: background 300ms ease, box-shadow 300ms ease;
}

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

.header__top {
  background: var(--blue);
  padding: 6px 0;
  font-size: 0.82rem;
  color: var(--white);
}

.header__top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.header__top a {
  color: var(--white);
  font-weight: 600;
}

.header__top a:hover {
  color: var(--orange-light);
}

.header__main {
  padding: 12px 0;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.header__logo:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

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

.nav a {
  color: var(--gray-300);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color 150ms ease, background 150ms ease;
  white-space: nowrap;
}

.nav a:hover,
.nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav a.active {
  color: var(--orange);
}

.nav__cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  margin-left: 8px;
  border-radius: var(--radius-sm) !important;
}

.nav__cta:hover {
  background: var(--orange-dark) !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 200ms ease;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  position: absolute;
  left: 0;
  transition: all 200ms ease;
}

.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: rotate(45deg); top: 0; }
.nav-toggle.open span::after { transform: rotate(-45deg); top: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--gray-900);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 2px;
    box-shadow: var(--shadow-lg);
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 12px 16px;
    font-size: 1rem;
    width: 100%;
  }

  .nav__cta {
    margin-left: 0 !important;
    margin-top: 8px;
    text-align: center;
  }

  .header__top-inner {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .header__top { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 180px 0 100px;
  background: var(--gray-900);
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,136,217,0.85) 0%, rgba(17,17,17,0.9) 70%);
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(251,71,0,0.15);
  border: 1px solid rgba(251,71,0,0.3);
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeSlideUp 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeSlideUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both;
}

.hero__text {
  color: var(--gray-300);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
  animation: fadeSlideUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 200ms both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 300ms both;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: fadeSlideUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 400ms both;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: 4px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .hero {
    padding: 140px 0 72px;
    min-height: 60vh;
  }
  .hero__stats { gap: 24px; }
  .hero__stat-value { font-size: 1.5rem; }
}

/* ==========================================================================
   Page Hero (inner pages)
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 160px 0 72px;
  background: var(--gray-900);
  overflow: hidden;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,136,217,0.9) 0%, rgba(17,17,17,0.95) 70%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  animation: fadeSlideUp 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-hero__text {
  color: var(--gray-300);
  font-size: 1.1rem;
  line-height: 1.7;
  animation: fadeSlideUp 600ms cubic-bezier(0.16, 1, 0.3, 1) 100ms both;
}

.page-hero__breadcrumb {
  margin-bottom: 16px;
  font-size: 0.85rem;
  animation: fadeSlideUp 600ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-hero__breadcrumb a {
  color: var(--gray-400);
}

.page-hero__breadcrumb a:hover {
  color: var(--white);
}

.page-hero__breadcrumb span {
  color: var(--gray-500);
  margin: 0 8px;
}

.page-hero__breadcrumb .current {
  color: var(--orange);
}

/* ==========================================================================
   Service Overview Cards
   ========================================================================== */

.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--dark);
  display: block;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-muted);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
  color: var(--blue);
  transition: background 150ms ease;
}

.service-card:hover .service-card__icon {
  background: var(--blue);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

.service-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 16px;
  transition: gap 150ms ease;
}

.service-card:hover .service-card__arrow {
  gap: 10px;
}

@media (max-width: 900px) {
  .service-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .service-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Why Choose Us
   ========================================================================== */

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

.why-item {
  padding: 32px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--transition);
}

.why-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.why-item__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.6;
}

.why-item h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.why-item p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials__header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials__header h2 {
  margin-bottom: 12px;
}

.testimonials__header p {
  color: var(--gray-600);
  font-size: 1.05rem;
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
}

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

.testimonial-card__stars {
  color: var(--orange);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card__author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

.testimonial-card__source {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   About Page
   ========================================================================== */

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

.about-intro__text h2 {
  margin-bottom: 24px;
}

.about-intro__text p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.8;
}

.about-intro__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

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

.about-intro__image::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 50%;
  height: 50%;
  border: 3px solid var(--orange);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.credential-item {
  background: var(--blue-light);
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue-dark);
  border: 1px solid var(--blue-muted);
}

@media (max-width: 900px) {
  .about-intro { grid-template-columns: 1fr; gap: 40px; }
  .credentials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .credentials-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Service Detail Cards
   ========================================================================== */

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

.service-detail {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.service-detail:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--blue-muted);
}

.service-detail h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-detail p {
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-detail__points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-detail__points li {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

@media (max-width: 900px) {
  .service-detail-grid,
  .service-detail-grid--3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA Sections
   ========================================================================== */

.cta-section {
  text-align: center;
  padding: 72px 0;
}

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

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

.cta-section.section--blue p {
  color: var(--blue-light);
}

/* ==========================================================================
   Areas Served
   ========================================================================== */

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

.area-tag {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition);
}

.area-tag:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-2px);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.location-card {
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
}

.location-card h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.location-card p {
  color: var(--blue-light);
  font-size: 0.95rem;
}

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

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h2 {
  margin-bottom: 24px;
}

.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--blue);
}

.contact-info__text h4 {
  margin-bottom: 4px;
}

.contact-info__text p {
  color: var(--gray-600);
  font-size: 0.92rem;
}

.contact-info__text a {
  color: var(--blue);
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1.1rem;
  transition: all 150ms ease;
  text-decoration: none;
}

.social-link:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* Form */
.contact-form {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form h3 {
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,136,217,0.15);
}

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

.form-status {
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #A5D6A7;
}

.form-status.error {
  display: block;
  background: #FFEBEE;
  color: #C62828;
  border: 1px solid #EF9A9A;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 64px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-800);
}

.footer__brand img {
  height: 32px;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--gray-500);
}

.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: var(--gray-400);
  font-size: 0.88rem;
  transition: color 150ms ease, padding-left 150ms ease;
}

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

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

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

.footer__cert {
  background: var(--gray-800);
  color: var(--gray-400);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal--left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal--right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal--scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.stagger > * {
  transition-delay: calc(var(--i, 0) * 80ms);
}

@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, .reveal--left, .reveal--right, .reveal--scale {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Section Headers
   ========================================================================== */

.section-header {
  margin-bottom: 48px;
}

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

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 600px;
}

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

.section-header .accent-line {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--orange);
  margin-top: 16px;
  border-radius: 2px;
}

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

/* ==========================================================================
   Utility
   ========================================================================== */

.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
