/* ============================================================
   DEVIS V2 — Shared CSS
   Brand: #119FA9 (turquoise), #0E2036 (navy), Outfit font
   Mobile-first, pure CSS animations, glassmorphism
   ============================================================ */

/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --c-primary: #119FA9;
  --c-primary-dark: #0D7F87;
  --c-primary-light: #14C4D0;
  --c-navy: #0E2036;
  --c-navy-light: #1A3050;
  --c-white: #FFFFFF;
  --c-bg: #F0F4F8;
  --c-error: #EF4444;
  --c-error-light: #FEF2F2;
  --c-success: #10B981;
  --c-warning: #F59E0B;
  --c-gray-50: #F9FAFB;
  --c-gray-100: #F3F4F6;
  --c-gray-200: #E5E7EB;
  --c-gray-300: #D1D5DB;
  --c-gray-400: #9CA3AF;
  --c-gray-500: #6B7280;
  --c-gray-600: #4B5563;
  --c-gray-700: #374151;
  --shadow-sm: 0 1px 2px rgba(14,32,54,0.06);
  --shadow-md: 0 4px 12px rgba(14,32,54,0.08);
  --shadow-lg: 0 8px 30px rgba(14,32,54,0.12);
  --shadow-xl: 0 20px 60px rgba(14,32,54,0.15);
  --glass-bg: rgba(255,255,255,0.72);
  --glass-border: rgba(255,255,255,0.5);
  --glass-blur: 16px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 100px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.v2 {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--c-navy);
  background: var(--c-bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* --- Animated Background: Floating Soap Bubbles --- */
.v2-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #F0F4F8 0%, #E6F0F1 50%, #F0F4F8 100%);
}
.v2-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(17,159,169,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(14,32,54,0.04) 0%, transparent 60%);
}

/* Soap bubbles */
.v2-bubble {
  position: absolute;
  top: 0;
  opacity: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    rgba(17,159,169,0.25),
    rgba(17,159,169,0.1) 40%,
    rgba(255,255,255,0.2) 60%,
    transparent 70%);
  border: 1px solid rgba(17,159,169,0.2);
  animation: v2-bubble-float linear infinite;
  animation-fill-mode: both;
  pointer-events: none;
}
.v2-bubble::before {
  content: '';
  position: absolute;
  top: 18%;
  left: 22%;
  width: 30%;
  height: 20%;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  transform: rotate(-30deg);
}
@keyframes v2-bubble-float {
  0%   { transform: translateY(100vh) scale(0.4); opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 0.9; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
/* Plus rapides et plus nombreuses : on divise par ~2 la duration */
.v2-bubble:nth-child(1)  { left: 5%;  width: 60px; height: 60px; animation-duration: 7s; animation-delay: 0s; }
.v2-bubble:nth-child(2)  { left: 15%; width: 35px; height: 35px; animation-duration: 5.5s; animation-delay: 1s; }
.v2-bubble:nth-child(3)  { left: 28%; width: 50px; height: 50px; animation-duration: 8s; animation-delay: 2s; }
.v2-bubble:nth-child(4)  { left: 40%; width: 28px; height: 28px; animation-duration: 5s; animation-delay: 0.5s; }
.v2-bubble:nth-child(5)  { left: 55%; width: 45px; height: 45px; animation-duration: 6.5s; animation-delay: 1.5s; }
.v2-bubble:nth-child(6)  { left: 70%; width: 55px; height: 55px; animation-duration: 7.5s; animation-delay: 0.2s; }
.v2-bubble:nth-child(7)  { left: 82%; width: 30px; height: 30px; animation-duration: 6s; animation-delay: 2.5s; }
.v2-bubble:nth-child(8)  { left: 92%; width: 40px; height: 40px; animation-duration: 7s; animation-delay: 1.2s; }
.v2-bubble:nth-child(9)  { left: 35%; width: 22px; height: 22px; animation-duration: 4.5s;  animation-delay: 3s; }
.v2-bubble:nth-child(10) { left: 60%; width: 38px; height: 38px; animation-duration: 8.5s; animation-delay: 0.7s; }
.v2-bubble:nth-child(11) { left: 48%; width: 18px; height: 18px; animation-duration: 4s;  animation-delay: 3.5s; }
.v2-bubble:nth-child(12) { left: 8%;  width: 26px; height: 26px; animation-duration: 5.5s; animation-delay: 1.7s; }
.v2-bubble:nth-child(13) { left: 12%; width: 42px; height: 42px; animation-duration: 6.2s; animation-delay: 0.3s; }
.v2-bubble:nth-child(14) { left: 22%; width: 25px; height: 25px; animation-duration: 4.8s; animation-delay: 1.8s; }
.v2-bubble:nth-child(15) { left: 32%; width: 52px; height: 52px; animation-duration: 7.8s; animation-delay: 0.8s; }
.v2-bubble:nth-child(16) { left: 45%; width: 32px; height: 32px; animation-duration: 5.2s; animation-delay: 2.2s; }
.v2-bubble:nth-child(17) { left: 65%; width: 48px; height: 48px; animation-duration: 6.8s; animation-delay: 1.1s; }
.v2-bubble:nth-child(18) { left: 75%; width: 58px; height: 58px; animation-duration: 8.2s; animation-delay: 0.4s; }
.v2-bubble:nth-child(19) { left: 88%; width: 35px; height: 35px; animation-duration: 5.8s; animation-delay: 2.4s; }
.v2-bubble:nth-child(20) { left: 95%; width: 45px; height: 45px; animation-duration: 6.9s; animation-delay: 1.3s; }
.v2-bubble:nth-child(21) { left: 18%; width: 24px; height: 24px; animation-duration: 4.6s; animation-delay: 2.8s; }
.v2-bubble:nth-child(22) { left: 38%; width: 40px; height: 40px; animation-duration: 7.2s; animation-delay: 0.6s; }
.v2-bubble:nth-child(23) { left: 52%; width: 20px; height: 20px; animation-duration: 4.2s; animation-delay: 3.2s; }
.v2-bubble:nth-child(24) { left: 85%; width: 28px; height: 28px; animation-duration: 5.1s; animation-delay: 1.6s; }
.v2-bubble:nth-child(25) { left: 2%;  width: 32px; height: 32px; animation-duration: 5.3s; animation-delay: 2.1s; }
.v2-bubble:nth-child(n+26) { left: 50%; width: 30px; height: 30px; animation-duration: 6s; animation-delay: 1s; }

/* Fond image (optionnel, si .v2-bg-image est présent) */
.v2-bg-image {
  position: fixed;
  inset: 0;
  z-index: 0;
  object-fit: cover;
  filter: blur(20px) brightness(0.5) saturate(1.2);
  width: 100%;
  height: 100%;
}

/* --- Main Container --- */
.v2-main {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 24px 16px 40px;
}

/* --- Glass Card (principal) --- */
.v2-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 520px;
  padding: 32px 24px;
  animation: v2-card-enter 0.6s var(--transition-slow) both;
}
@keyframes v2-card-enter {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Progress Bar (Pill style) --- */
.v2-progress {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin-bottom: 32px;
  padding: 0 4px;
}
.v2-progress-line {
  position: absolute;
  top: 16px; /* Half of dot height (32px / 2) = centered on dots */
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--c-gray-200);
  border-radius: 2px;
  transform: translateY(-50%);
  z-index: 0;
}
.v2-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--c-primary), var(--c-primary-light));
  border-radius: 2px;
  width: 0%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.v2-progress-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.v2-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-white);
  border: 2.5px solid var(--c-gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-gray-400);
  transition: all var(--transition-normal);
  cursor: default;
}
.v2-step-dot.active {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 0 0 4px rgba(17,159,169,0.2);
  transform: scale(1.1);
}
.v2-step-dot.completed {
  border-color: var(--c-primary);
  background: var(--c-primary);
  color: var(--c-white);
}
.v2-step-dot.completed::after {
  content: '✓';
  font-size: 0.75rem;
}
.v2-step-dot.completed span { display: none; }
.v2-step-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--c-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color var(--transition-normal);
  text-align: center;
  max-width: 60px;
}
.v2-step-dot.active + .v2-step-label,
.v2-step-dot.completed + .v2-step-label {
  color: var(--c-primary);
}

/* --- Steps --- */
.v2-step {
  display: none;
  animation: v2-step-in 0.4s ease both;
}
.v2-step.active {
  display: block;
}
@keyframes v2-step-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.v2-step-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 6px;
}
.v2-step-subtitle {
  font-size: 0.9rem;
  color: var(--c-gray-500);
  margin-bottom: 24px;
}

/* --- Card Options (radio choices) --- */
.v2-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.v2-option {
  position: relative;
  background: var(--c-white);
  border: 2px solid var(--c-gray-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 14px;
}
.v2-option:hover {
  border-color: var(--c-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.v2-option.selected {
  border-color: var(--c-primary);
  background: rgba(17,159,169,0.04);
  box-shadow: 0 0 0 3px rgba(17,159,169,0.12);
}
.v2-option input[type="radio"] {
  display: none;
}
.v2-option-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--c-gray-300);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.v2-option.selected .v2-option-radio {
  border-color: var(--c-primary);
  background: var(--c-primary);
}
.v2-option.selected .v2-option-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-white);
}
.v2-option-content {
  flex: 1;
}
.v2-option-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-navy);
}
.v2-option-desc {
  font-size: 0.8rem;
  color: var(--c-gray-500);
  margin-top: 2px;
}
.v2-option-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* --- Form Inputs (Material style) --- */
.v2-field {
  margin-bottom: 18px;
}
.v2-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-gray-600);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.v2-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  background: var(--c-white);
  border: 1.5px solid var(--c-gray-200);
  border-radius: var(--radius-sm);
  color: var(--c-navy);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.v2-input:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(17,159,169,0.1);
}
.v2-input::placeholder {
  color: var(--c-gray-400);
}
.v2-input.error {
  border-color: var(--c-error);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
select.v2-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
textarea.v2-input {
  resize: vertical;
  min-height: 80px;
}
.v2-input-row {
  display: flex;
  gap: 12px;
}
.v2-input-row .v2-field {
  flex: 1;
}

/* --- Error Messages --- */
.v2-error {
  font-size: 0.78rem;
  color: var(--c-error);
  margin-top: 4px;
  display: none;
}
.v2-error.visible {
  display: block;
  animation: v2-shake 0.3s ease;
}
@keyframes v2-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

/* --- Buttons --- */
.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  line-height: 1.2;
}
.v2-btn-primary {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: var(--c-white);
  box-shadow: 0 4px 14px rgba(17,159,169,0.3);
}
.v2-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(17,159,169,0.4);
}
.v2-btn-primary:active {
  transform: translateY(0);
}
.v2-btn-secondary {
  background: var(--c-white);
  color: var(--c-gray-600);
  border: 1.5px solid var(--c-gray-200);
}
.v2-btn-secondary:hover {
  background: var(--c-gray-50);
  border-color: var(--c-gray-300);
}
.v2-btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}
.v2-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.v2-btn-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

/* --- Paire Blocks (chaussures / accessoires) --- */
.v2-paire {
  background: var(--c-white);
  border: 1.5px solid var(--c-gray-200);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 14px;
  animation: v2-paire-in 0.3s ease both;
  position: relative;
}
@keyframes v2-paire-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.v2-paire-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.v2-paire-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--c-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.v2-paire-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 0.75rem;
  font-weight: 700;
}
.v2-paire-delete {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--c-gray-100);
  color: var(--c-gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  font-size: 1rem;
}
.v2-paire-delete:hover {
  background: var(--c-error-light, #FEF2F2);
  color: var(--c-error);
}
.v2-add-paire {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border: 2px dashed var(--c-gray-300);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--c-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.v2-add-paire:hover {
  border-color: var(--c-primary);
  background: rgba(17,159,169,0.04);
}

/* --- Upload Zone V2 --- */
.v2-upload-zone {
  border: 2px dashed var(--c-gray-300);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: var(--c-gray-50);
}
.v2-upload-zone:hover,
.v2-upload-zone.dragover {
  border-color: var(--c-primary);
  background: rgba(17,159,169,0.04);
}
.v2-upload-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--c-gray-400);
}
.v2-upload-text {
  font-size: 0.9rem;
  color: var(--c-gray-500);
}
.v2-upload-text strong {
  color: var(--c-primary);
  cursor: pointer;
}
.v2-upload-hint {
  font-size: 0.75rem;
  color: var(--c-gray-400);
  margin-top: 4px;
}

/* Upload previews grid */
.v2-upload-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.v2-upload-thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--c-gray-100);
}
.v2-upload-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v2-upload-thumb .v2-thumb-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.v2-upload-thumb:hover .v2-thumb-delete {
  opacity: 1;
}
.v2-upload-thumb .v2-thumb-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--c-primary);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: width 0.3s ease;
}
.v2-upload-thumb .v2-thumb-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.7);
}
.v2-upload-thumb.uploaded .v2-thumb-spinner { display: none; }
.v2-upload-thumb.error {
  border: 2px solid var(--c-error);
}
.v2-upload-counter {
  font-size: 0.8rem;
  color: var(--c-gray-500);
  margin-top: 8px;
}

/* --- OTP Modal V2 --- */
.v2-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(14,32,54,0.5);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.v2-modal-overlay.active {
  display: flex;
  animation: v2-modal-in 0.3s ease;
}
@keyframes v2-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.v2-modal {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: v2-modal-slide 0.3s ease;
}
@keyframes v2-modal-slide {
  from { transform: translateY(20px) scale(0.97); }
  to { transform: translateY(0) scale(1); }
}
.v2-modal-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: 8px;
  text-align: center;
}
.v2-modal-desc {
  font-size: 0.85rem;
  color: var(--c-gray-500);
  text-align: center;
  margin-bottom: 24px;
}
/* 6 individual OTP digit boxes */
.v2-otp-boxes {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}
.v2-otp-box {
  width: 46px;
  height: 54px;
  font-size: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-align: center;
  border: 2px solid var(--c-gray-200);
  border-radius: var(--radius-md);
  outline: none;
  background: var(--c-white);
  color: var(--c-navy);
  caret-color: transparent;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.v2-otp-box:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(17,159,169,0.15);
}
.v2-otp-box.filled {
  border-color: var(--c-primary);
  background: rgba(17,159,169,0.04);
}
@media (max-width: 360px) {
  .v2-otp-boxes { gap: 5px; }
  .v2-otp-box { width: 40px; height: 48px; font-size: 1.3rem; }
}

/* --- Type Client Toggle --- */
.v2-toggle-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.v2-toggle-btn {
  flex: 1;
  padding: 10px 16px;
  border: 1.5px solid var(--c-gray-200);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}
.v2-toggle-btn.selected {
  border-color: var(--c-primary);
  background: rgba(17,159,169,0.06);
  color: var(--c-primary);
  font-weight: 600;
}
.v2-toggle-btn input[type="radio"] { display: none; }

/* --- Service Cards (landing page) --- */
.v2-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}
.v2-service-card {
  background: var(--c-white);
  border: 1.5px solid var(--c-gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}
.v2-service-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.v2-service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(17,159,169,0.1), rgba(17,159,169,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.v2-service-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--c-navy);
}
.v2-service-desc {
  font-size: 0.82rem;
  color: var(--c-gray-500);
  margin-top: 2px;
}
.v2-service-arrow {
  margin-left: auto;
  color: var(--c-gray-300);
  transition: color var(--transition-fast), transform var(--transition-fast);
}
.v2-service-card:hover .v2-service-arrow {
  color: var(--c-primary);
  transform: translateX(4px);
}

/* --- Landing stagger animation --- */
.v2-service-card:nth-child(1) { animation-delay: 0s; }
.v2-service-card:nth-child(2) { animation-delay: 0.08s; }
.v2-service-card:nth-child(3) { animation-delay: 0.16s; }
.v2-service-card:nth-child(4) { animation-delay: 0.24s; }
.v2-service-card:nth-child(5) { animation-delay: 0.32s; }
.v2-service-card {
  animation: v2-card-stagger 0.5s ease both;
}
@keyframes v2-card-stagger {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Spinner (loading) --- */
.v2-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.3);
  border-top-color: var(--c-white);
  border-radius: 50%;
  animation: v2-spin 0.6s linear infinite;
}
@keyframes v2-spin {
  to { transform: rotate(360deg); }
}

/* --- Conditional fields --- */
.v2-hidden {
  display: none !important;
}

/* --- Logo --- */
.v2-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  margin-bottom: 16px;
}

/* --- Badge / Tag --- */
.v2-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.v2-tag-primary {
  background: rgba(17,159,169,0.1);
  color: var(--c-primary-dark);
}
.v2-tag-success {
  background: rgba(16,185,129,0.1);
  color: #059669;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (min-width: 480px) {
  .v2-card {
    padding: 40px 32px;
  }
  .v2-options-grid.two-cols {
    grid-template-columns: 1fr 1fr;
  }
  .v2-options-grid.three-cols {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .v2-service-grid {
    grid-template-columns: 1fr 1fr;
  }
  .v2-upload-previews {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  }
}

@media (min-width: 768px) {
  .v2-card {
    max-width: 580px;
    padding: 48px 40px;
  }
  .v2-service-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 360px) {
  .v2-card {
    padding: 20px 14px;
  }
  .v2-step-title {
    font-size: 1.15rem;
  }
  .v2-step-label {
    font-size: 0.55rem;
  }
  .v2-btn {
    padding: 10px 20px;
    font-size: 0.88rem;
  }
}

/* Stack two-column rows on small screens */
@media (max-width: 480px) {
  .v2-input-row {
    flex-direction: column;
    gap: 0;
  }
}
