:root {
  --accent: #5d99c6;
  --accent-dark: #3d7aa8;
  --accent-soft: rgba(93, 153, 198, 0.14);
  --ink: #1a2229;
  --ink-soft: #5a6670;
  --paper: #f4f7fa;
  --white: #ffffff;
  --steel: #0e1419;
  --steel-mid: #1c2730;
  --header-height: 78px;
  --radius: 2px;
  --font-display: "Manrope", sans-serif;
  --font-body: "Manrope", sans-serif;
  --shadow: 0 18px 40px rgba(14, 20, 25, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-wrap {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

/* Top centered header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--white);
  border-bottom: 1px solid rgba(26, 34, 41, 0.08);
}

.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-height);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
}

.header-logo {
  justify-self: start;
  display: block;
  width: min(150px, 38vw);
}

.header-logo img {
  width: 100%;
  height: auto;
}

.header-nav {
  justify-self: center;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.75rem;
  min-height: 2.5rem;
}

.header-nav > a,
.header-nav .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}

.header-nav > a:hover,
.header-nav > a.is-active,
.header-nav .nav-dropdown-toggle:hover,
.header-nav .nav-dropdown-toggle.is-active,
.header-nav .nav-dropdown.is-open .nav-dropdown-toggle,
.header-nav .nav-dropdown.is-current .nav-dropdown-toggle {
  color: var(--ink);
}

.header-nav > a.is-active,
.header-nav .nav-dropdown-toggle.is-active,
.header-nav .nav-dropdown.is-current .nav-dropdown-toggle {
  color: var(--accent-dark);
  font-weight: 700;
}

.header-nav .nav-dropdown-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
}

.nav-dropdown-menu a.is-active {
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.header-generator-btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.header-generator-btn:hover,
.header-generator-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 0.25rem;
}

.nav-dropdown-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.nav-dropdown-caret::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.25s var(--ease);
}

.nav-dropdown.is-open .nav-dropdown-caret::after,
.nav-dropdown:hover .nav-dropdown-caret::after {
  transform: rotate(225deg) translateY(-1px);
}

.nav-dropdown:hover .nav-dropdown-caret,
.nav-dropdown.is-open .nav-dropdown-caret {
  color: var(--ink);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 250px;
  padding-top: 0.65rem; /* stays hoverable while moving mouse down */
  background: transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s var(--ease), visibility 0.15s;
  z-index: 130;
}

.nav-dropdown-panel {
  padding: 0.4rem;
  background: var(--white);
  border: 1px solid rgba(26, 34, 41, 0.08);
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 0.85rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav-dropdown-menu a:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.video-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  max-width: 900px;
  margin: 0 auto;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  background:
    linear-gradient(135deg, rgba(93, 153, 198, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  padding: 2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.generator-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.generator-cta-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid rgba(26, 34, 41, 0.08);
  box-shadow: 0 10px 28px rgba(14, 20, 25, 0.06);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.generator-cta-card:hover {
  transform: translateY(-2px);
  border-color: rgba(93, 153, 198, 0.45);
}

.generator-cta-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.header-nav-contact {
  display: none;
}

.header-contact {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.header-contact a,
.header-nav-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.header-contact a svg,
.header-nav-contact a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-contact a:hover,
.header-nav-contact a:hover {
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: var(--steel);
  color: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 120;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-overlay {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  padding: 0 clamp(0.25rem, 1vw, 0.85rem) 0;
  background: var(--paper);
  color: var(--white);
}

.hero + .section {
  padding-top: 2rem;
}

.hero-frame {
  position: relative;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  min-height: min(78vh, 720px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--steel);
}

.hero-media {
  position: relative;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  background: #0e1419;
  align-self: stretch;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 55%, rgba(14, 20, 25, 0.55)),
    linear-gradient(180deg, rgba(14, 20, 25, 0.2), transparent 35%, rgba(14, 20, 25, 0.35));
}

.hero-media .hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
  filter: brightness(0.72) saturate(0.95);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.15rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  background:
    radial-gradient(circle at 85% 15%, rgba(93, 153, 198, 0.28), transparent 42%),
    linear-gradient(145deg, #121a21 0%, #0e1419 55%, #16232d 100%);
}

.hero-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(12px);
  animation: hero-rise 0.7s var(--ease) 0.1s forwards;
}

.hero-heading {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(16px);
  animation: hero-rise 0.8s var(--ease) 0.22s forwards;
}

.hero-heading-static {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.52em;
  letter-spacing: 0.02em;
}

.hero-rotator {
  display: grid;
  overflow: hidden;
}

.hero-word {
  grid-area: 1 / 1;
  display: block;
  white-space: nowrap;
  color: var(--white);
  opacity: 0;
  visibility: hidden;
  transform: translateY(110%);
  transition:
    opacity 0.45s var(--ease),
    transform 0.55s var(--ease),
    visibility 0s linear 0.45s;
}

.hero-word.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.45s var(--ease),
    transform 0.55s var(--ease),
    visibility 0s;
}

.hero-word.is-exit {
  opacity: 0;
  visibility: visible;
  transform: translateY(-110%);
  transition:
    opacity 0.45s var(--ease),
    transform 0.55s var(--ease),
    visibility 0s linear 0.45s;
}

.hero-lead {
  margin: 0;
  max-width: 34ch;
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  opacity: 0;
  transform: translateY(14px);
  animation: hero-rise 0.75s var(--ease) 0.38s forwards;
}

.hero-copy .btn {
  margin-top: 0.35rem;
  opacity: 0;
  transform: translateY(12px);
  animation: hero-rise 0.7s var(--ease) 0.5s forwards;
}

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--steel);
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.breadcrumbs {
  background: var(--white);
  border-bottom: 1px solid rgba(26, 34, 41, 0.08);
}

.breadcrumbs-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "›";
  color: rgba(26, 34, 41, 0.35);
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--accent-dark);
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.page-hero p {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 1px solid transparent;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.86rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

/* Sections */
.section {
  padding: 4rem 1.5rem;
}

.section-narrow {
  max-width: 980px;
  margin: 0 auto;
}

.section-wide {
  max-width: 1180px;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
}

.section-lead {
  margin: 0 auto 2.5rem;
  max-width: 640px;
  text-align: center;
  color: var(--ink-soft);
}

.section-dark {
  background:
    linear-gradient(160deg, var(--steel) 0%, var(--steel-mid) 55%, #243847 100%);
  color: var(--white);
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.section-accent {
  background: var(--accent);
  color: var(--white);
}

.section-accent .section-title,
.section-accent .section-lead {
  color: var(--white);
}

.section-accent .section-lead {
  opacity: 0.9;
}

/* Cards / grids */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: var(--steel);
  color: var(--white);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
  filter: brightness(0.55);
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card-body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(14, 20, 25, 0.85), transparent 55%);
}

.service-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.service-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.process-item {
  padding: 1.25rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.process-item .step {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.process-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.process-item p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.cta-band {
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

.cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

.icon-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.icon-chip {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
}

.icon-chip svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

/* Alternating service blocks */
.alt-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.alt-block.reverse .alt-copy {
  order: 1;
}

.alt-block.reverse .alt-media {
  order: 2;
}

.alt-media {
  position: relative;
  height: 480px;
  overflow: hidden;
  background: var(--steel);
}

.alt-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.alt-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem;
  min-height: 480px;
  background: var(--accent);
  color: var(--white);
}

.alt-copy.dark {
  background: var(--steel-mid);
}

.alt-copy.deep {
  background: var(--accent-dark);
}

.alt-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.alt-copy p {
  margin: 0;
  opacity: 0.92;
}

.services-intro {
  padding: 3rem 1.5rem 1rem;
  text-align: center;
}

.services-intro h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.85rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.feature-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.1rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--accent);
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ink-soft);
}

.prose p {
  margin: 0 0 1rem;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.45rem;
}

/* About page */
.about-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.about-story-copy {
  max-width: none;
  margin: 0;
}

.about-story-copy h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  line-height: 1.15;
}

.about-story-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--steel);
}

.about-story-media > img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  filter: brightness(0.78) saturate(0.92);
}

.about-visual {
  position: absolute;
  inset: auto 1.25rem 1.25rem auto;
  width: min(42%, 200px);
  aspect-ratio: 1;
  pointer-events: none;
}

.about-visual-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 10px 24px rgba(8, 12, 16, 0.35));
}

.about-ring-a {
  transform-origin: 140px 140px;
  animation: about-spin 28s linear infinite;
}

.about-ring-b {
  transform-origin: 140px 140px;
  animation: about-spin 18s linear infinite reverse;
}

.about-gear {
  transform-origin: 140px 140px;
  animation: about-spin 12s linear infinite;
}

.about-layers path:nth-child(1) {
  animation: about-draw 2.8s var(--ease) infinite;
}

.about-layers path:nth-child(2) {
  animation: about-draw 2.8s var(--ease) 0.35s infinite;
}

.about-layers path:nth-child(3) {
  animation: about-draw 2.8s var(--ease) 0.7s infinite;
}

@keyframes about-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes about-draw {
  0%,
  100% {
    opacity: 0.35;
    stroke-dasharray: 4 40;
    stroke-dashoffset: 0;
  }
  50% {
    opacity: 1;
    stroke-dasharray: 28 16;
    stroke-dashoffset: -20;
  }
}

.about-offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-offer {
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.about-offer-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--accent);
}

.about-offer-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-offer h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
}

.about-offer p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.55;
}

.about-offer a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.about-offer a:hover {
  color: var(--white);
}

.approach-section .section-lead {
  max-width: 42rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
  position: relative;
}

.approach-card {
  position: relative;
  padding: 1.75rem 1.4rem 1.5rem;
  background:
    linear-gradient(160deg, rgba(93, 153, 198, 0.14), transparent 55%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.approach-card:hover {
  transform: translateY(-4px);
  border-color: rgba(93, 153, 198, 0.45);
  background:
    linear-gradient(160deg, rgba(93, 153, 198, 0.22), transparent 55%),
    rgba(255, 255, 255, 0.06);
}

.approach-step {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.approach-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.15rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(93, 153, 198, 0.45);
  background: rgba(93, 153, 198, 0.12);
  color: var(--accent);
}

.approach-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.approach-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.approach-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  line-height: 1.55;
}

.about-location {
  padding-top: 0;
}

.about-location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--white);
  border: 1px solid rgba(26, 34, 41, 0.08);
}

.about-location-copy {
  text-align: left;
}

.about-location-copy .section-title {
  margin: 0 0 0.5rem;
  text-align: left;
}

.about-location-copy .about-kicker {
  text-align: left;
}

.about-location-text {
  margin: 0 0 1.25rem;
  max-width: none;
  text-align: left;
  color: var(--ink-soft);
  line-height: 1.6;
}

.about-location-copy .btn {
  margin-top: 1.5rem;
}

.about-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.about-contact-list a {
  color: var(--accent-dark);
  font-weight: 600;
}

.about-contact-list a:hover {
  color: var(--ink);
}

.about-location-media {
  min-height: 280px;
  overflow: hidden;
  background: var(--steel);
}

.about-location-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

/* Portfolio */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--steel);
  cursor: zoom-in;
  border: 0;
  padding: 0;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease), filter 0.55s var(--ease);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(93, 153, 198, 0.0);
  transition: background 0.35s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.75);
}

.gallery-item:hover::after {
  background: rgba(93, 153, 198, 0.28);
}

/* Contact */
.map-wrap {
  position: relative;
  min-height: 360px;
  background: #d7dee4;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.map-card {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  max-width: 280px;
  padding: 1rem 1.1rem;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 2;
}

.map-card h2 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.map-card p {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-details h2,
.contact-form-wrap h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.contact-details ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(26, 34, 41, 0.12);
  background: var(--paper);
  color: var(--accent-dark);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item-text {
  display: block;
  min-width: 0;
}

.contact-item-text > span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(26, 34, 41, 0.25);
  background: transparent;
  padding: 0.65rem 0;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s var(--ease);
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--accent);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-alert {
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
}

.form-alert.error {
  border-left-color: #b42318;
  background: rgba(180, 35, 24, 0.08);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.values-grid h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 1rem;
}

.values-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.section-dark .values-grid p {
  color: rgba(255, 255, 255, 0.75);
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-top: 1px solid rgba(26, 34, 41, 0.08);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.site-footer p {
  margin: 0;
}

.footer-main {
  display: grid;
  gap: 0.35rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
}

.footer-links a {
  color: var(--ink-soft);
  font-weight: 600;
}

.site-footer a:hover {
  color: var(--accent-dark);
}

.legal-content .legal-updated {
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* FAQ */
.faq-section {
  background: var(--paper);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(26, 34, 41, 0.08);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-right: 2.75rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-dark);
  font-size: 1.25rem;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.25rem 1.2rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

.legal-content code {
  font-size: 0.86em;
  padding: 0.1em 0.35em;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.page-hero-compact {
  min-height: 220px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 250;
  max-width: 560px;
  margin: 0 auto;
  padding: 1.1rem 1.2rem;
  background: var(--steel);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  flex: 1 1 240px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner a:hover {
  color: var(--white);
}

.cookie-banner-accept {
  flex-shrink: 0;
  min-height: 42px;
  padding: 0.55rem 1.2rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 12, 16, 0.92);
  display: grid;
  place-items: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1100px) {
  .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
    gap: 0.65rem;
  }

  .header-actions {
    gap: 0.35rem;
  }

  .header-contact {
    display: none;
  }

  .header-generator-btn {
    min-height: 36px;
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
  }

  .menu-toggle {
    display: block;
  }

  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100vh;
    margin: 0;
    padding: 5.5rem 1.5rem 2rem;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.1rem;
    justify-self: auto;
    transform: translateX(105%);
    transition: transform 0.35s var(--ease);
    box-shadow: var(--shadow);
    z-index: 130;
    overflow-y: auto;
  }

  .header-nav.is-open {
    transform: translateX(0);
  }

  .header-nav .nav-dropdown {
    width: 100%;
    flex-wrap: wrap;
  }

  .header-nav .nav-dropdown-menu {
    position: static;
    left: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    padding: 0.35rem 0 0 0.75rem;
    display: none;
    flex-basis: 100%;
  }

  .header-nav .nav-dropdown-panel {
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .header-nav .nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header-nav .nav-dropdown-menu a {
    padding: 0.45rem 0;
  }

  .generator-cta-grid {
    grid-template-columns: 1fr;
  }

  .header-nav-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(26, 34, 41, 0.08);
    font-size: 0.88rem;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 16, 0.45);
    z-index: 100;
  }

  .nav-overlay[hidden] {
    display: none;
  }

  .alt-block,
  .alt-block.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .alt-block,
  .alt-media,
  .alt-copy {
    min-height: 280px;
  }

  .alt-media {
    height: 280px;
  }

  .alt-block.reverse .alt-copy,
  .alt-block.reverse .alt-media {
    order: initial;
  }

  .service-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-story-grid,
  .about-location-grid,
  .about-offer-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .about-story-media,
  .about-story-media > img {
    min-height: 300px;
  }

  .about-visual {
    width: min(46%, 150px);
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .map-card {
    position: static;
    max-width: none;
    margin: 1rem;
  }

  .map-wrap iframe {
    height: 300px;
  }
}

@media (max-width: 560px) {
  .process-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-main {
    justify-items: center;
  }

  .footer-links {
    justify-content: center;
  }

  .hero {
    padding: 0 0.3rem 0;
  }

  .hero-frame {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-media {
    min-height: min(48vh, 420px);
  }

  .hero-copy {
    padding: 2rem 1.35rem 2.4rem;
  }

  .hero-word {
    white-space: normal;
  }

  .hero + .section {
    padding-top: 1.5rem;
  }
}
