/* ==========================================================================
   Bitercuman Homepage v2 — scoped to body.home-v2 / .home-page
   Matches html/index.php class names
   ========================================================================== */

:is(body.home-v2, .home-page) {
  --color-primary: #1e5a9c;
  --color-primary-dark: #0b3d5c;
  --color-secondary: #5b4a8a;
  --color-accent: #1e5a9c;
  --color-success: #047857;
  --color-warning: #b45309;
  --color-danger: #b91c1c;
  --color-text: #1e293b;
  --color-muted: #475569;
  --color-border: #e2e8f0;
  --color-surface: #ffffff;
  --color-background: #f4f7fb;

  --hp-primary: var(--color-primary);
  --hp-primary-dark: var(--color-primary-dark);
  --hp-secondary: var(--color-secondary);
  --hp-success: var(--color-success);
  --hp-warning: var(--color-warning);
  --hp-danger: var(--color-danger);
  --hp-text: var(--color-text);
  --hp-muted: var(--color-muted);
  --hp-border: var(--color-border);
  --hp-surface: var(--color-surface);
  --hp-bg: var(--color-background);
  --hp-radius: 16px;
  --hp-container: 1240px;
  --hp-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 12px rgba(15, 23, 42, 0.04);
  --hp-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --hp-focus: 0 0 0 3px rgba(30, 90, 156, 0.28);
  --hp-ease: 0.2s ease;

  color: var(--hp-text);
  background: var(--hp-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

body.home-v2 .page-wrapper,
.home-page .page-wrapper {
  overflow-x: clip;
  max-width: 100%;
}

body.home-v2 #main-content,
.home-page #main-content {
  overflow-x: clip;
  max-width: 100%;
}

/* Hallo bar */
body.home-v2 .hallo-bar {
  background: var(--hp-primary-dark);
  color: #e8eef4;
  padding: 0 48px 0 16px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

body.home-v2 .main-header {
  /* bc-header.css owns sticky / height */
}

body.home-v2 .main-footer {
  margin-top: 0;
}

/* Layout */
:is(body.home-v2, .home-page) .hp-container {
  width: 100%;
  max-width: var(--hp-container);
  margin-inline: auto;
  padding-inline: 24px;
  min-width: 0;
}

:is(body.home-v2, .home-page) .hp-section {
  padding: 72px 0;
}

:is(body.home-v2, .home-page) .hp-section-head {
  margin-bottom: 28px;
  max-width: 40rem;
}

:is(body.home-v2, .home-page) .hp-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--hp-primary-dark);
}

:is(body.home-v2, .home-page) .hp-section-head p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--hp-muted);
}

:is(body.home-v2, .home-page) .hp-section-foot {
  margin-top: 28px;
  text-align: center;
}

:is(body.home-v2, .home-page) .hp-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;
}

:is(body.home-v2, .home-page) .hp-lead {
  margin: 0 0 20px;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--hp-muted);
  font-weight: 400;
}

:is(body.home-v2, .home-page) .hp-empty {
  grid-column: 1 / -1;
  color: var(--hp-muted);
  font-size: 0.95rem;
}

/* Buttons */
:is(body.home-v2, .home-page) .hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--hp-ease), color var(--hp-ease), border-color var(--hp-ease), box-shadow var(--hp-ease);
  white-space: nowrap;
  background: transparent;
  color: var(--hp-text);
}

:is(body.home-v2, .home-page) .hp-btn:focus-visible {
  outline: none;
  box-shadow: var(--hp-focus);
}

:is(body.home-v2, .home-page) .hp-btn-primary {
  background: var(--hp-primary);
  color: #fff;
  border-color: var(--hp-primary);
}

:is(body.home-v2, .home-page) .hp-btn-primary:hover {
  background: #174a82;
  border-color: #174a82;
  color: #fff;
}

:is(body.home-v2, .home-page) .hp-btn-secondary {
  background: var(--hp-surface);
  color: var(--hp-primary-dark);
  border-color: var(--hp-border);
}

:is(body.home-v2, .home-page) .hp-btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: var(--hp-primary-dark);
}

:is(body.home-v2, .home-page) .hp-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

:is(body.home-v2, .home-page) .hp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

:is(body.home-v2, .home-page) .hp-btn-block { width: 100%; }
:is(body.home-v2, .home-page) .hp-btn-sm {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 0.875rem;
}

/* Chips */
:is(body.home-v2, .home-page) .hp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  background: #eef4fb;
  color: var(--hp-primary);
  border: 1px solid #d7e5f4;
}

:is(body.home-v2, .home-page) .hp-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

/* Fields */
:is(body.home-v2, .home-page) .hp-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

:is(body.home-v2, .home-page) .hp-field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hp-primary-dark);
}

:is(body.home-v2, .home-page) .hp-field :is(select, input) {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--hp-border);
  border-radius: 10px;
  background: #fff;
  color: var(--hp-text);
  font-size: 0.95rem;
  appearance: none;
  transition: border-color var(--hp-ease), box-shadow var(--hp-ease);
}

:is(body.home-v2, .home-page) .hp-field :is(select, input):focus {
  outline: none;
  border-color: var(--hp-primary);
  box-shadow: var(--hp-focus);
}

/* Hero — flagship corporate composition */
:is(body.home-v2, .home-page) {
  --hp-font: "Sora", system-ui, sans-serif;
  --hp-display: "Plus Jakarta Sans", "Sora", system-ui, sans-serif;
  --hp-accent: #7dd3fc;
  font-family: var(--hp-font);
}

:is(body.home-v2, .home-page) .hp-hero {
  position: relative;
  min-height: min(78vh, 700px);
  padding: 64px 0 72px;
  overflow: hidden;
  color: #e8eef4;
  isolation: isolate;
  display: flex;
  align-items: center;
}

:is(body.home-v2, .home-page) .hp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 12% 15%, rgba(43, 125, 224, 0.38) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 75%, rgba(125, 211, 252, 0.14) 0%, transparent 52%),
    radial-gradient(ellipse 40% 35% at 60% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 60%),
    linear-gradient(155deg, #041f33 0%, #0b3d5c 38%, #12507a 72%, #0a3552 100%);
}
:is(body.home-v2, .home-page) .hp-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
  animation: hp-sheen 9s ease-in-out infinite;
  pointer-events: none;
}
:is(body.home-v2, .home-page) .hp-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 0%, transparent 75%);
  pointer-events: none;
  animation: hp-grid-drift 32s linear infinite;
}

:is(body.home-v2, .home-page) .hp-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}
:is(body.home-v2, .home-page) .hp-hero-orb--a {
  width: 340px;
  height: 340px;
  left: -80px;
  top: -60px;
  background: rgba(43, 125, 224, 0.35);
  animation: hp-orb 10s ease-in-out infinite;
}
:is(body.home-v2, .home-page) .hp-hero-orb--b {
  width: 280px;
  height: 280px;
  right: 8%;
  bottom: -40px;
  background: rgba(125, 211, 252, 0.18);
  animation: hp-orb 12s ease-in-out infinite reverse;
}

:is(body.home-v2, .home-page) .hp-hero-watermark {
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--hp-font);
  font-size: clamp(8rem, 18vw, 14rem);
  font-weight: 800;
  letter-spacing: -0.08em;
  color: rgba(255, 255, 255, 0.035);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

:is(body.home-v2, .home-page) .hp-hero-lang {
  position: absolute;
  font-family: var(--hp-font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(232, 238, 244, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  user-select: none;
}
:is(body.home-v2, .home-page) .hp-hero-lang--1 { left: 42%; top: 18%; animation: hp-float 7s ease-in-out infinite; }
:is(body.home-v2, .home-page) .hp-hero-lang--2 { left: 52%; top: 58%; animation: hp-float 8.5s ease-in-out infinite 0.6s; }
:is(body.home-v2, .home-page) .hp-hero-lang--3 { left: 38%; top: 72%; animation: hp-float 9s ease-in-out infinite 1.1s; }

@keyframes hp-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 56px 28px, 56px 28px; }
}
@keyframes hp-sheen {
  0%, 100% { opacity: 0.35; transform: translateX(-8%); }
  50% { opacity: 0.7; transform: translateX(8%); }
}
@keyframes hp-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(18px, 12px) scale(1.06); }
}
@keyframes hp-float {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(-10px); opacity: 0.75; }
}
@keyframes hp-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

:is(body.home-v2, .home-page) .hp-hero .hp-container {
  position: relative;
  width: 100%;
}

:is(body.home-v2, .home-page) .hp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 48px;
  align-items: center;
}

:is(body.home-v2, .home-page) .hp-hero-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
  animation: hp-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

:is(body.home-v2, .home-page) .hp-hero-brand {
  margin: 0 0 18px;
  font-family: var(--hp-font);
  font-size: clamp(1.55rem, 2.6vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.2);
}
:is(body.home-v2, .home-page) .hp-hero-brand::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 14px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--hp-accent), transparent);
}

:is(body.home-v2, .home-page) .hp-hero-copy h1 {
  margin: 0 0 16px;
  font-family: var(--hp-display);
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  max-width: 12ch;
}
:is(body.home-v2, .home-page) .hp-hero-copy h1 br {
  display: block;
}

:is(body.home-v2, .home-page) .hp-hero-copy .hp-lead {
  margin: 0 0 28px;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #d5e3f0;
  font-weight: 400;
}

:is(body.home-v2, .home-page) .hp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}

:is(body.home-v2, .home-page) .hp-hero .hp-btn {
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 11px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

:is(body.home-v2, .home-page) .hp-hero .hp-btn-primary {
  background: linear-gradient(180deg, #3b8eef 0%, #1e6fd0 100%);
  border-color: transparent;
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.2) inset,
    0 10px 28px rgba(30, 111, 208, 0.38);
}
:is(body.home-v2, .home-page) .hp-hero .hp-btn-primary:hover {
  background: linear-gradient(180deg, #4a9af5 0%, #1a64be 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 14px 32px rgba(30, 111, 208, 0.45);
}

:is(body.home-v2, .home-page) .hp-btn-shine {
  position: relative;
  overflow: hidden;
}
:is(body.home-v2, .home-page) .hp-btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}
:is(body.home-v2, .home-page) .hp-btn-shine:hover::after {
  left: 120%;
}

:is(body.home-v2, .home-page) .hp-hero .hp-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
  backdrop-filter: blur(8px);
}
:is(body.home-v2, .home-page) .hp-hero .hp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

:is(body.home-v2, .home-page) .hp-hero-trust {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #c5d9ea;
  line-height: 1.5;
}

:is(body.home-v2, .home-page) .hp-hero-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 2px 4px rgba(0, 0, 0, 0.06),
    0 24px 56px rgba(2, 18, 32, 0.42);
  color: var(--hp-text);
  animation: hp-rise 0.9s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

:is(body.home-v2, .home-page) .hp-hero-card-ribbon {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: linear-gradient(90deg, #0b3d5c 0%, #1e5a9c 100%);
  color: #e8f4ff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
:is(body.home-v2, .home-page) .hp-hero-card-ribbon i {
  color: var(--hp-accent);
  font-size: 1rem;
}

:is(body.home-v2, .home-page) .hp-hero-card-body {
  padding: 20px 20px 18px;
}

:is(body.home-v2, .home-page) .hp-hero-card-head {
  margin-bottom: 14px;
}

:is(body.home-v2, .home-page) .hp-hero-card h2 {
  margin: 0 0 4px;
  font-family: var(--hp-font);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--hp-primary-dark);
}

:is(body.home-v2, .home-page) .hp-card-sub {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: #64748b;
}

:is(body.home-v2, .home-page) .hp-request-form {
  display: grid;
  gap: 11px;
}

:is(body.home-v2, .home-page) .hp-request-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

:is(body.home-v2, .home-page) .hp-hero-card .hp-field label {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 600;
}

:is(body.home-v2, .home-page) .hp-hero-card .hp-field :is(select, input) {
  min-height: 44px;
  padding: 9px 12px;
  font-size: 0.9rem;
  border-radius: 10px;
  background: #f4f7fb;
  border: 1px solid #d5dee9;
  font-family: var(--hp-font);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
:is(body.home-v2, .home-page) .hp-hero-card .hp-field :is(select, input):hover {
  border-color: #b6c7da;
}
:is(body.home-v2, .home-page) .hp-hero-card .hp-field :is(select, input):focus {
  background: #fff;
  border-color: #1e5a9c;
  box-shadow: 0 0 0 3px rgba(30, 90, 156, 0.18);
}

:is(body.home-v2, .home-page) .hp-hero-card .hp-btn-block {
  margin-top: 6px;
  min-height: 48px;
  font-family: var(--hp-font);
  font-weight: 700;
  background: linear-gradient(180deg, #1e5a9c 0%, #0b3d5c 100%);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(11, 61, 92, 0.28);
}
:is(body.home-v2, .home-page) .hp-hero-card .hp-btn-block:hover {
  background: linear-gradient(180deg, #2566ad 0%, #0e4a6e 100%);
  color: #fff;
  transform: translateY(-1px);
}

/* Search — overlaps hero slightly for continuity */
:is(body.home-v2, .home-page) .hp-search {
  padding: 0 0 40px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

:is(body.home-v2, .home-page) .hp-search-form {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  padding: 20px;
  box-shadow: var(--hp-shadow);
}

:is(body.home-v2, .home-page) .hp-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  align-items: end;
}

:is(body.home-v2, .home-page) .hp-search-submit {
  min-width: 160px;
}

/* Stats */
:is(body.home-v2, .home-page) .hp-trust-strip {
  padding: 28px 0;
  background: var(--hp-surface);
  border-block: 1px solid var(--hp-border);
}

:is(body.home-v2, .home-page) .hp-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

:is(body.home-v2, .home-page) .hp-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 92px;
  padding: 16px;
  background: var(--hp-bg);
  border: 1px solid var(--hp-border);
  border-radius: 12px;
}

:is(body.home-v2, .home-page) .hp-stat-icon {
  color: var(--hp-primary);
  font-size: 1.2rem;
  margin-bottom: 2px;
}

:is(body.home-v2, .home-page) .hp-stats strong {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--hp-primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

:is(body.home-v2, .home-page) .hp-stats span:last-child {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: var(--hp-muted);
  font-weight: 500;
}

/* Services */
:is(body.home-v2, .home-page) .hp-services {
  background: var(--hp-bg);
}

:is(body.home-v2, .home-page) .hp-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

:is(body.home-v2, .home-page) .hp-service-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--hp-ease), box-shadow var(--hp-ease);
  min-height: 100%;
}

:is(body.home-v2, .home-page) .hp-service-card:hover {
  border-color: #c5d7ea;
  box-shadow: var(--hp-shadow-sm);
}

:is(body.home-v2, .home-page) .hp-service-card > i {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef4fb;
  color: var(--hp-primary);
  font-size: 1.25rem;
}

:is(body.home-v2, .home-page) .hp-service-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--hp-primary-dark);
}

:is(body.home-v2, .home-page) .hp-service-card p {
  margin: 0;
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--hp-muted);
}

:is(body.home-v2, .home-page) .hp-service-card > span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hp-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Translators */
:is(body.home-v2, .home-page) .hp-translators {
  background: var(--hp-surface);
}

:is(body.home-v2, .home-page) .hp-translator-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

:is(body.home-v2, .home-page) .hp-tcard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  background: var(--hp-bg);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
}

:is(body.home-v2, .home-page) .hp-tcard-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

:is(body.home-v2, .home-page) .hp-tcard-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--hp-border);
  background: #dbe7f3;
  flex-shrink: 0;
}

:is(body.home-v2, .home-page) .hp-tcard-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--hp-primary-dark);
  font-size: 1rem;
}

:is(body.home-v2, .home-page) .hp-tcard h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--hp-primary-dark);
}

:is(body.home-v2, .home-page) .hp-tcard h3 a {
  color: inherit;
  text-decoration: none;
}

:is(body.home-v2, .home-page) .hp-tcard h3 a:hover {
  color: var(--hp-primary);
}

:is(body.home-v2, .home-page) .hp-badge-ok {
  color: var(--hp-success);
  font-size: 1rem;
  margin-left: 4px;
  vertical-align: middle;
}

:is(body.home-v2, .home-page) .hp-tcard-loc {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--hp-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

:is(body.home-v2, .home-page) .hp-tcard-langs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

:is(body.home-v2, .home-page) .hp-tcard-langs li {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: #eef4fb;
  color: var(--hp-primary);
}

:is(body.home-v2, .home-page) .hp-tcard-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

:is(body.home-v2, .home-page) .hp-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--hp-muted);
}

:is(body.home-v2, .home-page) .hp-tcard-actions {
  margin-top: auto;
  padding-top: 4px;
}

/* How it works */
:is(body.home-v2, .home-page) .hp-how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

:is(body.home-v2, .home-page) .hp-how-steps li {
  position: relative;
  padding: 18px 16px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
}

:is(body.home-v2, .home-page) .hp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--hp-primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
}

:is(body.home-v2, .home-page) .hp-how-steps i {
  display: block;
  margin-bottom: 8px;
  color: var(--hp-primary);
  font-size: 1.2rem;
}

:is(body.home-v2, .home-page) .hp-how-steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--hp-primary-dark);
}

:is(body.home-v2, .home-page) .hp-how-steps p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--hp-muted);
}

/* Verify */
:is(body.home-v2, .home-page) .hp-verify {
  padding: 64px 0;
  background: linear-gradient(135deg, #0b3d5c 0%, #134a6e 55%, #1a5278 100%);
  color: #e8eef4;
}

:is(body.home-v2, .home-page) .hp-verify-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 36px;
  align-items: center;
}

:is(body.home-v2, .home-page) .hp-verify h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

:is(body.home-v2, .home-page) .hp-verify p {
  margin: 0 0 20px;
  max-width: 36rem;
  line-height: 1.6;
  color: #e2eaf3;
}

:is(body.home-v2, .home-page) .hp-verify .hp-btn-primary {
  background: #2b7de0;
  border-color: #2b7de0;
}

:is(body.home-v2, .home-page) .hp-verify .hp-btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
:is(body.home-v2, .home-page) .hp-verify .hp-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

:is(body.home-v2, .home-page) .hp-verify-card {
  display: flex;
  justify-content: flex-end;
}

:is(body.home-v2, .home-page) .hp-verify-mock {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  color: #1e293b;
}

:is(body.home-v2, .home-page) .hp-verify-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #0b3d5c;
  color: #fff;
}

:is(body.home-v2, .home-page) .hp-verify-mock-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
:is(body.home-v2, .home-page) .hp-verify-mock-brand i {
  font-size: 16px;
  color: #7dd3fc;
}

:is(body.home-v2, .home-page) .hp-verify-mock-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

:is(body.home-v2, .home-page) .hp-verify-mock-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  padding: 16px;
  align-items: start;
}

:is(body.home-v2, .home-page) .hp-verify-mock-label {
  display: block;
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

:is(body.home-v2, .home-page) .hp-verify-mock-code {
  display: block;
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #0b3d5c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

:is(body.home-v2, .home-page) .hp-verify-mock-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
:is(body.home-v2, .home-page) .hp-verify-mock-rows li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.35;
  padding-bottom: 6px;
  border-bottom: 1px solid #eef2f7;
}
:is(body.home-v2, .home-page) .hp-verify-mock-rows li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
:is(body.home-v2, .home-page) .hp-verify-mock-rows span {
  color: #64748b;
  font-weight: 500;
}
:is(body.home-v2, .home-page) .hp-verify-mock-rows em {
  font-style: normal;
  font-weight: 700;
  color: #1e293b;
  text-align: right;
}

:is(body.home-v2, .home-page) .hp-verify-mock-qr {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  border: 1px solid #d8e0ea;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b3d5c;
  flex-shrink: 0;
}
:is(body.home-v2, .home-page) .hp-verify-mock-qr i {
  font-size: 52px;
  line-height: 1;
}

:is(body.home-v2, .home-page) .hp-verify-mock-foot {
  padding: 10px 16px;
  border-top: 1px solid #e8eef4;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  text-align: center;
}

/* Cities */
:is(body.home-v2, .home-page) .hp-city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

:is(body.home-v2, .home-page) .hp-city-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--hp-ease), box-shadow var(--hp-ease);
}

:is(body.home-v2, .home-page) .hp-city-card:hover {
  border-color: #c5d7ea;
  box-shadow: var(--hp-shadow-sm);
}

:is(body.home-v2, .home-page) .hp-city-card strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--hp-primary-dark);
}

:is(body.home-v2, .home-page) .hp-city-card span {
  font-size: 0.8125rem;
  color: var(--hp-muted);
}

:is(body.home-v2, .home-page) .hp-city-card em {
  margin-top: 4px;
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hp-primary);
}

/* Trust features */
:is(body.home-v2, .home-page) .hp-feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

:is(body.home-v2, .home-page) .hp-feature-grid li {
  padding: 18px 16px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
}

:is(body.home-v2, .home-page) .hp-feature-grid i {
  display: block;
  margin-bottom: 10px;
  color: var(--hp-primary);
  font-size: 1.35rem;
}

:is(body.home-v2, .home-page) .hp-feature-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--hp-primary-dark);
}

:is(body.home-v2, .home-page) .hp-feature-grid p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--hp-muted);
}

/* FAQ */
:is(body.home-v2, .home-page) .hp-faq-narrow {
  max-width: 800px;
}

:is(body.home-v2, .home-page) .hp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

:is(body.home-v2, .home-page) .hp-faq-item {
  background: var(--hp-surface);
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  padding: 0;
}

:is(body.home-v2, .home-page) .hp-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 18px;
  font-weight: 600;
  color: var(--hp-primary-dark);
  position: relative;
  line-height: 1.4;
}

:is(body.home-v2, .home-page) .hp-faq-item summary::-webkit-details-marker { display: none; }

:is(body.home-v2, .home-page) .hp-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  color: var(--hp-primary);
  font-weight: 400;
}

:is(body.home-v2, .home-page) .hp-faq-item[open] summary::after { content: '−'; }

:is(body.home-v2, .home-page) .hp-faq-item summary:focus-visible {
  outline: none;
  box-shadow: inset var(--hp-focus);
}

:is(body.home-v2, .home-page) .hp-faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--hp-muted);
}

/* CTA */
:is(body.home-v2, .home-page) .hp-cta {
  padding: 64px 0;
  background: var(--hp-primary-dark);
  text-align: center;
  color: #fff;
}

:is(body.home-v2, .home-page) .hp-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  color: #fff;
}

:is(body.home-v2, .home-page) .hp-cta p {
  margin: 0 auto 22px;
  max-width: 36rem;
  color: #b7c9db;
  line-height: 1.6;
}

:is(body.home-v2, .home-page) .hp-cta .hp-hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

:is(body.home-v2, .home-page) .hp-cta .hp-btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

:is(body.home-v2, .home-page) .hp-cta .hp-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Footer polish on home — kurumsal koyu footer ile uyumlu */
body.home-v2 .main-footer .footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 14px 0 0;
  max-width: 300px;
}

body.home-v2 .main-footer .footer-logo img {
  max-height: 48px;
  width: auto;
}

body.home-v2 #ai-chatbot-widget {
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

/* Responsive */
@media (max-width: 1100px) {
  :is(body.home-v2, .home-page) .hp-search-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :is(body.home-v2, .home-page) .hp-search-submit {
    grid-column: 1 / -1;
    min-width: 0;
  }
  :is(body.home-v2, .home-page) .hp-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  :is(body.home-v2, .home-page) .hp-service-grid,
  :is(body.home-v2, .home-page) .hp-city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :is(body.home-v2, .home-page) .hp-translator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :is(body.home-v2, .home-page) .hp-how-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  :is(body.home-v2, .home-page) .hp-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  :is(body.home-v2, .home-page) .hp-section { padding: 56px 0; }
  :is(body.home-v2, .home-page) .hp-hero {
    min-height: 0;
    padding: 40px 0 48px;
  }
  :is(body.home-v2, .home-page) .hp-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  :is(body.home-v2, .home-page) .hp-hero-copy h1 {
    max-width: none;
  }
  :is(body.home-v2, .home-page) .hp-hero-lang,
  :is(body.home-v2, .home-page) .hp-hero-watermark,
  :is(body.home-v2, .home-page) .hp-hero-orb {
    display: none;
  }
  :is(body.home-v2, .home-page) .hp-verify-grid {
    grid-template-columns: 1fr;
  }
  :is(body.home-v2, .home-page) .hp-verify-card {
    justify-content: stretch;
  }
  :is(body.home-v2, .home-page) .hp-verify-mock {
    max-width: none;
  }
  :is(body.home-v2, .home-page) .hp-container {
    padding-inline: 20px;
  }
}

@media (max-width: 768px) {
  :is(body.home-v2, .home-page) .hp-section { padding: 44px 0; }
  :is(body.home-v2, .home-page) .hp-hero { padding: 32px 0 40px; }
  :is(body.home-v2, .home-page) .hp-request-row {
    grid-template-columns: 1fr;
  }
  :is(body.home-v2, .home-page) .hp-hero-copy h1 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
  }
  :is(body.home-v2, .home-page) .hp-hero-actions .hp-btn {
    width: 100%;
  }
  :is(body.home-v2, .home-page) .hp-search-grid,
  :is(body.home-v2, .home-page) .hp-stats,
  :is(body.home-v2, .home-page) .hp-service-grid,
  :is(body.home-v2, .home-page) .hp-translator-grid,
  :is(body.home-v2, .home-page) .hp-how-steps,
  :is(body.home-v2, .home-page) .hp-feature-grid {
    grid-template-columns: 1fr;
  }
  :is(body.home-v2, .home-page) .hp-city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :is(body.home-v2, .home-page) .hp-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  :is(body.home-v2, .home-page) .hp-container {
    padding-inline: 16px;
  }
  :is(body.home-v2, .home-page) .hp-cta .hp-hero-actions .hp-btn {
    width: 100%;
  }
}

@media (max-width: 400px) {
  :is(body.home-v2, .home-page) .hp-city-grid,
  :is(body.home-v2, .home-page) .hp-stats {
    grid-template-columns: 1fr;
  }
  :is(body.home-v2, .home-page) .hp-hero-metrics {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(body.home-v2, .home-page) *,
  :is(body.home-v2, .home-page) *::before,
  :is(body.home-v2, .home-page) *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  :is(body.home-v2, .home-page) .hp-hero-bg::before,
  :is(body.home-v2, .home-page) .hp-hero-bg::after,
  :is(body.home-v2, .home-page) .hp-hero-orb,
  :is(body.home-v2, .home-page) .hp-hero-lang,
  :is(body.home-v2, .home-page) .hp-hero-copy,
  :is(body.home-v2, .home-page) .hp-hero-card,
  :is(body.home-v2, .home-page) .hp-btn-shine::after {
    animation: none !important;
  }
}
