/* ============================================
   NJNSA Website - Modern Design System
   ============================================ */

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Brand Colors */
  --primary-blue: #0E2A47;
  --primary-blue-dark: #081B30;
  --primary-blue-light: #1F4E79;

  /* Neutrals */
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing Scale */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;

  /* Container */
  --container-max: 1280px;
}

/* ============================================
   Base Styles & Reset
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-primary);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* ============================================
   Typography
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: var(--spacing-sm);
}

p {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: var(--spacing-sm);
}

/* ============================================
   Utility Classes
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section-alt {
  background-color: var(--gray-50);
}

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

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-align: center;
  min-width: 150px;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background-color: transparent;
}

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

/* ============================================
   Header & Navigation
   ============================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

.utility-bar {
  background-color: var(--gray-900);
  color: var(--white);
  padding: var(--spacing-xs) 0;
  font-size: 0.875rem;
}

.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.utility-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.utility-links a {
  color: var(--white);
  transition: color var(--transition-fast);
}

.utility-links a:hover {
  color: var(--primary-blue-light);
}

.main-nav {
  padding: var(--spacing-sm) 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-menu a {
  font-weight: 500;
  color: var(--gray-700);
  transition: color var(--transition-fast);
}

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

.nav-cta {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
}

.nav-cta:hover {
  background-color: var(--primary-blue-dark);
  color: var(--white);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--gray-800);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.hero-text h1 {
  color: var(--gray-900);
  margin-bottom: var(--spacing-md);
}

.hero-text h1 .highlight {
  color: var(--primary-blue);
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  color: var(--gray-600);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  filter: drop-shadow(var(--shadow-xl));
}

/* ============================================
   Services Section
   ============================================ */

.services {
  padding: var(--spacing-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
  color: var(--gray-900);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-blue);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 2rem;
}

.service-card h3 {
  color: var(--gray-900);
  margin-bottom: var(--spacing-sm);
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

/* ============================================
   Statistics Section
   ============================================ */

.statistics {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: var(--white);
  padding: var(--spacing-2xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-xl);
  text-align: center;
}

.stat-item {
  padding: var(--spacing-md);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ============================================
   Quick Actions Section
   ============================================ */

.quick-actions {
  padding: var(--spacing-3xl) 0;
  background-color: var(--gray-50);
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
}

.action-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.action-card:hover {
  transform: scale(1.05);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-xl);
}

.action-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  background: linear-gradient(135deg, var(--primary-blue-light), var(--primary-blue));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.action-card h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--gray-900);
}

.action-card p {
  margin-bottom: var(--spacing-md);
  color: var(--gray-600);
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials {
  padding: var(--spacing-3xl) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--primary-blue);
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-700);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.author-info h4 {
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

.stars {
  color: #FFD700;
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
  display: flex;
  gap: 2px;
}

/* ============================================
   Contact/Booking Section
   ============================================ */

.contact {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.contact-form {
  background-color: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-xs);
  font-weight: 500;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

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

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.info-item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.info-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-blue);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-details h4 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  color: var(--gray-900);
}

.info-details p {
  color: var(--gray-600);
  margin: 0;
}

.info-details a {
  color: var(--primary-blue);
  font-weight: 500;
}

.info-details a:hover {
  text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background-color: var(--gray-900);
  color: var(--white);
  padding: var(--spacing-2xl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  font-size: 1.125rem;
}

.footer-section p {
  color: var(--gray-300);
  margin-bottom: var(--spacing-sm);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: var(--spacing-xs);
}

.footer-section ul li a {
  color: var(--gray-300);
  transition: color var(--transition-fast);
}

.footer-section ul li a:hover {
  color: var(--primary-blue-light);
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: var(--gray-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: all var(--transition-base);
}

.social-link:hover {
  background-color: var(--primary-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--spacing-md);
  text-align: center;
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* ============================================
   Responsive Design
   ============================================ */

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

  .hero-cta {
    justify-content: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: var(--spacing-2xl) var(--spacing-md);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-slow);
    z-index: 999;
  }

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

  .mobile-menu-toggle {
    display: flex;
    z-index: 1000;
  }

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

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .utility-bar .container {
    justify-content: center;
  }

  .utility-links {
    flex-direction: column;
    gap: var(--spacing-xs);
    text-align: center;
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .actions-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-3xl: 3rem;
  }

  .btn {
    width: 100%;
  }

  .hero-cta {
    flex-direction: column;
  }
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* Let side-by-side form fields (e.g. date pairs) shrink on small phones */
.form-group { min-width: 0; }
.form-group input, .form-group select, .form-group textarea { min-width: 0; max-width: 100%; }

/* ============================================
   Executive Theme — navy, gold & serif headings
   (overrides the base design above)
   ============================================ */
:root {
  --primary-blue: #0E2A47;
  --primary-blue-dark: #081B30;
  --primary-blue-light: #1F4E79;
  --gold: #B08D57;
  --gold-light: #D4B67F;
  --gold-dark: #8C6D3F;
  --ivory: #FAF8F4;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-xl: 8px;
  --shadow-lg: 0 18px 40px -18px rgba(8, 27, 48, 0.35);
  --shadow-xl: 0 30px 60px -25px rgba(8, 27, 48, 0.45);
}

body { color: #2B3440; }

h1, h2, h3, h4,
.section-header h2,
.service-card h3,
.action-card h3,
.footer-section h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--primary-blue-dark);
}

/* Gold rule under section titles */
.section-header h2::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: 1rem auto 0;
}
.section-header p { color: #5B6573; }

.section-alt,
.testimonials { background: var(--ivory); }

/* Buttons: squared, tracked, understated */
.btn {
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.95rem 1.9rem;
  box-shadow: none;
}
.btn-primary {
  background: var(--primary-blue);
  border: 1px solid var(--primary-blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: none;
  box-shadow: none;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
}
.btn-outline:hover {
  background: var(--primary-blue);
  color: #fff;
  transform: none;
}

/* Header */
.utility-bar { background: var(--primary-blue-dark); border-bottom: 1px solid rgba(176, 141, 87, 0.35); }
.utility-links a { color: rgba(255, 255, 255, 0.82); font-size: 0.8rem; letter-spacing: 0.02em; }
.utility-links a i { color: var(--gold-light); margin-right: 0.3rem; }
.utility-links a:hover { color: var(--gold-light); }
.main-nav { background: #fff; box-shadow: 0 1px 0 rgba(8, 27, 48, 0.08); }
.logo img { height: 84px; }
.nav-menu a {
  color: var(--primary-blue-dark);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-menu a:hover { color: var(--gold-dark); }
.nav-cta,
.nav-menu a.nav-cta {
  background: var(--gold);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.3rem;
}
.nav-cta:hover,
.nav-menu a.nav-cta:hover { background: var(--primary-blue); color: #fff; }

/* Hero: deep navy with gold accents */
.hero {
  background:
    radial-gradient(ellipse at 85% 20%, rgba(176, 141, 87, 0.16), transparent 55%),
    linear-gradient(135deg, var(--primary-blue-dark) 0%, var(--primary-blue) 100%);
  color: #fff;
  position: relative;
}
.hero h1,
.hero-text h1 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.15; }
.hero .highlight,
.hero-text h1 .highlight { color: var(--gold-light); background: none; -webkit-text-fill-color: currentColor; }
.hero p,
.hero-text p { color: rgba(255, 255, 255, 0.8); }
.hero .btn-primary { background: var(--gold); border-color: var(--gold); }
.hero .btn-primary:hover { background: #fff; border-color: #fff; color: var(--primary-blue-dark); }
.hero .btn-outline { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.hero .btn-outline:hover { background: #fff; color: var(--primary-blue-dark); }
.hero-eyebrow {
  display: inline-block;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(212, 182, 127, 0.5);
}
.hero-photo {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin-left: auto;
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 540px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}
.hero-photo::before {
  content: '';
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  z-index: -1;
}
.hero-photo.landscape img { height: 420px; }
.hero .container { position: relative; z-index: 1; }

/* Trust strip under the hero */
.trust-bar { background: var(--primary-blue-dark); color: rgba(255, 255, 255, 0.85); border-top: 1px solid rgba(176, 141, 87, 0.35); }
.trust-bar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.5rem;
  padding: 1.1rem 0;
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.trust-bar i { color: var(--gold-light); margin-right: 0.5rem; }

/* Cards */
.service-card,
.action-card,
.testimonial-card,
.contact-form {
  border-radius: var(--radius-md);
  border: 1px solid #E6E1D8;
  box-shadow: none;
  background: #fff;
}
.service-card { border-top: 2px solid transparent; transition: border-color var(--transition-base), box-shadow var(--transition-base); }
.service-card:hover,
.action-card:hover {
  transform: none;
  border-top-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.service-icon,
.action-icon,
.info-icon {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: none;
}
.service-icon { width: 58px; height: 58px; font-size: 1.35rem; }
.action-icon { color: var(--gold); font-size: 1.6rem; }
.info-icon { width: 48px; height: 48px; font-size: 1.05rem; }

/* Stats band */
.statistics { background: var(--primary-blue-dark); border-top: 1px solid rgba(176, 141, 87, 0.35); border-bottom: 1px solid rgba(176, 141, 87, 0.35); }
.stat-number { font-family: var(--font-display); color: var(--gold-light); font-weight: 600; }
.stat-label { color: rgba(255, 255, 255, 0.75); letter-spacing: 0.15em; }

/* Testimonials */
.stars { color: var(--gold); }
.testimonial-text { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; color: #2B3440; }

/* Forms */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.15); outline: none; }

/* Footer */
.footer { background: var(--primary-blue-dark); border-top: 3px solid var(--gold); }
.footer-section h3 { color: #fff; font-size: 1.1rem; }
.footer-section ul li a:hover { color: var(--gold-light); }
.social-link { border: 1px solid rgba(212, 182, 127, 0.6); background: transparent; color: var(--gold-light); }
.social-link:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

@media (max-width: 1024px) {
  .hero-photo { margin: 2.5rem auto 0; max-width: 520px; }
  .hero-photo img { height: 420px; }
  .hero-photo::before { display: none; }
}
@media (max-width: 480px) {
  .hero-photo img { height: 320px; }
  .trust-bar ul { gap: 0.6rem 1.5rem; font-size: 0.72rem; }
}
.credentials-panel {
  border: 1px solid rgba(212, 182, 127, 0.55);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  background: rgba(8, 27, 48, 0.45);
}
.credentials-panel ul { list-style: none; margin: 0; padding: 0; }
.credentials-panel li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}
.credentials-panel li:last-child { border-bottom: none; }
.credentials-panel i { color: var(--gold-light); width: 1.6rem; }

/* Phones: keep the top bar to one line (call + email) */
@media (max-width: 768px) {
  .utility-links + .utility-links,
  .utility-links a[href^="sms:"],
  .utility-links a[href="contact.html"] { display: none; }
  .utility-bar .utility-links { justify-content: center; gap: 1.25rem; flex-wrap: nowrap; }
}

/* Text size control in the top bar */
.text-size { display: flex; align-items: center; gap: 0.25rem; margin-left: 1.25rem; }
.text-size span { color: rgba(255, 255, 255, 0.7); font-size: 0.75rem; margin-right: 0.35rem; letter-spacing: 0.04em; }
.text-size button {
  min-width: 2.1rem;
  height: 1.75rem;
  padding: 0 0.4rem;
  border: 1px solid rgba(212, 182, 127, 0.55);
  border-radius: var(--radius-sm);
  background: transparent;
  color: #fff;
  font: 600 0.78rem/1 var(--font-primary);
  cursor: pointer;
}
.text-size button[data-size="1"] { font-size: 0.9rem; }
.text-size button[data-size="2"] { font-size: 1rem; }
.text-size button:hover { border-color: var(--gold-light); color: var(--gold-light); }
.text-size button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }
.text-size button:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

@media (max-width: 1024px) {
  .logo img { height: 64px; }
}
@media (max-width: 768px) {
  .utility-bar .container { flex-wrap: wrap; justify-content: center; row-gap: 0.4rem; }
  .text-size { margin-left: 0; }
  .text-size span { display: inline; }
}

/* Photo + text feature rows */
.feature-split {
  position: relative;
  z-index: 0; /* keeps the gold frame visible behind the photo */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-split + .feature-split { margin-top: 5rem; }
.feature-split.reverse .feature-photo { order: 2; }
.feature-photo { position: relative; }
.feature-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.feature-photo::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  z-index: -1;
}
.feature-split.reverse .feature-photo::before { inset: 18px 18px -18px -18px; }
.feature-text h2 { margin-bottom: 1rem; }
.feature-text p { color: #4A5361; margin-bottom: 1.25rem; }
.eyebrow {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.check-list { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.check-list li { padding: 0.45rem 0; color: #2B3440; }
.check-list i { color: var(--gold); margin-right: 0.6rem; }

@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; gap: 2rem; }
  .feature-split.reverse .feature-photo { order: 0; }
  .feature-photo::before { display: none; }
  .feature-split + .feature-split { margin-top: 3.5rem; }
}

/* Home hero: wide photo showing the full signing scene */
.hero-content:has(.hero-photo.wide) { grid-template-columns: 1fr 1.3fr; }
.hero-photo.wide { max-width: 680px; }
.hero-photo.wide img { height: auto; aspect-ratio: auto; }
@media (max-width: 1024px) {
  .hero-content:has(.hero-photo.wide) { grid-template-columns: 1fr; }
  .hero-photo.wide img { height: auto; }
}

/* Booking: assignment fee & requirements */
.fee-section {
  border: 1px solid #E6E1D8;
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem 1.25rem;
  margin: 2rem 0;
  background: var(--ivory);
  min-width: 0;
}
.fee-section legend {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary-blue-dark);
  padding: 0 0.5rem;
}
.fee-intro, .fee-note, .field-hint { color: #5B6573; font-size: 0.9rem; }
.fee-intro { margin-bottom: 1.5rem; }
.field-hint { display: block; margin-top: 0.35rem; }
.money-input { position: relative; }
.money-input span {
  position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%);
  color: var(--gold-dark); font-weight: 600; pointer-events: none;
}
.money-input input { padding-left: 1.8rem !important; }
.fee-addons { margin: 0.5rem 0 1.5rem; }
.fee-addons-title {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 0.6rem;
}
.fee-addon { background: #fff; border: 1px solid #E6E1D8; border-radius: var(--radius-md); margin-bottom: 0.6rem; }
.fee-toggle { display: flex; gap: 0.85rem; align-items: flex-start; padding: 0.9rem 1rem; cursor: pointer; margin: 0; }
.fee-toggle input { width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--primary-blue); flex-shrink: 0; }
.fee-toggle strong { display: block; color: var(--primary-blue-dark); font-weight: 600; }
.fee-toggle small { display: block; color: #6B7480; font-size: 0.85rem; }
.fee-addon-inputs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem;
  padding: 0 1rem 0.25rem 2.95rem;
}
.fee-addon-inputs[hidden] { display: none; }
.fee-total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 2px solid var(--primary-blue); padding-top: 1rem; margin-top: 0.5rem;
}
.fee-total span { font-weight: 600; color: var(--primary-blue-dark); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem; }
.fee-total output { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; color: var(--primary-blue-dark); }
.fee-note { margin-top: 0.5rem; }
@media (max-width: 600px) {
  .fee-section { padding: 1.25rem 1rem 1rem; }
  .fee-addon-inputs { grid-template-columns: 1fr; padding-left: 1rem; }
}
.fee-section select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

/* Legal pages (Terms of Service) */
.legal { max-width: 820px; }
.legal h2 {
  font-size: 1.45rem;
  margin: 2.75rem 0 0.85rem;
  scroll-margin-top: 140px;
}
.legal p, .legal li { color: #3A4350; line-height: 1.75; }
.legal p { margin-bottom: 1rem; }
.legal ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal li { margin-bottom: 0.5rem; }
.legal li::marker { color: var(--gold); }
.legal a { color: var(--primary-blue-light); text-decoration: underline; text-underline-offset: 2px; }
.legal-meta { font-size: 0.85rem; color: #6B7480 !important; letter-spacing: 0.04em; }
.legal-toc {
  background: var(--ivory);
  border: 1px solid #E6E1D8;
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 1rem;
}
.legal-toc p { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-dark) !important; margin-bottom: 0.5rem; }
.legal-toc ol { columns: 2; column-gap: 2rem; padding-left: 1.25rem; margin: 0; }
.legal-toc li { margin-bottom: 0.3rem; break-inside: avoid; }
.legal-toc a { text-decoration: none; color: var(--primary-blue-dark); }
.legal-toc a:hover { color: var(--gold-dark); }
.legal-notice {
  border-left: 3px solid var(--primary-blue);
  background: #F3F5F8;
  padding: 1rem 1.25rem;
  font-weight: 500;
  color: var(--primary-blue-dark) !important;
}
.footer-bottom a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--gold-light); }
@media (max-width: 600px) {
  .legal-toc ol { columns: 1; }
}

/* Service availability notes (NJ 24/7, NY business hours) */
.footer-note { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); max-width: 900px; margin: 0 auto 0.75rem; line-height: 1.6; }
.footer-note a { color: var(--gold-light); }
.trust-note { text-align: center; font-size: 0.78rem; color: rgba(255, 255, 255, 0.65); padding: 0 0 1rem; margin: -0.25rem 0 0; }
.trust-note a { color: var(--gold-light); }
.availability-note { font-size: 0.85rem; color: #5B6573; margin-top: 0.5rem; }
.availability-note a { color: var(--primary-blue-light); text-decoration: underline; }

/* Contact page hours: one consistent size */
.info-details .hours-text { font-size: 0.875rem; line-height: 1.6; margin-top: 0.25rem; }
.nowrap { white-space: nowrap; }

/* Booking form sections that switch with the chosen service */
.mode-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.mode-group[hidden] { display: none; }
[data-signing-only][hidden] { display: none; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin-top: 0.4rem; }
.check-grid label { display: flex; align-items: center; gap: 0.5rem; font-weight: 400; margin: 0; cursor: pointer; }
.check-grid input { width: auto; accent-color: var(--primary-blue); }
.form-group select:not([style]) {
  width: 100%; padding: 0.75rem; border: 2px solid var(--gray-300); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: #fff;
}
@media (max-width: 600px) { .check-grid { grid-template-columns: 1fr; } }

/* DBA filing page */
.dba-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 3rem; align-items: start; }
.dba-info h3 { font-size: 1.2rem; margin: 2rem 0 0.75rem; }
.dba-info .check-list li { display: flex; gap: 0.6rem; align-items: flex-start; }
.dba-info .check-list i { margin-top: 0.35rem; }
.price-card {
  background: var(--primary-blue-dark);
  color: #fff;
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.price-card .eyebrow { color: var(--gold-light); }
.price-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.75rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.price-row strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold-light); white-space: nowrap; }
.price-card .price-note { color: rgba(255, 255, 255, 0.75); margin-top: 1rem; }
.price-note { font-size: 0.875rem; color: #5B6573; line-height: 1.6; }
.steps { padding-left: 1.25rem; margin: 0 0 1rem; }
.steps li { margin-bottom: 0.6rem; color: #3A4350; }
.steps li::marker { color: var(--gold-dark); font-weight: 700; }
.form-section-title {
  font-size: 0.8rem; font-family: var(--font-primary); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-dark); margin: 1.75rem 0 1rem;
  padding-bottom: 0.4rem; border-bottom: 1px solid #E6E1D8;
}
.dba-total output { font-size: 1.4rem; }
@media (max-width: 900px) { .dba-layout { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid #E6E1D8; border-radius: var(--radius-md); margin-bottom: 0.75rem; }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--primary-blue-dark);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-family: var(--font-primary); font-size: 1.5rem; font-weight: 400;
}
.faq-item[open] summary::after { content: '\2212'; }
.faq-item[open] summary { border-bottom: 1px solid #E6E1D8; }
.faq-item p { padding: 1rem 1.25rem 1.25rem; margin: 0; color: #3A4350; line-height: 1.7; }
