/* ============================================
   FOUR SHORE SUBS LLC — Shore Bite
   Professional Stylesheet
   ============================================ */

/* ----- CSS Variables ----- */
:root {
  --navy-900: #0b1a2e;
  --navy-800: #0f2338;
  --navy-700: #132d45;
  --navy-600: #1a3a55;
  --slate-300: #94a3b8;
  --slate-200: #cbd5e1;
  --slate-100: #e2e8f0;
  --sky-500: #0ea5e9;
  --sky-400: #38bdf8;
  --sky-300: #7dd3fc;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --amber-400: #fbbf24;
  --amber-300: #fcd34d;
  --white: #ffffff;
  --off-white: #f1f5f9;
  --light-gray: #e9edf2;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--navy-700);
}

ul {
  list-style: none;
}

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

/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-900);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky-500);
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--sky-500);
  transform: translateY(-50%);
}

/* ----- Preloader ----- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  animation: pulse-logo 1.2s ease-in-out infinite;
}

@keyframes pulse-logo {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.95); }
}

/* ----- Navigation ----- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  transition: var(--transition);
}

.nav.scrolled .nav-logo {
  color: var(--navy-900);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--sky-500), var(--cyan-500));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav.scrolled .nav-links a {
  color: var(--text-secondary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sky-500);
  transition: var(--transition);
  border-radius: 2px;
}

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

.nav-links a:hover {
  color: var(--white);
}

.nav.scrolled .nav-links a:hover {
  color: var(--navy-900);
}

.nav-contact-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--sky-500), var(--cyan-500));
  color: var(--white) !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.nav-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35);
}

.nav-contact-btn::after {
  display: none !important;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 4px;
  transition: var(--transition);
}

.nav.scrolled .menu-toggle span {
  background: var(--navy-900);
}

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

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

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

/* ----- Hero Section ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-900);
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  z-index: 1;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  bottom: -200px;
  left: -150px;
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--sky-400);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--sky-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  font-size: 3.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--sky-400), var(--cyan-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--slate-300);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sky-500), var(--cyan-500));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(14, 165, 233, 0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  border-color: var(--sky-500);
  color: var(--white);
  transform: translateY(-3px);
  background: rgba(14, 165, 233, 0.08);
}

.btn-outline-dark {
  border-color: var(--border-light);
  color: var(--text-primary);
}

.btn-outline-dark:hover {
  border-color: var(--sky-500);
  color: var(--sky-500);
  background: rgba(14, 165, 233, 0.04);
}

/* Hero stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--slate-300);
  margin-top: 4px;
}

/* Hero right column */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.hero-card:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-4px);
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(14, 165, 233, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.hero-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 6px;
}

.hero-card p {
  color: var(--slate-300);
  font-size: 0.82rem;
  margin-bottom: 0;
}

.hero-card-accent {
  border-color: rgba(14, 165, 233, 0.25);
  background: rgba(14, 165, 233, 0.06);
}

/* ----- Section base ----- */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky-500), var(--cyan-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.service-icon.blue {
  background: rgba(14, 165, 233, 0.1);
  color: var(--sky-500);
}

.service-icon.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan-500);
}

.service-icon.amber {
  background: rgba(251, 191, 36, 0.1);
  color: var(--amber-400);
}

.service-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.service-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.service-icon.rose {
  background: rgba(244, 63, 94, 0.1);
  color: #f43f5e;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about-features {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about-feature-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-500);
  font-size: 0.85rem;
  margin-top: 3px;
}

.about-feature h4 {
  font-size: 1rem;
  margin-bottom: 3px;
}

.about-feature p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.about-visual {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-stat-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.about-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--sky-500);
  line-height: 1.2;
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ----- Approach Section ----- */
.approach {
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.approach .container {
  position: relative;
  z-index: 1;
}

.approach .section-tag {
  color: var(--cyan-400);
}

.approach .section-tag::before {
  background: var(--cyan-400);
}

.approach .section-header h2 {
  color: var(--white);
}

.approach .section-header p {
  color: var(--slate-300);
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.approach-step {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.approach-step:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.approach-step-number {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--sky-500), var(--cyan-500));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.approach-step h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.approach-step p {
  color: var(--slate-300);
  font-size: 0.9rem;
  line-height: 1.6;
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.testimonial-stars {
  color: var(--amber-400);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-500), var(--cyan-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.contact-info > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(14, 165, 233, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--sky-500);
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-item p,
.contact-item a {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-item a:hover {
  color: var(--sky-500);
}

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.08);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ----- Footer ----- */
.footer {
  background: var(--navy-900);
  color: var(--slate-300);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand .nav-logo {
  color: var(--white);
  font-size: 1.4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--slate-300);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--sky-500);
  color: var(--white);
  transform: translateY(-3px);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--slate-300);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--slate-300);
  opacity: 0.7;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--slate-300);
  opacity: 0.7;
}

.footer-bottom-links a:hover {
  opacity: 1;
  color: var(--sky-400);
}

/* ----- Inner Page Hero ----- */
.page-hero {
  background: var(--navy-900);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 165, 233, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.page-hero p {
  color: var(--slate-300);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ----- Content Page (Privacy/Terms) ----- */
.content-page {
  padding: 70px 0 90px;
}

.content-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.content-wrap .last-updated {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--sky-500);
  font-weight: 500;
  margin-bottom: 40px;
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.content-section h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--navy-800);
}

.content-section p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content-section ul,
.content-section ol {
  margin: 12px 0 20px;
  padding-left: 24px;
}

.content-section li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 8px;
}

.content-section ul li {
  list-style: disc;
}

.content-section ol li {
  list-style: decimal;
}

.divider {
  height: 1px;
  background: var(--border-light);
  margin: 40px 0;
}

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .approach-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-900);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 24px;
    transition: var(--transition);
    box-shadow: var(--shadow-xl);
    align-items: flex-start;
  }

  .nav.scrolled .nav-links {
    background: var(--white);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    color: var(--slate-300) !important;
  }

  .nav.scrolled .nav-links a {
    color: var(--text-secondary) !important;
  }

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

  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-card-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .approach-steps {
    grid-template-columns: 1fr;
  }

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .page-hero h1 {
    font-size: 2.2rem;
  }

  .page-hero {
    padding: 130px 0 50px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

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

  .hero-card-grid {
    grid-template-columns: 1fr;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
  }

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

/* ----- Back to Top ----- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--sky-500), var(--cyan-500));
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.4);
}

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

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

/* ----- Accessibility ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
