/* ==========================================
   CSS Custom Properties
   ========================================== */
:root {
  --color-teal:        #317178;
  --color-teal-dark:   #24565c;
  --color-teal-light:  #9DC4CF;
  --color-grey:        #DADFE6;
  --color-amber:       #F0AC02;
  --color-orange:      #ED1B2E;
  /* --color-orange:      #E06F12; */
  --color-dark:        #0e1a1c;
  --color-white:       #ffffff;
  --color-text:        #1e2c2e;
  --color-text-muted:  #5a6e71;

  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --spacing-sm:  1rem;
  --spacing-md:  2rem;
  --spacing-lg:  4rem;
  --spacing-xl:  6rem;
  --spacing-xxl: 8rem;

  --max-width:  1200px;
  --nav-height: 72px;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --transition: 0.25s ease;
  --shadow-card: 0 2px 24px rgba(0, 0, 0, 0.07);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  line-height: 1.7;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

/* ==========================================
   Utilities
   ========================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Fade-in via Intersection Observer */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  text-decoration: none;
}

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

.btn--primary:hover {
  background: #c85e0e;
  border-color: #c85e0e;
  transform: translateY(-1px);
}

.btn--outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

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

/* ==========================================
   Navigation
   ========================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav--scrolled {
  background: var(--color-white);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.09);
}

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

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
}

.nav--scrolled .nav__links a {
  color: var(--color-text);
}

.nav__links a:hover {
  color: var(--color-teal-light);
}

.nav--scrolled .nav__links a:hover {
  color: var(--color-teal);
}

.nav__links .nav__cta {
  padding: 0.5rem 1.25rem;
  background: var(--color-orange);
  color: var(--color-white) !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background var(--transition);
}

.nav__links .nav__cta:hover {
  background: #c85e0e;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav--scrolled .nav__toggle span {
  background: var(--color-text);
}

.nav__toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================
   Section Base
   ========================================== */
.section {
  padding: var(--spacing-xxl) 0;
}

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

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

.section--grey {
  background: #f3f6f9;
}

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

.section__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 1rem;
}

.section__label--light {
  color: rgba(157, 196, 207, 0.85);
}

.section__label--amber {
  color: var(--color-amber);
}

.section__heading {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
}

.section__heading--light {
  color: var(--color-white);
}

/* ==========================================
   Hero
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  /* background-image: url('https://images.unsplash.com/photo-1518527989017-5baca7a58d3c?auto=format&fit=crop&w=1920&q=80'); */
  /* background-image: url('https://images.unsplash.com/photo-1773521746199-df30ab6c35ed?auto=format&fit=crop&w=1920&q=80'); */
  /* background-image: url('https://images.unsplash.com/photo-1606964212858-c215029db704?auto=format&fit=crop&w=1920&q=80'); */
  /* background-image: url('https://images.unsplash.com/photo-1749244768351-2726dc23d26c?auto=format&fit=crop&w=1920&q=80'); */

  /* Marcin Jozwiak */
  /* background-image: url('https://images.unsplash.com/photo-1565742863375-85d007f0ad40?auto=format&fit=crop&w=1920&q=80'); */

  /* Brayden Prato */
  background-image: url('https://images.unsplash.com/photo-1685483749753-0dab7e144794?auto=format&fit=crop&w=1920&q=80');

  /* Imagine Buddy */
  /* background-image: url('https://images.unsplash.com/photo-1730382624709-81e52dd294d4?auto=format&fit=crop&w=1920&q=80'); */

  /* 
Mario Verduzco */
  /* background-image: url('https://images.unsplash.com/photo-1684707878653-82b2cdab26c5?auto=format&fit=crop&w=1920&q=80'); */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 18, 22, 0.9) 0%,
    rgba(35, 86, 92, 0.72) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 3rem) var(--spacing-md) 6rem;
}

.hero__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin-bottom: 1.5rem;
}

.hero__heading {
  font-size: clamp(2.5rem, 6.5vw, 5.25rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--color-white);
  margin-bottom: 2.5rem;
  max-width: 16ch;
  letter-spacing: -0.01em;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  animation: bounce 2.2s ease-in-out infinite;
  transition: color var(--transition);
}

.hero__scroll:hover {
  color: rgba(255, 255, 255, 0.9);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ==========================================
   About
   ========================================== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.about__text p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__text p strong {
  color: var(--color-teal);
  font-weight: 600;
}

.about__image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
}

/* ==========================================
   Services
   ========================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: var(--spacing-lg);
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(157, 196, 207, 0.35);
  transform: translateY(-3px);
}

.service-card--accent {
  background: var(--color-teal);
  border-color: transparent;
  display: flex;
  flex-direction: column;
  grid-column: span 2;
}

.service-card--accent:hover {
  background: #3a858e;
  border-color: transparent;
}

.service-card__number {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-amber);
  margin-bottom: 0.75rem;
}

.service-card__title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.service-card__list li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.5;
}

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

.service-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-amber);
  font-size: 0.75rem;
  line-height: 1.8;
}

.service-card__body {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  flex: 1;
}

/* ==========================================
   Testimonials
   ========================================== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: var(--spacing-lg);
  align-items: start;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  right: 1.5rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--color-grey);
  font-family: Georgia, 'Times New Roman', serif;
  pointer-events: none;
}

.testimonial-card__quote {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--color-grey);
}

.testimonial-card__author strong {
  font-weight: 700;
  color: var(--color-text);
  font-size: 0.9375rem;
}

.testimonial-card__author span {
  font-size: 0.8125rem;
  color: var(--color-teal);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ==========================================
   Meet Ashleigh
   ========================================== */
.meet__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.meet__photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 540px;
  background: #edf0f4;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  border: 2px dashed rgba(49, 113, 120, 0.25);
  line-height: 1.6;
}

.meet__photo {
  width: 100%;
  height: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.meet__text p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.0625rem;
}

.meet__text p:last-of-type {
  margin-bottom: var(--spacing-md);
}

/* ==========================================
   Contact
   ========================================== */
.contact__sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-lg);
  max-width: 48ch;
}

.contact__details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact__item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.9rem 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background var(--transition), transform var(--transition);
}

a.contact__item:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.contact__item--location {
  cursor: default;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
  background: var(--color-dark);
  padding: var(--spacing-md) 0;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

.footer p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ==========================================
   Responsive — Tablet
   ========================================== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--accent {
    grid-column: span 2;
  }
}

/* ==========================================
   Responsive — Mobile
   ========================================== */
@media (max-width: 768px) {
  :root {
    --spacing-xxl: 5rem;
    --spacing-lg:  3rem;
  }

  /* Mobile nav */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--color-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .nav__links.is-open {
    opacity: 1;
    pointer-events: all;
  }

  .nav__links a {
    font-size: 1.25rem;
    color: var(--color-white) !important;
  }

  .nav__links .nav__cta {
    padding: 0.75rem 2rem;
  }

  /* Disable parallax on mobile (performance) */
  .hero {
    background-attachment: scroll;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__image {
    order: -1;
  }

  .about__image img {
    height: 280px;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card--accent {
    grid-column: span 1;
  }

  /* Testimonials */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  /* Meet */
  .meet__grid {
    grid-template-columns: 1fr;
  }

  .meet__photo-placeholder {
    aspect-ratio: 4 / 3;
    max-height: 300px;
  }

  /* Contact */
  .contact__details {
    flex-direction: column;
  }

  /* Footer */
  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__heading {
    font-size: 2.25rem;
  }

  .section__heading {
    font-size: 1.875rem;
  }

  .container {
    padding: 0 1.25rem;
  }
}
