/* ==========================================================================
   Michel Wiegandt Visual Aide — Shared Stylesheet
   Design: Editorial premium, warm parchment palette
   Fonts: Playfair Display (headlines), Inter (body/UI)
   ========================================================================== */

/* --- CSS Custom Properties --- */
:root {
  --color-ink: #1C1C1E;
  --color-parchment: #F5F0EB;
  --color-surface: #FAFAF8;
  --color-teal: #20B9D5;
  --color-teal-dark: #06879f;
  --color-teal-15: rgba(32, 185, 213, 0.15);
  --color-divider: #C8C2BA;
  --color-stone: #6B6560;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-overlay: rgba(0, 0, 0, 0.55);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --fs-hero: clamp(2rem, 4vw, 3.052rem);
  --fs-h2: clamp(1.6rem, 3vw, 2.441rem);
  --fs-h3: 1.25rem;
  --fs-body: 1rem;
  --fs-caption: 0.75rem;
  --fs-cta: 0.875rem;

  --lh-tight: 1.15;
  --lh-snug: 1.2;
  --lh-normal: 1.6;

  --ls-tight: -0.02em;
  --ls-snug: -0.01em;
  --ls-caps: 0.12em;
  --ls-cta: 0.06em;

  --max-width: 1100px;
  --nav-height: 72px;
  --section-gap: clamp(4rem, 8vw, 7rem);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-ink);
  background-color: var(--color-parchment);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-teal);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-snug);
  color: var(--color-ink);
}

h1 { font-size: var(--fs-hero); letter-spacing: var(--ls-tight); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

/* --- Utility Classes --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.overline {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--color-stone);
  margin-bottom: 0.75rem;
  display: block;
}

.section {
  padding: var(--section-gap) 0;
}

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

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

/* --- CTA Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-cta);
  font-weight: 600;
  letter-spacing: var(--ls-cta);
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 2px;
  border: 2px solid var(--color-teal);
  color: var(--color-teal);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}

.btn--filled {
  background: var(--color-teal);
  color: var(--color-white);
}

.btn--filled:hover {
  background: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
  color: var(--color-white);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
}

/* --- Sticky Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(245, 240, 235, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-divider);
  transition: background 0.3s ease;
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav__logo:hover {
  color: var(--color-teal);
}

.nav__logo span {
  color: var(--color-teal);
}

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

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-ink);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width 0.3s ease;
}

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

.nav__links a:hover::after {
  width: 100%;
}

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

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  transition: all 0.3s ease;
  transform-origin: center;
}

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

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

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

/* Mobile overlay menu */
.nav__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-parchment);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav__overlay.active {
  display: flex;
  opacity: 1;
}

.nav__overlay a {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('https://michelwiegandt.be/wp-content/uploads/2017/05/BASF-Belgium-corporate-photography-blue-moment-700x419.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 28, 30, 0.2) 0%,
    rgba(28, 28, 30, 0.65) 60%,
    rgba(28, 28, 30, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  padding: 2rem;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  color: var(--color-white);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.hero .btn {
  border-color: var(--color-white);
  color: var(--color-white);
}

.hero .btn:hover {
  background: var(--color-teal);
  border-color: var(--color-teal);
  color: var(--color-white);
}

/* --- Services Strip --- */
.services {
  background: var(--color-surface);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.service-card {
  padding: 1.5rem 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--color-ink);
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.3s ease;
}

.service-card:hover .service-card__icon svg {
  stroke: var(--color-teal);
}

.service-card__title {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.5rem;
}

.service-card__desc {
  font-size: 0.8125rem;
  color: var(--color-stone);
  line-height: 1.5;
}

/* --- Portfolio Showcase --- */
.portfolio-showcase {
  background: var(--color-parchment);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 1rem;
}

.portfolio-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
}

.portfolio-grid__item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-grid__item:hover img {
  transform: scale(1.05);
}

.portfolio-grid__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 28, 30, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-grid__item:hover .portfolio-grid__item-overlay {
  opacity: 1;
}

.portfolio-grid__item-label {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --- 360° Virtual Tours Section --- */
.tours {
  background: var(--color-surface);
}

.tours__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

.tours__viewer {
  background: var(--color-ink);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tours__viewer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.tours__viewer-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-teal);
  color: var(--color-white);
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  padding: 0.375rem 0.75rem;
  border-radius: 2px;
}

.tours__info h3 {
  margin-bottom: 1rem;
}

.tours__info p {
  color: var(--color-stone);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.tours__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tours__category {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-parchment);
  border-radius: 2px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-ink);
  border: 1px solid var(--color-divider);
}

/* --- Team Section --- */
.team {
  background: var(--color-parchment);
}

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

.team-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.team-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--color-divider);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-card__role {
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--color-teal);
  margin-bottom: 0.75rem;
}

.team-card__bio {
  font-size: 0.875rem;
  color: var(--color-stone);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.team-card__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-card__link:hover {
  color: var(--color-teal-dark);
}

/* --- Testimonials Section --- */
.testimonials {
  background: var(--color-surface);
  overflow: hidden;
}

.testimonials__slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial {
  min-width: 100%;
  padding: 0 2rem;
  text-align: center;
}

.testimonial__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 2px solid var(--color-divider);
}

.testimonial__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  color: var(--color-ink);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.testimonial__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-ink);
}

.testimonial__title {
  font-size: 0.8125rem;
  color: var(--color-stone);
}

.testimonials__controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--color-divider);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.testimonials__dot.active {
  background: var(--color-teal);
  border-color: var(--color-teal);
}

.testimonials__nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonials__nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-divider);
  background: var(--color-surface);
  color: var(--color-ink);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials__nav button:hover {
  border-color: var(--color-teal);
  color: var(--color-teal);
}

/* --- Contact Section --- */
.contact {
  background: var(--color-parchment);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact__info h3 {
  margin-bottom: 1.5rem;
}

.contact__detail {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.contact__detail-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-teal);
}

.contact__detail-icon svg {
  width: 100%;
  height: 100%;
}

.contact__detail-text {
  font-size: 0.9375rem;
  color: var(--color-ink);
}

.contact__detail-label {
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-caps);
  color: var(--color-stone);
  margin-bottom: 0.125rem;
  display: block;
}

.contact__cta h3 {
  margin-bottom: 1rem;
}

.contact__cta p {
  color: var(--color-stone);
  margin-bottom: 1.5rem;
}

/* --- Footer --- */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--color-divider);
  background: var(--color-parchment);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--color-stone);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.8125rem;
  color: var(--color-stone);
}

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

.footer__credit {
  width: 100%;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-divider);
  margin-top: 0.5rem;
}

/* --- Page Header (sub-pages) --- */
.page-header {
  padding: calc(var(--nav-height) + var(--section-gap)) 0 var(--section-gap);
  background: var(--color-surface);
  text-align: center;
  border-bottom: 1px solid var(--color-divider);
}

.page-header__title {
  font-size: var(--fs-h2);
}

.page-header__subtitle {
  font-size: 1rem;
  color: var(--color-stone);
  margin-top: 0.75rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Video Cards --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: var(--color-surface);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-divider);
  transition: box-shadow 0.3s ease;
}

.video-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.video-card__thumb {
  aspect-ratio: 16 / 9;
  background: var(--color-ink);
  position: relative;
  overflow: hidden;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.video-card:hover .video-card__play {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-card__play svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
  fill: var(--color-ink);
}

.video-card__body {
  padding: 1.25rem;
}

.video-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.video-card__desc {
  font-size: 0.875rem;
  color: var(--color-stone);
  line-height: 1.6;
}

/* --- Photography Grid --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.photo-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  aspect-ratio: 1;
  cursor: pointer;
}

.photo-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-grid__item:hover img {
  transform: scale(1.05);
}

.photo-grid__item-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-grid__item:hover .photo-grid__item-label {
  opacity: 1;
}

/* --- Filter Tabs --- */
.filter-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-divider);
  border-radius: 2px;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-ink);
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
}

/* --- Portfolio Detail Pages --- */
.portfolio-detail {
  padding-top: calc(var(--nav-height) + 2rem);
}

.portfolio-detail__hero {
  width: 100%;
  max-height: 60vh;
  overflow: hidden;
  margin-bottom: 2rem;
}

.portfolio-detail__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-detail__meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.portfolio-detail__meta-item {
  font-size: 0.8125rem;
  color: var(--color-stone);
}

.portfolio-detail__meta-item strong {
  font-weight: 600;
  color: var(--color-ink);
}

.portfolio-detail__likes {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--color-divider);
  border-radius: 2px;
  font-size: 0.8125rem;
  color: var(--color-stone);
}

.portfolio-detail__likes svg {
  width: 16px;
  height: 16px;
}

.portfolio-detail__body {
  padding-bottom: var(--section-gap);
}

/* --- 360° Tour Category Cards --- */
.tour-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tour-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.tour-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.tour-card__header {
  padding: 1rem 1.25rem;
  background: var(--color-teal-15);
  border-bottom: 1px solid var(--color-divider);
}

.tour-card__header h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-ink);
}

.tour-card__body {
  padding: 1.25rem;
}

.tour-card__body p {
  font-size: 0.875rem;
  color: var(--color-stone);
  line-height: 1.6;
}

.tour-card__body p + p {
  margin-top: 0.75rem;
}

.tour-card__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-teal);
}

/* --- Legal / Info Pages --- */
.info-page {
  padding-top: calc(var(--nav-height) + var(--section-gap));
  padding-bottom: var(--section-gap);
}

.info-page__content {
  max-width: 740px;
  margin: 0 auto;
}

.info-page__content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.info-page__content h3 {
  font-size: 1.125rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.info-page__content p {
  margin-bottom: 1rem;
  color: var(--color-ink);
  line-height: 1.75;
}

.info-page__content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.info-page__content ul li {
  margin-bottom: 0.5rem;
  color: var(--color-ink);
  line-height: 1.7;
  list-style: disc;
}

.info-page__updated {
  font-size: 0.8125rem;
  color: var(--color-stone);
  margin-bottom: 2rem;
  font-style: italic;
}

/* --- Visual Aid Page Sub-Sections --- */
.aid-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.aid-section:nth-child(even) {
  direction: rtl;
}

.aid-section:nth-child(even) > * {
  direction: ltr;
}

.aid-section__image {
  border-radius: 4px;
  overflow: hidden;
}

.aid-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.aid-section__text h3 {
  margin-bottom: 0.75rem;
}

.aid-section__text p {
  color: var(--color-stone);
  line-height: 1.75;
  margin-bottom: 1rem;
}

/* --- Scroll progress --- */
.scroll-progress {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--color-teal);
  z-index: 999;
  transition: width 0.1s linear;
}

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-teal);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 900;
  box-shadow: 0 2px 12px rgba(32, 185, 213, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

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

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

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

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

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .portfolio-grid__item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

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

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

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

  .aid-section {
    grid-template-columns: 1fr;
  }

  .aid-section:nth-child(even) {
    direction: ltr;
  }
}

@media (max-width: 640px) {
  :root {
    --nav-height: 60px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .services__grid .service-card:last-child {
    grid-column: span 2;
    justify-self: center;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .portfolio-grid__item--large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

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

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .testimonials__track {
    flex-direction: column;
  }
}
