/* ═══════════════════════════════════════════════════════════
   It is Well MD — Style Sheet
   Mobile-first · CSS Custom Properties · No dependencies
   ═══════════════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* Colors */
  --clr-primary: #4A90B8;
  --clr-primary-dark: #2F6E92;
  --clr-primary-light: #E8F2F7;
  --clr-dark: #2C3E50;
  --clr-heading-soft: #5C6C7E;
  --clr-text: #6B7B8D;
  --clr-bg: #F5F9FC;
  --clr-bg-alt: #EAF1F6;
  --clr-white: #FFFFFF;
  --clr-border: #E0E0E0;

  /* Typography */
  --ff-heading: 'Cabin', -apple-system, BlinkMacSystemFont, sans-serif;
  --ff-body: 'Cabin', -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-hero: clamp(2.5rem, 4.4vw, 3.75rem);
  --fs-h2: clamp(2rem, 3.6vw, 2.875rem);
  --fs-h3: clamp(1.375rem, 2.2vw, 1.75rem);
  --fs-body: clamp(1.0625rem, 1.2vw, 1.25rem);
  --fs-subtitle: clamp(1.1875rem, 1.7vw, 1.5rem);
  --fs-small: 0.9375rem;
  --fs-label: 0.9375rem;

  /* Spacing */
  --space-section: clamp(4rem, 8vw, 7rem);
  --space-lg: 2rem;
  --space-md: 1.5rem;
  --space-sm: 1rem;
  --space-xs: 0.5rem;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 720px;
  --nav-height: 96px;
  --radius: 12px;
  --radius-sm: 8px;

  /* 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 30px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition: 0.3s ease;

  scroll-padding-top: var(--nav-height);
}

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

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

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: var(--ff-heading);
  color: var(--clr-heading-soft);
  line-height: 1.2;
}

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

a {
  color: var(--clr-primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 2px solid var(--clr-primary);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Layout Utilities ──────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

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

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

.section__label {
  font-family: var(--ff-body);
  font-size: calc(var(--fs-label) * 1.43);   /* +30% per Roxy 11/2026 (was 1.1) */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-primary);
  margin-bottom: var(--space-xs);
}

.section__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}

.section__subtitle {
  font-size: var(--fs-body);
  max-width: 600px;
  color: var(--clr-text);
}

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

.nowrap {
  white-space: nowrap;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-small);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}

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

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

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

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

.btn--lg {
  padding: 0.875rem 2.25rem;
  font-size: 1rem;
}

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

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

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

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header--scrolled {
  background: rgba(232, 242, 247, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
}

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

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ff-heading);
  font-size: clamp(1.94rem, 3.1vw, 2.59rem);
  font-weight: 700;
  color: var(--clr-heading-soft);
  text-decoration: none;
  z-index: 10;
  letter-spacing: -0.01em;
}

.nav__logo-mark {
  width: clamp(50px, 6.2vw, 67px);
  height: auto;
  flex-shrink: 0;
}

.nav__logo-text span {
  color: var(--clr-primary);
}

.nav__logo:hover {
  color: var(--clr-heading-soft);
}

/* Hamburger */
.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 0;
}

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

.nav__toggle--active .nav__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.nav__toggle--active .nav__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.nav__menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--clr-white);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, box-shadow 0.3s ease;
}

.nav__menu--open {
  max-height: 500px;
  box-shadow: var(--shadow-lg);
}

.nav__link {
  display: block;
  padding: 1.1rem var(--space-md);
  color: var(--clr-heading-soft);
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
  border-bottom: 1px solid var(--clr-border);
}

.nav__link:hover {
  color: var(--clr-primary);
  background: var(--clr-primary-light);
}

.nav__link--active {
  color: var(--clr-primary);
}

.nav__cta {
  margin: var(--space-sm) var(--space-md);
  font-size: 0.97rem;
}

/* ═══════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════ */
.hero {
  padding-top: var(--nav-height);
  background: linear-gradient(135deg, var(--clr-primary-light) 0%, var(--clr-bg) 60%);
}

.hero__content {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: var(--space-lg) var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero__text {
  padding-block: var(--space-lg);
}

.hero__title {
  font-size: var(--fs-hero);
  color: var(--clr-heading-soft);
  margin-bottom: var(--space-sm);
}

.hero__title span {
  color: var(--clr-primary);
}

.hero__label {
  font-size: calc(var(--fs-label) * 1.1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-primary);
  margin-bottom: var(--space-md);
}

.hero__specialties {
  display: flex;
  flex-wrap: wrap;
  row-gap: 0.35em;
  font-size: var(--fs-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-text);
  margin-bottom: var(--space-md);
}

.hero__specialties span:not(:last-child)::after {
  content: '\2022';
  margin: 0 0.6em;
  color: var(--clr-primary);
}

.hero__subtitle {
  font-size: var(--fs-subtitle);
  color: var(--clr-text);
  max-width: 560px;
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

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

.hero__image {
  position: relative;
}

/* ── Carousel ──────────────────────────────────────────────── */
.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.carousel__track {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  pointer-events: none;
}

.carousel__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Soften the yellow-flowers photo — gentle lift, low contrast */
.carousel__img--lighten {
  filter: brightness(1.05) contrast(1.02) saturate(0.97);
}

/* Lighten the warm golden-hour runner photo to match the airier shots */
.carousel__img--ma {
  object-position: 72% center;
}

.carousel__img--airy {
  filter: brightness(1.12) saturate(0.85) contrast(0.93);
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: rgba(255, 255, 255, 0.65);
  border: none;
  border-radius: 0;
  cursor: pointer;
  box-shadow: none;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  transition: color var(--transition), transform var(--transition);
  z-index: 2;
}

.carousel__btn:hover {
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-50%) scale(1.1);
}

.carousel__btn--prev { left: 12px; }
.carousel__btn--next { right: 12px; }

.carousel__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.carousel__dot:hover { background: rgba(255, 255, 255, 0.85); }

.carousel__dot.is-active {
  background: var(--clr-white);
  transform: scale(1.2);
}

/* ═══════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════ */
.about__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about__photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;   /* matches the photo's own ratio - shows the full frame, no crop */
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.about__intro,
.about__philosophy {
  font-size: var(--fs-subtitle);
  line-height: 1.8;
}

.about__credentials {
  margin-top: calc(-1 * var(--space-sm) + 0.3rem);
  margin-bottom: var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about__edu-label {
  margin-bottom: 0;
}

.about__edu-label--gap {
  margin-top: var(--space-md);
}

.about__credentials li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--clr-text);
  font-weight: 500;
  font-size: var(--fs-subtitle);
}

.about__credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-primary);
}

.about__languages {
  margin-top: calc(-1 * var(--space-sm) + 0.3rem);
  color: var(--clr-text);
  font-size: var(--fs-subtitle);
}

.about__languages strong {
  color: var(--clr-primary);
}

.about__closing {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--clr-heading-soft);
}

/* ═══════════════════════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════════════════════ */
.services__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.services__header .section__subtitle {
  margin-inline: auto;
}

.services__card {
  background: var(--clr-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
  max-width: 700px;
  margin-inline: auto;
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.services__item {
  position: relative;
  padding-left: 2.25rem;
  color: #8392A2;
  font-weight: 500;
  font-size: var(--fs-subtitle);
  line-height: 1.5;
}

.services__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 24px;
  height: 24px;
  background: var(--clr-primary);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

/* ═══════════════════════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════════════════════ */
.pricing__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.pricing__header .section__subtitle {
  margin-inline: auto;
}

.pricing__card {
  max-width: 480px;
  margin-inline: auto;
  background: var(--clr-white);
  border-radius: var(--radius);
  border-top: 4px solid var(--clr-primary);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.pricing__card-header {
  text-align: center;
  padding: var(--space-lg) var(--space-lg) var(--space-md);
}

.pricing__tiers {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
}

.pricing__tier {
  flex: 0 1 auto;
  text-align: center;
}

.pricing__amount {
  font-family: var(--ff-heading);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--clr-heading-soft);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.pricing__currency {
  font-size: 1.125rem;
  vertical-align: super;
  color: var(--clr-text);
}

.pricing__period {
  font-size: 1rem;
  font-weight: 400;
  color: var(--clr-text);
}

.pricing__tier-label {
  font-family: var(--ff-body);
  font-size: var(--fs-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-primary);
}

.pricing__same-services {
  margin-top: var(--space-md);
  font-size: var(--fs-small);
  color: var(--clr-text);
  font-style: italic;
}

.pricing__tagline {
  color: var(--clr-text);
  font-size: var(--fs-small);
}

.pricing__features {
  padding: 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--clr-border);
  padding-top: var(--space-md);
  margin-inline: var(--space-lg);
}

.pricing__feature {
  position: relative;
  padding-left: 2.25rem;
  color: #8392A2;
  font-size: var(--fs-subtitle);
  line-height: 1.5;
}

.pricing__feature::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 22px;
  height: 22px;
  background: var(--clr-primary);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

.pricing__card-footer {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}

/* ═══════════════════════════════════════════════════════════
   FAQS
   ═══════════════════════════════════════════════════════════ */
.faqs__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.faq {
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--clr-heading-soft);
  cursor: pointer;
  transition: color var(--transition);
  list-style: none;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::marker {
  content: '';
}

.faq__question:hover {
  color: var(--clr-primary);
}

.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform var(--transition);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--clr-primary);
  border-radius: 2px;
  transition: transform var(--transition);
}

.faq__icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.faq__icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

details[open] .faq__icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  padding-bottom: var(--space-md);
  font-size: var(--fs-subtitle);
  color: #8392A2;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════ */
.contact__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact__text {
  font-size: var(--fs-subtitle);
  color: #8392A2;
  line-height: 1.8;
  margin-bottom: var(--space-xs);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-primary-light);
  color: var(--clr-primary);
  border-radius: 50%;
}

.contact__item-label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--clr-heading-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.125rem;
}

.contact__link {
  font-weight: 500;
  font-size: var(--fs-subtitle);
}

.contact__address {
  color: var(--clr-text);
  line-height: 1.6;
  font-size: var(--fs-subtitle);
}

.contact__map iframe {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  min-height: 300px;
}

/* Contact form (Netlify Forms) */
.contact-form {
  display: grid;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  max-width: 560px;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
}

.contact-form__field {
  display: grid;
  gap: 0.35rem;
}

.contact-form__field label {
  font-size: var(--fs-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-heading-soft);
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 1.0625rem;
  color: var(--clr-dark);
  background: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px var(--clr-primary-light);
}

.contact-form__note {
  font-size: var(--fs-small);
  color: var(--clr-text);
  margin: 0;
}

.contact-form .btn {
  justify-self: start;
}

.contact-form__status {
  margin: 0;
  font-weight: 600;
  color: var(--clr-primary-dark);
}

.contact-form__status:empty {
  display: none;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: rgba(232, 242, 247, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  color: var(--clr-text);
  padding: 1rem 0;
}

.footer__content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
  text-align: left;
}

.footer__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.footer__logo {
  width: clamp(35px, 4.34vw, 47px); /* -30% per Roxy 11/25 */
  height: auto;
  flex-shrink: 0;
}

.footer__name {
  font-family: var(--ff-heading);
  font-size: clamp(1.36rem, 2.17vw, 1.81rem); /* -30% per Roxy 11/25 */
  font-weight: 700;
  line-height: 1.15;
  color: var(--clr-heading-soft);
}

.footer__name span {
  color: var(--clr-primary);
}

.footer__tagline {
  flex: 1 1 100%;
  order: 3;
  text-align: center;
  font-size: var(--fs-small); /* matches .footer__legal */
  line-height: 1.7;
}

@media (min-width: 900px) {
  .footer__content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .footer__tagline { order: 0; }
  .footer__legal { justify-self: end; }
}

.footer__contact p {
  font-size: var(--fs-body);
  line-height: 1.4;
  margin-bottom: 0.15rem;
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.95);
  transition: color var(--transition);
}

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

.footer__legal {
  font-size: var(--fs-small);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (768px+)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .services__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 1rem 2rem;
  }

  .about__grid {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .about__image {
    flex: 0 0 40%;
  }

  .about__content {
    flex: 1;
  }

  .contact__grid {
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
  }

  .contact__info {
    flex: 1;
  }

  .contact__map {
    flex: 1;
  }

}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — DESKTOP (1024px+)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  /* Nav: hide hamburger, show inline links */
  .nav__toggle {
    display: none;
  }

  .nav__menu {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
    max-height: none;
    overflow: visible;
    background: transparent;
  }

  .nav__link {
    display: inline-block;
    padding: 0.6rem 1.05rem;
    border-bottom: none;
    font-size: 1.1rem;
    position: relative;
  }

  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.05rem;
    right: 1.05rem;
    height: 2px;
    background: var(--clr-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
  }

  .nav__link:hover::after,
  .nav__link--active::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .nav__link:hover {
    background: transparent;
  }

  .nav__cta {
    margin: 0;
    margin-left: 0.5rem;
  }

  /* Hero: side-by-side */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  .hero__content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
    padding-block: 3rem;
  }

  .hero__text {
    padding-block: 2rem;
  }

  .hero .carousel {
    aspect-ratio: 3 / 4;
    min-height: 500px;
  }

  /* (Nav transparency/frosted handled by base rules) */

  /* About: more space */
  .about__grid {
    gap: 4rem;
  }

  /* Contact */
  .contact__grid {
    gap: 4rem;
  }

  .contact__map iframe {
    min-height: 400px;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — LARGE DESKTOP (1440px+)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1440px) {
  :root {
    --container-max: 1280px;
  }
}

/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY — REDUCED MOTION
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
