.epoksera-diy-section {
  --bg: #faf6f0;
  --bg-alt: #f1ebe0;
  --bg-deep: #1a3548;
  --bg-deep-2: #244558;
  --ink: #1a3548;
  --ink-soft: #3d5668;
  --muted: #7a8693;
  --line: rgba(26, 53, 72, 0.12);
  --line-soft: rgba(26, 53, 72, 0.08);
  --accent: #d4894a;
  --accent-deep: #b86d2f;
  --accent-soft: #f0d4b5;
  --paper: #ffffff;
  --gold: #f0c896;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  position: relative;
  padding: clamp(48px, 8vw, 120px) clamp(16px, 5vw, 64px);
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.epoksera-diy-section *,
.epoksera-diy-section *::before,
.epoksera-diy-section *::after {
  box-sizing: border-box;
}

.epoksera-diy-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(212, 137, 74, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(26, 53, 72, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.epoksera-diy-container {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.epoksera-eyebrow-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.epoksera-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 14px);
  padding: 8px clamp(16px, 2vw, 20px);
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  font-family: "Inter", sans-serif;
  font-size: clamp(11px, 1.2vw, 12px);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.epoksera-eyebrow .num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  font-size: clamp(11px, 1.3vw, 13px);
  text-transform: none;
}

.epoksera-eyebrow .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.epoksera-diy-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}

.epoksera-diy-col-left,
.epoksera-diy-col-right {
  display: flex;
  flex-direction: column;
}

.epoksera-diy-headline {
  font-family: "Fraunces", serif;
  font-weight: 400;
  font-size: clamp(32px, 5.2vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0 0 clamp(20px, 3vw, 32px);
}

.epoksera-diy-headline .quote-mark {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.epoksera-diy-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent-deep);
}

.epoksera-diy-lead {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 540px;
  margin: 0 0 clamp(28px, 3.5vw, 40px);
  font-weight: 400;
}

.epoksera-feature-list {
  list-style: none;
  margin: 0 0 clamp(28px, 3.5vw, 40px);
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 8px clamp(18px, 2.5vw, 24px);
  box-shadow: 0 1px 3px rgba(26, 53, 72, 0.04);
}

.epoksera-feature-list li {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 18px);
  padding: clamp(14px, 1.8vw, 18px) 4px;
  border-bottom: 1px solid var(--line-soft);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.5;
  color: var(--ink);
  transition: padding-left 0.3s ease, color 0.3s ease;
}

.epoksera-feature-list li:last-child {
  border-bottom: none;
}

.epoksera-feature-list li:hover {
  padding-left: 8px;
  color: var(--accent-deep);
}

.epoksera-feature-list .num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  width: 32px;
  height: 32px;
  background: var(--accent-soft);
  border-radius: 50%;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 14px;
  color: var(--accent-deep);
  flex-shrink: 0;
}

.epoksera-info-panel {
  position: relative;
  background: linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-deep-2) 100%);
  color: #f0e9dd;
  padding: clamp(22px, 2.5vw, 28px) clamp(24px, 3vw, 32px);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.epoksera-cta-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: clamp(28px, 3.5vw, 40px);
  flex: 1;
}

.epoksera-info-panel::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 137, 74, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.epoksera-info-panel::after {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.epoksera-info-panel .label {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.8vw, 19px);
  color: var(--gold);
  margin-bottom: 10px;
  position: relative;
}

.epoksera-info-panel p {
  font-size: clamp(14px, 1.4vw, 15px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  margin: 0;
}

.epoksera-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--accent);
  color: #fff;
  padding: clamp(16px, 1.9vw, 20px) clamp(28px, 3.2vw, 36px);
  border-radius: var(--radius-pill);
  font-family: "Inter", sans-serif;
  font-size: clamp(12px, 1.3vw, 14px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(212, 137, 74, 0.32);
  -webkit-tap-highlight-color: transparent;
}

.epoksera-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  border-radius: var(--radius-pill);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: 0;
  transform-origin: left center;
}

.epoksera-cta-btn span,
.epoksera-cta-btn svg {
  position: relative;
  z-index: 1;
}

.epoksera-cta-btn:hover {
  color: #fff;
  box-shadow: 0 8px 24px rgba(26, 53, 72, 0.25);
  transform: translateY(-2px);
}

.epoksera-cta-btn:hover::before {
  transform: scaleX(1);
}

.epoksera-cta-btn svg {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.epoksera-cta-btn:hover svg {
  transform: translateX(6px);
}

.epoksera-projects-panel {
  position: relative;
  background: linear-gradient(160deg, var(--bg-deep) 0%, var(--bg-deep-2) 100%);
  padding: clamp(22px, 3.2vw, 44px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 53, 72, 0.15);
}

.epoksera-projects-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03) 0%, transparent 30%),
    radial-gradient(ellipse at top right, rgba(212, 137, 74, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

.epoksera-projects-panel .panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: clamp(20px, 2.5vw, 28px);
  color: rgba(255,255,255,0.65);
  font-size: clamp(10px, 1.1vw, 11px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.epoksera-projects-panel .index-num {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  font-size: clamp(12px, 1.3vw, 14px);
  letter-spacing: 0.05em;
  text-transform: none;
}

.epoksera-project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.5vw, 16px);
  position: relative;
  z-index: 1;
}

.epoksera-project-card {
  background: #fff;
  padding: clamp(20px, 2.5vw, 26px) clamp(18px, 2.4vw, 24px);
  aspect-ratio: 1 / 1.05;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  -webkit-tap-highlight-color: transparent;
  color: inherit;
  text-decoration: none;
}

.epoksera-project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(180deg, var(--accent-soft) 0%, transparent 100%);
  transition: height 0.4s ease;
  z-index: 0;
}

.epoksera-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(0,0,0,0.22);
}

.epoksera-project-card:hover::before {
  height: 100%;
}

.epoksera-project-card > * {
  position: relative;
  z-index: 1;
}

.epoksera-project-card .card-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--accent-soft);
  border-radius: 50%;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  color: var(--accent-deep);
  flex-shrink: 0;
}

.epoksera-project-card .card-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 1.6vw, 20px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-top: auto;
  margin-bottom: 10px;
}

.epoksera-project-card .card-meta {
  font-family: "Fraunces", serif;
  font-size: clamp(13px, 1.3vw, 14px);
  color: var(--ink-soft);
  line-height: 1.5;
}

.epoksera-project-card .card-meta strong {
  display: block;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}

.epoksera-project-card .card-size {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-pill);
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: clamp(11px, 1.2vw, 12px);
  color: var(--accent-deep);
  transition: background 0.3s ease;
}

.epoksera-project-card:hover .card-size {
  background: #fff;
}

@media (max-width: 1024px) {
  .epoksera-diy-grid {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .epoksera-diy-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .epoksera-diy-headline,
  .epoksera-diy-lead,
  .epoksera-projects-panel {
    max-width: 700px;
  }

  .epoksera-cta-wrap {
    justify-content: flex-start;
    margin-top: 32px;
  }
}

@media (max-width: 640px) {
  .epoksera-diy-section {
    padding: 56px 16px;
  }

  .epoksera-diy-headline {
    font-size: clamp(30px, 7vw, 42px);
    line-height: 1.08;
  }

  .epoksera-feature-list {
    padding: 4px 18px;
  }

  .epoksera-feature-list li {
    font-size: 14.5px;
    gap: 14px;
    padding: 14px 4px;
  }

  .epoksera-feature-list .num-badge {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 13px;
  }

  .epoksera-info-panel {
    padding: 22px 24px;
  }

  .epoksera-projects-panel {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }

  .epoksera-projects-panel .panel-header {
    font-size: 10px;
    letter-spacing: 0.25em;
  }

  .epoksera-project-grid {
    gap: 12px;
  }

  .epoksera-project-card {
    padding: 20px 18px;
    aspect-ratio: 1 / 1.1;
  }
}

@media (max-width: 480px) {
  .epoksera-diy-section {
    padding: 48px 14px;
  }

  .epoksera-eyebrow {
    font-size: 10px;
    letter-spacing: 0.26em;
    padding: 7px 14px;
  }

  .epoksera-eyebrow .num {
    font-size: 11px;
  }

  .epoksera-diy-headline {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 18px;
  }

  .epoksera-diy-lead {
    font-size: 14.5px;
    margin-bottom: 24px;
  }

  .epoksera-feature-list {
    margin-bottom: 24px;
  }

  .epoksera-info-panel {
    padding: 20px 22px;
  }

  .epoksera-cta-wrap {
    margin-top: 28px;
  }

  .epoksera-info-panel .label {
    font-size: 16px;
  }

  .epoksera-info-panel p {
    font-size: 13.5px;
  }

  .epoksera-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 12px;
  }

  .epoksera-project-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .epoksera-project-card {
    aspect-ratio: auto;
    min-height: 0;
    padding: 22px 22px;
    flex-direction: row;
    align-items: center;
    gap: 18px;
  }

  .epoksera-project-card .card-num {
    align-self: flex-start;
  }

  .epoksera-project-card > div {
    flex: 1;
  }

  .epoksera-project-card .card-title {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 15px;
  }

  .epoksera-project-card .card-meta {
    font-size: 13px;
  }

  .epoksera-project-card .card-meta strong {
    margin-bottom: 0;
  }

  .epoksera-project-card .card-size {
    margin-top: 8px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .epoksera-diy-headline {
    font-size: 26px;
  }

  .epoksera-diy-lead {
    font-size: 14px;
  }

  .epoksera-feature-list li {
    font-size: 13.5px;
  }
}

@media (hover: none) {
  .epoksera-project-card:hover {
    transform: none;
    box-shadow: none;
  }

  .epoksera-project-card:hover::before {
    height: 0;
  }

  .epoksera-cta-btn:hover {
    transform: none;
  }

  .epoksera-cta-btn:hover::before {
    transform: scaleX(0);
  }

  .epoksera-feature-list li:hover {
    padding-left: 4px;
    color: var(--ink);
  }
}

@media (prefers-reduced-motion: reduce) {
  .epoksera-diy-section *,
  .epoksera-diy-section *::before,
  .epoksera-diy-section *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes epoksera-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.epoksera-diy-container > * {
  animation: epoksera-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.epoksera-eyebrow-wrap {
  animation-delay: 0.05s;
}

.epoksera-diy-grid > div:first-child > * {
  animation: epoksera-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.epoksera-diy-headline { animation-delay: 0.15s; }
.epoksera-diy-lead { animation-delay: 0.22s; }
.epoksera-feature-list { animation-delay: 0.3s; }
.epoksera-info-panel { animation-delay: 0.38s; }
.epoksera-projects-panel { animation: epoksera-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both; }
.epoksera-project-card { animation: epoksera-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.epoksera-project-card:nth-child(1) { animation-delay: 0.5s; }
.epoksera-project-card:nth-child(2) { animation-delay: 0.6s; }
.epoksera-project-card:nth-child(3) { animation-delay: 0.7s; }
.epoksera-project-card:nth-child(4) { animation-delay: 0.8s; }
.epoksera-cta-wrap { animation: epoksera-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.85s both; }
