:root {
  --ink: #10171b;
  --ink-soft: #2b3a40;
  --paper: #f7faf8;
  --paper-deep: #e9f0ec;
  --surface: #ffffff;
  --surface-soft: #f2f6f3;
  --white: #ffffff;
  --teal: #1f8a84;
  --teal-soft: rgba(31, 138, 132, 0.11);
  --teal-dark: #14645f;
  --coral: #d95f4f;
  --yellow: #d9a441;
  --line: rgba(16, 23, 27, 0.1);
  --shadow: 0 24px 60px rgba(16, 23, 27, 0.13);
  --shadow-soft: 0 14px 34px rgba(16, 23, 27, 0.08);
  --radius: 8px;
  --nav-height: 76px;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fbfdfb 0, var(--paper) 460px, #f1f6f3 100%),
    var(--paper);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-sans);
  font-size: inherit;
  line-height: inherit;
}

:where(h1, h2, h3, h4, h5, h6, p, a, span, small, strong, em, label, legend, figcaption, dt, dd, li, button, input, textarea, select) {
  font-family: var(--font-sans);
}

::placeholder {
  font-family: var(--font-sans);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(217, 164, 65, 0.42);
  outline-offset: 4px;
}

::selection {
  background: rgba(217, 164, 65, 0.42);
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--nav-height);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 19, 22, 0.9);
  color: var(--white);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
}

.nav,
.section-inner {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.nav {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.nav-links,
.hero-actions,
.contact-details,
.footer-inner {
  display: flex;
  align-items: center;
}

.brand {
  min-width: max-content;
  gap: 12px;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-logo {
  width: 190px;
  height: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--yellow);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(217, 164, 65, 0.28);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  padding: 0;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  gap: 2px;
  justify-content: center;
  flex: 1;
}

.nav-links a,
.nav-cta {
  border-radius: var(--radius);
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.15;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-cta {
  border: 1px solid rgba(217, 164, 65, 0.6);
  color: var(--ink);
  font-weight: 800;
  background: var(--yellow);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: #e4b653;
}

.hero {
  position: relative;
  min-height: calc(86svh - var(--nav-height));
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay,
.hero-steam {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background-image: url("assets/webfejlesztes-hero.png");
  background-position: center right;
  background-size: cover;
  transform: scale(1.015);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 13, 16, 0.96) 0%, rgba(12, 18, 21, 0.86) 42%, rgba(12, 18, 21, 0.22) 78%),
    linear-gradient(180deg, rgba(9, 13, 16, 0.1), rgba(9, 13, 16, 0.5));
}

.hero-steam {
  z-index: -2;
  inset: auto 8.5% 29% auto;
  width: 118px;
  height: 164px;
  pointer-events: none;
}

.steam-wisp {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 28px;
  height: 118px;
  border-radius: 999px;
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.34) 44%, transparent 74%);
  filter: blur(7px);
  opacity: 0;
  transform: translate(-50%, 20px) scaleX(0.72) scaleY(0.65);
  animation: steam-rise 5.4s ease-in-out infinite;
}

.steam-wisp:nth-child(1) {
  margin-left: -24px;
  animation-delay: 0s;
}

.steam-wisp:nth-child(2) {
  height: 134px;
  margin-left: 5px;
  animation-delay: 1.3s;
}

.steam-wisp:nth-child(3) {
  width: 22px;
  height: 106px;
  margin-left: 30px;
  animation-delay: 2.6s;
}

@keyframes steam-rise {
  0% {
    opacity: 0;
    transform: translate(-50%, 22px) scaleX(0.66) scaleY(0.58) rotate(-6deg);
  }

  22% {
    opacity: 0.62;
  }

  62% {
    opacity: 0.42;
    transform: translate(-50%, -58px) scaleX(1.08) scaleY(1) rotate(7deg);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -104px) scaleX(1.34) scaleY(1.18) rotate(-10deg);
  }
}

.hero-inner {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
  padding: 88px 0 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero h1,
.section-heading h2,
.contact-copy h2,
.about-copy h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.hero h1 {
  max-width: 880px;
  font-size: 5.35rem;
  text-wrap: balance;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
}

.hero .eyebrow {
  color: var(--yellow);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 11px;
  font-size: 0.95rem;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  padding: 13px 18px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(217, 95, 79, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #c84f40;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin: 42px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.hero-stats div {
  min-width: 0;
  padding: 18px;
  background: rgba(11, 15, 18, 0.36);
}

.hero-stats dt {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.hero-stats dd {
  margin: 5px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
}

.intro-band {
  background: #0f171a;
  color: var(--white);
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 34px;
  align-items: center;
}

.intro-grid p {
  margin: 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.text-link {
  color: var(--yellow);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.slogan-section {
  padding: 26px 0;
  background: var(--paper);
}

.slogan-carousel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, max-content) minmax(0, 1fr) max-content;
  gap: 24px;
  align-items: center;
  border-block: 1px solid var(--line);
  padding: 22px 0;
}

.slogan-carousel .eyebrow {
  margin: 0;
  color: var(--teal-dark);
}

.slogan-track {
  position: relative;
  min-height: 1.35em;
  overflow: hidden;
}

.slogan-slide {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: 2.05rem;
  font-weight: 900;
  line-height: 1.12;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

.slogan-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.slogan-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slogan-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(21, 27, 31, 0.22);
  cursor: pointer;
  padding: 0;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.slogan-dots button:hover,
.slogan-dots button:focus-visible {
  background: var(--teal);
  transform: scale(1.18);
}

.slogan-dots button.is-active {
  background: var(--coral);
}

.section {
  padding: 92px 0;
}

.muted {
  background: var(--surface-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-heading h2,
.contact-copy h2 {
  color: var(--ink);
  font-size: 3.35rem;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow),
.contact-copy p,
.service-card p,
.work-list p,
.process-list p,
.package-card p,
.reference-card p {
  color: rgba(21, 27, 31, 0.72);
  font-size: 1.03rem;
}

.about-section {
  background:
    linear-gradient(180deg, #fbfdfb 0%, var(--paper) 100%);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.developer-portrait {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: 0 22px 52px rgba(18, 28, 32, 0.14);
  aspect-ratio: 4 / 5;
}

.developer-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: inherit;
  pointer-events: none;
}

.developer-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-copy {
  max-width: 700px;
}

.about-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 3.15rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.about-copy p {
  margin: 18px 0 0;
  color: rgba(16, 23, 27, 0.76);
  font-size: 1.06rem;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.about-points span {
  border: 1px solid rgba(31, 138, 132, 0.22);
  border-radius: var(--radius);
  background: rgba(31, 138, 132, 0.1);
  color: var(--teal-dark);
  padding: 9px 11px;
  font-size: 1.04rem;
  font-weight: 800;
}
.service-grid,
.package-grid,
.reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card,
.package-card,
.reference-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 252px;
  padding: 24px;
  border-top-width: 4px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 76px;
  background: linear-gradient(180deg, rgba(31, 138, 132, 0.07), transparent);
  pointer-events: none;
}

.accent-coral::before {
  background: linear-gradient(180deg, rgba(217, 95, 79, 0.07), transparent);
}

.accent-yellow::before {
  background: linear-gradient(180deg, rgba(217, 164, 65, 0.1), transparent);
}

.accent-ink::before {
  background: linear-gradient(180deg, rgba(21, 27, 31, 0.08), transparent);
}

.card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(18, 28, 32, 0.12);
}

.accent-teal .card-icon {
  background: var(--teal);
}

.accent-coral .card-icon {
  background: var(--coral);
}

.accent-yellow .card-icon {
  background: var(--yellow);
  color: var(--ink);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(18, 28, 32, 0.11);
}

.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card.reveal-item.is-visible:hover {
  transform: translateY(-3px);
}

.accent-teal {
  border-top-color: var(--teal);
}

.accent-coral {
  border-top-color: var(--coral);
}

.accent-yellow {
  border-top-color: var(--yellow);
}

.accent-ink {
  border-top-color: var(--ink);
}

.card-number,
.package-kicker {
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-card h3,
.work-list h3,
.process-list h3,
.package-card h3 {
  margin: 12px 0 8px;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.25;
}

.service-card h3,
.service-card p {
  position: relative;
  z-index: 1;
}

.service-card p,
.work-list p,
.process-list p,
.package-card p,
.reference-card p {
  margin: 0;
}

.work-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.work-list {
  display: grid;
  gap: 16px;
}

.work-list article {
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(18, 28, 32, 0.05);
  padding: 18px 20px;
}

.work-list h3 {
  margin-top: 0;
}

.references-section {
  background:
    linear-gradient(180deg, #fbfdfb 0%, #f1f6f3 100%);
}

.reference-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.reference-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 0;
  padding: 24px;
  border-top: 4px solid var(--teal);
  color: inherit;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.reference-card:hover,
.reference-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(18, 28, 32, 0.11);
}

.reference-card:focus-visible {
  outline: 3px solid rgba(31, 138, 132, 0.38);
  outline-offset: 4px;
}

.reference-card:nth-child(2) {
  border-top-color: var(--coral);
}

.reference-image {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.reference-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 400ms ease;
}

.reference-card:hover .reference-image img,
.reference-card:focus-visible .reference-image img {
  transform: scale(1.035);
}

.reference-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.72rem;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 7px;
}

.reference-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.reference-tags span {
  border: 1px solid rgba(31, 138, 132, 0.2);
  border-radius: var(--radius);
  background: rgba(31, 138, 132, 0.1);
  color: var(--teal-dark);
  padding: 7px 9px;
  font-size: 0.94rem;
  font-weight: 800;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.process-list li::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--teal);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(18, 28, 32, 0.12);
}

.packages {
  background:
    linear-gradient(180deg, #fbfdfb 0%, var(--paper) 100%);
}

.package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.package-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  gap: 15px;
  min-height: 500px;
  overflow: hidden;
  padding: 28px;
  border-top: 0;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.package-card::after {
  content: "";
  position: absolute;
  inset: auto 26px 76px;
  height: 1px;
  background: rgba(21, 27, 31, 0.1);
}

.package-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--teal);
}

.package-card.featured {
  background: var(--ink);
  border-color: rgba(21, 27, 31, 0.16);
  color: var(--white);
  box-shadow: 0 22px 54px rgba(18, 28, 32, 0.2);
  transform: translateY(-8px);
}

.package-card.featured::after {
  background: rgba(255, 255, 255, 0.16);
}

.package-card:not(.featured):hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(18, 28, 32, 0.11);
}

.package-card.featured::before {
  background: var(--yellow);
}

.package-card h3 {
  margin: 0;
  font-size: 1.54rem;
  line-height: 1.12;
}

.package-price {
  margin: 0;
  color: var(--ink);
  font-size: 2.28rem;
  font-weight: 900;
  line-height: 1;
}

.package-summary {
  max-width: 34ch;
}

.package-card.featured h3,
.package-card.featured .package-price {
  color: var(--white);
}

.package-card.featured .package-kicker {
  color: var(--yellow);
}

.package-card.featured p,
.package-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.package-card ul {
  display: grid;
  align-content: start;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 22px;
  color: rgba(16, 23, 27, 0.72);
  font-size: 0.98rem;
}

.package-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.package-card.featured li::before {
  background: var(--yellow);
}

.package-note {
  max-width: 860px;
  margin-top: 24px;
  border: 1px solid rgba(217, 164, 65, 0.28);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 18px 22px;
  box-shadow: 0 10px 26px rgba(18, 28, 32, 0.06);
}

.package-note h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.2;
}

.package-note p {
  margin: 0;
  color: rgba(21, 27, 31, 0.72);
  font-size: 1.06rem;
}

.package-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  align-self: end;
  border: 1px solid rgba(21, 27, 31, 0.14);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  font-weight: 900;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.package-link:hover,
.package-link:focus-visible {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.package-link-primary {
  border-color: transparent;
  background: var(--yellow);
  color: var(--ink);
}

.package-link-primary:hover,
.package-link-primary:focus-visible {
  background: #e5b856;
}

.contact-section {
  padding: 92px 0;
  background:
    linear-gradient(135deg, #0f171a 0%, #182729 100%);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy p {
  max-width: 640px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
}

.contact-details {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  margin-top: 30px;
}

.contact-details a {
  color: var(--yellow);
  font-size: 1.12rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.16);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink-soft);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 23, 27, 0.14);
  border-radius: var(--radius);
  background: #f7faf8;
  color: var(--ink);
  padding: 13px 14px;
  outline: 0;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31, 138, 132, 0.14);
}

.contact-form .button {
  width: 100%;
}

.contact-form .button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--teal-dark);
  font-weight: 800;
}

.form-status.is-success {
  color: var(--teal-dark);
}

.form-status.is-error {
  color: var(--coral);
}

.form-result-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(180deg, #fbfdfb 0, var(--paper) 420px),
    var(--paper);
}

.form-result {
  width: min(680px, 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(28px, 6vw, 54px);
  box-shadow: var(--shadow-soft);
}

.form-result h1 {
  margin: 0;
  color: var(--ink);
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
  hyphens: auto;
  overflow-wrap: anywhere;
}

.form-result p:not(.eyebrow) {
  margin: 18px 0 28px;
  color: rgba(21, 27, 31, 0.72);
  font-size: 1.1rem;
}

.form-result-error {
  border-color: rgba(217, 95, 79, 0.34);
}

.form-result-success {
  border-color: rgba(31, 138, 132, 0.28);
}

.site-footer {
  background: #0f171a;
  color: rgba(255, 255, 255, 0.72);
  padding: 34px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-logo {
  display: inline-flex;
  width: 210px;
  max-width: 100%;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-brand p {
  margin: 0;
  font-size: 1.04rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
  max-width: 720px;
}

.footer-links a {
  color: var(--white);
  font-size: 1.06rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--yellow);
}

@media (max-width: 1180px) {
  .nav,
  .section-inner,
  .hero-inner {
    width: min(100% - 48px, 1180px);
  }

  .hero h1 {
    font-size: 4.65rem;
  }

  .section-heading h2,
  .contact-copy h2 {
    font-size: 3.05rem;
  }

  .about-copy h2 {
    font-size: 2.85rem;
  }
}

@media (max-width: 1080px) {
  .nav {
    gap: 14px;
  }

  .nav-links a,
  .nav-cta {
    padding: 10px;
    font-size: 0.94rem;
  }
}

@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 10px 0;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand span:last-child {
    max-width: 210px;
    overflow-wrap: anywhere;
  }

  .brand-logo {
    width: 186px;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
    order: 3;
    flex: 0 0 100%;
    grid-template-columns: 1fr;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 2px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    padding: 8px;
    overflow-x: visible;
  }

  .site-header.nav-open .nav-links {
    display: grid;
  }

  .nav-links a {
    min-width: 0;
    width: 100%;
    padding: 13px 12px;
    font-size: 1.08rem;
  }

  .hero {
    min-height: calc(86svh - var(--nav-height));
  }

  .hero h1 {
    font-size: 3.65rem;
  }

  .hero-copy {
    font-size: 1.08rem;
  }

  .hero-steam {
    right: 6.5%;
    bottom: 30%;
    transform: scale(0.82);
    transform-origin: bottom center;
  }

  .slogan-slide {
    font-size: 1.65rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(10, 14, 17, 0.94) 0%, rgba(13, 18, 21, 0.86) 52%, rgba(13, 18, 21, 0.42) 100%),
      linear-gradient(180deg, rgba(10, 14, 17, 0.08), rgba(10, 14, 17, 0.56));
  }

  .service-grid,
  .process-list,
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .package-grid {
    grid-template-columns: 1fr;
  }

  .package-card.featured {
    transform: none;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-height: 66px;
  }

  body {
    font-size: 16px;
  }

  .nav,
  .section-inner,
  .hero-inner {
    width: min(100% - 28px, 1120px);
  }

  .nav {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 10px 0;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand span:last-child {
    max-width: 210px;
    overflow-wrap: anywhere;
  }

  .brand-logo {
    width: 176px;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
    flex: 0 0 100%;
    grid-template-columns: 1fr;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 2px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    padding: 8px;
    overflow-x: visible;
  }

  .site-header.nav-open .nav-links {
    display: grid;
  }

  .nav-links a {
    min-width: 0;
    width: 100%;
    padding: 13px 12px;
    font-size: 1.08rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    background-position: 64% center;
  }

  .hero-steam {
    display: none;
  }

  .hero-inner {
    padding: 44px 0 36px;
  }

  .hero h1 {
    font-size: 2.68rem;
  }

  .hero-copy {
    margin-top: 18px;
    font-size: 1rem;
  }

  .slogan-slide {
    font-size: 1.35rem;
  }

  .button {
    width: 100%;
    min-width: 0;
    text-align: center;
    white-space: normal;
  }

  .hero-stats,
  .intro-grid,
  .slogan-carousel,
  .service-grid,
  .process-list,
  .reference-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-top: 28px;
  }

  .hero-stats div {
    padding: 15px;
  }

  .intro-grid {
    gap: 16px;
  }

  .slogan-section {
    padding: 22px 0;
  }

  .slogan-carousel {
    gap: 14px;
    padding: 20px 0;
  }

  .slogan-track {
    min-height: 3.2em;
  }

  .slogan-dots {
    justify-content: flex-start;
  }

  .section {
    padding: 54px 0;
  }

  .contact-section {
    padding: 60px 0;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .developer-portrait {
    width: min(100%, 360px);
    justify-self: center;
  }

  .section-heading h2,
  .contact-copy h2,
  .about-copy h2 {
    font-size: 2.15rem;
  }

  .package-price {
    font-size: 2rem;
  }

  .about-copy p,
  .contact-copy p {
    font-size: 1.05rem;
  }

  .service-card,
  .process-list li {
    min-height: auto;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 420px) {
  .nav,
  .section-inner,
  .hero-inner {
    width: min(100% - 24px, 1120px);
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    max-width: 180px;
  }

  .brand-logo {
    width: 150px;
  }

  .hero h1 {
    font-size: 2.12rem;
  }

  .section-heading h2,
  .contact-copy h2,
  .about-copy h2 {
    font-size: 1.95rem;
  }

  .slogan-slide {
    font-size: 1.18rem;
  }

  .service-card,
  .package-card,
  .reference-card,
  .contact-form {
    padding: 20px;
  }

  .package-card {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .steam-wisp {
    animation: none;
    opacity: 0.18;
    transform: translate(-50%, -28px) scaleX(0.9) scaleY(0.86);
  }
}
