/* ========================================
   THE GOLDEN AGE — Design System
   Inside Out Method™ | Regulate → Restore → Rebuild
   ======================================== */

/* === CSS CUSTOM PROPERTIES === */
:root {
  /* Brand Colors */
  --color-gold: #C9A227;
  --color-gold-light: #E5C76B;
  --color-gold-dark: #8B6914;
  --color-bronze: #A67C52;
  --color-cream: #FDF8F0;
  --color-cream-dark: #F5EDE0;
  --color-charcoal: #2C2C2C;
  --color-charcoal-light: #4A4A4A;
  --color-white: #FFFFFF;

  /* Accent Colors */
  --color-sage: #9CAF88;
  --color-rose: #D4A5A5;
  --color-terracotta: #C07C5F;

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Borders & Shadows */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
  --shadow-gold: 0 4px 20px rgba(201, 162, 39, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Container */
  --container-max: 1200px;
  --container-narrow: 800px;
}



/* === RESET & BASE === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-gold-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-gold);
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-charcoal);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-4xl);
  font-weight: 400;
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-dark);
}

p {
  margin-bottom: var(--space-4);
}

.lead {
  font-size: var(--text-xl);
  line-height: 1.8;
  color: var(--color-charcoal-light);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
  display: block;
}

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-24) 0;
  position: relative;
  z-index: 1;
}

.section--cream {
  background-color: var(--color-cream);
}

.section--white {
  background-color: var(--color-white);
}

.section--charcoal {
  background-color: var(--color-charcoal);
  color: var(--color-cream);
}

.section--charcoal h1,
.section--charcoal h2,
.section--charcoal h3,
.section--charcoal h4 {
  color: var(--color-cream);
}

.section--charcoal .eyebrow {
  color: var(--color-gold-light);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  justify-content: space-between;
  align-items: center;
}

.flex--column {
  flex-direction: column;
}

.flex--gap {
  gap: var(--space-6);
}

/* === FLOWER ANIMATION BACKGROUND === */
.flower-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.6;
}

/* === HEADER & NAVIGATION === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.1);
  transition: all var(--transition-base);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-1) var(--space-6);
  max-width: var(--container-max);
  margin: 0 auto;
}

.header__logo {
  height: 80px;
  width: auto;
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 100%;
  width: auto;
  /* Seamless blending into navbar */
  background: transparent;
  border: none;
  box-shadow: none;
  /* Soft rendering for natural integration */
  filter: contrast(1.02);
  mix-blend-mode: multiply;
  /* Smooth transitions */
  transition: opacity 0.3s ease;
}

.header__logo img:hover {
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-6);
  align-items: center;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-charcoal);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast);
  padding: var(--space-2) 0;
  position: relative;
}

.nav__link:hover {
  color: var(--color-gold);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-gold-dark);
}

/* Dropdown Menu */
.nav__dropdown {
  position: relative;
}

.nav__link--dropdown {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.dropdown-arrow {
  font-size: 0.7em;
  transition: transform var(--transition-fast);
}

.nav__dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 260px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: var(--space-3) 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  list-style: none;
  z-index: 1001;
  border: 1px solid rgba(201, 162, 39, 0.1);
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-menu li {
  padding: 0;
}

.nav__dropdown-menu a {
  display: block;
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  transition: all var(--transition-fast);
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.nav__dropdown-menu a:hover {
  background: var(--color-cream);
  color: var(--color-gold-dark);
  padding-left: var(--space-6);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-charcoal);
  transition: all var(--transition-fast);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201, 162, 39, 0.25);
  color: var(--color-white);
}

.btn--secondary {
  background: transparent;
  color: var(--color-gold-dark);
  border: 2px solid var(--color-gold);
}

.btn--secondary:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

.btn--large {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-base);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-charcoal);
}

.btn--white:hover {
  background: var(--color-cream);
  color: var(--color-charcoal);
}

/* === CARDS === */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card--bordered {
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.card__icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  color: var(--color-white);
  font-size: var(--text-2xl);
}

.card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.card__text {
  color: var(--color-charcoal-light);
  margin-bottom: var(--space-4);
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 120px;
  overflow: hidden;
  z-index: 1;
}

.hero--centered {
  text-align: center;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero__bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(253, 248, 240, 0.95) 0%,
      rgba(253, 248, 240, 0.85) 50%,
      rgba(201, 162, 39, 0.1) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: var(--text-6xl);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease forwards;
}

.hero__subtitle {
  font-size: var(--text-xl);
  color: var(--color-charcoal-light);
  max-width: 600px;
  margin-bottom: var(--space-8);
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero--centered .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: flex;
  gap: var(--space-4);
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

.hero--centered .hero__cta {
  justify-content: center;
}

/* === HERO VIDEO BACKGROUND === */
.hero--video-bg {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Full-width background video */
.hero__video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(0.95);
  transition: transform 0.4s ease, object-position 0.4s ease;
  z-index: 0;
}

/* Semi-transparent overlay for text readability */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(253, 248, 240, 0.35) 0%,
      rgba(253, 248, 240, 0.5) 50%,
      rgba(253, 248, 240, 0.35) 100%);
  z-index: 1;
}

/* Content container - above video and overlay */
.hero--video-bg .container {
  position: relative;
  z-index: 2;
}

.hero--video-bg .hero__content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-4);
}

.hero--video-bg .hero__subtitle {
  margin-left: auto;
  margin-right: auto;
  color: var(--color-charcoal);
}

.hero--video-bg .hero__cta {
  justify-content: center;
  margin-top: var(--space-4);
}

.hero--video-bg .hero__cta .btn {
  background: transparent;
  border: 2px solid var(--color-charcoal);
  color: var(--color-charcoal);
}

.hero--video-bg .hero__cta .btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-white);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero--video-bg {
    min-height: 90vh;
  }

  .hero--video-bg .hero__content {
    padding: var(--space-8) var(--space-4);
  }

  .hero__video-bg {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero--video-bg {
    min-height: 80vh;
  }
}

/* === METHOD SECTION (Inside Out) === */
.method {
  text-align: center;
}

.method__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
  position: relative;
}

.method__steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg,
      var(--color-gold) 0%,
      var(--color-gold-light) 50%,
      var(--color-gold) 100%);
  z-index: 0;
}

.method__step {
  position: relative;
  z-index: 1;
}

.method__number {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 3px solid var(--color-gold);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-gold-dark);
  transition: all var(--transition-base);
}

.method__step:hover .method__number {
  background: var(--color-gold);
  color: var(--color-white);
  transform: scale(1.1);
}

.method__label {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.method__desc {
  color: var(--color-charcoal-light);
  font-size: var(--text-base);
}

/* === SERVICE CARDS === */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card__badge {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.service-card__content {
  padding: var(--space-8);
}

.service-card__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.service-card__text {
  color: var(--color-charcoal-light);
  margin-bottom: var(--space-6);
}

.service-card__link {
  font-weight: 600;
  color: var(--color-gold-dark);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.service-card__link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card__link::after {
  transform: translateX(4px);
}

/* === FORMS === */
.form {
  max-width: 600px;
}

.form__group {
  margin-bottom: var(--space-6);
}

.form__label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-2);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  padding: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-charcoal);
  background: var(--color-white);
  border: 2px solid var(--color-cream-dark);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

/* === FOOTER === */
.footer {
  background: rgba(253, 248, 240, 0.95);
  color: var(--color-charcoal);
  padding: var(--space-16) 0 var(--space-8);
  border-top: 1px solid rgba(201, 162, 39, 0.1);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  width: 300px;
  height: 300px;
  object-fit: contain;
  margin-bottom: var(--space-4);
}

.footer__tagline {
  color: var(--color-charcoal);
  font-size: var(--text-sm);
  opacity: 0.8;
}

.footer__title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-dark);
  margin-bottom: var(--space-4);
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: var(--space-2);
}

.footer__link {
  color: var(--color-charcoal);
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
  opacity: 0.8;
}

.footer__link:hover {
  color: var(--color-gold);
  opacity: 1;
}

.footer__social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.15);
  border: 1.5px solid #d4a017;
  color: #d4a017;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  flex-shrink: 0;
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__social-link:hover {
  background: #d4a017;
  border-color: #d4a017;
  color: #1a1208;
}

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  opacity: 0.6;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animations */
.animate-stagger>*:nth-child(1) {
  animation-delay: 0.1s;
}

.animate-stagger>*:nth-child(2) {
  animation-delay: 0.2s;
}

.animate-stagger>*:nth-child(3) {
  animation-delay: 0.3s;
}

.animate-stagger>*:nth-child(4) {
  animation-delay: 0.4s;
}

.animate-stagger>*:nth-child(5) {
  animation-delay: 0.5s;
}

/* === UTILITIES === */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mb-12 {
  margin-bottom: var(--space-12);
}

.mb-16 {
  margin-bottom: var(--space-16);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mt-12 {
  margin-top: var(--space-12);
}

.pt-0 {
  padding-top: 0;
}

.pb-0 {
  padding-bottom: 0;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-6xl: 3rem;
    --text-7xl: 3.5rem;
  }

  .section {
    padding: var(--space-16) 0;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .method__steps {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .method__steps::before {
    display: none;
  }

  .nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-cream);
    padding: var(--space-6);
    gap: var(--space-4);
    box-shadow: var(--shadow-lg);
  }

  .nav__list.active {
    display: flex;
  }

  /* Mobile dropdown - hidden by default, toggle with JS */
  .nav__dropdown-menu {
    position: static;
    transform: none;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 var(--space-4);
    min-width: auto;
    transition: all 0.3s ease;
  }

  /* Show dropdown when parent has dropdown-open class */
  .nav__dropdown.dropdown-open .nav__dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    padding: var(--space-2) 0 var(--space-2) var(--space-4);
  }

  .nav__dropdown-menu a {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
  }

  .nav__dropdown-menu a:hover {
    padding-left: var(--space-5);
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: var(--space-32) 0 var(--space-16);
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__cta {
    flex-direction: column;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand {
    max-width: none;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-4);
  }

  .hero__title {
    font-size: var(--text-3xl);
  }

  .btn {
    width: 100%;
  }

  .card {
    padding: var(--space-6);
  }

  /* Smaller footer logo on mobile */
  .footer__logo {
    width: 150px;
    height: 150px;
  }

  /* Reduce padding for faster perceived load */
  .section {
    padding: var(--space-12) 0;
  }

  /* Cleaner mobile typography */
  .hero__subtitle {
    font-size: var(--text-base);
  }

  /* Flower animation disabled on mobile (handled in JS + 768px breakpoint) */
}

/* === MOBILE PERFORMANCE OPTIMIZATIONS === */
@media (max-width: 768px) {

  /* Disable hover effects on touch devices */
  .card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }

  /* Reduce animation complexity */
  .hero__title,
  .hero__subtitle,
  .hero__cta {
    animation: none;
    opacity: 1;
  }

  /* Smaller footer logo on tablets */
  .footer__logo {
    width: 200px;
    height: 200px;
  }

  /* Touch-friendly button sizes */
  .btn {
    min-height: 48px;
    padding: var(--space-3) var(--space-6);
  }

  /* Faster text rendering */
  body {
    text-rendering: optimizeSpeed;
  }

  /* Cleaner form inputs */
  .form__input,
  .form__select,
  .form__textarea {
    font-size: 16px;
    /* Prevents iOS zoom on focus */
  }
}

/* === REDUCE MOTION FOR ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .flower-bg {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* === SIDEBAR LAYOUT === */
.layout-sidebar {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: var(--space-12);
  align-items: start;
}

.content-main {
  min-width: 0;
  /* Prevents overflow */
}

.content-main h3 {
  color: var(--color-gold-dark);
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  font-size: var(--text-2xl);
}

.content-main p {
  margin-bottom: var(--space-4);
  line-height: 1.8;
  color: var(--color-charcoal);
}

.content-main ul {
  margin-bottom: var(--space-6);
  padding-left: var(--space-4);
}

.content-main li {
  margin-bottom: var(--space-2);
  position: relative;
  padding-left: var(--space-6);
  list-style: none;
}

.content-main li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-size: 0.9em;
}

.sidebar {
  position: sticky;
  top: 120px;
  /* Account for fixed header */
}

/* Sidebar Widget */
.widget {
  background: var(--color-white);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-8);
  border: 1px solid rgba(201, 162, 39, 0.15);
}

.widget img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-6);
  display: block;
}

.widget__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-charcoal);
  margin-bottom: var(--space-4);
  text-align: center;
}

.widget__text {
  font-size: var(--text-sm);
  color: var(--color-charcoal);
  margin-bottom: var(--space-6);
  text-align: center;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .layout-sidebar {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    margin-top: var(--space-12);
  }

  .widget {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}
