/* ============================================================
   DCNET Homepage — layout & hero console
   Buttons / header: shared styles.css (same as other pages)
   ============================================================ */

/* ----- Section primitives ----- */
.ep-section {
  padding: 6.5rem 0;
}

.ep-section--alt {
  background: var(--bg-alt);
}

.ep-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ep-label::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--ink);
}

.ep-title {
  margin: 0 0 1.1rem;
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: clamp(1.85rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--text);
}

.ep-lead {
  margin: 0;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
}

.ep-head {
  margin-bottom: 3.5rem;
  max-width: 40rem;
}

.ep-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ep-head--center .ep-lead {
  margin-inline: auto;
}

.ep-head--center .ep-label {
  justify-content: center;
}

/* ============================================================
   HERO — delivery console composition
   ============================================================ */
.ep-hero {
  position: relative;
  margin-top: var(--header-h);
  padding: 2.75rem 0 3.25rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.ep-hero-inner {
  display: grid;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .ep-hero {
    padding: 4.5rem 0 5rem;
  }

  .ep-hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 26rem);
    gap: 3.5rem;
  }
}

.ep-hero-copy {
  max-width: 34rem;
}

.ep-hero-kicker {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.ep-hero-brand {
  margin: 0 0 0.85rem;
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  color: var(--ink);
}

.ep-hero-title {
  margin: 0 0 1.25rem;
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text);
}

.ep-hero-rotate {
  position: relative;
  display: block;
  min-height: 1.55em;
  overflow: hidden;
}

.ep-hero-rotate > span {
  display: block;
  color: #3d5a80;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

.ep-hero-rotate > span.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.ep-hero-lead {
  margin: 0 0 1.85rem;
  max-width: 30rem;
  font-size: 1.02rem;
  line-height: 1.9;
  color: #5c6b7e;
}

.ep-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ----- Console (soft navy accent, not SaaS blue) ----- */
.ep-console {
  --hero-accent: #3d5a80;
  --hero-accent-soft: #eef2f7;
  --hero-accent-line: #c5d0de;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: consoleIn 0.9s var(--ease) 0.15s both;
}

.ep-console-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: #243447;
  color: rgba(255, 255, 255, 0.72);
}

.ep-console-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.ep-console-dots i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #4b5563;
}

.ep-console-dots i:nth-child(1) { background: #ff5f57; }
.ep-console-dots i:nth-child(2) { background: #febc2e; }
.ep-console-dots i:nth-child(3) { background: #28c840; }

.ep-console-title {
  font-family: Inter, "Noto Sans JP", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.ep-console-track {
  width: 4.5rem;
  height: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.ep-console-track i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: #8aa0b8;
  transform-origin: left center;
}

.ep-console.is-playing .ep-console-track i {
  animation: consoleTrack linear;
  animation-duration: var(--hero-interval, 4200ms);
}

.ep-console-body {
  display: grid;
}

@media (min-width: 520px) {
  .ep-console-body {
    grid-template-columns: 7.5rem 1fr;
    min-height: 18rem;
  }
}

.ep-console-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

@media (min-width: 520px) {
  .ep-console-steps {
    grid-template-columns: 1fr;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }
}

.ep-console-steps button {
  appearance: none;
  border: 0;
  background: transparent;
  margin: 0;
  padding: 0.85rem 0.7rem;
  text-align: left;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 520px) {
  .ep-console-steps button {
    border-bottom: 0;
    border-left: 2px solid transparent;
    padding: 1rem 0.9rem;
  }
}

.ep-console-steps button b {
  display: block;
  font-family: Inter, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.15rem;
  color: inherit;
}

.ep-console-steps button span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: inherit;
}

.ep-console-steps button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
}

.ep-console-steps button.is-active {
  color: var(--hero-accent);
  background: #fff;
  border-color: var(--hero-accent);
}

.ep-console-panels {
  position: relative;
  height: 16.5rem;
  padding: 0;
  background: #fff;
  overflow: hidden;
}

@media (min-width: 520px) {
  .ep-console-panels {
    height: 100%;
    min-height: 18rem;
  }
}

.ep-console-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1rem 1.15rem 1.1rem;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ep-console-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: panelIn 0.4s var(--ease) both;
}

.ep-console-label {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-accent);
}

.ep-console-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.ep-console-panel > p {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--muted);
}

.ep-console-checks {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ep-console-checks li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.65rem;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.ep-console-checks li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  flex: none;
}

.ep-console-checks li.is-on {
  color: var(--text);
  background: var(--hero-accent-soft);
  border-color: var(--hero-accent-line);
}

.ep-console-checks li.is-on::before {
  border-color: var(--hero-accent);
  background: var(--hero-accent);
  box-shadow: inset 0 0 0 2px var(--hero-accent-soft);
}

.ep-console-arch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.ep-console-arch span {
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.ep-console-arch span:nth-child(1) {
  background: #e8f1fc;
  color: #1d4ed8;
}

.ep-console-arch span:nth-child(3) {
  background: #f1eefc;
  color: #5b21b6;
}

.ep-console-arch span:nth-child(5) {
  background: #e6f7f5;
  color: #0f766e;
}

.ep-console-arch span:nth-child(7) {
  background: #e8f6fb;
  color: #0369a1;
}

.ep-console-arch i {
  width: 1rem;
  height: 1px;
  background: #cbd5e1;
}

.ep-console-code {
  margin: 0;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  background: #243447;
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.74rem;
  line-height: 1.65;
  overflow: hidden;
}

.ep-console-code span {
  color: #93c5fd;
}

.ep-console-panel.is-active .ep-console-code {
  animation: codeReveal 0.7s var(--ease) both;
}

.ep-console-status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ep-console-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.ep-console-pill.is-ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.ep-console-pill.is-ok::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #10b981;
}

.ep-console-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  background: #f8fafc;
}

.ep-console-foot > div {
  display: grid;
  gap: 0.15rem;
  padding: 0.95rem 0.85rem;
  text-align: center;
}

.ep-console-foot > div + div {
  border-left: 1px solid var(--line);
}

.ep-console-foot strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hero-accent);
}

.ep-console-foot span {
  font-size: 0.72rem;
  color: var(--muted);
}

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

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

@keyframes consoleTrack {
  from { width: 0%; }
  to { width: 100%; }
}

@keyframes codeReveal {
  from {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 959px) {
  .ep-hero-actions {
    flex-direction: column;
  }

  .ep-hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ep-console,
  .ep-console-panel.is-active,
  .ep-console-panel.is-active .ep-console-code,
  .ep-console.is-playing .ep-console-track i,
  .ep-hero-rotate > span {
    animation: none !important;
    transition: none !important;
  }

  .ep-hero-rotate > span {
    position: static;
    opacity: 0;
    transform: none;
  }

  .ep-hero-rotate > span.is-active {
    opacity: 1;
  }
}

/* ----- Trust ----- */
.ep-trust {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.ep-trust-label {
  margin: 0 0 1.35rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.ep-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ep-logos li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.ep-logos li i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  flex: none;
}

.ep-logos li:nth-child(7n + 1) i { background: #1d4ed8; }
.ep-logos li:nth-child(7n + 2) i { background: #5b21b6; }
.ep-logos li:nth-child(7n + 3) i { background: #0f766e; }
.ep-logos li:nth-child(7n + 4) i { background: #b45309; }
.ep-logos li:nth-child(7n + 5) i { background: #be123c; }
.ep-logos li:nth-child(7n + 6) i { background: #0369a1; }
.ep-logos li:nth-child(7n + 7) i { background: #047857; }

/* ----- Cards ----- */
.ep-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .ep-grid--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .ep-grid--2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .ep-grid--4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.ep-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.85rem 1.7rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

a.ep-card {
  color: inherit;
}

.ep-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d5d8dd;
}

.ep-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  margin-bottom: 1.35rem;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--ink);
  flex: none;
}

.ep-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* Ensure homepage color variants win over base .ep-icon */
.ep-icon.ep-icon--blue { background: #e8f1fc; color: #1d4ed8; }
.ep-icon.ep-icon--sky { background: #e8f6fb; color: #0369a1; }
.ep-icon.ep-icon--cyan { background: #e6f7f5; color: #0f766e; }
.ep-icon.ep-icon--emerald { background: #e8f7ef; color: #047857; }
.ep-icon.ep-icon--amber { background: #fff6e8; color: #b45309; }
.ep-icon.ep-icon--orange { background: #fff0e8; color: #c2410c; }
.ep-icon.ep-icon--rose { background: #fceef1; color: #be123c; }
.ep-icon.ep-icon--violet { background: #f1eefc; color: #5b21b6; }

.ep-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.ep-card p {
  margin: 0;
  font-size: 0.925rem;
  line-height: 1.85;
  color: var(--muted);
}

.ep-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}

.ep-card-link::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

.ep-card:hover .ep-card-link::after {
  transform: translateX(3px);
}

/* ----- Photo feature band ----- */
.ep-photo-band {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 900px) {
  .ep-photo-band {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 26rem;
  }
}

.ep-photo-band figure {
  margin: 0;
  min-height: 16rem;
  overflow: hidden;
  background: #1a1f26;
}

.ep-photo-band figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ep-photo-band-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.25rem 2rem;
  gap: 1rem;
}

@media (min-width: 900px) {
  .ep-photo-band-body {
    padding: 3rem 2.75rem;
  }
}

.ep-photo-band-body h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.4;
}

.ep-photo-band-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

/* ----- Stats ----- */
.ep-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .ep-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.ep-stat {
  padding: 1.65rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.ep-stat b {
  display: block;
  margin-bottom: 0.4rem;
  font-family: Inter, sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.ep-stat b small {
  font-size: 0.85rem;
  font-weight: 600;
  margin-left: 0.15rem;
  color: var(--brand);
}

.ep-stat span {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ----- Media cards ----- */
.ep-media-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

a.ep-media-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.ep-media-card figure {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}

.ep-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}

a.ep-media-card:hover img {
  transform: scale(1.04);
}

.ep-media-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.5rem 1.65rem;
}

.ep-media-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

.ep-media-body p {
  margin: 0 0 1.15rem;
  font-size: 0.925rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ----- Process ----- */
.ep-process {
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .ep-process {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.35rem;
  }
}

.ep-process li {
  counter-increment: step;
  padding: 1.75rem 1.5rem 1.65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.ep-process li::before {
  content: none;
}

.ep-process .ep-icon {
  margin-bottom: 1rem;
}

.ep-case .ep-icon {
  margin-bottom: 0.85rem;
  width: 2.35rem;
  height: 2.35rem;
}

.ep-case .ep-icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.ep-process h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.ep-process p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ----- Cases ----- */
.ep-cases {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
  .ep-cases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }
}

.ep-case {
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.ep-case h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.ep-case p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ----- Tech pills ----- */
.ep-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ep-pills li {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

/* ----- FAQ ----- */
.ep-faq {
  display: grid;
  gap: 0.85rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 48rem;
}

.ep-faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ep-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 1.4rem;
  font-weight: 600;
  color: var(--text);
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

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

.ep-faq summary::after {
  content: "+";
  font-family: Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
}

.ep-faq details[open] summary::after {
  content: "−";
}

.ep-faq details p {
  margin: 0;
  padding: 0 1.4rem 1.3rem;
  font-size: 0.925rem;
  line-height: 1.85;
  color: var(--muted);
}

/* ----- Contact CTA ----- */
.ep-cta {
  padding: 5.5rem 0;
  background: var(--ink);
  color: #fff;
}

.ep-cta .ep-label {
  color: rgba(255, 255, 255, 0.55);
}

.ep-cta .ep-label::before {
  background: rgba(255, 255, 255, 0.55);
}

.ep-cta-panel {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .ep-cta-panel {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
  }
}

.ep-cta-panel h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.4;
}

.ep-cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
}

.ep-cta-actions {
  display: grid;
  gap: 0.75rem;
}

.ep-cta-actions .btn {
  width: 100%;
}

.ep-cta-actions .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.ep-cta-actions .btn-primary:hover {
  background: #f4f5f7;
  color: var(--ink);
}

.ep-cta-phone {
  display: grid;
  gap: 0.15rem;
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: transparent;
  color: inherit;
}

.ep-cta-phone:hover {
  color: inherit;
  border-color: rgba(255, 255, 255, 0.35);
}

.ep-cta-phone strong {
  font-family: Inter, sans-serif;
  font-size: 1.15rem;
  color: #fff;
}

.ep-cta-phone span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ----- Footer ----- */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
}

.footer-grid a {
  color: var(--muted);
}

.footer-grid a:hover {
  color: var(--ink);
}

/* ----- Mobile ----- */
@media (max-width: 959px) {
  .ep-section {
    padding: 4.25rem 0;
  }

  .ep-head {
    margin-bottom: 2rem;
  }

  .ep-title {
    font-size: 1.6rem;
  }

  .ep-cta {
    padding: 3.75rem 0;
  }

  .ep-card,
  .ep-media-body,
  .ep-photo-band-body {
    padding: 1.4rem;
  }
}
