/* ============================================================
   GrainRoom Consulting — Shared Stylesheet
   ============================================================ */

:root {
  --navy:        #0B162C;
  --navy-light:  #132444;
  --gold:        #C49038;
  --gold-light:  #D9A94C;
  --gold-dark:   #9E6E20;
  --white:       #FFFFFF;
  --off-white:   #F4F6F8;
  --gray-100:    #EEF0F3;
  --gray-200:    #DEE2E8;
  --gray-300:    #BCC3CE;
  --gray-400:    #9CA3AF;
  --gray-500:    #6B7280;
  --gray-600:    #4B5563;
  --gray-700:    #374151;
  --gray-800:    #1F2937;
  --gray-900:    #111827;
  --teal:        #0E7C7B;
  --teal-light:  #14A3A1;
  --red:         #DC2626;
  --green:       #16A34A;
  --blue:        #2563EB;

  --font-body:   'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:   0 16px 48px rgba(0,0,0,0.16);
  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --transition:  0.25s ease;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--gray-900);
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1rem; }

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

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

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

ul, ol { padding-left: 1.25rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

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

.container--narrow {
  max-width: 860px;
}

.section {
  padding: 5rem 0;
}

.section__label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section__title {
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 640px;
  margin-bottom: 3rem;
}

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
}

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

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

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

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

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

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

/* ---- Header / Navigation ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--navy);
  box-shadow: var(--shadow-md);
  transition: background var(--transition), box-shadow var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.header__logo svg {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

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

.header__nav a {
  color: var(--gray-300);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--gold-light);
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__cta .btn {
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    background: var(--navy-light);
    gap: 1.5rem;
    transition: right 0.35s ease;
    box-shadow: var(--shadow-xl);
  }

  .header__nav.active {
    right: 0;
  }

  .header__nav a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }

  .header__cta { display: none; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0F1F3D 40%, #162D50 70%, var(--navy) 100%);
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero__bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}

.hero__shape--1 {
  width: 600px;
  height: 600px;
  background: var(--gold);
  top: -200px;
  right: -150px;
}

.hero__shape--2 {
  width: 400px;
  height: 400px;
  background: var(--teal);
  bottom: -100px;
  left: -100px;
}

.hero__shape--3 {
  width: 200px;
  height: 200px;
  background: var(--gold);
  top: 40%;
  right: 15%;
}

.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  color: var(--white);
}

.hero__badge {
  display: inline-block;
  background: rgba(196, 144, 56, 0.15);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(196, 144, 56, 0.25);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero__content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero__content h1 span {
  color: var(--gold-light);
}

.hero__content p {
  font-size: 1.2rem;
  color: var(--gray-300);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__card-stack {
  position: relative;
  width: 320px;
  height: 380px;
}

.hero__card {
  position: absolute;
  width: 280px;
  padding: 2rem 1.75rem;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero__card--top {
  top: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(196,144,56,0.12), rgba(255,255,255,0.03));
  border-color: rgba(196,144,56,0.2);
}

.hero__card--mid {
  top: 100px;
  left: 0;
  background: linear-gradient(135deg, rgba(14,124,123,0.10), rgba(255,255,255,0.03));
  border-color: rgba(14,124,123,0.18);
}

.hero__card--bot {
  top: 200px;
  right: 20px;
}

.hero__card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.hero__card--top .hero__card-icon { background: rgba(196,144,56,0.15); color: var(--gold-light); }
.hero__card--mid .hero__card-icon { background: rgba(14,124,123,0.15); color: var(--teal-light); }
.hero__card--bot .hero__card-icon { background: rgba(37,99,235,0.15); color: #60A5FA; }

.hero__card h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero__card p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin: 0;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 968px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content h1 { font-size: 2.5rem; }
  .hero__actions { justify-content: center; }
  .hero__visual { display: none; }
}

/* ---- Services ---- */
.services {
  background: var(--white);
}

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

.service-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: height 0.35s ease;
  border-radius: 0 0 6px 0;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  height: 100%;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.service-card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 968px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ---- About ---- */
.about {
  background: var(--off-white);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about__image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--navy), #1A3A5C);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about__image-placeholder::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(196,144,56,0.3);
  border-radius: var(--radius-sm);
}

.about__image-icon {
  font-size: 5rem;
  opacity: 0.3;
  color: var(--gold-light);
}

.about__content h2 { margin-bottom: 1rem; }

.about__content p {
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.about__features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.about__features li::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.about__features li::after {
  display: none;
}

.about__features li .check {
  position: absolute;
}

.about__check {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.about__check::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- Stats ---- */
.stats {
  background: linear-gradient(135deg, var(--navy), #0F1F3D);
  padding: 4rem 0;
}

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

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-item__number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
  line-height: 1;
}

.stat-item__label {
  font-size: 1rem;
  color: var(--gray-300);
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Process ---- */
.process {
  background: var(--white);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process__grid::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step__number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--gray-200);
  transition: all var(--transition);
}

.process-step:hover .process-step__number {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.process-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.process-step p {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin: 0;
}

@media (max-width: 768px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process__grid::before { display: none; }
}

@media (max-width: 480px) {
  .process__grid { grid-template-columns: 1fr; }
}

/* ---- Testimonials ---- */
.testimonials {
  background: var(--off-white);
}

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

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-card__text {
  font-size: 0.95rem;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--gray-600);
  font-size: 1.1rem;
}

.testimonial-card__info strong {
  display: block;
  color: var(--gray-900);
  font-size: 0.95rem;
}

.testimonial-card__info span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

@media (max-width: 968px) {
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* ---- Contact Form ---- */
.contact {
  background: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

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

.contact__info p {
  color: var(--gray-500);
  margin-bottom: 2rem;
}

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

.contact__detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1.2rem;
  border: 1px solid var(--gray-200);
}

.contact__detail-text strong {
  display: block;
  color: var(--gray-900);
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.contact__detail-text span {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.contact-form {
  background: var(--off-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 144, 56, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group .error-msg {
  display: none;
  font-size: 0.82rem;
  color: var(--red);
  margin-top: 0.3rem;
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--red);
}

.form-group.error .error-msg {
  display: block;
}

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.form-success.show { display: block; }

.form-success__icon {
  font-size: 3rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.form-success h3 {
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--gray-500);
}

@media (max-width: 768px) {
  .contact__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy), #0F1F3D);
  padding: 5rem 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--gray-300);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-banner .btn--primary {
  font-size: 1.05rem;
  padding: 0.9rem 2.5rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer__brand p {
  color: var(--gray-400);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer__col a {
  display: block;
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color var(--transition);
}

.footer__col a:hover { color: var(--gold-light); }

.footer__bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer__bottom a {
  color: var(--gray-400);
}

.footer__bottom a:hover { color: var(--gold-light); }

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---- Legal Pages (Privacy / Terms) ---- */
.legal-page {
  padding-top: 7rem;
  padding-bottom: 4rem;
  background: var(--white);
}

.legal-page .container--narrow {
  background: var(--white);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.legal-page .legal-meta {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.legal-page h2 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
}

.legal-page h2:first-of-type {
  margin-top: 0;
}

.legal-page p {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.legal-page ul, .legal-page ol {
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.legal-page li {
  margin-bottom: 0.5rem;
}

.legal-page a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.legal-page a:hover {
  color: var(--navy);
}

@media (max-width: 600px) {
  .legal-page .container--narrow {
    padding: 2rem 1.25rem;
  }

  .legal-page h1 { font-size: 1.8rem; }
  .legal-page h2 { font-size: 1.25rem; }
}

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

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

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--gold);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0.5rem;
}

/* ---- Overlay for mobile nav ---- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.nav-overlay.active { display: block; }

/* ---- Utility ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: 3rem 0; }
  .hero { min-height: auto; padding: 6rem 0 3rem; }
}
