/* =============================================
   Curl Babes — Styles
   ============================================= */

:root {
  --pink: #d9a3b1;
  --pink-dark: #c48b9a;
  --pink-light: #f6f1f2;
  --white: #ffffff;
  --grey-light: #f6f6f6;
  --grey: #e6e6e6;
  --grey-mid: #6e6e6e;
  --black: #1a1a1a;
  --green: #2d5a3d;
  --green-light: #3d7a52;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  --header-height: 64px;
  --fab-height: 52px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.nav-open {
  overflow: hidden;
}

img, iframe, video, embed {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
}

.text-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: opacity var(--transition);
}

.text-link:hover,
.text-link:focus-visible {
  opacity: 0.75;
}

/* Buttons — dusty rose only on Book Appointment CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn--primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26, 26, 26, 0.12);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 90, 61, 0.25);
}

.btn--whatsapp {
  background: var(--green);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  background: var(--green-light);
}

/* Social icons */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--black);
  border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--green);
  background: var(--grey-light);
}

.social-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.footer .social-link {
  color: var(--white);
}

.footer .social-link:hover,
.footer .social-link:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.contact-info .social-links {
  margin-top: 0.5rem;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--grey);
  height: calc(var(--header-height) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 110;
  transition: opacity var(--transition);
}

.nav__logo:hover {
  opacity: 0.85;
}

.nav__logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 110;
  position: relative;
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

/* Mobile menu: solid white overlay, high-contrast, readable */
.nav__menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #ffffff;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 1.5rem) 1.5rem 2.5rem;
  gap: 0;
  z-index: 105;
  overflow-y: auto;
}

.nav__menu.is-open {
  display: flex;
}

.nav__menu > li {
  border-bottom: 1px solid var(--grey);
}

.nav__link {
  display: block;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--black);
  padding: 1.125rem 0.5rem;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link.is-active {
  color: var(--green);
}

.nav__link.is-active {
  font-weight: 600;
}

.nav__menu .nav__socials {
  border-bottom: none;
  padding: 1.75rem 0.5rem 0;
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .nav__toggle {
    display: none;
  }

  .nav__menu {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.1rem;
    background: transparent;
    inset: auto;
    padding: 0;
    overflow: visible;
    flex: 1;
    justify-content: flex-end;
  }

  .nav__menu > li {
    border-bottom: none;
  }

  .nav__link {
    font-size: 0.8125rem;
    font-weight: 400;
    white-space: nowrap;
    padding: 0.35rem 0;
  }

  .nav__link.is-active {
    font-weight: 600;
    border-bottom: 2px solid var(--green);
  }

  .nav__menu .nav__socials {
    padding: 0;
    margin-left: 0.5rem;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(246, 246, 246, 0.88) 100%),
    url('../curl-babes-assets/salon%20images/professional%20pic%20for%20background.jpg') center / cover no-repeat;
  overflow: hidden;
  padding: 4rem 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 640px;
  animation: fade-up 0.9s ease both;
}

.hero__title {
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero__tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: var(--black);
  opacity: 0.85;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Inner page header */
.page-hero {
  background: var(--grey-light);
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.page-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin-bottom: 0.75rem;
}

.page-hero__subtitle {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--grey-mid);
  max-width: 560px;
  margin: 0 auto;
}

/* Sections */
.section {
  padding: 5rem 0;
}

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

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header--left {
  text-align: left;
}

.section__title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--grey-mid);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
}

.section__header--left .section__subtitle {
  margin: 0;
}

.section__actions {
  text-align: center;
  margin-top: 2rem;
}

/* Homepage salon editorial band */
.salon-feature {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--white);
  max-width: 100%;
}

.salon-feature__photo,
.salon-feature__copy {
  min-width: 0;
}

.salon-feature__photo {
  margin: 0;
  overflow: hidden;
  background: var(--grey);
  height: min(78vh, 640px);
}

.salon-feature__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.salon-feature__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.5rem 3.5rem;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
}

.salon-feature__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.salon-feature__title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.salon-feature__text {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--grey-mid);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.salon-feature__copy .btn {
  align-self: flex-start;
}

.salon-feature--compact .salon-feature__photo {
  height: min(56vh, 480px);
}

@media (min-width: 900px) {
  .salon-feature {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    min-height: min(85vh, 760px);
  }

  .salon-feature__photo {
    height: auto;
    min-height: 100%;
  }

  .salon-feature__copy {
    padding: 4.5rem 4rem;
    margin: 0;
    max-width: none;
    background: var(--grey-light);
  }
}

/* Carousel */
.carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  width: 100%;
}

.carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--grey);
  touch-action: pan-y;
  width: 100%;
}

.carousel__track {
  position: relative;
  height: 100%;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s ease, visibility 0.85s ease;
  pointer-events: none;
}

.carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.carousel__slide.is-active img {
  animation: ken-burns 7.5s ease-out forwards;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: background var(--transition), color var(--transition);
  z-index: 2;
}

.carousel__btn:hover,
.carousel__btn:focus-visible {
  background: var(--green);
  color: var(--white);
}

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

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

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel__dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grey);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.carousel__dot::after {
  content: '';
  position: absolute;
  inset: -17px;
}

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

.carousel__dot:hover,
.carousel__dot:focus-visible {
  background: var(--green);
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.video-embed {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 shorts aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--grey);
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: none;
}

/* Teaser Cards */
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.teaser-card {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.section--alt .teaser-card {
  background: var(--white);
}

.section:not(.section--alt) .teaser-card {
  background: var(--grey-light);
}

.teaser-card__icon {
  color: var(--green);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.teaser-card__title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.teaser-card__text {
  font-size: 0.9375rem;
  color: var(--grey-mid);
  flex: 1;
  margin-bottom: 1.25rem;
}

.teaser-card__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green);
}

/* Services preview (homepage) */
.services-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  max-width: 820px;
  margin: 0 auto;
}

.services-preview li {
  padding: 0.5rem 1rem;
  background: var(--white);
  border: 1px solid var(--grey);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* About */
.about-cover {
  width: 100%;
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-cover img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  object-position: center;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .about__content {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
  }
}

.about__lead {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
}

.about__creds {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.about__text p {
  margin-bottom: 1.25rem;
  color: var(--black);
  opacity: 0.9;
}

.about__text .btn {
  margin-top: 0.5rem;
}

.about-portrait {
  background: var(--grey-light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Services page — editorial cards, not equal text squares */
.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

@media (min-width: 720px) {
  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.35rem 1.5rem 1.35rem 1.35rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--green);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.service-card__name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

.service-card__desc {
  font-size: 0.9375rem;
  color: var(--grey-mid);
  font-weight: 300;
  line-height: 1.55;
}

.services-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.9375rem;
  color: var(--grey-mid);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.services-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Training */
.training__intro {
  max-width: 680px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.0625rem;
  font-weight: 300;
}

.training__photo {
  max-width: 560px;
  margin: 0 auto 3.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--grey-light);
}

.training__photo img {
  width: 100%;
  height: auto;
  max-height: min(70vh, 640px);
  object-fit: contain;
  background: var(--grey-light);
}

.training__blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 720px) {
  .training__blocks {
    grid-template-columns: 1fr 1fr;
  }
}

.training__block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

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

.training__block h2 {
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.training__block ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.training__block li {
  font-size: 0.975rem;
  color: var(--black);
}

.course-card {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  padding: 2.25rem 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey);
}

.course-card__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.course-card h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.course-card .btn {
  width: 100%;
}

.course-card__phone {
  margin-top: 1rem;
  font-size: 0.9375rem;
}

.course-card__phone a {
  color: var(--green);
  font-weight: 500;
}

.course-card__phone a:hover,
.course-card__phone a:focus-visible {
  text-decoration: underline;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info__label {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.375rem;
  color: var(--black);
}

.contact-info__link {
  font-size: 1rem;
  transition: color var(--transition);
}

.contact-info__link:hover,
.contact-info__link:focus-visible {
  color: var(--green);
}

.contact-info__address {
  line-height: 1.6;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--grey);
  width: 100%;
  max-width: 100%;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: none;
  min-height: 280px;
}

.contact-portrait {
  margin: 0 0 0.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--grey-light);
  max-width: 280px;
  border: 1px solid var(--grey);
  padding: 0.4rem;
}

.contact-portrait img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Footer */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.footer__logo {
  width: 56px;
  height: auto;
  margin-bottom: 0.15rem;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

.footer__owner {
  font-size: 0.8125rem;
  opacity: 0.75;
}

.footer__location {
  font-size: 0.8125rem;
  opacity: 0.7;
}

.footer__copy {
  font-size: 0.8125rem;
  opacity: 0.6;
}

.footer__socials {
  margin-top: 0.35rem;
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  right: calc(1.25rem + env(safe-area-inset-right, 0px));
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  min-height: 44px;
  background: var(--pink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(26, 26, 26, 0.18);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.fab:hover,
.fab:focus-visible {
  background: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 90, 61, 0.3);
}

@media (max-width: 480px) {
  .fab {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
    left: 1rem;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 3.25rem 0;
  }

  .page-hero {
    padding: 2.25rem 0 1.75rem;
  }

  .hero {
    padding: 3rem 0;
  }

  .salon-feature__photo {
    height: min(62vh, 520px);
  }

  .salon-feature--compact .salon-feature__photo {
    height: min(48vh, 380px);
  }

  .footer {
    padding-bottom: calc(6.25rem + env(safe-area-inset-bottom, 0px));
  }

  .carousel__btn--prev {
    left: 8px;
  }

  .carousel__btn--next {
    right: 8px;
  }
}

.btn, .fab, .nav__toggle, .carousel__btn, .carousel__dot, .nav__link, .text-link {
  touch-action: manipulation;
}
:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* Scroll / load reveals */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes ken-burns {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.teaser-card.reveal:nth-child(2),
.service-card.reveal:nth-child(2),
.video-grid__item.reveal:nth-child(2),
.training__block.reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.teaser-card.reveal:nth-child(3),
.service-card.reveal:nth-child(3),
.video-grid__item.reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.teaser-card.reveal:nth-child(4),
.service-card.reveal:nth-child(4) {
  transition-delay: 0.24s;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__content,
  .carousel__slide.is-active img {
    animation: none;
  }

  .carousel__slide {
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

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