/* ==========================================================================
   AQUA EDITORIAL PERFORMANCE AGENCY — FOCUSED STUDIO AESTHETIC
   Ultra-luxurious dark editorial styling, cinematic amber & blue lighting,
   high-fashion serif display typography, and sharp minimalist layout.
   ========================================================================== */

:root {
  /* Editorial Palette */
  --bg-pitch: #08080a;
  --bg-surface: #0e0f14;
  --bg-card: rgba(18, 19, 26, 0.7);
  --bg-card-hover: rgba(26, 28, 38, 0.85);

  --accent-amber: #f59e0b;
  --accent-amber-light: #fbbf24;
  --accent-gold: #ffbe5b;
  --accent-blue: #38bdf8;
  --accent-blue-deep: #0284c7;

  --text-ivory: #fbf5ee;
  --text-cream: #f4ede4;
  --text-muted: #a8a8b4;
  --text-dim: #787888;

  --border-subtle: rgba(245, 158, 11, 0.12);
  --border-divider: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(245, 158, 11, 0.35);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Mono', monospace, sans-serif;

  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-pitch);
  color: var(--text-ivory);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-pitch);
  color: var(--text-ivory);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.serif {
  font-family: var(--font-serif);
}

.text-amber {
  color: var(--accent-amber);
}

.text-blue {
  color: var(--accent-blue);
}

.text-muted {
  color: var(--text-muted);
}

/* Editorial Section Headlines */
.giant-wordmark {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--text-cream);
  user-select: none;
  pointer-events: none;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: block;
}

/* ==========================================================================
   UNIFIED BUTTON DESIGN SYSTEM
   ========================================================================== */

.btn-amber,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  padding: 0.85rem 1.65rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-smooth);
  box-sizing: border-box;
  text-align: center;
}

.btn-amber {
  background: var(--accent-amber);
  color: #08080a;
  border: 1px solid var(--accent-amber);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.25);
}

.btn-amber:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #08080a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

.btn-outline {
  background: rgba(245, 158, 11, 0.08);
  color: var(--text-ivory);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.btn-outline:hover {
  background: var(--accent-amber);
  border-color: var(--accent-amber);
  color: #08080a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.editorial-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(8, 8, 10, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 500;
  padding: 1.1rem 0;
  transition: all var(--transition-smooth);
}

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

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--text-ivory);
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent-amber);
  margin-top: 3px;
}

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

.nav-item a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-cream);
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.nav-item a:hover {
  opacity: 1;
  color: var(--accent-amber);
}

/* ==========================================================================
   HERO EDITORIAL SECTION
   ========================================================================== */

.hero-editorial {
  position: relative;
  padding-top: 2.25rem;
  background: #08080a;
}

.hero-frame-container {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9);
}

.hero-editorial-img {
  width: 100%;
  height: clamp(380px, 50vh, 580px);
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.95) contrast(1.05);
}

/* Viewfinder Bracket */
.viewfinder-tag {
  position: absolute;
  top: 45px;
  left: 45px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.85);
  max-width: 170px;
  z-index: 10;
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-top-right-tag {
  position: absolute;
  top: 45px;
  right: 45px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.9);
  z-index: 10;
}

/* Hero Editorial Typography */
.hero-overtitle-box {
  position: absolute;
  bottom: 24px;
  left: 40px;
  right: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 10;
  pointer-events: none;
}

.hero-giant-text {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 11vw, 8.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #fff9f2;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.75);
}

.hero-category-label {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.8vw, 1.35rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #fff9f2;
  margin-bottom: 14px;
  white-space: nowrap;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.75);
}

/* Hero Content Block below visual poster */
.hero-content-block {
  margin-top: 3.5rem;
  padding-bottom: 2rem;
  max-width: 1040px;
}

.hero-main-heading {
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: normal;
  color: #fff9f2;
  margin-bottom: 1.5rem;
}

.hero-main-subtext {
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  color: var(--text-cream);
  line-height: 1.7;
  max-width: 920px;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

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

/* ==========================================================================
   STATEMENT MANIFESTO & DECISION SCIENCE
   ========================================================================== */

.manifesto-section {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border-divider);
}

.manifesto-card {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, rgba(14, 15, 20, 0.95) 100%);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 3.5rem;
}

.manifesto-headline {
  font-size: clamp(1.6rem, 3.2vw, 2.7rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 2.5rem;
  color: #fff9f2;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.manifesto-col p {
  font-size: 1.05rem;
  color: var(--text-cream);
  line-height: 1.75;
}

.manifesto-sub-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-amber);
  margin-bottom: 0.85rem;
}

/* ==========================================================================
   SYSTEM SECTION (4 STEPS FROM SITE TO SALES)
   ========================================================================== */

.system-section {
  padding: 100px 0 80px;
}

.system-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.system-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-divider);
  border-radius: 18px;
  padding: 2.75rem 2.25rem;
  position: relative;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.system-step-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.step-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(245, 158, 11, 0.35);
  line-height: 1;
}

.system-step-card:hover .step-num {
  color: var(--accent-amber);
}

.step-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-amber);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.step-title {
  font-size: 1.55rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #fff;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-cream);
  line-height: 1.65;
  margin-bottom: 1.75rem;
  opacity: 0.88;
}

.step-list {
  list-style: none;
  border-top: 1px solid var(--border-divider);
  padding-top: 1.25rem;
}

.step-list li {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.step-list li::before {
  content: '✓';
  color: var(--accent-amber);
  font-weight: 700;
}

/* ==========================================================================
   ABOUT / STORY SECTION (PHOTO LEFT + METRICS RIGHT)
   ========================================================================== */

.about-editorial-section {
  padding: 80px 0 100px;
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-portrait-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-portrait-card img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  filter: contrast(1.08) brightness(0.95);
}

.about-editorial-content {
  display: flex;
  flex-direction: column;
}

.about-copy-p {
  font-size: 1.05rem;
  color: var(--text-cream);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  opacity: 0.88;
}

/* Achievements Grid with Horizontal Separator Lines */
.achievements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin: 2.5rem 0 3rem;
}

.achieve-item {
  border-bottom: 1px solid var(--border-divider);
  padding-bottom: 1.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.achieve-num {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.achieve-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-align: right;
  max-width: 150px;
}

/* ==========================================================================
   WORK & PORTFOLIO SECTION
   ========================================================================== */

.work-section {
  padding: 60px 0 120px;
}

.work-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3.5rem;
}

.work-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-divider);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.work-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.work-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-amber);
  margin-bottom: 1rem;
}

.work-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.work-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.work-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-divider);
}

.wm-val {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-ivory);
}

.wm-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* ==========================================================================
   INTERACTIVE ROI & UNIT ECONOMICS CALCULATOR
   ========================================================================== */

.calc-editorial-section {
  padding: 80px 0 120px;
  background: #0b0c10;
  border-top: 1px solid var(--border-divider);
  border-bottom: 1px solid var(--border-divider);
}

.calc-editorial-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-divider);
  border-radius: 20px;
  padding: 3.5rem;
  margin-top: 3.5rem;
}

.calc-slider-group {
  margin-bottom: 2.2rem;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.calc-slider-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-cream);
}

.calc-slider-val {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-amber);
}

.amber-slider {
  width: 100%;
  height: 4px;
  background: #27272a;
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.amber-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-amber);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-amber);
  transition: transform var(--transition-fast);
}

.amber-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.niche-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.niche-pill {
  background: transparent;
  border: 1px solid var(--border-divider);
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-fast);
}

.niche-pill.active, .niche-pill:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.05);
}

/* Output Column */
.calc-output-card {
  background: #121318;
  border: 1px solid var(--border-divider);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.out-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.out-metric-box {
  border-bottom: 1px solid var(--border-divider);
  padding-bottom: 1rem;
}

.out-metric-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.35rem;
}

.out-metric-val {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-ivory);
}

.out-net-profit-banner {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.np-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.np-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-amber);
  margin-top: 0.25rem;
}

/* ==========================================================================
   SERVICES & PRICING
   ========================================================================== */

.pricing-section {
  padding: 100px 0 120px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.price-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-divider);
  border-radius: 16px;
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-smooth);
}

.price-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.price-card.featured {
  border-color: var(--accent-amber);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.04) 0%, var(--bg-surface) 100%);
}

.price-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-amber);
  margin-bottom: 1.25rem;
}

.price-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.price-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.price-amount {
  font-family: var(--font-sans);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-ivory);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-divider);
}

.price-amount span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.price-features-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.price-features-list li {
  font-size: 0.85rem;
  color: var(--text-cream);
  line-height: 1.6;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.price-features-list li::before {
  content: '—';
  color: var(--accent-amber);
  flex-shrink: 0;
}

/* ==========================================================================
   OFFICIAL LEGAL ENTITY (OOO AQUA)
   ========================================================================== */

.legal-editorial-section {
  padding: 100px 0;
  background: #0c0d12;
  border-top: 1px solid var(--border-divider);
}

.legal-box-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  margin-top: 3.5rem;
}

.legal-details-col h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 400;
  margin-bottom: 1rem;
}

.legal-details-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.editorial-legal-table {
  width: 100%;
  border-collapse: collapse;
}

.editorial-legal-table tr {
  border-bottom: 1px solid var(--border-divider);
}

.editorial-legal-table td {
  padding: 0.85rem 0;
  font-size: 0.9rem;
}

.editorial-legal-table td:first-child {
  color: var(--text-muted);
  width: 40%;
}

.editorial-legal-table td:last-child {
  color: var(--text-ivory);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.legal-action-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-divider);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}

.legal-action-panel h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.legal-action-panel p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.editorial-footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-divider);
  background: #060608;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3.5rem;
}

.footer-manifesto-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 450px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.fl-col h5 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.fl-col ul {
  list-style: none;
}

.fl-col li {
  margin-bottom: 0.75rem;
}

.fl-col a {
  font-size: 0.85rem;
  color: var(--text-cream);
  opacity: 0.75;
}

.fl-col a:hover {
  opacity: 1;
  color: var(--accent-amber);
}

.footer-bottom-bar {
  padding-top: 2rem;
  border-top: 1px solid var(--border-divider);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   MODAL & TOAST
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  background: #101117;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

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

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  background: #08080a;
  border: 1px solid var(--border-divider);
  color: var(--text-ivory);
  outline: none;
  font-family: inherit;
}

.form-input:focus {
  border-color: var(--accent-amber);
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #181922;
  border: 1px solid var(--accent-amber);
  color: var(--text-ivory);
  padding: 1rem 1.75rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  font-size: 0.85rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-smooth);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}
}

/* ==========================================================================
   NAVIGATION ACTIONS, MOBILE MENU & DIRECT CALL BUTTONS
   ========================================================================== */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icons-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-action-divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.18);
  margin: 0 0.25rem;
  flex-shrink: 0;
}

.desktop-audit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 1.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 8px;
  white-space: nowrap;
  box-sizing: border-box;
}

.contact-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent-amber);
  transition: all var(--transition-smooth);
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.contact-icon-btn:hover {
  background: var(--accent-amber);
  color: #08080a;
  border-color: var(--accent-amber);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.4);
}

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

/* Specific styling for hero strip */
.hero-icons-strip {
  gap: 0.65rem;
}

.hero-icons-strip .contact-icon-btn {
  width: 44px;
  height: 44px;
}

.hero-icons-strip .contact-icon-btn svg {
  width: 20px;
  height: 20px;
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-ivory);
  padding: 0.5rem 0.9rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-divider);
  transition: all var(--transition-fast);
}

.header-phone-link:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.08);
}

.header-phone-icon {
  font-size: 0.95rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 120;
}

.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-ivory);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-drawer.open {
  visibility: visible;
  opacity: 1;
}

.mobile-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.85);
  backdrop-filter: blur(12px);
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 88%;
  max-width: 380px;
  height: 100%;
  background: #0f1016;
  border-left: 1px solid var(--border-strong);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.9);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition-smooth);
  overflow-y: auto;
}

.mobile-nav-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-divider);
}

.mobile-drawer-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-nav-list {
  list-style: none;
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-ivory);
  transition: color var(--transition-fast);
  display: block;
}

.mobile-nav-link:hover {
  color: var(--accent-amber);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-divider);
}

.mobile-call-big-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--accent-amber);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  color: var(--text-ivory);
  text-decoration: none;
}

.mobile-call-big-btn .mc-icon {
  font-size: 1.4rem;
}

.mobile-call-big-btn .mc-sub {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-amber);
}

.mobile-call-big-btn .mc-phone {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

/* Floating Mobile Quick Connect Dock */
.mobile-floating-bar {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(14, 15, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 50px;
  padding: 6px 10px;
  gap: 8px;
  align-items: center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.2);
}

.mfc-round-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
}

.mfc-round-btn.mfc-phone {
  background: var(--accent-amber);
  color: #08080a;
}

.mfc-round-btn.mfc-wa {
  background: #25d366;
  color: #fff;
}

.mfc-round-btn.mfc-tg {
  background: #229ed9;
  color: #fff;
}

.mfc-round-btn.mfc-mail {
  background: rgba(255, 255, 255, 0.12);
  color: var(--accent-amber);
}

.mfc-round-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
}

/* Footer Phone Link */
.footer-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-phone-big {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-amber);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.footer-phone-big:hover {
  color: var(--accent-gold);
}

.footer-tg-link {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-tg-link:hover {
  color: var(--accent-amber);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (ENHANCED FOR MOBILE READABILITY)
   ========================================================================== */

@media (max-width: 1200px) {
  .nav-menu {
    gap: 1.15rem;
  }
  .nav-item a {
    font-size: 0.8rem;
  }
}

/* Tablets & Small Laptops */
@media (max-width: 1024px) {
  .manifesto-grid,
  .system-steps-grid,
  .about-editorial-grid, 
  .calc-editorial-box, 
  .legal-box-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .manifesto-card {
    padding: 2.5rem 1.75rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .work-cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Mobile Devices (Smartphones & Phablets <= 768px) */
@media (max-width: 768px) {
  /* Layout & Containers */
  .container {
    padding: 0 1.25rem;
  }

  /* Header & Navigation */
  .editorial-nav {
    position: sticky;
    top: 0;
    background: rgba(8, 8, 10, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem 0;
    z-index: 500;
  }

  .nav-menu,
  .desktop-audit-btn,
  .nav-action-divider {
    display: none;
  }

  .contact-icons-row {
    gap: 0.35rem;
  }

  .contact-icon-btn {
    width: 34px;
    height: 34px;
  }

  .contact-icon-btn svg {
    width: 16px;
    height: 16px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Floating Speed-Dial Dock on Mobile */
  .mobile-floating-bar {
    display: flex;
  }

  /* Hero Section */
  .hero-editorial {
    padding-top: 1rem;
  }

  .hero-frame-container {
    border-radius: 18px;
  }

  .hero-editorial-img {
    height: clamp(340px, 52vh, 440px);
    object-position: center 20%;
    filter: brightness(0.9) contrast(1.1);
  }

  /* Dark bottom vignette for perfect text legibility */
  .hero-frame-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 10, 0.1) 0%, rgba(8, 8, 10, 0.25) 45%, rgba(8, 8, 10, 0.95) 100%);
    pointer-events: none;
  }

  .viewfinder-tag, 
  .hero-top-right-tag {
    display: none;
  }

  .hero-overtitle-box {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .hero-giant-text {
    font-size: clamp(2.8rem, 12vw, 4.4rem);
    line-height: 1.1;
    margin-top: 0;
    margin-bottom: 0;
    letter-spacing: normal;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9);
  }

  .hero-category-label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--accent-amber);
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero-cta-group .btn-amber,
  .hero-cta-group .btn-outline {
    width: 100%;
    justify-content: center;
  }

  /* Manifesto Section */
  .manifesto-section {
    padding: 50px 0 35px;
    text-align: left;
  }

  .manifesto-text {
    font-size: clamp(1.15rem, 4.8vw, 1.55rem);
    line-height: 1.55;
    color: var(--text-ivory);
  }

  /* Section Wordmarks (No overlapping on mobile) */
  .giant-wordmark {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
    line-height: 1.25;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
    letter-spacing: normal;
    word-break: normal;
  }

  .section-label {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    color: var(--accent-amber);
  }

  /* About / Founder Section */
  .about-editorial-section {
    padding: 40px 0 60px;
  }

  .about-portrait-card img {
    height: 320px;
    object-position: center 15%;
  }

  .about-copy-p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    color: #e4e4e7;
  }

  .achievements-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin: 1.5rem 0 2rem;
  }

  .achieve-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding-bottom: 0.75rem;
  }

  .achieve-num {
    font-size: 1.75rem;
    line-height: 1;
  }

  .achieve-label {
    text-align: left;
    max-width: none;
    font-size: 0.75rem;
    color: var(--text-muted);
  }

  /* Work / Cases */
  .work-section {
    padding: 40px 0 60px;
  }

  .work-cards-grid {
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .work-card {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
  }

  .work-title {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .work-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #d4d4d8;
  }

  .work-metrics-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
    padding-top: 1.25rem;
  }

  .wm-val {
    font-size: 1.15rem;
  }

  .wm-label {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
  }

  /* Calculator */
  .calc-editorial-section {
    padding: 50px 0 60px;
  }

  .calc-editorial-box {
    padding: 1.5rem 1.25rem;
    border-radius: 16px;
    gap: 2rem;
    margin-top: 2rem;
  }

  .calc-slider-group {
    margin-bottom: 1.5rem;
  }

  .calc-slider-title {
    font-size: 0.88rem;
  }

  .calc-slider-val {
    font-size: 1.15rem;
  }

  .niche-pills {
    gap: 0.5rem;
  }

  .niche-pill {
    padding: 0.65rem 0.5rem;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .calc-output-card {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
  }

  .out-metric-row {
    gap: 1rem;
    margin-bottom: 1.25rem;
  }

  .out-metric-title {
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
  }

  .out-metric-val {
    font-size: 1.25rem;
  }

  .out-net-profit-banner {
    padding: 1.25rem 1rem;
    margin-bottom: 1.25rem;
    border-radius: 10px;
  }

  .np-label {
    font-size: 0.78rem;
  }

  .np-number {
    font-size: 1.75rem;
  }

  /* Pricing Section */
  .pricing-section {
    padding: 50px 0 60px;
  }

  .price-card {
    padding: 1.75rem 1.35rem;
    border-radius: 14px;
  }

  .price-title {
    font-size: 1.35rem;
  }

  .price-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    color: #d4d4d8;
  }

  .price-amount {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .price-features-list {
    margin-bottom: 1.75rem;
  }

  .price-features-list li {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 0.7rem;
    color: #e4e4e7;
  }

  /* Legal Section (Responsive Card Format) */
  .legal-editorial-section {
    padding: 50px 0;
  }

  .legal-details-col h3 {
    font-size: 1.45rem;
  }

  .legal-details-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #d4d4d8;
  }

  .editorial-legal-table tr {
    display: flex;
    flex-direction: column;
    padding: 0.65rem 0;
  }

  .editorial-legal-table td {
    padding: 0.1rem 0;
    width: 100% !important;
  }

  .editorial-legal-table td:first-child {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-amber);
    font-weight: 600;
  }

  .editorial-legal-table td:last-child {
    font-size: 0.92rem;
    color: #fff;
    word-break: break-all;
  }

  .legal-action-panel {
    padding: 1.5rem 1.25rem;
    border-radius: 14px;
  }

  /* Footer */
  .editorial-footer {
    padding: 50px 0 70px; /* extra bottom padding for floating call button */
  }

  .footer-top-row {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
  }

  .footer-manifesto-sub {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #a1a1aa;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.75rem;
  }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .brand-title {
    font-size: 1.5rem;
  }

  .header-phone-num {
    display: none;
  }

  .header-phone-link {
    padding: 0.4rem 0.5rem;
  }

  .hero-giant-text {
    font-size: clamp(2.4rem, 11vw, 3.8rem);
    line-height: 1.15;
    letter-spacing: normal;
  }

  .manifesto-text {
    font-size: 1.15rem;
    line-height: 1.5;
  }

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

  .work-metrics-strip {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    text-align: left;
  }

  .niche-pills {
    grid-template-columns: 1fr;
  }

  .modal-card {
    padding: 1.75rem 1.25rem;
  }
}

