/*
Theme Name: LodgiCrest
Theme URI: https://lodgicrest.com
Author: LodgiCrest
Description: Luxury Hospitality Advisory & Revenue Management WordPress Theme. Editorial, formal, lightweight, with refined micro-animations.
Version: 2.5.3
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: lodgicrest
*/

:root {
  /* Brand System Authentically Derived from the Official LodgiCrest Logo */
  --bg-page: #FAF8F5;          /* Warm cream / luxury paper */
  --bg-card: #FFFFFF;          /* Crisp white surface */
  --bg-subtle: #F3EFE9;        /* Warm sand / experience strip */
  --bg-dark: #061928;          /* Deep formal midnight navy (from the logo's 'L' & lettering) */
  --bg-dark-accent: #0A2438;   /* Secondary midnight navy */

  --navy: #082238;             /* Signature deep midnight navy (from 'LODGICREST') */
  --navy-light: #103250;
  
  --green: #0B634D;            /* Signature emerald growth green (from 'REVENUE MANAGEMENT' & bar chart) */
  --green-hover: #0E7B60;
  --green-subtle: rgba(11, 99, 77, 0.08);
  --green-border: rgba(11, 99, 77, 0.22);

  --gold: #C5A358;             /* Signature warm gold (from crescent, arrow & rule lines) */
  --gold-hover: #DBBD75;
  --gold-subtle: rgba(197, 163, 88, 0.12);
  
  --text-main: #142433;        /* Deep navy-charcoal body */
  --text-muted: #576A79;       /* Muted slate-gray body */
  --text-light: #E0E8EE;
  
  --border-light: #E6EAE8;     /* Delicate hairline border */
  --border-focus: #C5A358;
  
  --shadow-sm: 0 2px 8px rgba(8, 34, 56, 0.04);
  --shadow-md: 0 10px 28px rgba(8, 34, 56, 0.07);
  --shadow-hover: 0 16px 36px rgba(8, 34, 56, 0.12);

  --font-serif: Georgia, "Playfair Display", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-page);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 4.2vw, 4.2rem);
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--bg-dark);
  color: #fff;
  z-index: 1000;
  padding: 10px 18px;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 10px;
}

/* Buttons with Rich Hover Motions */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--navy);
  color: #ffffff;
  padding: 14px 26px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 155, 94, 0.25);
}

.btn-primary span.arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn-primary:hover span.arrow {
  transform: translate(3px, -3px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 4px;
  transition: var(--transition-fast);
}

.btn-outline:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline span.arrow {
  transition: transform 0.2s ease;
}

.btn-outline:hover span.arrow {
  transform: translateX(4px);
}

/* Header */
header {
  height: 96px;
  padding: 0 5.5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo-img {
  height: 60px;
  max-height: 60px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.brand:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.88rem;
}

nav a {
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s ease;
}

nav a:hover {
  color: var(--navy);
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(184, 155, 94, 0.2);
}

.menu {
  display: none;
}

/* Sections General */
.section {
  padding: 95px 6.5%;
  max-width: 1440px;
  margin: 0 auto;
}

.section-full {
  max-width: none;
}

/* Hero Section (Figma Split Layout) */
.hero-split {
  padding: 60px 6.5% 85px;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: clamp(40px, 4.5vw, 65px);
  align-items: stretch;
}

.hero-image-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  position: relative;
}

.hero-frame {
  flex: 1 1 0;
  min-height: 640px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-md);
  background: #E8E3DC;
}

.hero-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrap:hover .hero-frame img {
  transform: scale(1.03);
}

.hero-image-caption {
  flex-shrink: 0;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 14px;
}

.hero-text {
  padding-left: 10px;
}

.hero-intro {
  font-size: 1.04rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

/* Experience Bar */
.experience-bar {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 36px 6.5%;
}

.experience-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: flex-start;
}

.experience-col:not(:last-child) {
  border-right: 1px solid var(--border-light);
  padding-right: 35px;
}

.experience-tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.experience-stat {
  font-family: var(--font-serif);
  font-size: 2.85rem;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.experience-stat .stat-accent {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  margin-left: 1px;
}

.experience-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

/* Outcomes Section ("A stronger hotel. In every sense.") */
.outcomes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 45px;
}

.outcomes-header h2 {
  margin-bottom: 0;
}

.outcomes-header p {
  max-width: 380px;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.outcome-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 34px 26px;
  border-radius: 2px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.outcome-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.outcome-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.outcome-icon {
  width: 44px;
  height: 44px;
  border-radius: 3px;
  background: rgba(184, 155, 94, 0.08);
  border: 1px solid rgba(184, 155, 94, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.outcome-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  transition: stroke 0.3s ease;
}

.outcome-card:hover .outcome-icon {
  background: var(--navy);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.outcome-card:hover .outcome-icon svg {
  stroke: #FFFFFF;
}

.outcome-arrow {
  color: var(--gold);
  font-size: 1.15rem;
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
}

.outcome-card:hover .outcome-arrow {
  transform: translate(3px, -3px);
  color: var(--navy);
}

.outcome-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.outcome-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Solutions Section ("Commercial thinking. Operational understanding.") */
.solutions-bg {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.solutions-split {
  display: grid;
  grid-template-columns: 1.1fr 1.15fr;
  gap: clamp(40px, 4.5vw, 65px);
  align-items: center;
}

.solutions-image-wrap {
  border-radius: 2px;
}

.solutions-image {
  height: 500px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
  background: var(--bg-subtle);
}

.solutions-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.solutions-image-wrap:hover .solutions-image img {
  transform: scale(1.03);
}

.solutions-caption {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 12px;
}

.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solution-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 24px 28px;
  border-radius: 2px;
  transition: var(--transition-smooth);
  display: block;
}

.solution-item:hover {
  transform: translateX(6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
}

.solution-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.solution-item-head h3 {
  font-size: 1.25rem;
  margin: 0;
}

.solution-item-head span.arrow {
  color: var(--gold);
  transition: transform 0.2s ease;
}

.solution-item:hover .solution-item-head span.arrow {
  transform: translateX(4px);
  color: var(--navy);
}

.solution-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 8px 0 0;
}

/* Approach Section ("First, understand. Then, act.") */
.approach-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 50px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.step-card {
  border-top: 1.5px solid var(--border-light);
  padding-top: 26px;
  transition: var(--transition-smooth);
}

.step-card:hover {
  border-top-color: var(--gold);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--green);
  margin-bottom: 12px;
  display: block;
}

.step-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Regency Banner (Figma Feature Banner) */
.regency-feature {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.regency-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 4.5vw, 65px);
  align-items: stretch;
}

.regency-image-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.regency-frame {
  flex: 1 1 0;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
  background: var(--bg-subtle);
}

.regency-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.regency-frame:hover img {
  transform: scale(1.03);
}

.regency-image-wrap .solutions-caption {
  flex-shrink: 0;
  margin-top: 12px;
}

.regency-lead {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 500px;
}

/* Advisory Panel Section */
.advisory-split {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: clamp(40px, 4.5vw, 65px);
  align-items: stretch;
}

.advisory-image-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.advisory-frame {
  flex: 1 1 0;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
  background: var(--bg-subtle);
}

.advisory-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.advisory-frame:hover img {
  transform: scale(1.03);
}

.advisory-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 28px;
}

.tag-badge {
  font-size: 0.74rem;
  padding: 6px 14px;
  border: 1px solid var(--border-light);
  background: #fff;
  border-radius: 20px;
  color: var(--navy);
  font-weight: 500;
  transition: var(--transition-fast);
}

.tag-badge:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Packages Section ("The right support starts with you.") */
.packages-bg {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.package-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 38px 30px 32px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.package-item:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
}

.package-tag-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.package-item h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.package-item p.pkg-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: auto;
  padding-bottom: 24px;
}

.package-item-foot {
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.package-boundary-note {
  font-size: 0.78rem;
  color: #8C9CA6;
}

/* Consultation Form ("What could your hotel do differently?") */
.consultation-split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 65px;
  align-items: flex-start;
}

.consultation-tagline {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold);
  margin-top: 35px;
  font-style: italic;
}

#review-form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 38px 34px;
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border-light);
  border-radius: 2px;
  background: #fff;
  color: var(--text-main);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-subtle);
  outline: none;
}

.form-hp {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

.form-privacy-note {
  font-size: 0.74rem;
  color: #8C9CA6;
  margin-top: 14px;
  text-align: center;
}

#request-status {
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 0.88rem;
  border-radius: 2px;
  display: none;
}

#request-status.status-loading {
  display: block;
  background: #EEF4F7;
  color: var(--navy);
  border-left: 3px solid var(--navy);
}

#request-status.status-success {
  display: block;
  background: #E8F5EF;
  color: #075E43;
  border-left: 3px solid #075E43;
}

#request-status.status-error {
  display: block;
  background: #FDF0F0;
  color: #B32626;
  border-left: 3px solid #B32626;
}

/* Formal Dark Footer */
footer.footer-luxury {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 85px 6.5% 35px;
}

.footer-top-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo-wrap {
  margin-bottom: 24px;
  display: inline-block;
}

.footer-logo-img {
  height: 82px;
  max-height: 85px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-logo-wrap a:hover .footer-logo-img {
  opacity: 0.95;
  transform: translateY(-2px);
}

.footer-brand .brand-title {
  color: #ffffff;
  font-size: 2rem;
}

.footer-brand .brand-tagline {
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-brand p {
  color: #8B9FA8;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 380px;
}

.footer-links-col h4,
.footer-cta-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 20px;
  font-family: var(--font-serif);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: #8B9FA8;
  font-size: 0.88rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-cta-col p {
  color: #8B9FA8;
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--navy);
  padding: 12px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.btn-white:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 155, 94, 0.3);
}

.footer-bottom-bar {
  max-width: 1440px;
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: #6C818C;
}

/* ====================================================
   RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile)
   ==================================================== */

/* Tablet (max-width: 1100px) */
@media (max-width: 1100px) {
  header {
    padding: 0 4%;
  }
  nav {
    gap: 18px;
    font-size: 0.82rem;
  }
  .section {
    padding: 75px 5%;
  }
  .hero-split {
    gap: 40px;
    padding: 50px 5% 70px;
  }
  .hero-frame {
    height: 520px;
  }
  .experience-grid {
    gap: 25px;
  }
  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .solutions-split,
  .regency-split,
  .advisory-split,
  .consultation-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .solutions-image,
  .regency-frame,
  .advisory-frame {
    flex: none;
    height: 380px;
    min-height: auto;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  header {
    height: 80px;
    padding: 0 5%;
  }
  .brand-logo-img {
    height: 48px;
    max-height: 48px;
    max-width: 150px;
  }
  .footer-logo-img {
    height: 64px;
    max-height: 64px;
    max-width: 180px;
  }
  .brand-title {
    font-size: 1.45rem;
  }
  .menu {
    display: block;
    border: 1px solid var(--border-light);
    padding: 8px 14px;
    font-size: 0.85rem;
    color: var(--navy);
    font-weight: 600;
  }
  nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 24px 6%;
    gap: 18px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  }
  nav.open {
    display: flex;
  }
  .nav-cta {
    text-align: center;
    width: 100%;
  }
  .section {
    padding: 60px 5%;
  }
  .hero-split {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 30px 5% 50px;
  }
  .hero-frame {
    flex: none;
    height: 380px;
    min-height: auto;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .experience-col:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding-right: 0;
    padding-bottom: 16px;
  }
  .outcomes-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  .outcomes-grid {
    grid-template-columns: 1fr;
  }
  .solutions-image {
    flex: none;
    height: 280px;
    min-height: auto;
  }
  .regency-frame,
  .advisory-frame {
    flex: none;
    height: 280px;
    min-height: auto;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  #review-form {
    padding: 26px 20px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ==========================================================================
   Ratings & Reviews
   ========================================================================== */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

/* Star display (supports fractional ratings) */
.stars {
  position: relative;
  display: inline-block;
  font-size: 1.05rem;
  letter-spacing: 2px;
  line-height: 1;
  white-space: nowrap;
}
.stars-base { color: #DCD5C6; }
.stars-fill {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  color: var(--gold);
  white-space: nowrap;
}

/* Package card badge */
.pkg-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -4px 0 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.pkg-rating-badge:hover .pkg-rating-text { color: var(--navy); text-decoration: underline; }
.pkg-rating-text { font-weight: 600; color: var(--navy); }

/* Layout */
.reviews-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: flex-start;
  margin-top: 40px;
}

.reviews-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--gold);
  padding: 22px 26px;
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.reviews-score { display: flex; align-items: center; gap: 20px; }
.reviews-score-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--navy);
}
.reviews-score .stars { font-size: 1.3rem; display: block; margin-bottom: 6px; }
.reviews-score-count { display: block; font-size: 0.85rem; color: var(--text-muted); }
.reviews-empty-title { display: block; font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); margin-bottom: 4px; }

/* Filter chips */
.reviews-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.review-chip {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.review-chip:hover { border-color: var(--gold); }
.review-chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.review-chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.review-chip-count {
  display: inline-block;
  margin-left: 6px;
  padding: 0 7px;
  font-size: 0.72rem;
  border-radius: 999px;
  background: var(--gold-subtle);
}
.review-chip.is-active .review-chip-count { background: rgba(255, 255, 255, 0.18); }

/* Review cards */
.reviews-list { display: grid; gap: 18px; }
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 26px 28px;
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
}
.review-card[hidden] { display: none; }
.review-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.review-card-top time { font-size: 0.78rem; color: #8C9CA6; }
.review-text { color: var(--text-main); font-size: 0.98rem; line-height: 1.75; margin: 0 0 18px; }
.review-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}
.review-author strong { display: block; color: var(--navy); font-size: 0.92rem; }
.review-author span { font-size: 0.8rem; color: var(--text-muted); }
.review-package-badge {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--gold-subtle);
  border: 1px solid rgba(197, 163, 88, 0.45);
  padding: 5px 10px;
  border-radius: 2px;
}
.reviews-more { margin-top: 22px; background: transparent; cursor: pointer; }
.reviews-more[hidden] { display: none; }

/* Rating form */
.rating-form {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 34px 30px;
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 110px;
}
.rating-form h3 { font-size: 1.5rem; margin-bottom: 6px; }
.rating-form-intro { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 22px; }
.star-fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.star-fieldset legend { font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; padding: 0; }

/* Accessible CSS-only star picker (radios, DOM order 5..1, row-reverse) */
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.star-input label {
  margin: 0;
  font-size: 2rem;
  line-height: 1;
  color: #DCD5C6;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label { color: var(--gold); }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

.rating-check { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; cursor: pointer; }
.rating-check input { width: 16px; height: 16px; accent-color: var(--green); }

#rating-status { padding: 12px 16px; margin-top: 16px; font-size: 0.88rem; border-radius: 2px; display: none; }
#rating-status.status-loading { display: block; background: #EEF4F7; color: var(--navy); border-left: 3px solid var(--navy); }
#rating-status.status-success { display: block; background: #EAF5F1; color: #0B634D; border-left: 3px solid #0B634D; }
#rating-status.status-error { display: block; background: #FBEFEF; color: #A12B2B; border-left: 3px solid #A12B2B; }

@media (max-width: 960px) {
  .reviews-layout { grid-template-columns: 1fr; gap: 36px; }
  .rating-form { position: static; padding: 26px 20px; }
  .review-card { padding: 22px 20px; }
}

/* Reviews: invitation card (shown before the first review is published) */
.reviews-invite {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--gold);
  padding: 34px 32px;
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
}
.reviews-invite h3 { font-size: 1.6rem; line-height: 1.3; margin: 8px 0 14px; color: var(--navy); }
.reviews-invite p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.75; margin: 0 0 22px; }
.reviews-invite-points { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--border-light); display: grid; gap: 8px; font-size: 0.88rem; color: var(--navy); }
.reviews-invite-points li span { color: var(--green); margin-right: 8px; font-weight: 700; }
