/* ==========================================================================
   2111 WEST GRAND BLVD, LLC - Premium Real Estate Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary-navy: #0b1320;
  --secondary-navy: #151c28;
  --surface-navy: #1d2738;
  
  --accent-gold: #c5a059;
  --accent-gold-hover: #b38e47;
  --accent-gold-light: rgba(197, 160, 89, 0.12);
  --accent-gold-glow: rgba(197, 160, 89, 0.25);

  --bg-light: #f8f9fa;
  --bg-subtle: #f1f4f8;
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.1);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  --text-white-subtle: #cbd5e1;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(11, 19, 32, 0.04);
  --shadow-md: 0 10px 30px rgba(11, 19, 32, 0.08);
  --shadow-lg: 0 20px 40px rgba(11, 19, 32, 0.12);
  --shadow-dark: 0 20px 40px rgba(0, 0, 0, 0.35);

  /* Layout */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --container-width: 1240px;
  --header-height: 84px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

/* Typography Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--primary-navy);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none;
  outline: none;
  text-decoration: none;
}

h1::before, h1::after,
h2::before, h2::after,
h3::before, h3::after,
h4::before, h4::after {
  content: none;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  margin-bottom: 0.85rem;
}

.section-header p {
  font-size: 1.15rem;
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #ffffff;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 14px rgba(197, 160, 89, 0.35);
}

.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.45);
}

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

.btn-navy:hover, .btn-navy:focus-visible {
  background-color: var(--secondary-navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover, .btn-outline:focus-visible {
  background-color: var(--primary-navy);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover, .btn-outline-white:focus-visible {
  background-color: var(--text-white);
  color: var(--primary-navy);
  border-color: var(--text-white);
  transform: translateY(-2px);
}

/* Glass & Card Styling */
.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 160, 89, 0.4);
}

/* Icon Box */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background-color: var(--accent-gold-light);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.card:hover .icon-box {
  background-color: var(--accent-gold);
  color: #ffffff;
  transform: scale(1.05);
}

.icon-box svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background-color: rgba(11, 19, 32, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
  background-color: rgba(11, 19, 32, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  height: 74px;
}

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

.header-container nav {
  margin-left: auto;
  margin-right: 1.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--text-white);
  text-decoration: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.brand-mark {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-tagline {
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: 3px;
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  color: var(--text-white-subtle);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: width var(--transition-fast);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.mobile-nav-cta {
  display: none;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-white);
  position: relative;
  transition: background-color 0.2s ease;
}

.hamburger-line::before, .hamburger-line::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--text-white);
  transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger-line::before { top: -7px; }
.hamburger-line::after { top: 7px; }

.mobile-toggle.is-active .hamburger-line {
  background-color: transparent;
}

.mobile-toggle.is-active .hamburger-line::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-toggle.is-active .hamburger-line::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 991px) {
  .header-container nav { margin-left: 0; margin-right: 0; }
  .mobile-toggle { display: flex; }
  .header-actions .btn { display: none; }
  
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.05rem; letter-spacing: 0.04em; }
  .brand-tagline { font-size: 0.56rem; letter-spacing: 0.16em; }
  .brand-logo { gap: 0.65rem; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background-color: var(--primary-navy);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5.5rem 2.25rem 3rem 2.25rem;
    gap: 1.5rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    transition: right var(--transition-normal);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.is-active {
    right: 0;
  }

  .nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
  }

  .mobile-nav-cta {
    display: block;
    margin-top: 0.5rem;
    width: 100%;
  }

  .mobile-nav-cta .btn {
    display: flex;
    width: 100%;
  }
}

/* Page Banner / Subpage Hero */
.page-hero {
  position: relative;
  background-color: var(--primary-navy);
  color: var(--text-white);
  padding-top: calc(var(--header-height) + 4.5rem);
  padding-bottom: 5rem;
  overflow: hidden;
  background-image: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.12) 0%, transparent 50%),
                    linear-gradient(180deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.page-hero h1, .page-hero-title {
  font-family: var(--font-serif);
  color: var(--text-white);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.15rem;
  letter-spacing: -0.015em;
}

.page-hero p, .page-hero-subtitle {
  color: var(--text-white-subtle);
  font-size: 1.18rem;
  line-height: 1.65;
  max-width: 720px;
}

/* Hero Section (Home) */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  background-color: var(--primary-navy);
  color: var(--text-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.45;
  filter: brightness(0.8) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(135deg, rgba(11, 19, 32, 0.92) 0%, rgba(11, 19, 32, 0.75) 50%, rgba(11, 19, 32, 0.88) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  color: var(--text-white-subtle);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Features Grid & Services Grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

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

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

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

@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Visual Architecture Showcase Section */
.visual-section {
  position: relative;
  background-color: var(--secondary-navy);
  color: var(--text-white);
  padding: 6.5rem 0;
  overflow: hidden;
}

.visual-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.visual-image-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

.visual-image-container img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.visual-image-container:hover img {
  transform: scale(1.04);
}

.visual-content h2 {
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.visual-content p {
  color: var(--text-white-subtle);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .visual-wrapper { grid-template-columns: 1fr; }
  .visual-image-container img { height: 360px; }
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--surface-navy) 100%);
  border-radius: var(--radius-lg);
  padding: 4.5rem 3.5rem;
  text-align: center;
  color: var(--text-white);
  border: 1px solid rgba(197, 160, 89, 0.25);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

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

.cta-banner p {
  color: var(--text-white-subtle);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.15rem;
}

/* Entity Information Info-Box (About & Legal) */
.info-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border-left: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.info-item {
  display: flex;
  flex-direction: column;
}

.info-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.info-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-navy);
}

/* Contact Form & Contact Details */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-info-card {
  background-color: var(--primary-navy);
  color: var(--text-white);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.contact-info-card h3 {
  color: var(--text-white);
  margin-bottom: 1.25rem;
}

.contact-info-card p {
  color: var(--text-white-subtle);
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(197, 160, 89, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.contact-text-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  font-weight: 700;
}

.contact-text-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-word;
}

.contact-text-value a {
  color: #ffffff;
  word-break: break-word;
}

.contact-text-value a:hover {
  color: var(--accent-gold);
  text-decoration: underline;
}

.contact-entity-block {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.entity-block-label {
  font-size: 0.82rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.entity-block-title {
  color: #ffffff;
  font-weight: 700;
  margin-top: 0.35rem;
  font-size: 1.05rem;
}

.entity-block-desc {
  font-size: 0.9rem;
  color: var(--text-white-subtle);
  margin-top: 0.25rem;
  line-height: 1.5;
}

.form-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.form-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.form-row {
  gap: 1.25rem;
}

.btn-block {
  width: 100%;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-main);
  background-color: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background-color: var(--bg-white);
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  display: none;
}

.form-status.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  box-shadow: var(--shadow-sm);
}

.form-status.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fca5a5;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 991px) {
  .contact-wrapper { grid-template-columns: 1fr; }
}

/* Policy Content Pages (Legal, Privacy, Terms) */
.legal-content {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 3.5rem 3.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.legal-content h2,
.legal-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  font-weight: 600;
  color: var(--primary-navy);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-top: 2.85rem;
  margin-bottom: 1.1rem;
  padding: 0;
  border: none !important;
  outline: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  background: none !important;
  transform: none !important;
  position: static !important;
}

.legal-content h2:first-of-type,
.legal-content h2:first-child,
.legal-section-title:first-of-type,
.legal-section-title:first-child {
  margin-top: 0 !important;
}

/* Strict elimination of any pseudo-element marks */
.legal-content h2::before,
.legal-content h2::after,
.legal-section-title::before,
.legal-section-title::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  border: none !important;
  background: none !important;
}

.legal-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.legal-content ul, .legal-content ol {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1.6rem;
  color: var(--text-muted);
}

.legal-content li {
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .legal-content {
    padding: 2.25rem 1.5rem;
  }
  .legal-content h2 {
    font-size: 1.35rem;
    margin-top: 2.25rem;
    margin-bottom: 0.85rem;
  }
}

/* Footer Styling */
.footer {
  background-color: var(--primary-navy);
  color: var(--text-white-subtle);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.1fr 1.3fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h4, .footer-heading {
  color: var(--text-white);
  font-size: 1.1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after, .footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--accent-gold);
}

.footer-brand {
  margin-bottom: 1.25rem;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-light);
}

.footer-links, .footer-info-list, .footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-white-subtle);
  font-size: 0.95rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-icon {
  display: inline-block;
  flex-shrink: 0;
  stroke: var(--accent-gold);
}

.footer-info-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.5;
}

.company-legal-name {
  color: var(--text-white) !important;
  font-weight: 700;
  font-size: 0.96rem !important;
  display: block !important;
}

.footer-office-block {
  margin-bottom: 1.25rem;
}

.office-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.office-address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-white);
  padding-left: 1.45rem;
}

.footer-contact-info li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.92rem;
}

.footer-contact-info a {
  color: var(--text-white-subtle);
  transition: color var(--transition-fast);
  word-break: break-word;
}

.footer-contact-info a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-light);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Optimization System
   ========================================================================== */

/* Universal Responsive Box Model & Asset Safety */
img, svg, video, iframe, object, embed {
  max-width: 100%;
  height: auto;
}

/* Ensure all text breaks naturally on narrow mobile screens without clipping */
p, h1, h2, h3, h4, h5, h6, span, a, li, label, div {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Tablet & Mobile Layout Optimization (<= 991px) */
@media (max-width: 991px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .visual-wrapper,
  .contact-wrapper {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-items: center !important;
  }

  /* Universal Card Centering System */
  .card,
  .info-card,
  .form-card,
  .contact-info-card,
  .visual-image-container,
  .cta-banner,
  .legal-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-self: center !important;
    box-sizing: border-box !important;
  }
}

/* Container & Layout Optimization for Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }

  /* Section Header Alignment & Scaling on Mobile */
  .section-header {
    text-align: center;
    margin-bottom: 2.25rem;
  }

  .section-header p {
    font-size: 1.05rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Hero Section Mobile Centering & Scaling */
  .hero-section {
    padding-top: calc(var(--header-height) + 2.5rem);
    padding-bottom: 4rem;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2rem, 7.5vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 1.15rem;
  }

  .hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.65;
    margin-bottom: 2rem;
  }

  .hero-cta-group {
    justify-content: center;
    gap: 1rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .page-hero {
    padding-top: calc(var(--header-height) + 2.25rem);
    padding-bottom: 3.5rem;
    text-align: center;
  }

  .page-hero-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .page-hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    line-height: 1.25;
    margin-bottom: 0.85rem;
  }

  .page-hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
  }

  /* Call To Action Banner Centering */
  .cta-banner {
    padding: 3rem 1.5rem;
    text-align: center;
  }

  .cta-banner h2 {
    font-size: clamp(1.6rem, 5.5vw, 2.1rem);
  }

  .cta-banner p {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .cta-banner .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Entity Details & Info Card Mobile Grid */
  .info-card {
    padding: 2rem 1.5rem;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .info-label {
    font-size: 0.8rem;
  }

  .info-value {
    font-size: 1rem;
    word-break: break-word;
  }

  /* Contact Page Mobile Cards */
  .contact-info-card,
  .form-card {
    padding: 2.25rem 1.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 1rem;
  }

  /* Legal, Privacy & Terms Document Container */
  .legal-content {
    padding: 2.5rem 1.5rem;
  }

  .legal-section-title {
    font-size: clamp(1.3rem, 4.5vw, 1.55rem);
    margin-top: 2.35rem;
    margin-bottom: 0.95rem;
  }

  /* Footer Mobile Stacking & Centering */
  .footer {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: left;
    margin-bottom: 2.75rem;
  }

  .footer-col {
    width: 100%;
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding-top: 1.75rem;
  }

  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem 1.35rem;
  }
}

/* Extra Small Screen Optimization (iPhone SE, 320px - 480px) */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .header.scrolled {
    height: 66px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 0.95rem;
    letter-spacing: 0.03em;
  }

  .brand-tagline {
    font-size: 0.52rem;
    letter-spacing: 0.14em;
  }

  .brand-logo {
    gap: 0.5rem;
  }

  .btn {
    padding: 0.8rem 1.35rem;
    font-size: 0.92rem;
  }

  .legal-content {
    padding: 2rem 1.25rem;
  }

  .footer-legal-links {
    gap: 0.75rem 1rem;
    font-size: 0.84rem;
  }
}
