/* ==========================================================================
   LW7 Environmental — styles.css
   Industrial Precision Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Google Fonts
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   2. CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --navy:      #1B2A4A;
  --navy-dark: #111C33;
  --red:       #B71C1C;
  --red-dark:  #8B1515;
  --steel:     #3A6EA5;
  --off-white: #F5F5F5;
  --charcoal:  #212121;
  --slate:     #616161;
  --green:     #2E7D32;
  --yellow:    #FFC107;
  --white:     #FFFFFF;

  /* Font Families */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Fluid Type Scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm:   clamp(0.8125rem, 0.775rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.9375rem, 0.9rem + 0.25vw, 1rem);
  --text-lg:   clamp(1.0625rem, 1rem + 0.375vw, 1.125rem);
  --text-xl:   clamp(1.1875rem, 1.1rem + 0.5vw, 1.3125rem);
  --text-2xl:  clamp(1.375rem, 1.2rem + 0.75vw, 1.625rem);
  --text-3xl:  clamp(1.625rem, 1.4rem + 1vw, 2rem);
  --text-4xl:  clamp(2rem, 1.6rem + 1.75vw, 2.75rem);
  --text-5xl:  clamp(2.5rem, 2rem + 2.25vw, 3.5rem);

  /* Spacing Scale */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Shadows */
  --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 24px rgba(0, 0, 0, 0.12);
  --shadow-xl:  0 12px 32px rgba(0, 0, 0, 0.16);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --max-width:  1200px;
  --nav-height: 72px;
}

/* --------------------------------------------------------------------------
   3. CSS Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

input,
select,
textarea {
  font: inherit;
}

/* --------------------------------------------------------------------------
   4. Accessibility
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  border-radius: 0 0 4px 4px;
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   5. Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.section {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

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

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

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

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

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

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

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

/* --------------------------------------------------------------------------
   6. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--red);
}

p + p {
  margin-top: var(--space-md);
}

.lead {
  font-size: var(--text-lg);
  color: var(--slate);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  border-radius: 4px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  white-space: nowrap;
}

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

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

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

.btn--primary:hover {
  background-color: var(--red-dark);
}

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

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

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

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

.btn--pill {
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  background-color: var(--red);
  color: var(--white);
  font-size: var(--text-xs);
}

.btn--pill:hover {
  background-color: var(--red-dark);
}

.btn--pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. Navigation
   -------------------------------------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background-color: var(--white);
  border-bottom: 1px solid #E0E0E0;
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.site-nav--scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.site-nav__logo {
  height: 36px;
  width: auto;
  border-radius: 4px;
}

.site-nav__wordmark {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--navy);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.site-nav__wordmark strong {
  font-weight: 800;
}

.site-nav__links {
  display: none;
  align-items: center;
  gap: var(--space-xl);
}

.site-nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--slate);
  transition: color var(--transition-fast);
  position: relative;
}

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

.site-nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--red);
}

.site-nav__cta {
  display: none;
}

/* Hamburger */
.site-nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  z-index: 1001;
}

.site-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy);
  transition: transform var(--transition-base), opacity var(--transition-fast);
}

.site-nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Panel */
.site-nav__mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  height: 100dvh;
  background-color: var(--white);
  padding: calc(var(--nav-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  z-index: 999;
  overflow-y: auto;
}

.site-nav__mobile--open {
  transform: translateX(0);
}

.site-nav__mobile-link {
  display: block;
  padding: var(--space-md) 0;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--slate);
  border-bottom: 1px solid #E0E0E0;
  transition: color var(--transition-fast);
}

.site-nav__mobile-link:hover,
.site-nav__mobile-link--active {
  color: var(--navy);
}

.site-nav__mobile-cta {
  margin-top: var(--space-xl);
}

/* Mobile Overlay */
.site-nav__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
  z-index: 998;
}

.site-nav__overlay--visible {
  opacity: 1;
  visibility: visible;
}

/* Body scroll lock */
body.nav-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: 6px;
  padding: var(--space-xl);
  border-top: 3px solid var(--red);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-md);
  color: var(--steel);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--charcoal);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--slate);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--red);
  transition: gap var(--transition-fast);
}

.card__link:hover {
  gap: var(--space-sm);
}

.card__link svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   10. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: url('../images/pilot_gas_station_install_construction.jpg') center/cover no-repeat;
  padding-top: calc(var(--nav-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 42, 74, 0.70);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--space-md);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  max-width: 560px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero .section-label {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

/* --------------------------------------------------------------------------
   11. Page Header
   -------------------------------------------------------------------------- */
.page-header {
  position: relative;
  background-color: var(--navy);
  padding-top: calc(var(--nav-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

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

.page-header h1 {
  color: var(--white);
  margin-top: var(--space-sm);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 500;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

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

.breadcrumb__sep {
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb__current {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   12. Stats Bar
   -------------------------------------------------------------------------- */
.stats {
  background-color: var(--navy);
  color: var(--white);
  padding: var(--space-3xl) 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  text-align: center;
}

.stats__item {
  padding: var(--space-md);
}

.stats__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stats__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-xs);
  color: var(--yellow);
}

.stats__label {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

/* --------------------------------------------------------------------------
   13. CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  background-color: var(--red);
  color: var(--white);
  padding: var(--space-2xl) 0;
}

.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: var(--text-2xl);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

.cta-banner .btn--outline:hover {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--white);
  color: var(--slate);
  border-top: 1px solid #E0E0E0;
  padding-top: var(--space-3xl);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.site-footer__brand-logo {
  height: 32px;
  width: auto;
  margin-bottom: var(--space-md);
  border-radius: 4px;
}

.site-footer__wordmark {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--navy);
  font-weight: 500;
  margin-bottom: var(--space-md);
  display: block;
}

.site-footer__wordmark strong {
  font-weight: 800;
}

.site-footer__tagline {
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.site-footer__tceq {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--green);
}

.site-footer__tceq svg {
  width: 18px;
  height: 18px;
}

.site-footer__heading {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--space-md);
}

.site-footer__link {
  display: block;
  font-size: var(--text-sm);
  padding: var(--space-xs) 0;
  color: var(--slate);
  transition: color var(--transition-fast);
}

.site-footer__link:hover {
  color: var(--red);
}

.site-footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.site-footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--steel);
}

.site-footer__contact-item a {
  color: var(--slate);
  transition: color var(--transition-fast);
}

.site-footer__contact-item a:hover {
  color: var(--red);
}

.site-footer__bar {
  border-top: 1px solid #E0E0E0;
  padding: var(--space-lg) 0;
  text-align: center;
  font-size: var(--text-xs);
}

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--space-xs);
}

.form-group label .required {
  color: var(--red);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #D0D5DD;
  border-radius: 4px;
  font-size: var(--text-base);
  color: var(--charcoal);
  background-color: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--steel);
  box-shadow: 0 0 0 3px rgba(58, 110, 165, 0.15);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23616161' d='M1.41.59L6 5.17 10.59.59 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Error State */
.form-group--error input,
.form-group--error select,
.form-group--error textarea {
  border-color: var(--red);
}

.form-group__error {
  font-size: var(--text-xs);
  color: var(--red);
  margin-top: var(--space-xs);
  display: none;
}

.form-group--error .form-group__error {
  display: block;
}

/* Success State */
.form-success {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-lg);
  color: var(--green);
}

.form-success h3 {
  margin-bottom: var(--space-sm);
}

.form-success p {
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   16. Service Sections
   -------------------------------------------------------------------------- */
.service-section {
  padding: var(--space-3xl) 0;
}

.service-section:nth-child(even) {
  background-color: var(--off-white);
}

.service-section__content {
  max-width: 800px;
}

.service-section h2 {
  margin-bottom: var(--space-md);
}

.service-section p {
  color: var(--slate);
  margin-bottom: var(--space-lg);
}

.service-list {
  margin-bottom: var(--space-xl);
}

.service-list li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--charcoal);
  font-size: var(--text-base);
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--red);
}

/* --------------------------------------------------------------------------
   17. Scroll-Reveal Animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* --------------------------------------------------------------------------
   18. Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet */
@media (min-width: 768px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .cta-banner__inner {
    flex-direction: row;
    justify-content: center;
  }

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

/* Desktop */
@media (min-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1.5fr;
  }
}

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

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

  /* Desktop nav */
  .site-nav__links {
    display: flex;
  }

  .site-nav__cta {
    display: inline-flex;
  }

  .site-nav__hamburger {
    display: none;
  }

  .site-nav__mobile,
  .site-nav__overlay {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Additional Component Styles
   -------------------------------------------------------------------------- */

/* About preview section */
.about-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-preview__image {
  background-color: var(--off-white);
  border-radius: 6px;
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--slate);
  font-size: var(--text-sm);
  border: 2px dashed #D0D5DD;
}

.about-preview h2 {
  margin-bottom: var(--space-sm);
}

.about-preview p {
  color: var(--slate);
  margin-bottom: var(--space-lg);
}

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

/* About page image */
.about-image {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* Values cards */
.values-card {
  text-align: center;
  padding: var(--space-xl);
}

.values-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-md);
  color: var(--steel);
}

.values-card h3 {
  margin-bottom: var(--space-sm);
}

.values-card p {
  color: var(--slate);
  font-size: var(--text-sm);
}

/* Certification callout */
.cert-callout {
  border: 2px solid var(--green);
  border-radius: 6px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  max-width: 640px;
  margin: 0 auto;
}

.cert-callout__icon {
  width: 56px;
  height: 56px;
  color: var(--green);
}

.cert-callout h3 {
  color: var(--green);
}

.cert-callout p {
  color: var(--slate);
  font-size: var(--text-sm);
}

@media (min-width: 768px) {
  .cert-callout {
    flex-direction: row;
    text-align: left;
  }

  .cert-callout__icon {
    flex-shrink: 0;
  }
}

/* Contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--off-white);
  border-radius: 6px;
  margin-bottom: var(--space-md);
}

.contact-info-card__icon {
  width: 24px;
  height: 24px;
  color: var(--steel);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-card h4 {
  font-size: var(--text-sm);
  margin-bottom: var(--space-xs);
}

.contact-info-card p,
.contact-info-card a {
  font-size: var(--text-sm);
  color: var(--slate);
}

.contact-info-card a:hover {
  color: var(--red);
}

/* Google Maps embed */
.contact-map {
  width: 100%;
  height: 280px;
  border-radius: 6px;
  border: 0;
  margin-top: var(--space-md);
}

/* Section intro spacing */
.section__intro {
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.section__intro h2 {
  margin-bottom: var(--space-sm);
}

.section__intro p {
  color: var(--slate);
}
