/*

 */

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

:root {
  --primary-color: #5f9ea0;
  --secondary-color: #ffffff;
  --accent-color: #1a1a2e;
  --font-family: 'Inter', Helvetica, Arial, sans-serif;
  --border-radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --max-width: 720px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: var(--font-family);
  background-color: #f4f6f9;
  color: var(--accent-color);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== HEADER / LOGO ===== */
.app-header {
  background: white;
  border-bottom: 1px solid #e8ecf1;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.header-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.logo-container {
  display: flex;
  align-items: center;
}
.app-header .logo {
  max-height: 48px;
  width: auto;
  display: block;
}
.app-header .brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}
.header-tagline {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  flex: 1;
  max-width: var(--max-width);
  margin: 32px auto;
  padding: 0 20px;
  width: 100%;
}

/* ===== FLASH MESSAGES ===== */
.flash {
  padding: 14px 20px;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  box-shadow: var(--shadow-sm);
}
.flash-notice { background-color: #ecfdf5; color: #065f46; }
.flash-alert { background-color: #fef2f2; color: #991b1b; }

/* ===== WIZARD CARD ===== */
.wizard-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 44px 48px;
  margin-bottom: 30px;
  border: 1px solid rgba(0,0,0,0.04);
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 36px;
  position: relative;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 6px;
}
.progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #e8ecf1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
  transition: var(--transition);
  position: relative;
}
.progress-dot.completed {
  background-color: var(--primary-color);
  color: white;
}
.progress-dot.completed::after {
  content: '✓';
  font-size: 0.8rem;
}
.progress-dot.active {
  background-color: var(--primary-color);
  color: white;
  transform: scale(1.15);
  box-shadow: 0 0 0 4px rgba(95,158,160,0.2);
}
.progress-connector {
  width: 24px;
  height: 2px;
  background-color: #e8ecf1;
  transition: var(--transition);
}
.progress-connector.completed {
  background-color: var(--primary-color);
}

/* ===== TYPOGRAPHY ===== */
.wizard-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--accent-color);
  letter-spacing: -0.03em;
  text-align: center;
}
.wizard-card .step-subtitle {
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 32px;
}
.wizard-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  gap: 8px;
}
.wizard-card h3 .section-icon {
  font-size: 1.2rem;
}

/* ===== FORM ELEMENTS ===== */
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
  width: 100%;
  max-width: 400px;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font-family);
  background-color: #fafbfc;
  color: var(--accent-color);
  transition: var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(95,158,160,0.12);
}
.form-group input::placeholder { color: #94a3b8; }

/* ===== TOGGLE BUTTONS ===== */
.toggle-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  margin-bottom: 16px;
}
.toggle-btn {
  padding: 10px 24px;
  border: 2px solid #e2e8f0;
  border-radius: 50px;
  background: white;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font-family);
  font-weight: 600;
  color: #64748b;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.toggle-btn:hover {
  border-color: #cbd5e1;
  color: var(--accent-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.toggle-btn.selected {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(95,158,160,0.3);
  transform: translateY(-1px);
}

/* ===== WORK TYPE CARDS ===== */
.work-types {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.work-type-card {
  border: 2px solid #e8ecf1;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  overflow: visible;
  background: white;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.work-type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}
.work-type-card.selected {
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(95,158,160,0.2);
  transform: translateY(-2px);
}
.work-type-card.selected::after {
  content: '✓';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 26px;
  height: 26px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes popIn {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.work-type-card .work-icon {
  font-size: 2.8rem;
  padding: 24px 0 8px;
  background: transparent;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-type-card .work-label {
  padding: 8px 12px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
}

/* ===== OWNER SECTION ===== */
.owner-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary-color);
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin-bottom: 20px;
  transition: var(--transition);
}
.owner-section .owner-header {
  background: transparent;
  color: #94a3b8;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin: -24px -28px 20px -28px;
  padding: 16px 28px;
  border-bottom: 1px solid #e8ecf1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.owner-section .owner-header .remove-owner-btn {
  background: none;
  border: 1px solid #fca5a5;
  color: #ef4444;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--font-family);
  transition: var(--transition);
}
.owner-section .owner-header .remove-owner-btn:hover {
  background: #fef2f2;
}

/* Add Owner Button */
.add-owner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-family);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 24px;
}
.add-owner-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(95,158,160,0.04);
}
.add-owner-btn .plus-icon {
  font-size: 1.1rem;
  font-weight: 700;
}

/* ===== INFO & WARNING BOXES ===== */
.warning-box, .info-box {
  border-radius: 10px;
  padding: 14px 18px;
  border: none;
  font-weight: 500;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.55;
  margin-bottom: 20px;
}
.warning-box {
  background-color: #fffbeb;
  color: #92400e;
}
.info-box {
  background-color: #eff6ff;
  color: #1e40af;
}
.warning-box::before { content: '⚠'; font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }
.info-box::before { content: 'ℹ'; font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

/* ===== BUTTONS ===== */
.btn {
  padding: 12px 32px;
  border: none;
  border-radius: 10px;
  font-size: 0.9rem;
  font-family: var(--font-family);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.01em;
}
.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 2px 8px rgba(95,158,160,0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(95,158,160,0.35);
  filter: brightness(1.05);
}
.btn-secondary {
  background-color: white;
  border: 2px solid #e2e8f0;
  color: #64748b;
}
.btn-secondary:hover {
  border-color: #cbd5e1;
  color: var(--accent-color);
  background-color: #f8fafc;
}
.btn-success {
  background-color: #059669;
  color: white;
  box-shadow: 0 2px 8px rgba(5,150,105,0.25);
}
.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(5,150,105,0.35);
  filter: brightness(1.05);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}
.btn-outline:hover {
  background: var(--primary-color);
  color: white;
}
.btn-lg {
  padding: 16px 48px;
  font-size: 1rem;
}

/* ===== WIZARD NAVIGATION ===== */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
}

/* ===== REVIEW SECTION ===== */
.review-section {
  margin-bottom: 28px;
}
.review-section h3 {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
  margin-top: 0;
}
.review-table {
  width: 100%;
  border-collapse: collapse;
}
.review-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  font-size: 0.9rem;
}
.review-table td:first-child {
  font-weight: 600;
  width: 40%;
  color: #64748b;
}

/* ===== RESULT PAGE ===== */
.result-page {
  text-align: center;
}
.result-icon {
  font-size: 4rem;
  margin-bottom: 16px;
}
.result-page h2 {
  margin-bottom: 12px;
}
.result-page .result-subtitle {
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 36px;
}
.result-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.pdf-preview-container {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin: 24px 0;
  box-shadow: var(--shadow-md);
  background: #f8fafc;
}
.pdf-preview-container iframe {
  width: 100%;
  height: 500px;
  border: none;
}
.pdf-preview-fallback {
  padding: 40px;
  text-align: center;
  color: #64748b;
}
.pdf-preview-fallback .file-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

/* ===== FOOTER ===== */
.app-footer {
  text-align: center;
  padding: 24px 20px;
  border-top: 1px solid #e8ecf1;
  background: white;
}
.app-footer p {
  color: #94a3b8;
  font-size: 0.82rem;
}
.app-footer .footer-sub {
  font-size: 0.72rem;
  margin-top: 4px;
  color: #cbd5e1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .wizard-card { padding: 28px 24px; }
  .header-content { padding: 10px 16px; }
  .header-tagline { display: none; }
  .app-header .logo { max-height: 36px; }
  .work-types { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group select { max-width: 100%; }
  .wizard-nav { flex-direction: column-reverse; gap: 12px; }
  .wizard-nav .btn { width: 100%; }
  .progress-dot { width: 28px; height: 28px; font-size: 0.7rem; }
  .progress-connector { width: 12px; }
  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; }
}

/* ===== ADMIN STYLES ===== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 250px;
  background: #1e293b;
  color: white;
  padding: 20px 0;
  flex-shrink: 0;
}
.admin-sidebar h2 {
  padding: 0 20px 20px;
  border-bottom: 1px solid #334155;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.admin-sidebar nav a {
  display: block;
  padding: 12px 20px;
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
  font-size: 0.9rem;
}
.admin-sidebar nav a:hover,
.admin-sidebar nav a.active {
  background: #334155;
  color: white;
}
.admin-main {
  flex: 1;
  padding: 30px;
  background: #f4f6f9;
}
.admin-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  padding: 28px;
  margin-bottom: 20px;
  border: 1px solid rgba(0,0,0,0.04);
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}
.admin-table th { background: #f8fafc; font-weight: 600; color: #475569; }
.admin-table tr:hover { background: #f8fafc; }
.admin-form .form-group { margin-bottom: 20px; }
.admin-form label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 0.9rem; }
.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="password"],
.admin-form input[type="tel"],
.admin-form input[type="url"],
.admin-form input[type="number"],
.admin-form input[type="color"],
.admin-form select,
.admin-form textarea {
  width: 100%;
  max-width: 500px;
  padding: 10px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--font-family);
  transition: var(--transition);
}
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(95,158,160,0.1);
}
.admin-actions { display: flex; gap: 10px; margin-bottom: 20px; }
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-success { background: #ecfdf5; color: #065f46; }
.badge-danger { background: #fef2f2; color: #991b1b; }
.badge-info { background: #eff6ff; color: #1e40af; }
.login-container { max-width: 400px; margin: 100px auto; padding: 0 20px; }
.login-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}
.login-card h2 { text-align: center; margin-bottom: 30px; color: #1e293b; }
.color-preview {
  display: inline-block;
  width: 30px;
  height: 20px;
  border: 1px solid #ccc;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 5px;
}

/* Admin password change section */
.admin-password-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e8ecf1;
}
.admin-password-section h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1e293b;
}

/* ===== Enquiry Widget ===== */
.enquiry-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.enquiry-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: var(--transition);
  font-family: var(--font-family);
}
.enquiry-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
}
.enquiry-icon {
  font-size: 1.1rem;
}

.enquiry-form-container {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 340px;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.enquiry-form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--primary-color);
  color: #fff;
}
.enquiry-form-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}
.enquiry-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.enquiry-form {
  padding: 16px 20px 20px;
}
.enquiry-form .form-group {
  margin-bottom: 12px;
}
.enquiry-form .form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #374151;
}
.enquiry-form .form-group input,
.enquiry-form .form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: var(--font-family);
  transition: border-color 0.2s;
}
.enquiry-form .form-group input:focus,
.enquiry-form .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(95, 158, 160, 0.1);
}

@media (max-width: 480px) {
  .enquiry-widget {
    bottom: 16px;
    right: 16px;
  }
  .enquiry-form-container {
    width: calc(100vw - 32px);
  }
}

/* ===== INFO CALLOUT ===== */
.info-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #eef6ff;
  border: 1px solid #c5ddf8;
  border-left: 4px solid #3b82f6;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #1e3a5f;
}
.info-callout-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 1px;
}
.info-callout p {
  margin: 0;
}

/* ===== DANGER BUTTON ===== */
.btn-danger {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
}
.btn-danger:hover {
  background: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* ===== MARKETING SITE STYLES ===== */

/* Reset body defaults for marketing layout */
body.marketing-layout {
  display: block;
  background: #fff;
}

/* ── Nav ── */
.mkt-nav {
  background: #fff;
  border-bottom: 1px solid #e8ecf1;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.mkt-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 16px;
}
.mkt-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.mkt-logo-mark {
  background: #5bacb4;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 5px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.mkt-logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: #1a1a2e;
  letter-spacing: -0.02em;
}
.mkt-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.mkt-nav-links a {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.mkt-nav-links a:hover { color: #5bacb4; }
.mkt-nav-cta {
  padding: 9px 20px !important;
  font-size: 0.88rem !important;
  background: #5bacb4;
  color: #fff !important;
  border-radius: 8px;
}
.mkt-nav-cta:hover { color: #fff !important; filter: brightness(1.08); }
.mkt-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #475569;
  padding: 4px;
}

/* ── Hero ── */
.mkt-hero {
  background: linear-gradient(135deg, #f0fafa 0%, #e8f4f5 100%);
  padding: 80px 24px 72px;
  text-align: center;
}
.mkt-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}
.mkt-trust-pill {
  display: inline-block;
  background: rgba(91,172,180,0.12);
  color: #2d7a82;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(91,172,180,0.25);
}
.mkt-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin-bottom: 18px;
}
.mkt-hero-sub {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.mkt-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.mkt-hero-note {
  font-size: 0.82rem;
  color: #94a3b8;
}

/* ── Trust bar ── */
.mkt-trust-bar {
  background: #1a1a2e;
  padding: 18px 24px;
}
.mkt-trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
}
.mkt-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 500;
}
.mkt-trust-icon { color: #5bacb4; font-size: 1rem; }

/* ── Sections ── */
.mkt-section { padding: 72px 24px; }
.mkt-section-grey { background: #f8fafc; }
.mkt-section-inner { max-width: 1100px; margin: 0 auto; }
.mkt-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: 10px;
}
.mkt-section-sub {
  text-align: center;
  color: #64748b;
  font-size: 1rem;
  margin-bottom: 40px;
}
.mkt-center-cta { text-align: center; margin-top: 40px; }

/* ── Card grid ── */
.mkt-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mkt-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.mkt-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

/* ── Step cards ── */
.mkt-step-card { text-align: center; }
.mkt-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #5bacb4;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.mkt-step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}
.mkt-step-card p { color: #64748b; font-size: 0.9rem; line-height: 1.6; }

/* ── Works cards ── */
.mkt-works-card { text-align: center; }
.mkt-works-icon { font-size: 2.4rem; margin-bottom: 12px; }
.mkt-works-card h3 { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin-bottom: 6px; }
.mkt-works-card p { color: #64748b; font-size: 0.88rem; line-height: 1.55; }

/* ── Comparison table ── */
.mkt-compare-table-wrap { overflow-x: auto; margin-bottom: 20px; }
.mkt-compare-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.mkt-compare-table th, .mkt-compare-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.92rem;
  border-bottom: 1px solid #f1f5f9;
}
.mkt-compare-table th { background: #f8fafc; font-weight: 700; color: #475569; }
.mkt-compare-table tr:last-child td { border-bottom: none; }
.mkt-col-highlight { background: rgba(91,172,180,0.07); font-weight: 500; }
.mkt-compare-table th.mkt-col-highlight { background: rgba(91,172,180,0.15); color: #2d7a82; }
.mkt-compare-note { font-size: 0.88rem; color: #64748b; max-width: 680px; margin: 0 auto; text-align: center; }

/* ── Guide preview card ── */
.mkt-guide-preview-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.mkt-guide-preview-card h3 { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.mkt-guide-preview-card p { color: #64748b; font-size: 0.88rem; line-height: 1.55; flex: 1; margin-bottom: 16px; }
.mkt-read-more { color: #5bacb4; font-weight: 600; font-size: 0.88rem; }

/* ── FAQ ── */
.mkt-faq-inner { max-width: 760px; }
.mkt-faq-list { border-top: 1px solid #e8ecf1; }
.mkt-faq-item {
  border-bottom: 1px solid #e8ecf1;
  padding: 0;
}
.mkt-faq-item summary {
  padding: 18px 0;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.97rem;
}
.mkt-faq-item summary::-webkit-details-marker { display: none; }
.mkt-faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: #5bacb4;
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 12px;
}
.mkt-faq-item[open] summary::after { content: '−'; }
.mkt-faq-item p {
  padding: 0 0 18px;
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ── Final CTA section ── */
.mkt-cta-section { background: #5bacb4; }
.mkt-cta-inner { text-align: center; }
.mkt-cta-section h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.mkt-cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1rem; }
.mkt-cta-section .btn-primary {
  background: #fff;
  color: #5bacb4;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.mkt-cta-section .btn-primary:hover { filter: brightness(0.97); }

/* ── Footer ── */
.mkt-footer {
  background: #1a1a2e;
  color: #94a3b8;
  padding: 56px 24px 0;
}
.mkt-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid #334155;
}
.mkt-footer-brand .mkt-logo-text { color: #fff; font-size: 1rem; }
.mkt-footer-brand p { margin-top: 12px; font-size: 0.85rem; line-height: 1.6; }
.mkt-footer-links h4 { color: #e2e8f0; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; font-weight: 700; }
.mkt-footer-links a {
  display: block;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.88rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.mkt-footer-links a:hover { color: #5bacb4; }
.mkt-footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0;
  font-size: 0.8rem;
  color: #475569;
}

/* ── Guides index ── */
.mkt-guides-header { padding-bottom: 32px; }
.mkt-guides-header h1 { font-size: 2.2rem; font-weight: 800; color: #1a1a2e; letter-spacing: -0.03em; margin: 12px 0 10px; }
.guide-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.guide-index-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.guide-index-card h2 { font-size: 1.05rem; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.guide-index-card p { color: #64748b; font-size: 0.9rem; line-height: 1.6; flex: 1; margin-bottom: 16px; }
.guide-index-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: #94a3b8; }

/* ── Guide show ── */
.mkt-guide-layout { background: #fff; }
.mkt-guide-header { background: linear-gradient(135deg, #f0fafa 0%, #e8f4f5 100%); padding: 48px 24px 40px; }
.mkt-guide-header h1 { font-size: 2.1rem; font-weight: 800; color: #1a1a2e; letter-spacing: -0.03em; margin: 12px 0 12px; line-height: 1.25; }
.guide-meta { color: #94a3b8; font-size: 0.85rem; }
.mkt-guide-body-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 48px; padding-top: 48px; padding-bottom: 64px; align-items: start; }
.guide-body { max-width: 680px; }
.guide-body p { font-size: 0.97rem; line-height: 1.8; color: #374151; margin-bottom: 20px; }
.guide-body h2 { font-size: 1.4rem; font-weight: 700; color: #1a1a2e; margin: 36px 0 14px; letter-spacing: -0.02em; }
.guide-body h3 { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; margin: 24px 0 10px; }
.guide-body ul, .guide-body ol { padding-left: 22px; margin-bottom: 20px; }
.guide-body li { font-size: 0.97rem; color: #374151; line-height: 1.75; margin-bottom: 6px; }
.guide-body a { color: #5bacb4; text-decoration: underline; }
.guide-body table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 0.9rem; }
.guide-body table th, .guide-body table td { padding: 10px 14px; border: 1px solid #e8ecf1; text-align: left; }
.guide-body table th { background: #f8fafc; font-weight: 600; color: #475569; }
.guide-faq { margin-top: 40px; padding-top: 32px; border-top: 2px solid #5bacb4; }
.guide-faq h2 { font-size: 1.4rem; font-weight: 700; color: #1a1a2e; margin-bottom: 20px; }
.mkt-faq-item-static { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #f1f5f9; }
.mkt-faq-item-static:last-child { border-bottom: none; }
.mkt-faq-item-static h3 { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.mkt-faq-item-static p { font-size: 0.92rem; color: #475569; line-height: 1.7; margin: 0; }

/* ── CTA box (guide aside) ── */
.mkt-cta-box {
  background: #5bacb4;
  border-radius: 14px;
  padding: 28px 24px;
  position: sticky;
  top: 90px;
  color: #fff;
}
.mkt-cta-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.mkt-cta-box p { font-size: 0.9rem; opacity: 0.9; margin-bottom: 20px; line-height: 1.55; }
.mkt-cta-box .btn-primary { background: #fff; color: #5bacb4; width: 100%; justify-content: center; }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 0.82rem; color: #94a3b8; margin-bottom: 12px; }
.breadcrumb a { color: #5bacb4; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Related guides ── */
.related-guides h2 { font-size: 1.5rem; font-weight: 700; color: #1a1a2e; margin-bottom: 28px; }
.related-guides .guide-index-card h3 { font-size: 0.97rem; }

/* ── Marketing responsive ── */
@media (max-width: 900px) {
  .mkt-card-grid { grid-template-columns: repeat(2, 1fr); }
  .mkt-footer-inner { grid-template-columns: 1fr 1fr; }
  .mkt-footer-brand { grid-column: 1 / -1; }
  .mkt-guide-body-wrap { grid-template-columns: 1fr; }
  .mkt-cta-box { position: static; }
}

@media (max-width: 640px) {
  .mkt-hero h1 { font-size: 1.8rem; }
  .mkt-section-title { font-size: 1.5rem; }
  .mkt-card-grid { grid-template-columns: 1fr; }
  .guide-index-grid { grid-template-columns: 1fr; }
  .mkt-footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .mkt-nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e8ecf1; padding: 16px 24px; gap: 12px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
  .mkt-nav.open .mkt-nav-links { display: flex; }
  .mkt-nav-toggle { display: block; }
  .mkt-nav-inner { position: relative; }
  .mkt-hero { padding: 52px 20px 48px; }
  .mkt-section { padding: 48px 20px; }
  .mkt-guide-header { padding: 32px 20px; }
  .mkt-guide-header h1 { font-size: 1.6rem; }
  .mkt-trust-bar-inner { gap: 14px; }
}

/* ── END MARKETING STYLES ── */

/* ===== RESPONSIVE INLINE FORM ROW (City + Postcode) ===== */
.form-row-inline {
  display: flex;
  gap: 16px;
}
.form-row-inline .form-group {
  flex: 1;
  min-width: 0;
}
.form-row-inline .form-group:last-child {
  flex: 0 0 40%;
  max-width: 40%;
}

@media (max-width: 600px) {
  .form-row-inline {
    flex-direction: column;
    gap: 0;
  }
  .form-row-inline .form-group:last-child {
    flex: 1;
    max-width: 100%;
  }
}
