/* ============================================================
   METAPHOR AGENCY — DIBISY-STYLE HERO SECTION & ANIMATIONS
   ============================================================ */

.dibi-hero-section {
  position: relative;
  width: 100%;
  background: var(--bg-canvas, #F8FAFC);
  padding: 40px 0 30px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

body.dark-theme .dibi-hero-section {
  background: #0B1120;
}

/* Ambient glow orb behind character */
.dibi-hero-glow {
  position: absolute;
  top: 30%;
  right: 18%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.12) 0%, rgba(224, 93, 95, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: dibiAmbientFloat 8s ease-in-out infinite alternate;
}

body.dark-theme .dibi-hero-glow {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, rgba(224, 93, 95, 0.12) 50%, transparent 70%);
}

/* Main 2-Column Hero Grid */
.dibi-hero-container {
  position: relative;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  min-height: 580px;
  z-index: 2;
}

/* ==========================================
   LEFT COLUMN: CONTENT & AUDIT FORM
   ========================================== */
.dibi-hero-content {
  position: relative;
  z-index: 3;
  padding: 20px 0;
}

.dibi-eyebrow {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-blue, #1E1B4B);
  margin-bottom: 20px;
  opacity: 0.9;
}

body.dark-theme .dibi-eyebrow {
  color: #A5B4FC;
}

/* Main Display Title */
.dibi-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3.2rem, 6.2vw, 5.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 24px 0;
}

.dibi-title-coral {
  color: var(--accent-coral, #E05D5F);
  display: block;
  animation: dibiFadeSlideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dibi-title-navy {
  color: var(--brand-blue, #1E1B4B);
  display: block;
  animation: dibiFadeSlideUp 0.7s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.dark-theme .dibi-title-navy {
  color: #F8FAFC;
}

/* Figma / Vector Selection Bounding Box on "Success" */
.dibi-selection-box {
  position: relative;
  display: inline-block;
  padding: 2px 14px;
  margin-top: 6px;
  border: 1.5px solid #3B82F6;
  border-radius: 2px;
  color: var(--brand-blue, #1E1B4B);
  background: rgba(59, 130, 246, 0.02);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  animation: dibiFadeSlideUp 0.7s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.dark-theme .dibi-selection-box {
  border-color: #60A5FA;
  color: #FFFFFF;
  background: rgba(96, 165, 250, 0.05);
}

.dibi-selection-box:hover {
  border-color: var(--accent-coral, #E05D5F);
  box-shadow: 0 0 16px rgba(224, 93, 95, 0.2);
}

/* 8 Blue Vector Control Handles */
.dibi-handle {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #FFFFFF;
  border: 1.5px solid #3B82F6;
  border-radius: 1px;
  z-index: 3;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

body.dark-theme .dibi-handle {
  background: #0F172A;
  border-color: #60A5FA;
}

.dibi-selection-box:hover .dibi-handle {
  border-color: var(--accent-coral, #E05D5F);
  background: var(--accent-coral, #E05D5F);
  transform: scale(1.3);
}

.h-tl { top: -4.5px; left: -4.5px; }
.h-tc { top: -4.5px; left: calc(50% - 3.5px); }
.h-tr { top: -4.5px; right: -4.5px; }
.h-ml { top: calc(50% - 3.5px); left: -4.5px; }
.h-mr { top: calc(50% - 3.5px); right: -4.5px; }
.h-bl { bottom: -4.5px; left: -4.5px; }
.h-bc { bottom: -4.5px; left: calc(50% - 3.5px); }
.h-br { bottom: -4.5px; right: -4.5px; }

/* Subtitle Description */
.dibi-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #64748B;
  max-width: 440px;
  margin: 0 0 32px 0;
  animation: dibiFadeSlideUp 0.7s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.dark-theme .dibi-subtitle {
  color: #94A3B8;
}

/* Interactive URL Audit Input Bar */
.dibi-audit-form {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 480px;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 6px 6px 6px 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid #E2E8F0;
  margin-bottom: 28px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  animation: dibiFadeSlideUp 0.7s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.dark-theme .dibi-audit-form {
  background: #1E293B;
  border-color: #334155;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.dibi-audit-form:focus-within {
  border-color: #3B82F6;
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.dibi-audit-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 4px;
}

.dibi-audit-prefix {
  font-size: 13.5px;
  font-weight: 500;
  color: #94A3B8;
  user-select: none;
}

.dibi-audit-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: #1E293B;
  padding: 8px 4px;
}

body.dark-theme .dibi-audit-input {
  color: #F1F5F9;
}

.dibi-audit-input::placeholder {
  color: #94A3B8;
  opacity: 0.8;
}

.dibi-audit-btn {
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  outline: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.dark-theme .dibi-audit-btn {
  background: #3B82F6;
}

.dibi-audit-btn:hover {
  background: var(--accent-coral, #E05D5F);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(224, 93, 95, 0.35);
}

/* Quick Contact Info Row */
.dibi-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: dibiFadeSlideUp 0.7s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dibi-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(224, 93, 95, 0.1);
  border: 1px solid rgba(224, 93, 95, 0.2);
  color: var(--accent-coral, #E05D5F);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.dibi-contact-row:hover .dibi-contact-icon {
  transform: scale(1.08) rotate(-4deg);
}

.dibi-contact-meta {
  display: flex;
  flex-direction: column;
}

.dibi-contact-phone {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--brand-blue, #1E1B4B);
  text-decoration: none;
  line-height: 1.2;
  transition: color 0.2s ease;
}

body.dark-theme .dibi-contact-phone {
  color: #F8FAFC;
}

.dibi-contact-phone:hover {
  color: var(--accent-coral, #E05D5F);
}

.dibi-contact-email {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #94A3B8;
  margin-top: 2px;
}

/* ==========================================
   RIGHT COLUMN: HERO CHARACTER & WATERMARK
   ========================================== */
.dibi-hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 540px;
  height: 100%;
  margin-left: -50px;
}

/* Giant Vertical Watermark */
.dibi-watermark-vertical {
  position: absolute;
  left: -35px;
  top: 48%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(80px, 11vw, 150px);
  font-weight: 900;
  letter-spacing: 16px;
  color: rgba(30, 27, 75, 0.04);
  user-select: none;
  pointer-events: none;
  z-index: 1;
  text-transform: uppercase;
  transition: transform 0.2s ease-out;
}

body.dark-theme .dibi-watermark-vertical {
  color: rgba(255, 255, 255, 0.04);
}

/* Character Cutout Container */
.dibi-person-wrap {
  position: relative;
  z-index: 2;
  max-width: 100%;
  width: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: -10px;
  animation: dibiPersonEnter 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dibi-person-wrap picture {
  display: contents;
}

.dibi-person-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(15, 23, 42, 0.12));
  transition: transform 0.2s ease-out;
}

body.dark-theme .dibi-person-img {
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.5));
}

/* ==========================================
   FLOATING SERVICE BADGES AROUND CHARACTER
   ========================================== */
.dibi-floating-badge {
  position: absolute;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  box-shadow: 0 10px 25px -3px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  cursor: default;
  user-select: none;
  pointer-events: auto;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  white-space: nowrap;
}

body.dark-theme .dibi-floating-badge {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.12);
}

.dibi-floating-badge:hover {
  transform: translateY(-4px) scale(1.05) !important;
  box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.18), 0 6px 12px -2px rgba(15, 23, 42, 0.08);
}

body.dark-theme .dibi-floating-badge:hover {
  box-shadow: 0 18px 36px -4px rgba(0, 0, 0, 0.75), 0 0 25px rgba(99, 102, 241, 0.25);
}

.dibi-badge-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFFFFF;
  transition: transform 0.3s ease;
}

.dibi-floating-badge:hover .dibi-badge-circle {
  transform: rotate(8deg) scale(1.08);
}

.dibi-floating-badge span {
  font-family: 'Outfit', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: #0F172A;
  line-height: 1;
}

body.dark-theme .dibi-floating-badge span {
  color: #F8FAFC;
}

/* Individual Badge Themes (Gradients & Glows) */
.badge-branding .dibi-badge-circle {
  background: linear-gradient(135deg, #EC4899 0%, #F43F5E 100%);
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
}

.badge-social .dibi-badge-circle {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.badge-seo .dibi-badge-circle {
  background: linear-gradient(135deg, #322F87 0%, #6366F1 100%);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.badge-strategy .dibi-badge-circle {
  background: linear-gradient(135deg, #8B5CF6 0%, #6366F1 100%);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.badge-webdev .dibi-badge-circle {
  background: linear-gradient(135deg, #0284C7 0%, #10B981 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Individual Badge Coordinates & Keyframe Bindings */
.badge-branding {
  top: -38px;
  left: 50%;
  animation: dibiFloatCenter 4.6s ease-in-out infinite;
}

.badge-social {
  top: 3%;
  left: -58px;
  animation: dibiFloatLeft1 5.2s ease-in-out 0.4s infinite;
}

.badge-seo {
  top: 17.5%;
  right: -12px;
  animation: dibiFloatRight1 4.4s ease-in-out 1.2s infinite;
}

.badge-strategy {
  top: 23%;
  left: -75px;
  animation: dibiFloatLeft2 5.6s ease-in-out 0.8s infinite;
}

.badge-webdev {
  top: 31%;
  right: -22px;
  animation: dibiFloatRight2 4.8s ease-in-out 1.8s infinite;
}

/* ==========================================
   TOP-RIGHT FLOATING CARD ("Start growing")
   ========================================== */
.dibi-top-card {
  position: absolute;
  top: 0;
  right: 40px;
  width: 180px;
  background: #0B132B;
  border-radius: 0 0 16px 16px;
  padding: 24px 20px 20px;
  z-index: 10;
  box-shadow: 0 16px 30px rgba(11, 19, 43, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.dark-theme .dibi-top-card {
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: none;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5);
}

.dibi-top-card:hover {
  transform: translateY(4px);
  box-shadow: 0 20px 36px rgba(11, 19, 43, 0.3);
}

.dibi-top-gear {
  position: absolute;
  top: -12px;
  right: -10px;
  color: #FFFFFF;
  opacity: 0.18;
  pointer-events: none;
}

.dibi-top-gear svg {
  animation: dibiGearSpin 24s linear infinite;
}

.dibi-top-card:hover .dibi-top-gear svg {
  animation-duration: 8s;
}

.dibi-top-title {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  margin: 0 0 14px 0;
}

.dibi-top-cta {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.dibi-top-cta:hover {
  color: var(--accent-coral, #E05D5F);
  gap: 9px;
}

/* ==========================================
   VERTICAL SCROLL INDICATOR (RIGHT MARGIN)
   ========================================== */
.dibi-scroll-indicator {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 5;
  user-select: none;
}

.dibi-scroll-text {
  writing-mode: vertical-rl;
  font-family: 'Outfit', sans-serif;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 3px;
  color: #94A3B8;
  text-transform: uppercase;
}

.dibi-scroll-bar {
  width: 2px;
  height: 40px;
  background: linear-gradient(180deg, var(--brand-blue, #322F87) 0%, transparent 100%);
  border-radius: 2px;
  animation: dibiScrollPulse 2s ease-in-out infinite;
}

body.dark-theme .dibi-scroll-bar {
  background: linear-gradient(180deg, #818CF8 0%, transparent 100%);
}

/* ==========================================
   BRANDS TRUST SECTION ("They trust Metaphor")
   ========================================== */
.dibi-brands-section {
  position: relative;
  background: var(--bg-canvas, #F8FAFC);
  padding: 30px 0 50px;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  z-index: 2;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body.dark-theme .dibi-brands-section {
  background: #0B1120;
  border-top-color: rgba(51, 65, 85, 0.4);
}

.dibi-brands-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.dibi-brands-intro {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.dibi-curly-arrow {
  width: 44px;
  height: 52px;
  color: var(--accent-coral, #E05D5F);
  animation: dibiArrowWiggle 3s ease-in-out infinite alternate;
}

.dibi-brands-heading {
  display: flex;
  flex-direction: column;
}

.dibi-brands-tag {
  font-size: 12px;
  font-weight: 700;
  color: #94A3B8;
  margin-bottom: 2px;
}

.dibi-brands-tag span {
  color: #10B981;
  font-weight: 800;
}

.dibi-brands-title {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary, #0F172A);
  margin: 0;
}

body.dark-theme .dibi-brands-title {
  color: #F8FAFC;
}

.dibi-brands-title span {
  color: var(--accent-coral, #E05D5F);
}

/* 4 Logo Cards */
.dibi-brands-grid {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: space-between;
  flex-wrap: wrap;
}

.dibi-brand-card {
  flex: 1;
  min-width: 160px;
  height: 85px;
  background: #FFFFFF;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

body.dark-theme .dibi-brand-card {
  background: #1E293B;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.dibi-brand-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
}

body.dark-theme .dibi-brand-card:hover {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.dibi-brand-card svg {
  max-width: 100%;
  height: 28px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.dibi-brand-card span {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #1E293B;
  margin-left: 8px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

body.dark-theme .dibi-brand-card span {
  color: #F8FAFC;
}

.dibi-brand-card:hover svg {
  transform: scale(1.06);
}

/* ==========================================
   ANIMATIONS & KEYFRAMES
   ========================================== */
@keyframes dibiFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dibiPersonEnter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dibiGearSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes dibiAmbientFloat {
  0% {
    transform: scale(0.92) translate(0, 0);
  }
  50% {
    transform: scale(1.05) translate(20px, -15px);
  }
  100% {
    transform: scale(0.92) translate(0, 0);
  }
}

@keyframes dibiScrollPulse {
  0% {
    transform: scaleY(0.4);
    opacity: 0.3;
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
    transform-origin: top;
  }
  100% {
    transform: scaleY(0.4);
    opacity: 0.3;
    transform-origin: bottom;
  }
}

@keyframes dibiArrowWiggle {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(4deg) scale(1.04);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

@keyframes dibiFloatCenter {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-9px);
  }
}

@keyframes dibiFloatLeft1 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1.5deg);
  }
}

@keyframes dibiFloatRight1 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(1.5deg);
  }
}

@keyframes dibiFloatLeft2 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-7px) rotate(1.2deg);
  }
}

@keyframes dibiFloatRight2 {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1.2deg);
  }
}

/* ==========================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================== */
@media (max-width: 1024px) {
  .dibi-hero-section {
    padding: 20px 0 0;
  }

  .dibi-hero-container {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
    padding-top: 15px;
    min-height: auto;
  }

  .dibi-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 0;
  }

  .dibi-subtitle {
    max-width: 580px;
  }

  .dibi-top-card {
    display: none; /* Hide top card on mobile to avoid header clutter */
  }

  .dibi-scroll-indicator {
    display: none;
  }

  .dibi-watermark-vertical {
    display: none;
  }

  .dibi-contact-row {
    margin-bottom: 8px;
    justify-content: center;
  }

  .dibi-hero-visual {
    margin-left: 0;
    justify-content: center;
    align-items: flex-start;
    min-height: auto;
    height: auto;
    margin-top: -6px;
    padding-top: 0;
  }

  .dibi-person-wrap {
    width: 340px;
    max-width: 90%;
    margin: 0 auto;
    margin-bottom: 0;
  }

  .dibi-floating-badge {
    padding: 4px 10px 4px 4px;
    gap: 6px;
  }

  .dibi-floating-badge span {
    font-size: 11px;
  }

  .dibi-badge-circle {
    width: 26px;
    height: 26px;
  }

  .dibi-badge-circle svg {
    width: 12px;
    height: 12px;
  }

  .badge-branding {
    top: -24px;
  }

  .badge-social {
    top: 3%;
    left: -28px;
  }

  .badge-seo {
    top: 17%;
    right: -8px;
  }

  .badge-strategy {
    top: 23%;
    left: -38px;
  }

  .badge-webdev {
    top: 30%;
    right: -12px;
  }

  .dibi-brands-section {
    padding: 24px 0 40px;
  }

  .dibi-brands-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 0 20px;
  }

  .dibi-brands-intro {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .dibi-brands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .dibi-brand-card {
    min-width: 0;
    width: 100%;
    height: 68px;
    padding: 10px 14px;
  }
}

@media (max-width: 640px) {
  .dibi-hero-section {
    padding: 12px 0 0;
  }

  .dibi-hero-container {
    gap: 8px;
    padding: 0 16px;
    min-height: auto;
  }

  .dibi-eyebrow {
    font-size: 11.5px;
    margin-bottom: 10px;
  }

  .dibi-title {
    font-size: clamp(2.2rem, 9.5vw, 2.9rem);
    margin-bottom: 14px;
  }

  .dibi-selection-box {
    padding: 2px 10px;
    margin-top: 4px;
  }

  .dibi-subtitle {
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.5;
    padding: 0 4px;
  }

  .dibi-audit-form {
    flex-direction: column;
    padding: 8px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    margin-bottom: 14px;
  }

  .dibi-audit-input-wrap {
    width: 100%;
    margin-bottom: 8px;
    padding-left: 4px;
  }

  .dibi-audit-input {
    font-size: 14px;
    padding: 6px 4px;
  }

  .dibi-audit-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
  }

  .dibi-contact-row {
    gap: 10px;
    margin-bottom: 14px;
  }

  .dibi-contact-icon {
    width: 36px;
    height: 36px;
  }

  .dibi-contact-phone {
    font-size: 15px;
  }

  .dibi-contact-email {
    font-size: 10px;
  }

  .dibi-hero-visual {
    margin-top: 0;
    min-height: auto;
    height: auto;
    padding: 0;
  }

  .dibi-person-wrap {
    width: 290px;
    max-width: 86%;
    margin-bottom: 0;
  }

  .dibi-floating-badge {
    padding: 3px 8px 3px 3px;
    gap: 5px;
    box-shadow: 0 6px 14px -2px rgba(15, 23, 42, 0.12);
  }

  .dibi-floating-badge span {
    font-size: 9.5px;
    font-weight: 700;
  }

  .dibi-badge-circle {
    width: 22px;
    height: 22px;
  }

  .dibi-badge-circle svg {
    width: 11px;
    height: 11px;
  }

  .badge-branding {
    top: -20px;
  }

  .badge-social {
    top: 3%;
    left: -12px;
  }

  .badge-seo {
    top: 17%;
    right: -4px;
  }

  .badge-strategy {
    top: 22%;
    left: -18px;
  }

  .badge-webdev {
    top: 29%;
    right: -8px;
  }

  .dibi-curly-arrow {
    width: 32px;
    height: 40px;
  }

  .dibi-brands-title {
    font-size: 22px;
  }

  .dibi-brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .dibi-brand-card {
    min-width: 0;
    height: 60px;
    border-radius: 10px;
    padding: 8px 10px;
  }

  .dibi-brand-card span {
    font-size: 14.5px;
    margin-left: 6px;
  }

  .dibi-brand-card svg {
    height: 20px;
  }
}

/* Respect user reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dibi-hero-glow,
  .dibi-top-gear svg,
  .dibi-scroll-bar,
  .dibi-curly-arrow,
  .dibi-title-coral,
  .dibi-title-navy,
  .dibi-selection-box,
  .dibi-subtitle,
  .dibi-audit-form,
  .dibi-contact-row,
  .dibi-person-wrap,
  .dibi-floating-badge {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}
