/* ============================================
   Casa da Ribeira — Main Stylesheet
   Inspired by casinhasdoamioso.com
   ============================================ */

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

:root {
  /* Colors */
  --color-primary: #2e7d8c;
  --color-primary-dark: #1e5a66;
  --color-primary-light: #e8f4f6;
  --color-accent: #c8955a;
  --color-accent-light: #f5ead9;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-text-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-warm: #faf8f5;
  --color-bg-dark: #1a1a1a;
  --color-border: #e0e0e0;

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-script: 'Dancing Script', cursive;

  /* Spacing scale (8px grid) */
  --space-1: 0.5rem;   /* 8px */
  --space-2: 1rem;     /* 16px */
  --space-3: 1.5rem;   /* 24px */
  --space-4: 2rem;     /* 32px */
  --space-6: 3rem;     /* 48px */
  --space-8: 4rem;     /* 64px */
  --space-12: 6rem;    /* 96px */
  --space-16: 8rem;    /* 128px */

  /* Easing curves */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Durations */
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;

  /* Legacy alias */
  --transition: 0.3s var(--ease-out);

  /* Layout */
  --max-width: 1200px;
  --section-padding: 100px 0;
}

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

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

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

/* --- Accessibility — Focus Visible --- */
:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Remove outline for mouse users only */
:focus:not(:focus-visible) { outline: none; }

/* Skip to main content link — keyboard / screen-reader users */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10000;
  background: var(--color-primary);
  color: white;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: top var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  top: 16px;
}

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* content-visibility: auto skips rendering of off-screen sections — major LCP/CLS win */
.highlights,
.about,
.gallery-preview,
.testimonials,
.pricing-section,
.location,
.amenities,
.rooms,
.contact {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.section-subtitle {
  font-family: var(--font-script);
  color: var(--color-accent);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  margin-bottom: 16px;
  color: var(--color-text);
}

.section-desc {
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}

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

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
  height: 80px;
}

.navbar.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  /* WCAG 2.2 AA — target tap-area of at least 44×44 (Apple HIG / Material) */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
}

/* The mobile hamburger toggle: also meet the 44×44 target */
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

/* The language pill: same treatment */
.nav-lang {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--color-primary) !important;
  color: var(--color-text-white) !important;
  padding: 10px 24px !important;
  border-radius: 4px;
  font-weight: 600 !important;
  letter-spacing: 1px;
  transition: background var(--transition) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--color-primary-dark) !important; }

.nav-lang {
  font-size: 0.8rem;
  color: var(--color-text-light);
  cursor: pointer;
  border: 1px solid var(--color-border);
  padding: 4px 10px;
  border-radius: 3px;
}

.nav-lang:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--color-text);
  transition: all var(--transition);
}

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

.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
  max-width: var(--max-width);
  padding: 0 24px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.5) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: var(--color-text-white);
  padding: 0;
  max-width: 560px;
  flex: 1;
}

.hero-content .section-subtitle {
  color: var(--color-accent);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.hero-content h1 {
  color: var(--color-text-white);
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero-badge .stars { color: #f5c518; }

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

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

.btn-primary:hover { background: var(--color-primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46, 125, 140, 0.3); }

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

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

.hero-buttons { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; }

/* --- Hero Booking Widget --- */
.hero-booking {
  width: 360px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 32px 28px 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
  color: var(--color-text);
  scroll-margin-top: 112px;
  scroll-margin-bottom: 32px;
}

.hero-booking h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 20px;
  color: var(--color-text);
}

.hero-booking-field {
  margin-bottom: 16px;
}

.hero-booking-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.hero-booking-field input[type="date"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: white;
  transition: border-color var(--transition);
  cursor: pointer;
}

.hero-booking-field input[type="date"]:focus {
  outline: none;
  border-color: var(--color-primary);
}

.hero-booking .guest-selector {
  max-width: 100%;
  background: white;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
}

.hero-booking .guest-btn {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

/* Hero booking summary */
.hero-booking-summary {
  background: var(--color-primary-light);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.hero-booking-summary .summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.hero-booking-summary .summary-divider {
  height: 1px;
  background: var(--color-border);
  margin: 6px 0;
}

.hero-booking-summary .summary-total {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text);
}

.hero-booking-summary .summary-total span:last-child {
  color: var(--color-primary);
  font-size: 1.15rem;
}

/* Hero booking buttons */
.hero-booking-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: #25D366;
  color: white;
  border: none;
  margin-bottom: 8px;
}

.hero-booking-btn:hover {
  background: #1ebe57;
  transform: translateY(-1px);
  color: white;
}

.hero-booking-btn-alt {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  margin-bottom: 0;
}

.hero-booking-btn-alt:hover {
  background: var(--color-primary);
  color: white;
}

.hero-booking-btn-alt:hover svg { stroke: white; }

/* Pricing hint */
.hero-booking-pricing {
  text-align: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.hero-booking-pricing strong {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-left: 4px;
}

.hero-booking-pricing strong span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text-light);
}

/* Platform links in hero booking */
.hero-booking-platforms {
  text-align: center;
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.hero-booking-platforms a {
  color: var(--color-primary);
  font-weight: 600;
  margin-left: 6px;
}

.hero-booking-platforms a:hover {
  text-decoration: underline;
}

/* --- Calendar sync status line (Airbnb + Booking.com availability) --- */
.hero-booking-calendar-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 12px;
  padding: 8px 12px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--color-text-light);
  background: var(--color-bg-warm);
  border-radius: 6px;
  border: 1px solid var(--color-border);
}
.hero-booking-calendar-status::before {
  content: '';
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: calendar-pulse 1.6s ease-in-out infinite;
}
.hero-booking-calendar-status[data-status="ready"]::before {
  background: #2ecc71; /* live — availability confirmed */
  animation: none;
}
.hero-booking-calendar-status[data-status="error"] {
  color: #8a5a00;
  background: #fff8e6;
  border-color: #f2dfa8;
}
.hero-booking-calendar-status[data-status="error"]::before {
  background: #e0a93a;
  animation: none;
}
@keyframes calendar-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.7); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-booking-calendar-status::before { animation: none; }
}

/* --- flatpickr theme — matches site palette (teal primary / cream accent) --- */
.flatpickr-calendar {
  font-family: var(--font-body);
  border-radius: 10px;
  box-shadow: 0 10px 35px rgba(30, 90, 102, 0.18), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
}
.flatpickr-months .flatpickr-month,
.flatpickr-current-month,
.flatpickr-monthDropdown-months,
.flatpickr-weekday {
  color: var(--color-text) !important;
  fill: var(--color-text);
}
.flatpickr-weekday {
  font-weight: 600;
  color: var(--color-text-light) !important;
}
.flatpickr-day {
  border-radius: 6px;
  color: var(--color-text);
}
.flatpickr-day:hover,
.flatpickr-day:focus {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}
.flatpickr-day.today {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.flatpickr-day.today:hover {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}
.flatpickr-day.inRange {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  box-shadow: -5px 0 0 var(--color-primary-light), 5px 0 0 var(--color-primary-light);
}
/* Booked / disabled nights — softly greyed with a diagonal strikethrough pattern so
   they're visibly different from "past" dates. */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #b8b8b8;
  background:
    linear-gradient(
      to top left,
      transparent calc(50% - 0.8px),
      rgba(200, 149, 90, 0.55) calc(50% - 0.8px),
      rgba(200, 149, 90, 0.55) calc(50% + 0.8px),
      transparent calc(50% + 0.8px)
    ),
    #f7f4ef;
  border-color: #eee;
  cursor: not-allowed;
}
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #c9c9c9;
}
/* The altInput is the human-readable field the user sees ("20/05/2026");
   flatpickr duplicates styling via its _input class, but we ensure ours wins. */
.hero-booking-field input.flatpickr-input,
.hero-booking-field input.flatpickr-alt-input,
.hero-booking-field input.flatpickr-input[readonly] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: white;
  cursor: pointer;
}
.hero-booking-field input.flatpickr-alt-input:focus {
  outline: none;
  border-color: var(--color-primary);
}
/* Hide the original hidden iso input flatpickr keeps in the DOM (it adds .flatpickr-input
   to the original, and inserts the pretty .form-control .flatpickr-alt-input next to it). */
.hero-booking-field input.flatpickr-input.flatpickr-mobile {
  /* On mobile flatpickr falls back to the native picker — make it look like our styled inputs. */
  padding: 12px 14px;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* --- Pricing Table Section --- */
.pricing-section {
  padding: var(--section-padding);
  background: var(--color-bg-warm);
}

.pricing-table-wrapper {
  max-width: 640px;
  margin: 40px auto 0;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.pricing-table th {
  text-align: left;
  padding: 16px 20px;
  background: var(--color-primary);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pricing-table th:last-child { text-align: right; }

.pricing-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.pricing-table td:last-child {
  text-align: right;
  font-size: 1.15rem;
  color: var(--color-primary);
}

.pricing-table tbody tr:last-child td { border-bottom: none; }

.pricing-table-wrapper .pricing-note {
  margin-top: 16px;
  text-align: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-text-white);
  opacity: 0.7;
  animation: bounce 2s infinite;
}

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

/* --- Highlights Section --- */
.highlights {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.highlight-card {
  text-align: center;
  padding: 32px 20px;
}

.highlight-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.highlight-card h3 { margin-bottom: 8px; }

.highlight-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* --- About / Story Section --- */
.about {
  padding: var(--section-padding);
  background: var(--color-bg-warm);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.about-image::after {
  content: '';
  position: absolute;
  bottom: -12px; right: -12px;
  width: 120px; height: 120px;
  border: 3px solid var(--color-accent);
  border-radius: 8px;
  z-index: -1;
}

.about-text .section-subtitle { text-align: left; }
.about-text .section-title { text-align: left; }

.about-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

/* --- Rooms Section --- */
.rooms {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.room-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.room-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.room-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-card:hover .room-card-image img { transform: scale(1.05); }

.room-card-body { padding: 24px; }
.room-card-body h3 { margin-bottom: 8px; }

.room-card-body p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.room-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.room-tag {
  font-size: 0.8rem;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 20px;
}

/* --- Amenities Section --- */
.amenities {
  padding: var(--section-padding);
  background: var(--color-bg-warm);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-bg);
  border-radius: 8px;
  font-size: 0.95rem;
}

.amenity-item svg {
  width: 20px; height: 20px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* --- Gallery Preview --- */
.gallery-preview {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 280px);
  gap: 16px;
  margin-top: 48px;
}

.gallery-grid .gallery-item:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

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

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
}

.gallery-cta { text-align: center; margin-top: 40px; }

/* --- Testimonials --- */
.testimonials {
  padding: var(--section-padding);
  background: var(--color-bg-warm);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--color-bg);
  padding: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--color-primary-light);
  position: absolute;
  top: 12px; left: 24px;
  line-height: 1;
}

.testimonial-card p {
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 0.98rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-info strong { display: block; font-size: 0.95rem; }

.testimonial-author-info span {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

.testimonial-stars {
  color: #f5c518;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.rating-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: var(--color-bg);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.rating-badge-score {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-primary);
}

.rating-badge-info { text-align: left; }
.rating-badge-info strong { font-size: 0.95rem; display: block; }
.rating-badge-info span { font-size: 0.82rem; color: var(--color-text-light); }

/* --- Location Section --- */
.location {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
  align-items: start;
}

.location-map {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.location-map iframe {
  width: 100%; height: 100%;
  border: none;
}

.location-info h3 {
  margin-bottom: 20px;
  color: var(--color-primary);
}

.poi-list { margin-bottom: 32px; }

.poi-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.poi-item span:first-child { font-weight: 500; }

.poi-item span:last-child {
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* --- Booking Section --- */
.booking {
  padding: var(--section-padding);
  background: var(--color-primary);
  color: var(--color-text-white);
}

.booking h2 { color: var(--color-text-white); }
.booking .section-subtitle { color: var(--color-accent); }
.booking .section-desc { color: rgba(255,255,255,0.8); }

.booking-options {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.booking-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  color: var(--color-text-white);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
}

.booking-option:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.booking-option img {
  height: 28px;
  width: auto;
}

/* --- Contact Section --- */
.contact {
  padding: var(--section-padding);
  background: var(--color-bg-warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-info-item svg {
  width: 24px; height: 24px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item strong { display: block; margin-bottom: 4px; }
.contact-info-item span { color: var(--color-text-light); font-size: 0.95rem; }
.contact-info-item a { color: var(--color-primary); }
.contact-info-item a:hover { text-decoration: underline; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 16px;
  transition: border-color var(--transition);
  background: var(--color-bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

.contact-form .btn { width: 100%; text-align: center; }

/* --- Footer --- */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-brand img {
  height: 56px;
  border-radius: 8px;
}

.footer h4 {
  color: var(--color-text-white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer ul li { margin-bottom: 10px; }

.footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer ul a:hover { color: var(--color-text-white); }

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.footer-social svg {
  width: 18px; height: 18px;
  fill: rgba(255,255,255,0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal a {
  color: rgba(255,255,255,0.5);
  margin-left: 20px;
}

.footer-legal a:hover { color: var(--color-text-white); }

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 16px;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* --- Reservation Widget --- */
.reservation {
  padding: var(--section-padding);
  background: var(--color-bg);
}

.reservation-widget {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-bg-warm);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.reservation-header {
  background: var(--color-primary);
  padding: 40px 40px 32px;
  text-align: center;
  color: white;
}

.reservation-header .section-subtitle { color: var(--color-accent); }
.reservation-header .section-title { color: white; margin-bottom: 8px; }
.reservation-tagline { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

.reservation-body { padding: 32px 40px 40px; }

.reservation-form { margin-bottom: 24px; }

.reservation-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.reservation-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.reservation-field input[type="date"] {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: white;
  transition: border-color var(--transition);
  cursor: pointer;
}

.reservation-field input[type="date"]:focus {
  outline: none;
  border-color: var(--color-primary);
}

.guest-selector {
  display: flex;
  align-items: center;
  gap: 0;
  background: white;
  border: 2px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  max-width: 180px;
}

.guest-btn {
  width: 52px;
  height: 52px;
  border: none;
  background: white;
  font-size: 1.4rem;
  color: var(--color-primary);
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.guest-btn:hover { background: var(--color-primary-light); }
.guest-btn:disabled { color: var(--color-border); cursor: not-allowed; }
.guest-btn:disabled:hover { background: white; }

#guests-count {
  flex: 1;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  min-width: 40px;
}

/* Summary */
.reservation-summary {
  background: white;
  border: 2px solid var(--color-primary-light);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.summary-divider {
  height: 1px;
  background: var(--color-border);
  margin: 8px 0;
}

.summary-total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
}

.summary-total span:last-child {
  font-size: 1.4rem;
  color: var(--color-primary);
}

.summary-note {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-style: italic;
}

/* Pricing Table */
.reservation-pricing-table {
  margin-bottom: 28px;
}

.reservation-pricing-table h4 {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.reservation-pricing-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.reservation-pricing-table th {
  text-align: left;
  padding: 10px 12px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.reservation-pricing-table th:first-child { border-radius: 8px 0 0 0; }
.reservation-pricing-table th:last-child { border-radius: 0 8px 0 0; text-align: right; }

.reservation-pricing-table td {
  padding: 12px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.reservation-pricing-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--color-primary);
}

.season-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.season-high { background: #fde8e8; color: #c0392b; }
.season-mid { background: #fef3e0; color: #d68910; }
.season-low { background: #e8f8f5; color: #1e8449; }

.pricing-note {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--color-text-light);
}

/* Action Buttons */
.reservation-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  color: white;
}

.btn-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn-email:hover svg { stroke: white; }

.reservation-platforms {
  margin-top: 24px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.reservation-platforms-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.reservation-platforms-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.reservation-platforms-links a {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.reservation-platforms-links a:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

@media (max-width: 600px) {
  .reservation-header { padding: 28px 20px 24px; }
  .reservation-body { padding: 24px 20px 28px; }
  .reservation-dates { grid-template-columns: 1fr; }
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: var(--color-bg);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  .hero-layout {
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding-top: 80px;
  }

  .hero-content {
    text-align: center;
    max-width: 600px;
  }

  .hero-buttons { justify-content: center; }

  .hero-booking {
    width: 100%;
    max-width: 400px;
  }

  .about-grid,
  .location-grid,
  .contact-grid { grid-template-columns: 1fr; }

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

  .gallery-grid .gallery-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

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

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

@media (max-width: 600px) {
  :root { --section-padding: 64px 0; }

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

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

  .hero-content h1 { font-size: 2rem; }

  /* Keep the script-style "Bem-vindos à" eyebrow visible on mobile — scale it down */
  .hero-content .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  /* Keep the trust-signal rating badge visible on mobile — scale it down */
  .hero-badge {
    font-size: 0.78rem;
    padding: 6px 14px;
    margin-bottom: 16px;
    display: inline-flex;        /* override any legacy `display: none` from previous builds */
  }
  .hero-badge .stars { font-size: 0.78rem; }

  .hero-booking { padding: 24px 20px 20px; }

  .rating-badges { flex-direction: column; align-items: center; }

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

  .whatsapp-fab { bottom: 20px; right: 20px; width: 54px; height: 54px; }
}

/* --- Animations --- */

/* CSS scroll-driven animations (modern browsers — no JS needed) */
@supports (animation-timeline: view()) {
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp var(--duration-slow) var(--ease-out) both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }

  /* Override JS-class approach when native animations are available */
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* JS-driven fallback for browsers without scroll-driven animation support */
@supports not (animation-timeline: view()) {
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
  }

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -------------------------------------------------------------------------- */
/*  Cinematic hero — video layer, sound toggle, word-by-word title reveal     */
/* -------------------------------------------------------------------------- */

/* Video layer sits directly on top of the poster (.hero-bg). Starts invisible;
   JS adds .is-playing to the <section.hero> once the video is ready, fading it in.
   The video fills the full hero on every viewport (object-fit: cover), matching the
   poster's crop so the transition is seamless. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  opacity: 0;
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  background: transparent;
}
.hero.is-playing .hero-video { opacity: 1; }

/* Dark gradient overlay — previously on .hero-bg::after. Now placed above both
   poster and video so legibility of the hero content stays identical either way. */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.38) 50%,
    rgba(0,0,0,0.55) 100%
  );
}
/* The poster no longer needs its own overlay — the section's handles it for both layers. */
.hero-bg::after { content: none; }

/* Sound toggle — user-initiated (autoplay remains muted per browser policy). */
.hero-sound-toggle {
  position: absolute;
  top: 96px;
  right: 24px;
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 15, 20, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition:
    opacity 500ms cubic-bezier(0.16, 1, 0.3, 1) 1600ms,
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1) 1600ms,
    background-color 200ms ease,
    border-color 200ms ease;
}
.hero.is-ready .hero-sound-toggle { opacity: 1; transform: scale(1); }
.hero-sound-toggle:hover,
.hero-sound-toggle:focus-visible {
  background: rgba(10, 15, 20, 0.55);
  border-color: rgba(255, 255, 255, 0.55);
  outline: none;
}
.hero-sound-toggle .icon-sound { display: none; }
.hero-sound-toggle[aria-pressed="true"] .icon-muted { display: none; }
.hero-sound-toggle[aria-pressed="true"] .icon-sound { display: block; }
/* Only show the sound toggle once the video is actually playing */
.hero:not(.is-playing) .hero-sound-toggle { display: none; }

/* Word-by-word title reveal — each word slides up inside its mask. */
.hero-title {
  /* Preserve the existing H1 typography — inherit, then override display only */
  color: var(--color-text-white);
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.28em;
  line-height: 1.02;
}
.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* Tight baseline so letters with descenders (p, g, y) don't clip — allow slight overflow. */
  line-height: 1.1;
  padding-bottom: 0.1em;
}
.hero-title .word-inner {
  display: inline-block;
  will-change: transform, opacity;
}
/* Hidden state is only applied when JS is available to eventually reveal it. */
.js .hero-title .word-inner {
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--word-delay, 0ms);
}
.hero.is-ready .hero-title .word-inner {
  transform: translateY(0);
  opacity: 1;
}

/* Generic reveal-up — every other hero element slides up a small distance with a custom delay. */
.js .reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.hero.is-ready .reveal-up {
  opacity: 1;
  transform: translateY(0);
}
/* The booking widget was already opaque; keep its own baseline styling but allow the fade-up. */
.hero-booking.reveal-up { /* inherits */ }

/* -------------------------------------------------------------------------- */
/*  Accessibility — honour user's motion preference                           */
/* -------------------------------------------------------------------------- */
@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;
  }

  .fade-in,
  .fade-in.visible {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Kill the cinematic reveals entirely — the hero resolves immediately. */
  .hero-video { display: none !important; }
  .hero-title .word-inner,
  .reveal-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-sound-toggle { display: none !important; }
}

/* --- Gallery Full Page --- */
.gallery-page { padding-top: 120px; }

.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  padding: 40px 0;
}

.gallery-full-grid .gallery-item { aspect-ratio: 4/3; }

/* --- Page Header --- */
.page-header {
  padding-top: 120px;
  padding-bottom: 60px;
  background: var(--color-bg-warm);
  text-align: center;
}

.page-header .section-subtitle { margin-bottom: 8px; }
.page-header .section-title { margin-bottom: 16px; }
.page-header p { color: var(--color-text-light); max-width: 600px; margin: 0 auto; }
