:root {
  --font-display: "Fraunces", serif;
  --font-body: "Sora", "Noto Sans SC", sans-serif;
  --bg: #f8f2e8;
  --ink: #231c18;
  --ink-soft: #4c4038;
  --surface: rgba(255, 248, 238, 0.86);
  --border: rgba(48, 33, 22, 0.14);
  --accent: #c24d1f;
  --accent-ink: #ffffff;
  --shadow: 0 20px 40px rgba(35, 20, 10, 0.16);
}

html[data-brand="photomakam"] {
  --accent: #8a3218;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(194, 77, 31, 0.16), transparent 34%),
    radial-gradient(circle at 88% 88%, rgba(145, 83, 47, 0.15), transparent 28%),
    var(--bg);
  line-height: 1.5;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.44;
  pointer-events: none;
}

.ambient-top {
  top: -13rem;
  right: -8rem;
  background: #f1af86;
}

.ambient-bottom {
  bottom: -15rem;
  left: -12rem;
  background: #ddb588;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  padding-bottom: 2.5rem;
  background:
    linear-gradient(118deg, rgba(23, 16, 10, 0.82), rgba(59, 34, 19, 0.58)),
    url("../img/header-bg.jpg") center / cover no-repeat;
  color: #fff4ed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 219, 186, 0.18), transparent 28%),
    linear-gradient(to bottom, rgba(18, 11, 6, 0.24), rgba(22, 12, 7, 0.6));
}

.nav-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem 0;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand img {
  width: 52px;
  height: 52px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-domain {
  font-size: 0.75rem;
  color: rgba(255, 233, 219, 0.86);
}

.top-nav {
  display: flex;
  gap: 1.1rem;
}

.top-nav a {
  color: #ffe8d8;
  text-decoration: none;
  font-weight: 500;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: rgba(255, 240, 229, 0.95);
}

.language-switcher button {
  border: 1px solid rgba(255, 236, 221, 0.45);
  background: rgba(255, 242, 232, 0.06);
  color: #ffe9db;
  border-radius: 999px;
  padding: 0.24rem 0.55rem;
  cursor: pointer;
}

.language-switcher button.is-active {
  background: #ffe9db;
  color: #391d10;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(2.4rem, 6.5vw, 5.8rem) 0 2rem;
  max-width: 42rem;
  animation: rise 650ms ease-out both;
}

.hero-eyebrow {
  margin: 0;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #ffd7bd;
}

.hero h1 {
  margin: 0.9rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 4rem);
  line-height: 1.06;
}

.hero-description {
  margin: 1rem 0 0;
  max-width: 36rem;
  color: #ffe1cf;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  padding: 0.72rem 1.15rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 26px rgba(105, 39, 10, 0.34);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--ink);
  background: rgba(255, 248, 239, 0.72);
}

.section {
  padding: clamp(2.8rem, 7vw, 5rem) 0;
}

.section h2 {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.4rem);
}

.section-soft {
  background:
    linear-gradient(to bottom, rgba(255, 248, 240, 0.6), rgba(249, 239, 228, 0.9)),
    repeating-linear-gradient(
      45deg,
      rgba(194, 138, 87, 0.06),
      rgba(194, 138, 87, 0.06) 12px,
      rgba(255, 245, 232, 0.08) 12px,
      rgba(255, 245, 232, 0.08) 24px
    );
}

.cards {
  display: grid;
  gap: 1rem;
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.card img {
  width: 38px;
  height: 38px;
}

.card h3 {
  margin: 0.72rem 0 0.38rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.quality-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.72rem;
}

.quality-list li {
  display: flex;
  align-items: center;
  gap: 0.64rem;
  padding: 0.9rem;
  background: rgba(255, 248, 240, 0.76);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.quality-list img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.72rem;
  counter-reset: flow;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 248, 240, 0.72);
}

.steps li::before {
  counter-increment: flow;
  content: counter(flow);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(194, 77, 31, 0.16);
  color: #7f3214;
  font-weight: 700;
  flex-shrink: 0;
}

.contact {
  background: linear-gradient(to right, rgba(255, 246, 236, 0.95), rgba(255, 238, 218, 0.84));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

.contact-grid p {
  color: var(--ink-soft);
}

.contact-actions {
  display: grid;
  gap: 0.62rem;
  justify-items: start;
}

.contact-meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0.45rem 0 0;
}

.site-footer {
  padding: 1.2rem 0 2rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.top-nav a:focus-visible,
.btn:focus-visible,
.language-switcher button:focus-visible {
  outline: 3px solid rgba(255, 214, 180, 0.95);
  outline-offset: 2px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .top-nav {
    display: none;
  }

  .three-up {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .language-switcher {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    min-height: 74vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
