/* =====================================================
   THE SOLVE — design tokens
   ===================================================== */
:root {
  --navy-950: #0A1826;
  --navy-900: #0F2137;
  --navy-800: #16314D;
  --navy-700: #1E4468;
  --navy-600: #2C5A85;
  --paper: #F5F7FA;
  --paper-dim: #E9EDF3;
  --white: #FFFFFF;
  --ink: #0F1A24;
  --slate: #5A6C7C;
  --slate-light: #8B99A8;
  --gold-400: #F0B75E;
  --gold-500: #E8A33D;
  --gold-600: #C8862A;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --danger: #E0524A;

  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-md: 0 12px 32px -12px rgba(10, 24, 38, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(10, 24, 38, 0.35);
  --container-w: 1180px;
}

/* =====================================================
   Reset
   ===================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--navy-950); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.section-head.light .eyebrow { color: var(--gold-400); }

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

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 10px 24px -8px rgba(232, 163, 61, 0.55);
}
.btn-primary:hover { background: var(--gold-400); }
.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.5);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-block { width: 100%; padding: 17px 20px; font-size: 1rem; }

/* =====================================================
   Header
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}
.brand-logo { height: 100px; width: auto; }

.main-nav {
  display: none;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--gold-400); }
.main-nav a.nav-cta {
  background: var(--gold-500);
  color: var(--navy-950);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
}
.main-nav a.nav-cta:hover { background: var(--gold-400); color: var(--navy-950); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-call {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 500;
}
.header-call svg { width: 18px; height: 18px; color: var(--gold-400); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--white);
  margin: 0 auto;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--navy-900);
  padding: 20px 24px 28px;
  gap: 18px;
  box-shadow: var(--shadow-lg);
}

/* =====================================================
   Hero
   ===================================================== */
.hero {
  background: radial-gradient(120% 140% at 15% 0%, var(--navy-800) 0%, var(--navy-950) 60%);
  color: var(--white);
  padding: 64px 0 72px;
}
.hero-inner {
  display: grid;
  gap: 48px;
}
.hero-copy h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.08;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.hero-copy h1 .highlight { color: var(--gold-400); }
.hero-sub {
  margin-top: 20px;
  max-width: 46ch;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats dt {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-400);
}
.hero-stats dd {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* Block mosaic — signature element */
.hero-grid { display: none; }
.block-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  transform: rotate(-4deg) scale(1.02);
}
.block-mosaic .tile {
  aspect-ratio: 1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.35);
}
.block-mosaic .tile.active {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
  animation: pulseTile 3.2s ease-in-out infinite;
}
@keyframes pulseTile {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.hero-grid-caption {
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* =====================================================
   Section head (shared)
   ===================================================== */
.section-head { max-width: 620px; margin: 0 0 44px; }
.section-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-head p {
  margin-top: 14px;
  color: var(--slate);
  font-size: 1.02rem;
  line-height: 1.6;
}
.section-head.light h2 { color: var(--white); }
.section-head.light p { color: rgba(255,255,255,0.65); }

/* =====================================================
   Services
   ===================================================== */
.services { padding: 88px 0; background: var(--paper); }
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--paper-dim);
  border-radius: var(--radius-md);
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 22px; height: 22px; }
.service-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.55;
}

/* =====================================================
   Why us
   ===================================================== */
.why { padding: 88px 0; background: var(--white); }
.why-inner {
  display: grid;
  gap: 56px;
}
.why-copy p { margin-top: 16px; color: var(--slate); font-size: 1.02rem; line-height: 1.65; max-width: 52ch; }
.why-list { margin-top: 32px; display: grid; gap: 22px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-list svg { width: 22px; height: 22px; color: var(--gold-600); flex-shrink: 0; margin-top: 2px; }
.why-list strong { display: block; font-size: 1rem; color: var(--navy-950); margin-bottom: 2px; }
.why-list span { font-size: 0.9rem; color: var(--slate); }

.why-panel { display: grid; gap: 18px; align-content: start; }
.why-panel-card {
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.why-panel-card .mono {
  color: var(--gold-500);
  font-size: 0.85rem;
  font-weight: 700;
}
.why-panel-card h3 { color: var(--white); font-size: 1.15rem; margin: 10px 0 8px; }
.why-panel-card p { color: rgba(255,255,255,0.6); font-size: 0.92rem; line-height: 1.55; }

/* =====================================================
   Service area / block picker
   ===================================================== */
.area {
  background: var(--navy-950);
  padding: 88px 0;
}
.block-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.block-btn {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.block-btn:hover, .block-btn:focus-visible {
  background: var(--gold-500);
  color: var(--navy-950);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

/* =====================================================
   How it works
   ===================================================== */
.how { padding: 88px 0; background: var(--paper); }
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.steps li { position: relative; padding-left: 4px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--gold-400);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 16px;
}
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { color: var(--slate); font-size: 0.92rem; line-height: 1.55; }

/* =====================================================
   Booking form
   ===================================================== */
.book { padding: 88px 0; background: var(--white); }
.book-inner {
  display: grid;
  gap: 48px;
}
.book-copy p { margin-top: 16px; color: var(--slate); font-size: 1rem; line-height: 1.6; max-width: 48ch; }
.book-note {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--paper-dim);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.book-note svg { width: 20px; height: 20px; color: var(--gold-600); flex-shrink: 0; margin-top: 1px; }
.book-note p { color: var(--navy-950); font-size: 0.9rem; margin: 0; }

.book-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  background: var(--paper);
  border: 1px solid var(--paper-dim);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--navy-950); }
.field .optional { font-weight: 400; color: var(--slate-light); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--paper-dim);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.15);
  outline: none;
}
.field textarea { resize: vertical; min-height: 80px; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field .error {
  display: none;
  font-size: 0.78rem;
  color: var(--danger);
}
.field.invalid .error { display: block; }

.form-footnote {
  text-align: center;
  font-size: 0.82rem;
  color: var(--slate-light);
  margin-top: 2px;
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand-logo { height: 100px; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.5); max-width: 30ch; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 6px;
}
.footer-col a, .footer-col span { font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* =====================================================
   Floating WhatsApp button
   ===================================================== */
.fab-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6);
  z-index: 90;
  transition: transform 0.2s ease;
}
.fab-whatsapp:hover { transform: scale(1.08); }

/* =====================================================
   Toast
   ===================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--navy-950);
  color: var(--white);
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================
   Responsive breakpoints
   ===================================================== */
@media (min-width: 560px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .book-form { grid-template-columns: 1fr 1fr; }
  .block-picker { grid-template-columns: repeat(6, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .header-call { display: flex; }
}

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .why-list { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
  .main-nav.mobile-open { position: static; flex-direction: row; background: none; padding: 0; box-shadow: none; }

  .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .hero-grid { display: block; }

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

  .why-inner { grid-template-columns: 1.1fr 0.9fr; }
  .why-panel { align-content: center; }

  .book-inner { grid-template-columns: 0.9fr 1.1fr; }

  .block-picker { grid-template-columns: repeat(9, 1fr); }

  .footer-inner { grid-template-columns: 1.4fr 0.8fr 0.9fr 0.8fr; }
}

@media (min-width: 1180px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}
