/* ERC Designs — white base, matte black accents */

:root {
  --white: #ffffff;
  --surface: #fafafa;
  --ink: #171717;
  --muted: #737373;
  --line: #e8e8e8;
  --black-matte: #1a1a1a;
  --black-hover: #2d2d2d;
  --radius: 12px;
  --radius-lg: 18px;
  --max: 1040px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ink);
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* ----- Logo ----- */

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-erc {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.logo-designs {
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--muted);
  margin-top: 2px;
}

@media (min-width: 480px) {
  .logo-designs {
    font-size: 0.72rem;
  }
}

/* ----- Header ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.nav-desktop a {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
}

.nav-desktop a:hover {
  color: var(--ink);
  background: var(--surface);
}

.nav-desktop a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.65rem;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--ink);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--black-matte);
  outline-offset: 2px;
}

.mobile-drawer {
  display: none;
  padding: 0.5rem 0 1rem;
  border-top: 1px solid var(--line);
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer a {
  display: block;
  padding: 0.55rem 0;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.mobile-drawer a:hover {
  color: var(--ink);
}

@media (min-width: 860px) {
  .nav-desktop,
  .header-actions {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-drawer {
    display: none !important;
  }
}

/* ----- Buttons ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.62rem 1.15rem;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--black-matte);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--black-matte);
  color: var(--white);
  border-color: var(--black-matte);
}

.btn-primary:hover {
  background: var(--black-hover);
  border-color: var(--black-hover);
}

.btn-ghost {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: #cfcfcf;
  background: var(--surface);
}

.btn-lg {
  padding: 0.78rem 1.35rem;
  font-size: 1rem;
}

/* ----- Hero & sections ----- */

.hero {
  padding: 3.25rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .hero {
    padding: 4rem 0 3.75rem;
  }
}

.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 36rem;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-row {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 16rem;
}

.trust-item svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.trust-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  background: var(--surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.05);
}

.hero-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 800;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-card li + li {
  margin-top: 0.35rem;
}

.section {
  padding: 3.25rem 0;
}

.section-muted {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-intro {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 38rem;
}

.cards {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.2rem;
  background: var(--white);
}

.card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  font-weight: 800;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.price-note {
  margin-top: 0.85rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
}

/* Pricing row: equal-height cards, matte black CTAs aligned at bottom */
.pricing-cards {
  align-items: stretch;
}

.pricing-cards > .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-cards > .card > .card-actions {
  margin-top: auto;
  padding-top: 1.25rem;
}

.btn-full {
  width: 100%;
}

.split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.25rem;
  background: var(--white);
}

.panel h3 {
  margin-top: 0;
  font-size: 1.12rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.panel ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1rem;
  background: var(--white);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: var(--black-matte);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.step strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.step span {
  font-size: 0.88rem;
  color: var(--muted);
}

.portfolio-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.port-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}

.port-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #f0f0f0, #e4e4e4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.port-body {
  padding: 1.1rem 1.15rem;
}

.port-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 800;
}

.port-body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

label {
  display: block;
  font-weight: 700;
  font-size: 0.86rem;
  margin: 0.85rem 0 0.35rem;
}

label:first-of-type {
  margin-top: 0;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.25rem 0;
  background: var(--surface);
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer-muted {
  margin-top: 0.65rem;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: 34rem;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: var(--muted);
  padding-top: 1.25rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

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

.page-head {
  padding: 2rem 0 2.5rem;
  border-bottom: 1px solid var(--line);
}

.page-head h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-head .lede {
  margin-top: 0.65rem;
}
