/* ═══════════════════════════════════════════════════
   COASTAL BAY INVESTMENTS — Design Tokens & Styles
   ═══════════════════════════════════════════════════ */

/* --- Type Scale --- */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* --- 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;

  /* --- Radius --- */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.4, 0, 1, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* --- Content Widths --- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* --- Fonts --- */
  --font-display: 'Instrument Serif', 'Georgia', serif;
  --font-body: 'Switzer', 'Helvetica Neue', sans-serif;
}

/* ═══════════════════════════════════════════════════
   COLOR PALETTE — Deep Navy + Gold Luxury
   ═══════════════════════════════════════════════════ */

:root, [data-theme="light"] {
  --color-bg:             #f8f7f4;
  --color-surface:        #ffffff;
  --color-surface-2:      #f2f0ec;
  --color-surface-offset: #edeae4;
  --color-divider:        #d9d5cc;
  --color-border:         #ccc8bf;

  --color-text:           #0a1628;
  --color-text-muted:     #5a6275;
  --color-text-faint:     #9a9daa;
  --color-text-inverse:   #f8f7f4;

  --color-primary:        #c9a84c;
  --color-primary-hover:  #b8963d;
  --color-primary-active: #a3842e;

  --color-navy:           #0a1628;
  --color-navy-light:     #142038;
  --color-navy-lighter:   #1c2d4a;

  --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 22, 40, 0.12);
}

[data-theme="dark"] {
  --color-bg:             #080e1a;
  --color-surface:        #0d1526;
  --color-surface-2:      #111b30;
  --color-surface-offset: #0f1829;
  --color-divider:        #1c2d4a;
  --color-border:         #243656;

  --color-text:           #e8e6e1;
  --color-text-muted:     #8b90a0;
  --color-text-faint:     #5a6275;
  --color-text-inverse:   #0a1628;

  --color-primary:        #d4b85e;
  --color-primary-hover:  #e0c872;
  --color-primary-active: #c9a84c;

  --color-navy:           #0a1628;
  --color-navy-light:     #142038;
  --color-navy-lighter:   #1c2d4a;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #080e1a;
    --color-surface:        #0d1526;
    --color-surface-2:      #111b30;
    --color-surface-offset: #0f1829;
    --color-divider:        #1c2d4a;
    --color-border:         #243656;
    --color-text:           #e8e6e1;
    --color-text-muted:     #8b90a0;
    --color-text-faint:     #5a6275;
    --color-text-inverse:   #0a1628;
    --color-primary:        #d4b85e;
    --color-primary-hover:  #e0c872;
    --color-primary-active: #c9a84c;
    --color-navy:           #0a1628;
    --color-navy-light:     #142038;
    --color-navy-lighter:   #1c2d4a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  }
}

/* ═══════════════════════════════════════════════════
   GLOBAL STYLES
   ═══════════════════════════════════════════════════ */

body {
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

/* ═══════════════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════════════ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-5) 0;
  transition: background 0.4s var(--ease-out),
              backdrop-filter 0.4s var(--ease-out),
              padding 0.4s var(--ease-out);
}

.header--scrolled {
  background: rgba(10, 22, 40, 0.92);
  backdrop-filter: blur(16px);
  padding: var(--space-3) 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

@media (min-width: 768px) {
  .header__inner { padding-inline: var(--space-8); }
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: #fff;
}

.header__logo img {
  height: 44px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  line-height: 1.25;
}

.header__nav {
  display: none;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .header__nav { display: flex; }
}

@media (min-width: 1280px) {
  .header__nav { gap: var(--space-8); }
}

.header__nav a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color var(--transition-interactive);
  position: relative;
}

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

.header__nav a:hover {
  color: #fff;
}

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

.header__nav a.active {
  color: var(--color-primary);
}

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

.header__cta {
  display: none;
  padding: var(--space-2) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-navy);
  background: var(--color-primary);
  border: none;
  text-decoration: none;
  transition: all var(--transition-interactive);
}

@media (min-width: 1024px) {
  .header__cta { display: inline-block; }
}

.header__cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

/* Mobile Menu Toggle */
.header__menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .header__menu-btn { display: none; }
}

.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s var(--ease-out);
}

.header__menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header__menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.header__menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.98);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: #fff;
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.mobile-menu a:hover {
  color: var(--color-primary);
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

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

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.5) 0%,
    rgba(10, 22, 40, 0.3) 40%,
    rgba(10, 22, 40, 0.7) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-8) var(--space-4);
  max-width: 900px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: #fff;
  line-height: 1.08;
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-interactive);
  border: none;
}

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

.btn--primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.3);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}

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

.btn--dark {
  background: var(--color-navy);
  color: #fff;
}

.btn--dark:hover {
  background: var(--color-navy-light);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════
   SECTION STYLES
   ═══════════════════════════════════════════════════ */

.section {
  padding: clamp(var(--space-12), 8vw, var(--space-32)) 0;
}

.section--navy {
  background: var(--color-navy);
  color: #fff;
}

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

.section--dark {
  background: var(--color-bg);
}

.section__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.section__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.section--navy .section__subtitle {
  color: rgba(255,255,255,0.65);
}

.section__header {
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-16));
}

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

.section__header--center .section__subtitle {
  margin-inline: auto;
}

/* Gold divider line */
.gold-divider {
  width: 60px;
  height: 1px;
  background: var(--color-primary);
  margin: var(--space-6) 0;
}

.gold-divider--center {
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════ */

.stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  padding: var(--space-10) 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
  .stats-bar { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
}

.stat__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ═══════════════════════════════════════════════════
   SERVICES GRID
   ═══════════════════════════════════════════════════ */

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   ABOUT SECTION — Two Column
   ═══════════════════════════════════════════════════ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
}

.about-image {
  position: relative;
  overflow: hidden;
}

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

.about-image__accent {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 120px;
  height: 120px;
  border: 2px solid var(--color-primary);
  z-index: -1;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.about-content p:last-of-type {
  margin-bottom: var(--space-6);
}

/* ═══════════════════════════════════════════════════
   PORTFOLIO GRID
   ═══════════════════════════════════════════════════ */

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid .portfolio-card:first-child {
    grid-column: 1 / -1;
  }
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/10;
}

.portfolio-card:first-child {
  aspect-ratio: 21/9;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.portfolio-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6) var(--space-6);
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.85));
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s var(--ease-out);
}

.portfolio-card:hover .portfolio-card__overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-card__tag {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.portfolio-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #fff;
}

.portfolio-card__detail {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-top: var(--space-1);
}

/* ═══════════════════════════════════════════════════
   PARTNERS / DUAL BRAND
   ═══════════════════════════════════════════════════ */

.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .partners-grid { grid-template-columns: 1fr 1fr; }
}

.partner-card {
  padding: var(--space-8);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.partner-card__logo {
  height: 80px;
  width: auto;
  margin-inline: auto;
  margin-bottom: var(--space-5);
  object-fit: contain;
}

.partner-card__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: #fff;
  margin-bottom: var(--space-3);
}

.partner-card__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 400px;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════ */

.cta-section {
  position: relative;
  padding: clamp(var(--space-16), 10vw, var(--space-32)) 0;
  text-align: center;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

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

.cta-section__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 22, 40, 0.8);
}

.cta-section__content {
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════════════ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--space-16); }
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.contact-info__icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info__label {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.contact-info__value {
  font-size: var(--text-base);
}

.contact-info__value a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.contact-info__value a:hover {
  color: var(--color-primary);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition-interactive);
}

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

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

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 480px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */

.footer {
  background: var(--color-navy);
  padding: var(--space-12) 0 var(--space-6);
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer__brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-top: var(--space-4);
  max-width: 300px;
}

.footer__heading {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__links a:hover {
  color: #fff;
}

.footer__bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__bottom p,
.footer__bottom a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer__bottom a {
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__bottom a:hover {
  color: rgba(255,255,255,0.65);
}

/* ═══════════════════════════════════════════════════
   PAGE HERO (Interior pages)
   ═══════════════════════════════════════════════════ */

.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.25;
}

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

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-16) var(--space-4) var(--space-10);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: #fff;
  margin-bottom: var(--space-4);
}

.page-hero__subtitle {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.6);
  max-width: 550px;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════ */

.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

.reveal-up {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .reveal-up {
    clip-path: inset(100% 0 0 0);
    animation: reveal-clip linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-clip {
  to { clip-path: inset(0 0 0 0); }
}

/* ═══════════════════════════════════════════════════
   PROCESS / APPROACH SECTION
   ═══════════════════════════════════════════════════ */

.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  counter-reset: process;
}

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

@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  position: relative;
  counter-increment: process;
}

.process-step__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-3);
}

.process-step__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════
   DARK MODE TOGGLE
   ═══════════════════════════════════════════════════ */

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: color var(--transition-interactive);
}

.theme-toggle:hover {
  color: #fff;
}

/* ═══════════════════════════════════════════════════
   MISC UTILITIES
   ═══════════════════════════════════════════════════ */

.text-gold { color: var(--color-primary); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }

/* Smooth page transitions */
.page-content {
  opacity: 0;
  animation: page-enter 0.6s var(--ease-out) 0.1s forwards;
}

@keyframes page-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Services page full width image */
.services-image-full {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
}

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

/* About page team layout */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

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

.team-member {
  text-align: center;
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.team-member__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.team-member__role {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
}

/* ═══════════════════════════════════════════════════
   DUAL BRAND — Header & Footer Partnership
   ═══════════════════════════════════════════════════ */

.header__logo-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: #fff;
}

.header__logo-primary {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: #fff;
}

.header__logo-primary img {
  height: 36px;
  width: auto;
}

.header__logo-divider {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  line-height: 1.3;
  white-space: nowrap;
}

.header__logo-partner {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: #fff;
}

.header__logo-partner img {
  height: 28px;
  width: auto;
  opacity: 0.8;
}

.header__logo-partner-text {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  line-height: 1.2;
}

/* Hide partner text on smaller screens */
@media (max-width: 480px) {
  .header__logo-divider,
  .header__logo-partner {
    display: none;
  }
}

@media (min-width: 481px) and (max-width: 1023px) {
  .header__logo-partner-text {
    display: none;
  }
}

/* Footer dual brand */
.footer__brand-logos {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-3);
  flex-wrap: wrap;
}

.footer__brand-primary {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: #fff;
}

.footer__brand-primary img {
  height: 36px;
  width: auto;
}

.footer__brand-primary .header__logo-text {
  font-size: var(--text-xs);
}

.footer__brand-divider {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__brand-partner {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
}

.footer__brand-partner img {
  height: 28px;
  width: auto;
  opacity: 0.8;
}

.footer__brand-partner-name {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 1.2;
}
