/* ================================================================
   DIGISSIMMO — Charte Graphique Design System
   CSS version: 2.0.0
   Palette: Or/Noir/Blanc — Montserrat (headings) + Inter (body)
   ================================================================ */

/* ----- Theme CSS Custom Properties ----- */
:root,
:root[data-theme="light"] {
  --brand-primary: #D4960A;
  --brand-primary-hover: #B87E08;
  --brand-primary-light: #F0D078;
  --brand-primary-subtle: #FDF5E0;
  --brand-black: #1A1A1A;
  --brand-white: #FFFFFF;

  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F7F5;
  --bg-tertiary: #F0EDEA;
  --bg-accent: #D4960A;
  --bg-accent-subtle: #FDF5E0;
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-tertiary: #7A7A7A;
  --text-on-accent: #FFFFFF;
  --text-accent: #D4960A;
  --border-default: #E2E0DD;
  --border-strong: #C5C2BE;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);

  --color-success: #2D9F4E;
  --color-warning: #D4960A;
  --color-error: #D93025;
  --color-info: #1A73E8;

  --dg-primary: var(--brand-primary);
  --dg-primary-dark: var(--brand-primary-hover);
  --dg-accent: var(--brand-primary);
  --dg-bg: var(--bg-primary);
  --dg-surface: var(--bg-secondary);
  --dg-text: var(--text-primary);
  --dg-secondary: var(--text-secondary);
  --dg-success: var(--brand-primary);
  --dg-border: var(--border-default);
  --dg-muted: var(--text-secondary);
  --dg-card: var(--bg-primary);
  --dg-shadow: var(--shadow-sm);
}

:root[data-theme="dark"] {
  --bg-primary: #0F0F0F;
  --bg-secondary: #1A1A1A;
  --bg-tertiary: #252525;
  --bg-accent: #D4960A;
  --bg-accent-subtle: #2A2210;
  --text-primary: #F5F5F3;
  --text-secondary: #B0ADA8;
  --text-tertiary: #6E6B66;
  --text-on-accent: #FFFFFF;
  --text-accent: #F0C040;
  --border-default: #2E2E2E;
  --border-strong: #444444;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);

  --dg-primary: var(--brand-primary);
  --dg-primary-dark: var(--brand-primary-hover);
  --dg-accent: var(--brand-primary);
  --dg-bg: var(--bg-primary);
  --dg-surface: var(--bg-secondary);
  --dg-text: var(--text-primary);
  --dg-secondary: var(--text-secondary);
  --dg-success: var(--brand-primary);
  --dg-border: var(--border-default);
  --dg-muted: var(--text-secondary);
  --dg-card: var(--bg-tertiary);
  --dg-shadow: var(--shadow-sm);
}

/* ----- Global Transitions for Theme Switch ----- */
html {
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* ----- Text Selection ----- */
::selection {
  background: var(--brand-primary-light);
  color: var(--brand-black);
}

/* ----- Reduced Motion ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Digissimmo Home Container ===== */
.digissimmo-home {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.digissimmo-home a {
  color: inherit;
}

/* ----- Focus Visible (a11y) ----- */
.digissimmo-home a:focus-visible,
.digissimmo-home button:focus-visible,
.digissimmo-home input:focus-visible,
.digissimmo-home select:focus-visible,
.digissimmo-home textarea:focus-visible,
.digissimmo-home summary:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* ----- Shell / Container ----- */
.dg-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* ===== HEADINGS ===== */
.dg-hero h1,
.dg-section h2,
.dg-contact h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.dg-hero h1 {
  max-width: 820px;
  font-size: clamp(38px, 6.1vw, 56px);
  font-weight: 800;
}

.dg-section__head h2,
.dg-contact h2 {
  font-size: clamp(30px, 4.5vw, 44px);
}

/* ----- Eyebrow ----- */
.dg-eyebrow {
  margin: 0 0 12px;
  color: var(--text-accent);
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ----- Body text ----- */
.dg-lead,
.dg-section__head p:not(.dg-eyebrow),
.dg-contact p,
.dg-service p,
.dg-step p,
.dg-argument p,
.dg-testimonial blockquote,
.dg-faq p,
.dg-seo p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.dg-lead {
  max-width: 720px;
  margin: 22px 0 0;
  font-size: clamp(17px, 1.8vw, 18px);
}

.dg-section__head p:not(.dg-eyebrow) {
  margin: 18px 0 0;
  font-size: clamp(16px, 1.7vw, 18px);
}

/* ===== BUTTONS ===== */
.dg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.dg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 16px 40px;
  border-radius: 50px;
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dg-button:hover {
  transform: translateY(-2px);
}

.dg-button--primary {
  background: var(--brand-primary);
  color: var(--text-on-accent) !important;
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(212, 150, 10, 0.3);
}

.dg-button--primary:hover {
  background: var(--brand-primary-hover);
  box-shadow: 0 6px 18px rgba(212, 150, 10, 0.4);
}

.dg-button--primary:active {
  transform: translateY(0);
}

.dg-button--secondary {
  background: rgba(212, 150, 10, 0.08);
  color: var(--text-accent) !important;
  border: 2px solid var(--brand-primary);
}

.dg-button--secondary:hover {
  background: rgba(212, 150, 10, 0.15);
  border-color: var(--brand-primary-hover);
}

.dg-micro-cta {
  margin: 18px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

/* ===== HERO ===== */
.dg-hero {
  position: relative;
  padding: clamp(88px, 12vw, 164px) 0 clamp(58px, 9vw, 116px);
  background: var(--bg-accent);
  color: var(--text-on-accent);
}

.dg-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), rgba(255,255,255,0.3), transparent);
}

.dg-hero__grid,
.dg-contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(330px, .72fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

/* Override hero text colors on gold bg */
.dg-hero h1,
.dg-hero .dg-lead,
.dg-hero .dg-micro-cta,
.dg-hero .dg-eyebrow {
  color: var(--text-on-accent);
}

.dg-hero .dg-eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.dg-hero .dg-lead {
  color: rgba(255, 255, 255, 0.9);
}

.dg-hero .dg-button--secondary {
  background: transparent;
  color: var(--text-on-accent) !important;
  border-color: var(--text-on-accent);
}

.dg-hero .dg-button--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--text-on-accent);
}

.dg-hero .dg-button--primary {
  background: var(--brand-black);
  color: var(--text-on-accent) !important;
  border-color: var(--brand-black);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dg-hero .dg-button--primary:hover {
  background: #333;
  border-color: #333;
}

/* Hero Panel / Stats */
.dg-hero__panel {
  display: grid;
  gap: 16px;
}

.dg-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
}

.dg-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.dg-hero__visual {
  padding: clamp(18px, 3vw, 28px);
}

.dg-hero__visual img {
  max-height: 310px;
  object-fit: contain;
}

.dg-stat,
.dg-service,
.dg-step,
.dg-argument,
.dg-testimonial,
.dg-faq details,
.dg-form {
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
}

.dg-stat {
  padding: 26px;
}

.dg-stat strong {
  display: block;
  color: var(--text-primary);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1;
  font-family: 'Montserrat', 'Arial Black', sans-serif;
}

.dg-stat span {
  display: block;
  margin-top: 10px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== SECTIONS ===== */
.dg-section {
  padding: clamp(56px, 8vw, 96px) 0;
}

.dg-section--surface,
.dg-contact {
  background: var(--bg-secondary);
}

.dg-section__head {
  max-width: 840px;
  margin-bottom: 34px;
}

.dg-section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.dg-section__head--center {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.dg-section__head--center .dg-text-link {
  margin-top: 10px;
}

/* ----- Text / Card Links ----- */
.dg-text-link,
.dg-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-accent) !important;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.dg-text-link {
  margin-top: 18px;
}

.dg-text-link::after,
.dg-card-link::after {
  content: "→";
  color: var(--brand-primary);
  transition: transform 0.3s ease;
}

.dg-text-link:hover::after,
.dg-card-link:hover::after {
  transform: translateX(4px);
}

/* ===== SERVICES GRID ===== */
.dg-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dg-service {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 28px;
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), border-color 0.3s ease;
}

.dg-service:hover,
.dg-step:hover,
.dg-argument:hover,
.dg-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary);
}

.dg-service__visual {
  display: grid;
  place-items: center;
  height: 154px;
  margin: -6px -6px 24px;
  padding: 18px;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: var(--bg-tertiary);
}

.dg-service__visual img {
  display: block;
  width: min(100%, 230px);
  max-height: 118px;
  object-fit: contain;
}

.dg-service h3,
.dg-step h3,
.dg-argument h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 600;
  font-size: clamp(20px, 2vw, 22px);
  line-height: 1.25;
}

.dg-service p {
  margin: 14px 0 0;
}

.dg-service ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.dg-service li {
  position: relative;
  padding-left: 24px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.dg-service li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-primary);
}

.dg-card-link {
  margin-top: auto;
  color: var(--text-secondary) !important;
  line-height: 1.35;
}

/* ===== APPROACH / STEPS ===== */
.dg-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dg-approach__intro,
.dg-why__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
  margin-bottom: 34px;
}

.dg-approach__intro .dg-section__head,
.dg-why__intro .dg-section__head {
  margin-bottom: 0;
}

.dg-approach__visual,
.dg-why__visual {
  padding: 22px;
}

.dg-approach__visual img,
.dg-why__visual img {
  max-height: 250px;
  object-fit: contain;
}

.dg-step {
  padding: 26px;
  min-height: 100%;
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.dg-step span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--brand-primary);
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.dg-step p,
.dg-argument p {
  margin: 14px 0 0;
}

/* ===== WHY US ===== */
.dg-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.dg-argument {
  padding: 24px;
  min-height: 100%;
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Social Proof */
.dg-social-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: var(--border-default);
}

.dg-social-proof div {
  padding: 24px;
  background: var(--bg-primary);
}

.dg-social-proof strong {
  display: block;
  color: var(--text-primary);
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-size: 34px;
  line-height: 1;
}

.dg-social-proof span {
  display: block;
  margin-top: 10px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ===== TESTIMONIALS ===== */
.dg-testimonials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dg-testimonial {
  margin: 0;
  padding: 26px;
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.dg-testimonial blockquote {
  margin: 0;
  font-size: 17px;
}

.dg-testimonial figcaption {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border-default);
}

.dg-testimonial strong,
.dg-testimonial span {
  display: block;
}

.dg-testimonial strong {
  color: var(--text-primary);
}

.dg-testimonial span {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* ===== FAQ ===== */
.dg-faq-wrap {
  display: grid;
  grid-template-columns: minmax(280px, .6fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
}

.dg-faq {
  display: grid;
  gap: 12px;
}

.dg-faq details {
  padding: 0;
  box-shadow: none;
}

.dg-faq summary {
  cursor: pointer;
  padding: 21px 56px 21px 22px;
  color: var(--text-primary);
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  list-style: none;
  position: relative;
}

.dg-faq summary::-webkit-details-marker {
  display: none;
}

.dg-faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-primary);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s ease;
}

.dg-faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.dg-faq p {
  margin: 0;
  padding: 0 22px 24px;
}

/* ===== CONTACT ===== */
.dg-contact {
  position: relative;
}

.dg-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 150, 10, 0.06), rgba(212, 150, 10, 0.03), transparent 68%);
  pointer-events: none;
}

.dg-contact__grid {
  align-items: start;
}

.dg-contact p {
  max-width: 680px;
  margin: 18px 0 0;
  font-size: 18px;
}

.dg-contact__visual {
  max-width: 520px;
  margin-top: 28px;
  padding: 18px 22px;
}

.dg-contact__visual img {
  max-height: 210px;
  object-fit: contain;
}

.dg-contact-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.dg-contact-list a,
.dg-contact-list span {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
}

.dg-contact-list a:hover {
  color: var(--brand-primary);
}

/* ===== FORM ===== */
.dg-form {
  padding: clamp(22px, 3vw, 32px);
  background: var(--bg-primary);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
}

.dg-form form,
.dg-fallback-form {
  display: grid;
  gap: 16px;
  margin: 0;
}

.dg-field {
  display: grid;
  gap: 7px;
}

.dg-form label {
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.dg-form label span {
  color: var(--color-error);
}

.dg-form input:not([type="submit"]),
.dg-form select,
.dg-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--border-default);
  border-radius: 8px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: 14px 16px;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.dg-form select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--text-tertiary) 50%),
    linear-gradient(135deg, var(--text-tertiary) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 52%,
    calc(100% - 16px) 52%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

.dg-form input::placeholder,
.dg-form textarea::placeholder {
  color: var(--text-tertiary);
  opacity: 1;
}

.dg-form input:not([type="submit"]):hover,
.dg-form select:hover,
.dg-form textarea:hover {
  border-color: var(--border-strong);
}

.dg-form input:not([type="submit"]):focus,
.dg-form select:focus,
.dg-form textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-subtle);
  outline: 0;
}

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

.dg-form input[type="submit"],
.dg-form button[type="submit"],
.dg-form .wpcf7-submit {
  width: 100%;
  min-height: 54px;
  border: 2px solid transparent;
  border-radius: 50px;
  background: var(--brand-primary);
  color: var(--text-on-accent);
  padding: 16px 22px;
  font-family: 'Montserrat', 'Arial Black', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(212, 150, 10, 0.3);
  transition: all 0.3s ease;
}

.dg-form input[type="submit"]:hover,
.dg-form button[type="submit"]:hover,
.dg-form .wpcf7-submit:hover {
  background: var(--brand-primary-hover);
  box-shadow: 0 6px 18px rgba(212, 150, 10, 0.4);
  transform: translateY(-2px);
}

.dg-form input[type="submit"]:active,
.dg-form button[type="submit"]:active,
.dg-form .wpcf7-submit:active {
  box-shadow: 0 2px 8px rgba(212, 150, 10, 0.3);
  transform: translateY(0);
}

.dg-form button[type="submit"].is-loading,
.dg-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.dg-form button[type="submit"].is-loading span {
  position: relative;
  padding-left: 25px;
}

.dg-form button[type="submit"].is-loading span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 15px;
  margin-top: -8px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffffff;
  border-radius: 999px;
  animation: dg-submit-spin 0.75s linear infinite;
}

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

.dg-field--error input,
.dg-field--error select,
.dg-field--error textarea {
  border-color: var(--color-error);
  box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.1);
}

.dg-field-help,
.dg-field-error {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.dg-field-help {
  color: var(--text-tertiary);
}

.dg-field-error {
  color: var(--color-error);
  font-weight: 600;
}

.dg-form-notice {
  margin: 0 0 18px;
  padding: 13px 15px;
  border: 1px solid var(--border-default);
  border-radius: 8px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.dg-form-notice--success {
  border-color: rgba(45, 159, 78, 0.38);
  background: #ECFDF5;
  color: #065F46;
}

.dg-form-notice--error {
  border-color: rgba(217, 48, 37, 0.34);
  background: #FEF2F2;
  color: #991B1B;
}

.dg-form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.dg-form .wpcf7-response-output,
.dg-form .wpcf7-not-valid-tip {
  color: var(--text-primary);
}

.dg-rgpd {
  margin: 4px 0 0;
  color: var(--text-tertiary);
  font-size: 13px;
  line-height: 1.55;
}

/* ===== SEO SECTION ===== */
.dg-seo {
  padding: 34px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-default);
}

.dg-seo h2 {
  margin: 0 0 12px;
  color: var(--text-secondary);
  font-size: 18px;
}

.dg-seo p {
  margin: 8px 0 0;
  font-size: 14px;
}

.dg-seo strong {
  color: var(--text-primary);
}

/* ===== PARTNERS / ILS NOUS FONT CONFIANCE ===== */
.dg-partners {
  /* Partners section uses its own styling preserved from original */
}

.dg-partners__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.dg-partner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 170px;
  padding: 18px 12px;
  border: 1px solid var(--border-default);
  border-radius: 12px;
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), border-color 0.3s ease;
  text-align: center;
}

.dg-partner:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
}

.dg-partner--logo img {
  display: block;
  width: 100%;
  max-width: 130px;
  height: auto;
  max-height: 70px;
  object-fit: contain;
  filter: none;
  transition: transform 0.2s ease;
}

.dg-partner--logo:hover img {
  transform: scale(1.06);
}

.dg-partner--logo--dark {
  background: #ffffff !important;
  border-color: #e5e7eb;
}

.dg-partner--logo--dark img {
  max-width: 110px;
  max-height: 55px;
}

.dg-partner--text {
  background: var(--bg-accent-subtle);
}

.dg-partner__name {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.dg-partner__label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  color: var(--text-primary);
  opacity: 0.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  margin-top: auto;
}

.dg-partner--logo--dark .dg-partner__label {
  color: #1a1a1a;
  opacity: 0.7;
}

/* ===== THEME SWITCHER TOGGLE ===== */
.dg-theme-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 1001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-default);
  border-radius: 50%;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: var(--shadow-sm);
  line-height: 1;
}

.dg-theme-toggle:hover {
  transform: rotate(180deg);
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-md);
}

.dg-theme-toggle:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.dg-whatsapp {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  font-size: 28px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dg-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.4);
}

.dg-whatsapp:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

/* ===== SCROLL-TO-TOP BUTTON ===== */
.dg-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-default);
  border-radius: 50%;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.dg-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dg-scroll-top:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  transform: translateY(-2px);
}

.dg-scroll-top:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ===== RESPONSIVE ===== */

/* 1024px (tablet landscape) */
@media (max-width: 1024px) {
  .dg-hero__grid,
  .dg-contact__grid,
  .dg-faq-wrap,
  .dg-section__head--split,
  .dg-approach__intro,
  .dg-why__intro {
    grid-template-columns: 1fr;
  }

  .dg-section__head--split {
    align-items: start;
  }

  .dg-steps,
  .dg-why__grid,
  .dg-testimonials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dg-partners__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 768px (tablet portrait) */
@media (max-width: 768px) {
  .dg-partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .dg-partner {
    min-height: 140px;
    padding: 14px 8px;
  }

  .dg-partner--logo img {
    max-width: 110px;
    max-height: 55px;
  }

  .dg-partner--logo--dark img {
    max-width: 90px;
    max-height: 45px;
  }

  .dg-partner__label {
    font-size: 10px;
  }

  .dg-partner__name {
    font-size: 13px;
  }
}

/* 720px */
@media (max-width: 720px) {
  .dg-shell {
    width: min(100% - 28px, 1200px);
  }

  .dg-hero {
    padding-top: 82px;
    padding-bottom: 52px;
  }

  .dg-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: 1.05;
  }

  .dg-section__head h2,
  .dg-contact h2 {
    font-size: clamp(28px, 8vw, 38px);
    line-height: 1.08;
  }

  .dg-lead,
  .dg-contact p,
  .dg-section__head p:not(.dg-eyebrow) {
    font-size: 16px;
    line-height: 1.62;
  }

  .dg-actions {
    gap: 10px;
    margin-top: 28px;
  }

  .dg-actions,
  .dg-button {
    width: 100%;
  }

  .dg-button {
    min-height: 52px;
    padding: 15px 18px;
    border-radius: 50px;
  }

  .dg-services,
  .dg-steps,
  .dg-why__grid,
  .dg-social-proof,
  .dg-testimonials {
    grid-template-columns: 1fr;
  }

  .dg-service,
  .dg-step,
  .dg-argument,
  .dg-testimonial,
  .dg-form,
  .dg-social-proof div {
    padding: 22px 20px;
  }

  .dg-service {
    min-height: auto;
  }

  .dg-service__visual {
    height: 138px;
    margin: -4px -2px 20px;
    padding: 16px;
  }

  .dg-service__visual img {
    max-height: 104px;
  }

  .dg-hero__visual,
  .dg-approach__visual,
  .dg-why__visual,
  .dg-contact__visual {
    padding: 18px;
  }

  .dg-hero__visual img,
  .dg-approach__visual img,
  .dg-why__visual img,
  .dg-contact__visual img {
    max-height: 220px;
  }

  .dg-service ul {
    gap: 9px;
    margin: 18px 0 22px;
  }

  .dg-stat {
    padding: 22px 20px;
  }

  .dg-stat strong,
  .dg-social-proof strong {
    font-size: 32px;
  }

  .dg-section {
    padding: 54px 0;
  }

  .dg-section__head {
    margin-bottom: 28px;
  }

  .dg-faq summary {
    padding: 19px 46px 19px 18px;
    font-size: 16px;
  }

  .dg-faq summary::after {
    right: 18px;
  }

  .dg-faq p {
    padding: 0 18px 20px;
    line-height: 1.65;
  }

  .dg-contact-list {
    gap: 12px;
  }

  .dg-form input:not([type="submit"]),
  .dg-form select,
  .dg-form textarea {
    font-size: 16px;
  }

  .dg-form form,
  .dg-fallback-form {
    gap: 14px;
  }

  .dg-form button[type="submit"] {
    min-height: 56px;
  }

  .dg-seo {
    padding: 28px 0;
  }
}

/* 640px (mobile large) */
@media (max-width: 640px) {
  .dg-section__head--center {
    margin: 0 auto 24px;
  }
}

/* 480px */
@media (max-width: 480px) {
  .dg-partners__grid {
    grid-template-columns: 1fr;
  }

  .dg-partner {
    min-height: 120px;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 12px;
  }

  .dg-partner--logo img {
    max-width: 90px;
    max-height: 50px;
  }

  .dg-partner__label {
    text-align: left;
    font-size: 10px;
  }
}

/* 420px */
@media (max-width: 420px) {
  .dg-shell {
    width: min(100% - 24px, 1200px);
  }

  .dg-hero h1 {
    font-size: 32px;
  }

  .dg-section__head h2,
  .dg-contact h2 {
    font-size: 27px;
  }

  .dg-service,
  .dg-step,
  .dg-argument,
  .dg-testimonial,
  .dg-form,
  .dg-social-proof div {
    padding: 20px 18px;
  }
}
/* ===== FIXES v2.1: Hide old switcher + Header centered + Logo visible ===== */

/* 1. Hide old theme switcher from Imroz theme */
#my_switcher,
.my_switcher {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* 2. Make header always visible (not just on scroll) */
.header-area.header--transparent {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 999 !important;
  background: transparent !important;
}

/* 3. CENTER THE MENU: make header a flex row with centered nav */
.header-area .header-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Logo stays on the left, absolutely positioned so nav can center */
.header-area .header-left {
  position: absolute !important;
  left: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 10 !important;
}

/* The menu (header-right) takes full width and centers its content */
.header-area .header-right {
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.header-area .mainmenunav {
  text-align: center !important;
}

.header-area .mainmenunav ul.mainmenu {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
}

/* Ensure header links are visible on gold hero */
.header-area.header--transparent .mainmenunav ul.mainmenu > li > a {
  color: #FFFFFF !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35) !important;
}

.header-area.header--transparent .mainmenunav ul.mainmenu > li > a:hover,
.header-area.header--transparent .mainmenunav ul.mainmenu > li.current-menu-item > a,
.header-area.header--transparent .mainmenunav ul.mainmenu > li.current-menu-ancestor > a {
  color: #1A1A1A !important;
  opacity: 1 !important;
}

/* 4. LOGO VISIBLE ON GOLD: keep original colors (dark text + gold accent).
   White rounded backdrop gives contrast in both light and dark mode. */
.header-area.header--transparent .logo a {
  display: inline-block !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(4px) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  filter: none !important;
}

.header-area.header--transparent .logo a img {
  filter: none !important;
  max-height: 60px !important;
  width: auto !important;
}

/* When sticky (scrolled), header gets white bg - adjust text colors */
.header-area.header--sticky.sticky {
  background: #FFFFFF !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08) !important;
}

.header-area.header--sticky.sticky .mainmenunav ul.mainmenu > li > a {
  color: #1A1A1A !important;
  text-shadow: none !important;
}

/* Sticky: remove logo backdrop in light mode (not needed on white bg) */
.header-area.header--sticky.sticky .logo a {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.header-area.header--sticky.sticky .logo a img {
  filter: none !important;
  max-height: 60px !important;
}

/* Hamburger icon visible on gold */
.header-area.header--transparent .menutrigger,
.header-area.header--transparent .menutrigger span,
.header-area.header--transparent .menutrigger i {
  color: #FFFFFF !important;
}

.header-area.header--sticky.sticky .menutrigger,
.header-area.header--sticky.sticky .menutrigger span,
.header-area.header--sticky.sticky .menutrigger i {
  color: #1A1A1A !important;
}

/* Push hero content below header */
.dg-hero {
  padding-top: clamp(120px, 16vw, 180px) !important;
}

/* Dark mode: sticky header */
[data-theme="dark"] .header-area.header--sticky.sticky {
  background: #1A1A1A !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
}

[data-theme="dark"] .header-area.header--sticky.sticky .mainmenunav ul.mainmenu > li > a {
  color: #F5F5F3 !important;
}

/* Dark mode sticky: keep white backdrop so dark logo stays visible on dark header */
[data-theme="dark"] .header-area.header--sticky.sticky .logo a {
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
}

[data-theme="dark"] .header-area.header--sticky.sticky .logo a img {
  filter: none !important;
  max-height: 60px !important;
}

[data-theme="dark"] .header-area.header--sticky.sticky .menutrigger,
[data-theme="dark"] .header-area.header--sticky.sticky .menutrigger span,
[data-theme="dark"] .header-area.header--sticky.sticky .menutrigger i {
  color: #F5F5F3 !important;
}

/* Dark mode + transparent (top): keep the white backdrop so logo stays visible.
   The original logo (dark text) needs the white background regardless of theme. */
[data-theme="dark"] .header-area.header--transparent .logo a {
  background: rgba(255, 255, 255, 0.92) !important;
}

[data-theme="dark"] .header-area.header--transparent .logo a img {
  filter: none !important;
}

/* Move our theme toggle to not overlap header */
.dg-theme-toggle {
  top: 28px !important;
  right: 20px !important;
  z-index: 1001 !important;
}

/* Mobile: adjust toggle position */
@media (max-width: 767px) {
  .dg-theme-toggle {
    top: 20px !important;
    right: 12px !important;
  }

  /* On mobile, hide the centered nav, keep logo + hamburger */
  .header-area .header-left {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
  }
}
