/* ============================================
   PLOMBIER SOS — Mobile-First Stylesheet
   ============================================ */

:root {
  --blue: #1a73e8;
  --blue-dark: #1557b0;
  --blue-light: #e8f0fe;
  --green: #0d9488;
  --green-dark: #0f766e;
  --orange: #f97316;
  --red: #ef4444;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
}

/* === RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--gray-900);
  background: #fff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
img {
  max-width: 100%;
  height: auto;
}
ul,
ol {
  list-style: none;
}

/* === ACCESSIBILITY === */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 10000;
  text-decoration: none;
}
.skip-link:focus {
  position: fixed;
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  overflow: visible;
  padding: 10px 18px;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
:focus-visible {
  outline: 3px solid #005fcc;
  outline-offset: 2px;
  border-radius: 2px;
}
/* Inputs inside .form-group use border+shadow instead of outline — suppress outline only there */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
  outline-offset: 0;
}
/* Inputs elsewhere keep the global :focus-visible ring */

/* === LAYOUT === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}
.section {
  padding: 48px 0;
}
.section--gray {
  background: var(--gray-50);
}

/* === HEADER === */
.header {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.header__logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
}
.header__logo span {
  color: var(--orange);
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--green);
  font-size: 20px;
}
.header__phone:hover {
  text-decoration: none;
  color: var(--green-dark);
}
.header__phone-num {
  display: inline;
  font-size: 15px;
}
@media (min-width: 768px) {
  .header__phone {
    font-size: 22px;
  }
  .header__phone-num {
    font-size: 18px;
  }
}
.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__burger span {
  display: block;
  height: 3px;
  background: var(--red, #dc2626);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.header__burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; }
.header__burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.header__nav {
  display: none;
}
.header__nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  padding: 16px;
  gap: 10px;
  z-index: 99;
}
.header__nav.is-open a {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  padding: 10px 14px;
  border-radius: var(--radius);
  text-align: center;
}

@media (min-width: 768px) {
  .header__burger { display: none; }
  .header__nav {
    display: flex;
    gap: 24px;
    align-items: center;
  }
  .header__nav a {
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
  }
  .header__nav a:hover {
    color: var(--blue);
    text-decoration: none;
  }
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #1e40af 100%);
  color: #fff;
  padding: 48px 0;
  text-align: center;
}
.hero h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.hero p {
  font-size: 16px;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 24px;
}
@media (min-width: 768px) {
  .hero {
    padding: 72px 0;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero p {
    font-size: 18px;
  }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn--primary {
  background: var(--orange);
  color: #fff;
}
.btn--primary:hover {
  background: #ea580c;
}
.btn--green {
  background: var(--green);
  color: #fff;
}
.btn--green:hover {
  background: var(--green-dark);
}
.btn--outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
}
.btn--block {
  width: 100%;
  justify-content: center;
}
.btn--lg {
  padding: 16px 32px;
  font-size: 18px;
}

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card__icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.card__desc {
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.5;
}
.card a {
  display: block;
  color: inherit;
}
.card a:hover {
  text-decoration: none;
}

/* === TRUST BAR === */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 24px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
}
.trust-item .icon {
  font-size: 24px;
}

/* === SERVICE-CITY PAGE === */
.page-content {
  padding: 32px 0;
}
.page-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--gray-900);
}
.page-content p {
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.7;
}
.page-content .content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .page-content .content-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Sidebar CTA */
.sidebar-cta {
  background: var(--blue-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: sticky;
  top: 80px;
}
.sidebar-cta h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--blue-dark);
}
.sidebar-cta .phone-big {
  font-size: 24px;
  font-weight: 800;
  color: var(--green);
  display: block;
  margin: 12px 0;
}

/* === VALUE PROPS === */
.value-props {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
@media (min-width: 768px) {
  .value-props {
    grid-template-columns: repeat(4, 1fr);
  }
}
.value-prop {
  text-align: center;
  padding: 20px 12px;
  background: var(--gray-50);
  border-radius: var(--radius);
}
.value-prop .icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.value-prop strong {
  display: block;
  font-size: 14px;
  color: var(--gray-900);
}
.value-prop span {
  font-size: 12px;
  color: var(--gray-500);
}

/* === FAQ === */
.faq-list {
  margin: 24px 0;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--blue);
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item .faq-answer {
  padding: 0 16px 16px;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.7;
}

/* === INTERNAL LINKS === */
.internal-links {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 32px 0;
}
.internal-links h3 {
  font-size: 16px;
  margin-bottom: 12px;
}
.link-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.link-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  font-size: 13px;
  color: var(--gray-700);
  transition: all 0.2s;
}
.link-tag:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  text-decoration: none;
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: 12px 0;
  font-size: 13px;
  color: var(--gray-500);
}
.breadcrumb a {
  color: var(--gray-500);
}
.breadcrumb a:hover {
  color: var(--blue);
}
.breadcrumb span {
  margin: 0 6px;
}

/* === LEAD FORM === */
.lead-form {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 600px;
  margin: 0 auto;
}
.lead-form h2 {
  text-align: center;
  margin-bottom: 24px;
}
.form-step {
  display: none;
}
.form-step.active {
  display: block;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 14px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}
.form-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.form-progress .step-dot {
  flex: 1;
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
}
.form-progress .step-dot.active {
  background: var(--blue);
}
.form-progress .step-dot.done {
  background: var(--green);
}

/* === BLOG === */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
}
.blog-card__img {
  height: 180px;
  background: linear-gradient(135deg, var(--blue-light), var(--gray-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.blog-card__body {
  padding: 20px;
}
.blog-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-card__excerpt {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
}
.blog-card__meta {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 12px;
}

/* Blog post */
.blog-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 32px 16px;
}
.blog-content h1 {
  font-size: 32px;
  margin-bottom: 12px;
  line-height: 1.3;
}
.blog-content .meta {
  color: var(--gray-500);
  margin-bottom: 32px;
  font-size: 14px;
}
.blog-content h2 {
  font-size: 22px;
  margin: 28px 0 12px;
}
.blog-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: var(--gray-700);
}

/* === CITY GRID === */
.city-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 640px) {
  .city-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .city-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
.city-link {
  display: block;
  padding: 10px 14px;
  background: var(--gray-50);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gray-700);
  text-align: center;
  transition: all 0.2s;
}
.city-link:hover {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}

/* === BACK TO TOP === */
html {
    scroll-behavior: smooth;
}
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ff6600;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.back-to-top:hover {
    background: #e05500;
    color: #fff;
    text-decoration: none;
}
@media (max-width: 767px) {
    .back-to-top {
        bottom: 70px;
    }
}

/* === STICKY CTA (Mobile) === */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--green);
  color: #fff;
  text-align: center;
  padding: 14px;
  font-size: 18px;
  font-weight: 700;
  z-index: 200;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.sticky-cta:hover {
  background: var(--green-dark);
  color: #fff;
  text-decoration: none;
}
@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }
}

/* === FOOTER === */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 48px 0 24px;
  font-size: 14px;
  margin-bottom: 56px; /* space for sticky CTA on mobile */
}

@media (min-width: 768px) {
  .footer {
    margin-bottom: 0;
  }
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.footer h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 16px;
}
.footer a {
  color: var(--gray-300);
}
.footer a:hover {
  color: #fff;
}
.footer-services {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
}
.footer-services li {
  margin-bottom: 6px;
}
.footer-cat {
  margin-bottom: 4px;
}
.footer-cat > summary {
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 0;
  list-style: none;
  user-select: none;
}
.footer-cat > summary::-webkit-details-marker {
  display: none;
}
.footer-cat > summary::after {
  content: ' ▾';
  font-weight: 400;
  color: var(--gray-300);
}
.footer-cat[open] > summary::after {
  content: ' ▴';
}
.footer-cat > summary:hover {
  color: #fff;
  opacity: .85;
}
.footer-cat > .footer-services {
  margin: 4px 0 8px 8px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  text-align: center;
  font-size: 13px;
}

/* === SOCIAL LINKS (FOOTER) === */
.social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Glow effect */
.social-links a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
 /* background: var(--blue); 
  transform: translateY(-2px);
  */
  transform: translateY(-4px) scale(1.08);
}

/* === BRAND COLORS === */
.social-links a.facebook:hover {
    background: #1877f2;
    box-shadow: 0 6px 20px rgba(24,119,242,0.4);
}
.social-links a.instagram:hover {
    background: linear-gradient(45deg,#f58529,#e1306c,#833ab4);
    box-shadow: 0 6px 20px rgba(225,48,108,0.4);
}
.social-links a.linkedin:hover {
    background: #0a66c2;
    box-shadow: 0 6px 20px rgba(10,102,194,0.4);
}
.social-links a.youtube:hover {
    background: #ff0000;
    box-shadow: 0 6px 20px rgba(255,0,0,0.4);
}
.social-links a.tiktok:hover {
    background: #000;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  display: block;
  /* flex-shrink: 0; */
}

/* === PAGINATION === */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 32px 0;
}
.pagination a,
.pagination span {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}
.pagination a {
  background: var(--gray-100);
  color: var(--gray-700);
}
.pagination a:hover {
  background: var(--blue);
  color: #fff;
  text-decoration: none;
}
.pagination .current {
  background: var(--blue);
  color: #fff;
}

/* === ADMIN === */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 14px;
}
.alert--success {
  background: #d1fae5;
  color: #065f46;
}
.alert--error {
  background: #fee2e2;
  color: #991b1b;
}

/* === UTILITIES === */
.text-center {
  text-align: center;
}
.mt-4 {
  margin-top: 16px;
}
.mt-8 {
  margin-top: 32px;
}
.mb-4 {
  margin-bottom: 16px;
}
.mb-8 {
  margin-bottom: 32px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

/* ===================================================
   ARTISAN INSCRIPTION PAGE
   =================================================== */

/* Hero */
/* Prevent iOS auto-zoom on form inputs (requires font-size >= 16px) */
@media (max-width: 599px) {
  .artisan-section .form-group input,
  .artisan-section .form-group select,
  .artisan-section .form-group textarea {
    font-size: 16px;
    padding: 12px;
  }
}

.artisan-hero {
  background: linear-gradient(135deg, var(--gray-900) 0%, #1e3a5f 100%);
  color: #fff;
  padding: 36px 0 32px;
  text-align: center;
}
@media (min-width: 600px) {
  .artisan-hero { padding: 56px 0 48px; }
}
.artisan-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.artisan-hero p {
  font-size: 1.05rem;
  opacity: .85;
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.artisan-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.artisan-hero__badges span {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* Benefits grid */
.artisan-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 480px) {
  .artisan-benefits { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 768px) {
  .artisan-benefits { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}
.artisan-benefit {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.artisan-benefit__icon { font-size: 2rem; margin-bottom: 12px; }
.artisan-benefit h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.artisan-benefit p  { font-size: 13px; color: var(--gray-500); line-height: 1.5; }

/* Form wrapper */
.artisan-form-wrapper {
  max-width: 760px;
  margin: 0 auto;
}
.artisan-form-header {
  text-align: center;
  margin-bottom: 40px;
}
.artisan-form-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
}
.artisan-form-header p { color: var(--gray-500); font-size: 15px; }

.artisan-docs-info {
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 32px;
}
.artisan-docs-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 12px;
}
.artisan-docs-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.artisan-docs-info ul li {
  font-size: 14px;
  color: #1e3a5f;
}

/* Section blocks */
.artisan-section {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px 14px;
  margin-bottom: 16px;
}
@media (min-width: 480px) {
  .artisan-section { padding: 28px; margin-bottom: 20px; }
}
.artisan-section--cgu {
  background: var(--gray-50);
  padding: 20px 28px;
}
.artisan-section__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 20px;
  line-height: 1.4;
}
@media (min-width: 480px) {
  .artisan-section__title { font-size: 1.05rem; gap: 12px; margin-bottom: 24px; }
}
.artisan-section__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.artisan-section__optional {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-500);
  width: 100%;
  padding-left: 40px;
}

/* 2-col grid */
.form-grid--2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 600px) {
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
}

/* form-hint */
.form-hint {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
  display: block;
}

/* Required star */
.form-group em {
  color: var(--red);
  font-style: normal;
  margin-left: 2px;
}

/* Services picker */
.services-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 600px) {
  .services-picker { grid-template-columns: 1fr 1fr; }
}
.service-cat {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-cat__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  min-height: 48px;
  cursor: pointer;
  background: var(--gray-50);
  user-select: none;
  font-weight: 600;
  font-size: 14px;
  transition: background .15s;
}
.service-cat__header:hover { background: var(--blue-light); }
.service-cat__header input[type=checkbox] {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.service-cat__icon { font-size: 1.1rem; }
.service-cat__name { flex: 1; }
.service-cat__arrow {
  font-size: 11px;
  color: var(--gray-500);
  transition: transform .2s;
}
.service-cat__children {
  display: none;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 8px 12px 12px;
  background: #fff;
  border-top: 1px solid var(--gray-200);
}
.service-cat__children.is-open { display: grid; }
@media (min-width: 480px) {
  .service-cat__children { grid-template-columns: 1fr 1fr; }
}
.service-cat__child {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-700);
  padding: 6px 0;
  min-height: 40px;
  cursor: pointer;
}
.service-cat__child input[type=checkbox] {
  accent-color: var(--green);
  flex-shrink: 0;
}

/* Certifications grid */
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}
@media (min-width: 600px) {
  .checkbox-grid { grid-template-columns: 1fr 1fr; }
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray-700);
  cursor: pointer;
  padding: 6px 0;
  min-height: 44px;
}
.checkbox-item input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
}
.checkbox-item--cgu {
  font-size: 14px;
  line-height: 1.5;
  align-items: flex-start;
}
.checkbox-item--cgu a { color: var(--blue); }

/* File input */
.file-input-wrapper {
  position: relative;
}
.file-input-wrapper input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}
.file-input-label {
  display: block;
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  font-size: 14px;
  color: var(--gray-500);
  cursor: pointer;
  transition: border-color .2s, background .2s;
  min-height: 56px;
}
.file-input-wrapper:hover .file-input-label {
  border-color: var(--green);
  background: #f0fdf9;
  color: var(--green-dark);
}

/* Success state */
.artisan-success {
  text-align: center;
  padding: 48px 24px;
  background: #f0fdf9;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
}
.artisan-success__icon { font-size: 3.5rem; margin-bottom: 16px; }
.artisan-success h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; color: var(--green-dark); }
.artisan-success p  { color: var(--gray-500); margin-bottom: 24px; font-size: 15px; }

/* Error / info message */
.artisan-msg {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
}
.artisan-msg--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

/* ============================================
   ACCESSIBILITY PANEL & MODES
   ============================================ */

/* ── Text size (zoom scales all px/em/rem uniformly) ── */
html.a11y-text-lg { zoom: 1.15; }
html.a11y-text-xl { zoom: 1.30; }

/* ── Fonts ─────────────────────────────────── */
html.a11y-font-lexend   * { font-family: 'Lexend', sans-serif !important; }
html.a11y-font-dyslexic * { font-family: 'OpenDyslexic', sans-serif !important; word-spacing: .16em; }

/* ── Line spacing ──────────────────────────── */
html.a11y-spacing-lg p,
html.a11y-spacing-lg li,
html.a11y-spacing-lg label,
html.a11y-spacing-lg td { line-height: 2 !important; }
html.a11y-spacing-xl p,
html.a11y-spacing-xl li,
html.a11y-spacing-xl label,
html.a11y-spacing-xl td { line-height: 2.6 !important; }

/* ── High contrast ─────────────────────────── */
html.a11y-contrast-high body              { background: #fff !important; color: #000 !important; }
html.a11y-contrast-high .header          { background: #000 !important; border-bottom: 2px solid #fff !important; }
html.a11y-contrast-high .header a,
html.a11y-contrast-high .header__logo,
html.a11y-contrast-high .header__phone   { color: #ffff00 !important; }
html.a11y-contrast-high .btn--primary    { background: #00008b !important; color: #fff !important; border: 2px solid #000 !important; }
html.a11y-contrast-high .btn--green      { background: #005500 !important; color: #fff !important; }
html.a11y-contrast-high a                { color: #00008b !important; text-decoration: underline !important; }
html.a11y-contrast-high .section--gray  { background: #f0f0f0 !important; }
html.a11y-contrast-high .footer         { background: #000 !important; color: #fff !important; }
html.a11y-contrast-high .footer a       { color: #ffff00 !important; }
html.a11y-contrast-high .city-link      { background: #fff !important; color: #00008b !important; border: 2px solid #000 !important; }
html.a11y-contrast-high .lead-form      { border: 2px solid #000 !important; }

/* ── Dark mode ─────────────────────────────── */
html.a11y-theme-dark { color-scheme: dark; }
html.a11y-theme-dark body                      { background: #0f172a !important; color: #e2e8f0 !important; }
html.a11y-theme-dark .header                  { background: #1e293b !important; border-bottom-color: #334155 !important; }
html.a11y-theme-dark .header a,
html.a11y-theme-dark .header__logo,
html.a11y-theme-dark .header__phone           { color: #f1f5f9 !important; }
html.a11y-theme-dark .section                 { background: #0f172a !important; }
html.a11y-theme-dark .section--gray           { background: #1e293b !important; }
html.a11y-theme-dark .hero                    { background: #1e293b !important; }
html.a11y-theme-dark .hero h1,
html.a11y-theme-dark .hero p                  { color: #f1f5f9 !important; }
html.a11y-theme-dark h1,html.a11y-theme-dark h2,
html.a11y-theme-dark h3,html.a11y-theme-dark h4    { color: #f1f5f9 !important; }
html.a11y-theme-dark p,html.a11y-theme-dark li     { color: #cbd5e1 !important; }
html.a11y-theme-dark .lead-form,
html.a11y-theme-dark .card                    { background: #1e293b !important; color: #e2e8f0 !important; }
html.a11y-theme-dark .lead-form h2           { color: #f1f5f9 !important; }
html.a11y-theme-dark .form-group label       { color: #cbd5e1 !important; }
html.a11y-theme-dark .form-group input,
html.a11y-theme-dark .form-group select,
html.a11y-theme-dark .form-group textarea    { background: #0f172a !important; color: #e2e8f0 !important; border-color: #475569 !important; }
html.a11y-theme-dark .city-link              { background: #1e293b !important; color: #93c5fd !important; border-color: #334155 !important; }
html.a11y-theme-dark .breadcrumb             { background: #1e293b !important; }
html.a11y-theme-dark .breadcrumb a           { color: #93c5fd !important; }
html.a11y-theme-dark .footer                 { background: #020617 !important; }
html.a11y-theme-dark .footer a              { color: #93c5fd !important; }
html.a11y-theme-dark .footer__bottom        { border-top-color: #1e293b !important; }
html.a11y-theme-dark .snippet-box           { background: #1e293b !important; }
html.a11y-theme-dark .back-to-top           { background: #334155 !important; }

/* ── A11Y PANEL trigger ────────────────────── */
.a11y-trigger {
  position: fixed;
  bottom: 74px; /* above back-to-top (44px + 20px + 10px) */
  right: 20px;
  z-index: 1500;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1e40af;
  color: #fff;
  border: 2px solid #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
  transition: background .15s, transform .15s;
}
.a11y-trigger:hover    { background: #1d4ed8; transform: scale(1.08); }
.a11y-trigger:focus-visible { outline: 3px solid #005fcc; outline-offset: 3px; }
@media (max-width: 767px) {
  .a11y-trigger { bottom: 130px; right: 12px; } /* above mobile back-to-top + sticky CTA */
}

/* ── A11Y PANEL overlay + panel ────────────── */
.a11y-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9500;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.a11y-overlay.open { display: flex; }

.a11y-panel {
  background: #fff;
  border-radius: 16px;
  width: 340px;
  max-width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  padding: 20px;
}
html.a11y-theme-dark .a11y-panel       { background: #1e293b !important; color: #e2e8f0 !important; }
html.a11y-theme-dark .a11y-panel h2,
html.a11y-theme-dark .a11y-panel h3    { color: #f1f5f9 !important; }
html.a11y-theme-dark .a11y-panel hr    { border-color: #334155 !important; }

.a11y-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.a11y-panel__header h2 { font-size: 16px; font-weight: 700; margin: 0; }
.a11y-panel__close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  font-size: 18px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #374151;
}
.a11y-panel__close:focus-visible { outline: 3px solid #005fcc; }
html.a11y-theme-dark .a11y-panel__close { background: #334155 !important; color: #e2e8f0 !important; }

.a11y-section { margin-bottom: 16px; }
.a11y-section h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #64748b;
  margin: 0 0 8px;
}
html.a11y-theme-dark .a11y-section h3 { color: #94a3b8 !important; }

.a11y-btn-row { display: flex; gap: 6px; flex-wrap: wrap; }
.a11y-btn {
  padding: 7px 13px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  color: #374151;
  font-size: 13px;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
  white-space: nowrap;
}
.a11y-btn:hover { background: #eff6ff; border-color: #93c3fd; }
.a11y-btn:focus-visible { outline: 3px solid #005fcc; outline-offset: 1px; }
.a11y-btn--active {
  background: #1e40af !important;
  color: #fff !important;
  border-color: #1e40af !important;
}
html.a11y-theme-dark .a11y-btn        { background: #0f172a !important; color: #e2e8f0 !important; border-color: #334155 !important; }
html.a11y-theme-dark .a11y-btn:hover  { background: #1e293b !important; }
html.a11y-theme-dark .a11y-btn--active{ background: #2563eb !important; color: #fff !important; border-color: #2563eb !important; }

.a11y-reset {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}
.a11y-reset:hover { background: #fef2f2; }
.a11y-reset:focus-visible { outline: 3px solid #dc2626; }

/* ── CALLBACK MODAL ──────────────────────────────────────────────────────── */
.cb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 16px;
  animation: cbFadeIn .18s ease;
}
.cb-overlay[hidden] { display: none; }
@keyframes cbFadeIn { from { opacity: 0; } to { opacity: 1; } }

.cb-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 520px;
  position: relative;
  animation: cbSlideUp .2s ease;
}
@keyframes cbSlideUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.cb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--gray-700);
  transition: background .15s;
}
.cb-close:hover { background: var(--gray-200); }

.cb-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.cb-subtitle {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 24px;
  line-height: 1.5;
}

.cb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 480px) { .cb-row { grid-template-columns: 1fr; } }

.cb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.cb-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
}
.cb-optional { font-weight: 400; color: var(--gray-500); font-size: 12px; }
.cb-required { font-weight: 600; color: var(--red); font-size: 12px; }
.cb-field input {
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
  background: var(--gray-50);
}
.cb-field input:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(26,115,232,.12);
}
.cb-field input::placeholder { color: var(--gray-300); }

.cb-error {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  background: #fef2f2;
  border-radius: var(--radius);
  padding: 8px 12px;
}
.cb-error[hidden] { display: none; }

.cb-btn {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 14px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .15s, transform .1s;
  margin-top: 8px;
}
.cb-btn:hover { background: var(--blue-dark); }
.cb-btn:active { transform: scale(.98); }
.cb-btn:disabled { opacity: .6; cursor: not-allowed; }

.cb-success-icon {
  font-size: 48px;
  text-align: center;
  margin-bottom: 16px;
}
#cbSuccess { text-align: center; }
#cbSuccess .cb-subtitle { max-width: 340px; margin: 0 auto 24px; }

/* Turnstile widget spacing */
.cf-turnstile { margin: 16px 0 8px; }
