/* ============================================
   HelperGo — Design system & shared styles
   ============================================ */

:root {
  --color-primary: #1d9e75;
  --color-primary-hover: #17805e;
  --color-accent: #2ecc8f;
  --color-hero-start: #0a2e1f;
  --color-hero-end: #000000;
  --color-white: #ffffff;
  --color-bg-light: #f8f8f8;
  --color-text: #0f172a;
  --color-text-secondary: #6b7280;
  --color-border: #e5e7eb;
  --color-error: #dc2626;
  --color-success-bg: #f0fdf4;
  --font-family: "Poppins", system-ui, sans-serif;
  --radius-card: 16px;
  --radius-btn: 12px;
  --radius-input: 12px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-header: 0 4px 24px rgba(0, 0, 0, 0.08);
  --header-height: 72px;
  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.6;
  background: var(--color-white);
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height:1.2;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

/* ----- Layout utilities ----- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  transition: box-shadow var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .header-inner {
    padding: 0 32px;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover {
  text-decoration: none;
}

.logo-mark {
  flex-shrink: 0;
}

.logo-text {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-text .logo-helper {
  color: var(--color-text);
}

.logo-text .logo-go {
  color: var(--color-primary);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-desktop a {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none !important;
  }
}

.nav-toggle-bar {
  display: block;
  height: 4px;
  width: 24px;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-mobile {
  display: none;
}

@media (max-width: 768px) {
  .nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 24px;
    background: #0a2e1f;
    border-top: 1px solid transparent;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease,
      border-color 0.3s ease;
  }

  .site-header.nav-open .nav-mobile {
    max-height: 320px;
    opacity: 1;
    padding: 16px 24px;
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .nav-mobile a {
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    text-decoration: none;
    padding: 0;
    border: none;
  }

  .nav-mobile a:hover {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
  }
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
    max-height: none !important;
    opacity: 1 !important;
    padding: 0 !important;
    overflow: visible !important;
    border-top: none !important;
  }
}

.nav-pills-mobile {
  display: none;
  align-items: center;
  gap: 8px;
}

.nav-helper-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  border: 1.5px solid rgba(29, 158, 117, 0.42);
  padding: 8px 16px;
  color: var(--color-primary);
  background: rgba(29, 158, 117, 0.09);
  transition: background var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast), box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.nav-helper-cta:hover {
  background: rgba(29, 158, 117, 0.16);
  border-color: var(--color-primary);
  color: var(--color-primary-hover);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(29, 158, 117, 0.22);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .nav-desktop .nav-helper-cta {
    padding: 9px 20px;
    font-size: 15px;
  }
}

/* ----- Footer ----- */
.site-footer {
  padding: 32px 20px;
  text-align: center;
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover:not(:disabled) {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--color-white);
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  text-decoration: none;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

/* Pulse CTA */
@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(29, 158, 117, 0.45);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(29, 158, 117, 0);
  }
}

.btn-pulse {
  animation: cta-pulse 2s ease-in-out infinite;
}

/* ----- Cards ----- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary);
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-input);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

.form-hint {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 6px;
}

.form-error {
  font-size: 13px;
  color: var(--color-error);
  margin-top: 6px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-input.error,
.form-textarea.error,
.form-select.error {
  border-color: var(--color-error);
}

/* WhatsApp input row */
.whatsapp-field {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-input);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.whatsapp-field:focus-within {
  border-color: var(--color-primary);
}

.whatsapp-field.error {
  border-color: var(--color-error);
}

.whatsapp-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: var(--color-bg-light);
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  border-right: 2px solid var(--color-border);
  white-space: nowrap;
}

.whatsapp-field .form-input {
  border: none;
  border-radius: 0;
  flex: 1;
}

.whatsapp-field .form-input:focus {
  border: none;
}

/* ----- Scroll reveal ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Hero (landing & helper) ----- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(
    135deg,
    var(--color-hero-start) 0%,
    var(--color-hero-end) 100%
  );
  color: var(--color-white);
  display: flex;
  align-items: center;
  padding: 48px 0 64px;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1025px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.hero-rotating {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
  min-height: 2.8em;
  margin-bottom: 12px;
  transition: opacity var(--transition-medium);
}

@media (min-width: 768px) {
  .hero-rotating {
    font-size: 28px;
    min-height: 2.4em;
  }
}

.hero-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 42px;
  }
}

.hero-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 520px;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 18px;
  }
}

.hero-meta {
  margin-top: 20px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* Phone mockup */
.phone-mockup-wrap {
  display: none;
  justify-content: center;
  perspective: 800px;
}

@media (min-width: 1025px) {
  .phone-mockup-wrap {
    display: flex;
  }
}

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(-6px);
  }
  50% {
    transform: translateY(6px);
  }
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: #1a1a1a;
  border: 8px solid #2a2a2a;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  animation: phone-float 6s ease-in-out infinite;
  position: relative;
  box-sizing: border-box;
}

.phone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 28px;
  background: #0d0d0d;
  border-radius: 20px;
  z-index: 3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #050a08;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* In-app UI inside phone (landing hero mockup — dark mode) */
.phone-app-ui {
  text-align: left;
}

.phone-app-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 44px 18px 18px;
  flex-shrink: 0;
}

.phone-app-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1d9e75;
  flex-shrink: 0;
  box-shadow: 0 0 8px #1d9e75;
}

.phone-app-title {
  font-family: var(--font-family);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.phone-app-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px 24px;
  min-height: 0;
}

.phone-app-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-app-card .phone-skeleton {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.phone-skeleton-lg {
  height: 12px;
  width: 100%;
}

.phone-skeleton-sm {
  height: 10px;
  width: 48%;
}

.phone-skeleton-line {
  height: 9px;
  width: 100%;
}

.phone-skeleton-short {
  width: 58%;
}

.phone-app-cta {
  margin-top: 4px;
  padding: 14px 16px;
  background: #1d9e75;
  color: #ffffff;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  border-radius: 999px;
  letter-spacing: 0.01em;
  box-shadow: 0 0 15px rgba(29, 158, 117, 0.35);
}

/* ----- Sections ----- */
.section {
  padding: 72px 0;
}

.section-alt {
  background: var(--color-bg-light);
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 36px;
  }
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto 48px;
  font-weight: 500;
}

/* How it works — dashed connector (desktop) */
.steps-grid {
  display: grid;
  gap: 24px;
  position: relative;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1025px) {
  .steps-grid {
    gap: 32px;
  }

  .steps-grid::before {
    content: "";
    position: absolute;
    top: 64px;
    left: 12%;
    right: 12%;
    height: 0;
    border-top: 2px dashed var(--color-primary);
    opacity: 0.45;
    z-index: 0;
  }

  .steps-grid .card {
    position: relative;
    z-index: 1;
  }
}

.step-icon {
  font-size: 48px;
  color: var(--color-primary);
  margin-bottom: 16px;
  display: block;
}

.step-icon i {
  font-size: 48px;
  color: var(--color-primary);
}

.step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  margin: 0;
  color: var(--color-text-secondary);
  font-size: 15px;
}

/* Why cards */
.why-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  border: 2px solid transparent;
}

.why-card .step-icon i {
  font-size: 40px;
}

/* CTA band */
.cta-band {
  background: var(--color-hero-start);
  padding: 64px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--color-white);
  font-size: 28px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .cta-band h2 {
    font-size: 36px;
  }
}

/* ----- Order page: progress ----- */
.order-page {
  padding-bottom: 64px;
}

.progress-wrap {
  background: var(--color-bg-light);
  padding: 24px 0 32px;
  border-bottom: 1px solid var(--color-border);
}

.progress-steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}

.progress-line-bg {
  position: absolute;
  top: 18px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: var(--color-border);
  border-radius: 4px;
  z-index: 0;
}

.progress-line-fill {
  position: absolute;
  top: 18px;
  left: 10%;
  height: 4px;
  background: var(--color-primary);
  border-radius: 4px;
  z-index: 0;
  transition: width var(--transition-medium);
}

.progress-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 120px;
}

.progress-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-border);
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.progress-step.active .progress-dot {
  background: var(--color-primary);
  color: var(--color-white);
}

.progress-step.done .progress-dot {
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0;
}

.progress-step.done .progress-dot::after {
  content: "✓";
  font-size: 16px;
}

.progress-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.progress-step.active .progress-label,
.progress-step.done .progress-label {
  color: var(--color-text);
}

/* Form steps */
.form-step {
  display: none;
  padding-top: 40px;
  max-width: 560px;
  margin: 0 auto;
}

.form-step.active {
  display: block;
}

.form-step-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 28px;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 14px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-card);
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  transition: border-color var(--transition-fast), background var(--transition-fast),
    box-shadow var(--transition-fast);
  background: var(--color-white);
}

.category-card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.category-card-icon .ph-fill {
  font-size: 28px;
  line-height: 1;
}

.category-card:hover .category-card-icon {
  color: var(--color-primary-hover);
  transform: translateY(-1px);
}

.category-card.selected .category-card-icon {
  color: var(--color-primary-hover);
}

.category-card-text {
  display: block;
  max-width: 100%;
}

.category-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}

.category-card.selected {
  border-color: var(--color-primary);
  background: rgba(29, 158, 117, 0.08);
}

@keyframes category-card-pick {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(29, 158, 117, 0.35);
  }
  45% {
    transform: scale(1.04);
    box-shadow: 0 0 0 12px rgba(29, 158, 117, 0);
  }
  70% {
    transform: scale(0.985);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes category-icon-bounce {
  0% {
    transform: scale(1) rotate(0deg);
  }
  28% {
    transform: scale(1.14) rotate(-6deg);
  }
  52% {
    transform: scale(1.08) rotate(4deg);
  }
  76% {
    transform: scale(1.02) rotate(-2deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

.category-card.is-picking {
  animation: category-card-pick 0.58s cubic-bezier(0.34, 1.35, 0.64, 1) both;
  z-index: 1;
}

.category-card.is-picking .category-card-icon {
  animation: category-icon-bounce 0.58s cubic-bezier(0.34, 1.35, 0.64, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .category-card.is-picking,
  .category-card.is-picking .category-card-icon {
    animation: none !important;
  }
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.toggle-btn {
  padding: 12px 20px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-btn);
  background: var(--color-white);
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.toggle-btn:hover {
  border-color: var(--color-accent);
}

.toggle-btn.selected {
  border-color: var(--color-primary);
  background: rgba(29, 158, 117, 0.12);
  color: var(--color-primary);
}

.toggle-btn.multi.selected {
  border-color: var(--color-primary);
  background: rgba(29, 158, 117, 0.12);
}

.info-box {
  margin-top: 16px;
  padding: 14px 16px;
  background: var(--color-success-bg);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-card);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  display: none;
}

.info-box.visible {
  display: block;
}

/* Quartier delivery hint: smooth reveal (no instant display toggle) */
.info-box.info-box--delivery {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text);
  /* collapsed */
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: none;
  background: transparent;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.52s ease,
    margin-top 0.4s ease,
    padding-block 0.38s ease,
    visibility 0s linear 0.48s,
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    background 0.32s ease;
}

.info-box.info-box--delivery.visible {
  display: flex;
  opacity: 1;
  visibility: visible;
  max-height: 100px;
  margin-top: 12px;
  padding: 9px 12px;
  border-color: rgba(29, 158, 117, 0.32);
  background: linear-gradient(
    135deg,
    rgba(240, 253, 244, 0.95) 0%,
    rgba(236, 253, 245, 0.85) 100%
  );
  box-shadow: 0 1px 6px rgba(29, 158, 117, 0.06);
  transform: translateY(0);
  pointer-events: auto;
  overflow: visible;
  visibility: visible;
  transition: opacity 0.48s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
    max-height 0.52s ease,
    margin-top 0.4s ease,
    padding-block 0.38s ease,
    visibility 0s linear 0s,
    border-color 0.35s ease 0.08s,
    box-shadow 0.35s ease 0.08s,
    background 0.35s ease 0.08s;
}

@media (prefers-reduced-motion: reduce) {
  .info-box.info-box--delivery,
  .info-box.info-box--delivery.visible {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

.info-box--delivery .info-box-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  color: var(--color-primary);
}

.info-box--delivery .info-box-icon .ph-fill {
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 1px 3px rgba(29, 158, 117, 0.22));
}

.info-box--delivery .info-box-copy {
  margin: 0;
  padding-top: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.info-box--delivery .info-box-copy strong {
  font-weight: 700;
  color: #0f172a;
}

.info-box--delivery .info-box-sep {
  margin: 0 0.4em;
  font-weight: 400;
  color: var(--color-text-secondary);
  opacity: 0.75;
}

.summary-box {
  background: var(--color-success-bg);
  border: 1.5px solid var(--color-primary);
  border-radius: var(--radius-card);
  padding: 24px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
}

.summary-row span:first-child {
  color: var(--color-text-secondary);
}

.summary-divider {
  border: none;
  border-top: 1px solid rgba(29, 158, 117, 0.35);
  margin: 16px 0;
}

.summary-total {
  font-weight: 800;
  font-size: 17px;
}

.note-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin-top: 16px;
  background: rgba(29, 158, 117, 0.07);
  border: 1px solid rgba(29, 158, 117, 0.22);
  border-radius: 12px;
  box-shadow: 0 1px 6px rgba(29, 158, 117, 0.07);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text);
  margin-bottom: 20px;
}

.note-box-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(29, 158, 117, 0.14);
  color: var(--color-primary);
}

.note-box-icon .ph-fill {
  font-size: 17px;
  line-height: 1;
}

.note-box-text {
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

@media (min-width: 768px) {
  .form-actions.row {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Confirmation overlay */
.confirmation-panel {
  display: none;
  min-height: calc(100vh - var(--header-height));
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  text-align: center;
}

.confirmation-panel.visible {
  display: flex;
}

.order-main.hidden {
  display: none;
}

/* Checkmark SVG animation */
.checkmark-svg {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
}

.checkmark-svg circle {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 3;
  opacity: 0.2;
}

.checkmark-svg path {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.checkmark-svg.animate path {
  animation: draw-check 0.8s ease forwards 0.2s, pulse-check 1.5s ease-in-out 1s infinite;
}

@keyframes draw-check {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulse-check {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(29, 158, 117, 0));
  }
  50% {
    filter: drop-shadow(0 0 12px rgba(29, 158, 117, 0.6));
  }
}

.confirmation-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

.confirmation-text {
  color: var(--color-text-secondary);
  max-width: 400px;
  margin: 0 auto 20px;
}

.badge-time {
  display: inline-block;
  padding: 10px 18px;
  background: var(--color-success-bg);
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Spinner */
.btn-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

.btn.loading .btn-spinner {
  display: block;
}

.btn.loading .btn-text {
  display: none;
}

.btn-submit-order {
  box-shadow: 0 6px 20px rgba(29, 158, 117, 0.32);
  letter-spacing: 0.01em;
}

.btn-submit-order:hover:not(:disabled) {
  box-shadow: 0 8px 28px rgba(29, 158, 117, 0.42);
}

.btn-submit-order:active:not(:disabled) {
  box-shadow: 0 4px 14px rgba(29, 158, 117, 0.35);
}

.btn-submit-order .btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-submit-order .btn-submit-check-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-submit-order .btn-submit-check-svg {
  display: block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.btn-submit-order .btn-submit-check-svg rect {
  transition: fill var(--transition-fast), stroke var(--transition-fast);
}

.btn-submit-order:hover:not(:disabled) .btn-submit-check-svg {
  transform: scale(1.06);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.btn-submit-order:hover:not(:disabled) .btn-submit-check-svg rect {
  fill: rgba(255, 255, 255, 0.24);
  stroke: rgba(255, 255, 255, 0.5);
}

.btn-submit-order:active:not(:disabled) .btn-submit-check-svg {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .btn-submit-order .btn-submit-check-svg,
  .btn-submit-order:hover:not(:disabled) .btn-submit-check-svg,
  .btn-submit-order:active:not(:disabled) .btn-submit-check-svg {
    transform: none;
    transition: none;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Helper page hero compact */
.helper-hero {
  padding: 56px 0 40px;
  min-height: auto;
}

.helper-hero .hero-subtitle {
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

.helper-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.helper-stat {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--color-text);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.helper-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary);
}

.helper-stat-icon .ph-fill {
  font-size: 18px;
  line-height: 1;
}

.helper-form-section {
  padding: 0 16px 64px;
  margin-top: -24px;
}

@media (min-width: 640px) {
  .helper-form-section {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .helper-form-section {
    padding-left: 32px;
    padding-right: 32px;
  }
}

.helper-form-card {
  --radius-input: 10px;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 28px 18px 36px;
}

.helper-form-card .form-label {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}

.helper-form-card .form-group {
  margin-bottom: 22px;
}

.helper-form-card .form-input,
.helper-form-card .form-select {
  padding: 15px 14px;
  font-size: 15px;
  border-width: 1.5px;
}

.helper-form-card .whatsapp-field {
  border-width: 1.5px;
  border-radius: var(--radius-input);
}

.helper-form-card .whatsapp-prefix {
  padding: 0 14px;
  min-width: 4.25rem;
  justify-content: center;
}

.helper-form-card #helper-form .btn.btn-lg {
  padding-top: 17px;
  padding-bottom: 17px;
  font-size: 17px;
  border-radius: var(--radius-btn);
}

.helper-form-card .toggle-row-transport {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (min-width: 480px) {
  .helper-form-card .toggle-row-transport {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.helper-form-card .toggle-row-transport .toggle-btn-transport {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 72px;
  padding: 10px 8px;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
}

.helper-form-card .toggle-row-transport .toggle-btn-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.helper-form-card .toggle-row-transport .toggle-btn-ico .ph-fill {
  font-size: 24px;
  line-height: 1;
}

.helper-form-card .toggle-row-transport .toggle-btn-txt {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.helper-form-card .toggle-row-transport .toggle-btn-transport:hover .toggle-btn-ico,
.helper-form-card .toggle-row-transport .toggle-btn-transport.selected .toggle-btn-ico {
  color: var(--color-primary-hover);
}

.helper-form-card .toggle-row-transport .toggle-btn-transport:hover:not(.selected) .toggle-btn-ico {
  transform: translateY(-1px);
}

.helper-form-card .toggle-row-transport .toggle-btn-transport.selected .toggle-btn-txt {
  color: var(--color-primary);
}

@media (min-width: 768px) {
  .helper-form-card {
    padding: 36px 32px 44px;
    max-width: 760px;
  }
}

.helper-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}

.helper-success.visible {
  display: block;
}

.helper-form-wrap.hidden {
  display: none;
}
