:root {
  --bg: #f4f9fa;
  --surface: #ffffff;
  --surface-alt: #eaf3f5;
  --ink: #122228;
  --ink-soft: #526970;
  --teal: #147a8c;
  --teal-dark: #0d5866;
  --teal-tint: #dcedf0;
  --line: #d7e6e9;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 2px;
}

#pack, #apercu, #commander {
  scroll-margin-top: 84px;
}

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

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 14px;
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  max-width: 48ch;
}

svg.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 249, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(13, 88, 102, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.wordmark svg { width: 22px; height: 22px; color: var(--teal); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:active { transform: translateY(1px); }

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  padding: 9px 20px;
  font-size: 13.5px;
  background: var(--surface);
}

.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }

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

.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 10px 24px rgba(20, 122, 140, 0.3);
  transform: translateY(-1px);
}

.btn-text {
  padding: 13px 4px;
  color: var(--ink-soft);
  font-size: 14.5px;
  font-weight: 500;
}

.btn-text:hover { color: var(--teal-dark); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06210f;
  width: 100%;
  padding: 15px 24px;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.22);
}

.btn-whatsapp:hover { background: var(--whatsapp-dark); color: #fff; transform: translateY(-1px); }

/* ---------- Trust bar ---------- */

.trust-bar {
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 30px;
  padding: 11px 24px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.trust-item svg.icon { width: 16px; height: 16px; color: var(--teal); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  padding: 52px 24px 60px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--teal-tint) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-copy h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.14; }

.content-list {
  list-style: none;
  margin: 0 0 34px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-top: 1px solid var(--line);
}

.content-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 10px;
  margin: 0 -10px;
  border-bottom: 1px solid var(--line);
  border-radius: 10px;
  transition: background 0.2s ease;
}

.content-list li:hover { background: var(--surface-alt); }

.content-list .icon-wrap {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  transition: transform 0.2s ease;
}

.content-list li:hover .icon-wrap { transform: scale(1.08); }

.content-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 700;
}

.content-list p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}

/* ---------- Hero photo card ---------- */

.hero-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(13, 88, 102, 0.12);
  padding: 14px;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-photo img.loaded { opacity: 1; }

.hero-photo img.loaded ~ .img-fallback { display: none; }

.hero-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: var(--teal);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}

.img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--ink-soft);
  text-align: center;
  padding: 20px;
  background: var(--surface-alt);
}

.img-fallback svg { width: 100%; max-width: 210px; height: auto; color: var(--teal); }

.img-fallback span {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Section heading ---------- */

.section-heading {
  text-align: left;
  max-width: 560px;
  margin: 0 0 40px;
}

.section-heading .lead + .lead {
  margin-top: -14px;
}

/* ---------- Preview ---------- */

.preview {
  padding: 58px 24px;
  border-top: 1px solid var(--line);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}

.preview-item {
  margin: 0;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(18, 34, 40, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.preview-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(13, 88, 102, 0.14);
}

.preview-media {
  position: relative;
  aspect-ratio: 3 / 4;
  padding: 12px;
}

.preview-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.preview-media img.loaded { opacity: 1; }

.preview-media img.loaded ~ .preview-fallback { display: none; }

.preview-caption {
  padding: 14px 16px 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.preview-number {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: #ffffff;
  background: var(--teal);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink-soft);
  background: var(--surface-alt);
}

.preview-fallback svg { width: 40px; height: 40px; color: var(--teal); opacity: 0.85; }

.preview-fallback span {
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.preview-note {
  margin: 32px auto 0;
  max-width: 640px;
  padding: 28px 32px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: center;
}

.preview-note-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 12px;
}

.preview-note p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 14px;
}

.preview-note-cta { margin: 0 !important; }

.preview-note-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.preview-note-cta a:hover {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  transform: translateY(-1px);
}

/* ---------- Order ---------- */

.order {
  padding: 58px 24px 84px;
  border-top: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 980px;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 1px 3px rgba(18, 34, 40, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(13, 88, 102, 0.14);
}

.price-card-featured {
  border-color: var(--teal);
  box-shadow: 0 16px 36px rgba(20, 122, 140, 0.14);
}

.price-card-featured:hover {
  box-shadow: 0 20px 40px rgba(20, 122, 140, 0.2);
}

.price-tag {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--teal);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.price-tag-alt {
  background: var(--ink);
}

.price-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 10px;
}

.price-value {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1;
}

.price-value .currency {
  font-size: 17px;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink-soft);
}

.price-note {
  color: var(--ink-soft);
  font-size: 14px;
  margin: 0 0 26px;
  min-height: 40px;
}

.phone-note {
  margin: 26px 0 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.phone-note strong { color: var(--ink); }

.reassurance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 760px;
}

.reassurance-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--ink-soft);
}

.reassurance-item svg.icon { width: 16px; height: 16px; color: var(--teal); }

/* ---------- Order form ---------- */

.order-form-wrap {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.order-form-card {
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 1px 3px rgba(18, 34, 40, 0.05);
}

.order-form-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 8px;
}

.order-form-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 8px;
}

.order-form-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 24px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

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

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

.form-field input,
.form-field select {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-tint);
}

.order-form-submit {
  width: 100%;
  margin-top: 4px;
}

.order-form-success,
.order-form-error {
  margin-top: 8px;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 14.5px;
}

.order-form-success {
  background: var(--teal-tint);
  color: var(--teal-dark);
  font-weight: 600;
}

.order-form-success p,
.order-form-error p { margin: 0; }

.order-form-error {
  background: #fdeceb;
  color: #b3261e;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 24px 90px;
}

.site-footer p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
}

.site-footer-location {
  margin-bottom: 6px !important;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Floating WhatsApp ---------- */

.floating-whatsapp {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 20;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #06210f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  animation: pulse-wa 2.6s ease-in-out infinite;
}

.floating-whatsapp svg { width: 27px; height: 27px; }

.floating-whatsapp:hover {
  background: var(--whatsapp-dark);
  animation-play-state: paused;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2), 0 0 0 9px rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp { animation: none; }
}

/* ---------- Responsive ---------- */

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .preview { padding: 88px 24px; }

  h2 { font-size: 32px; }

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

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