/* ==========================================================================
   EXPLICIT DIGITAL — CLEAN SAAS DESIGN SYSTEM (LIGHT PALETTE)
   Strict Taste-Skill Anti-Slop Compliant
   Pure Ground, Tone Step Surfaces, Editorial Contrast, High-Taste Restraint
   ========================================================================== */

:root {
  /* Ground & Tone Steps */
  --bg: #ffffff;
  --surface: #f1f5f9;
  --surface-hover: #e2e8f0;
  --surface-alt: #0f172a;
  --surface-input: #ffffff;

  /* Typography Colors */
  --ink: #090d16;
  --ink-secondary: #334155;
  --muted: #64748b;
  --dim: #94a3b8;

  /* Brand and Functional Colors */
  --brand: #2563eb;
  --brand-hover: #1d4ed8;
  --brand-cyan: #0284c7;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe5d;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Brand Period Dot */
.brand-dot {
  color: var(--brand);
}

/* Buttons (Solid, Flat, Direct) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.2;
  border: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background-color: var(--brand);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--brand-hover);
  color: #ffffff;
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  color: #ffffff;
}

.btn-neutral {
  background-color: #e2e8f0;
  color: var(--ink);
}

.btn-neutral:hover {
  background-color: #cbd5e1;
  color: var(--ink);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
#header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--bg);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}

.navbar-brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink);
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--ink);
  border-radius: 2px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 64px 0 88px 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 56px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-indicators {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.indicator-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.indicator-item [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

/* Hero Visual: Clean Workspace Photography */
.hero-visual-frame {
  position: relative;
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-visual-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.hero-caption-strip {
  padding: 16px 20px;
  background-color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--muted);
}

.hero-caption-strip strong {
  color: var(--ink);
}

/* ==========================================================================
   SECTION COMMON STRUCTURE
   ========================================================================== */
.section-wrapper {
  padding: 84px 0;
}

.section-title-wrap {
  margin-bottom: 44px;
}

.section-heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES (6 PILLARS)
   ========================================================================== */
.services-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-tile {
  background-color: var(--surface);
  padding: 30px 24px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: background-color 0.15s ease;
}

.service-tile:hover {
  background-color: var(--surface-hover);
}

.service-icon {
  width: 32px;
  height: 32px;
  color: var(--brand);
  margin-bottom: 18px;
}

.service-icon [data-lucide] {
  width: 24px;
  height: 24px;
}

.service-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.service-text {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   HOW WE WORK WITH YOU (4 STEPS)
   ========================================================================== */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-card {
  background-color: var(--surface);
  padding: 28px 22px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
}

.process-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.process-icon {
  width: 28px;
  height: 28px;
  color: var(--brand);
}

.process-icon [data-lucide] {
  width: 22px;
  height: 22px;
}

.step-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.step-details {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}

.pricing-column {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}

.pricing-column.featured {
  background-color: var(--surface-alt);
  color: #ffffff;
}

.pricing-column.featured .tier-title,
.pricing-column.featured .tier-amount,
.pricing-column.featured .tier-item {
  color: #ffffff;
}

.pricing-column.featured .tier-cycle {
  color: #94a3b8;
}

.pricing-column.featured .tier-item [data-lucide] {
  color: #38bdf8;
}

.featured-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #38bdf8;
  margin-bottom: 12px;
}

.tier-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.tier-pricing {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
}

.tier-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}

.tier-cycle {
  font-size: 0.95rem;
  color: var(--muted);
}

.tier-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.tier-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.tier-item [data-lucide] {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex-shrink: 0;
}

/* Weekend Support Banner */
.weekend-panel {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.weekend-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.weekend-info p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ==========================================================================
   REVIEWS / SOCIAL PROOF
   ========================================================================== */
.reviews-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.review-item {
  background-color: var(--surface);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.review-stars-row {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-stars-row [data-lucide="star"] {
  width: 16px;
  height: 16px;
  color: #eab308;
  fill: #eab308;
}

.review-text {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.review-photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.review-details cite {
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.review-details span {
  font-size: 0.78rem;
  color: var(--muted);
  display: block;
}

.review-details a {
  font-size: 0.78rem;
  color: var(--brand);
}

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

/* ==========================================================================
   PRIORITIES INTAKE FORM
   ========================================================================== */
.priorities-container {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  max-width: 760px;
  margin: 0 auto;
}

.form-grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.field-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  background-color: var(--surface-input);
  border: none;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
}

.field-input::placeholder {
  color: var(--dim);
}

.field-input:focus {
  background-color: #ffffff;
}

select.field-input {
  cursor: pointer;
}

select.field-input option {
  background-color: #ffffff;
  color: var(--ink);
}

textarea.field-input {
  resize: vertical;
  min-height: 110px;
}

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 16px;
  display: none;
}

.form-alert.success {
  display: block;
  background-color: #dcfce7;
  color: #15803d;
}

.form-alert.error {
  display: block;
  background-color: #fee2e2;
  color: #b91c1c;
}

.priorities-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.priorities-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.priorities-badges [data-lucide] {
  width: 14px;
  height: 14px;
  color: var(--brand);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
#footer {
  padding: 56px 0 36px 0;
  background-color: var(--bg);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-copyright {
  font-size: 0.82rem;
  color: var(--dim);
}

/* Floating WhatsApp Button */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background-color: var(--whatsapp);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: background-color 0.15s ease;
}

.whatsapp-floating-btn:hover {
  background-color: var(--whatsapp-hover);
}

.whatsapp-floating-btn [data-lucide] {
  width: 26px;
  height: 26px;
}

/* Loader Screen */
.loader-container {
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-container.hidden {
  display: none;
}

/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */
@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .pricing-layout {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto 24px auto;
  }

  .reviews-row {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

  .process-flow {
    grid-template-columns: 1fr;
  }

  .form-grid-two {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .priorities-container {
    padding: 32px 20px;
  }

  .weekend-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}
