:root {
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.16);
  --bg: #020617;
  --bg-soft: #0f172a;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-soft: rgba(255, 255, 255, 0.11);
  --text: #f8fafc;
  --text-soft: #cbd5e1;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --brand: #ffffff;
  --brand-hover: #f8fafc;
  --ok: #bbf7d0;
  --err: #fecaca;
  --ok-bg: rgba(22, 163, 74, 0.16);
  --err-bg: rgba(220, 38, 38, 0.16);
  --ok-border: rgba(134, 239, 172, 0.5);
  --err-border: rgba(252, 165, 165, 0.5);
  --radius: 26px;
  --radius-sm: 16px;
  --shadow-sm: 0 18px 44px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 34px 90px rgba(0, 0, 0, 0.38);
  --container: 1120px;
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(37, 99, 235, 0.24), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(59, 130, 246, 0.16), transparent 30%),
    radial-gradient(circle at 75% 85%, rgba(14, 165, 233, 0.10), transparent 28%),
    linear-gradient(135deg, #020617 0%, #07111f 48%, #0f172a 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

main {
  width: 100%;
}

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}

.narrow {
  max-width: 860px;
}

#services,
#work,
#testimonials,
#about,
#faqs,
#contact {
  scroll-margin-top: 110px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-h);
  background: rgb(2, 3, 26);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  position: relative;
   min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: auto;
  height: 60px;
  max-width: 180px;
  object-fit: contain;
}

.brand-text {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.035);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.13);
  transform: translateY(-1px);
}

.site-nav a:focus-visible,
.button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(7, 8, 22, 0.7);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  padding: 104px 0 72px;
  background:
    radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.20), transparent 34%),
    radial-gradient(circle at 82% 26%, rgba(14, 165, 233, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 8% 0 auto;
  width: 360px;
  height: 360px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.12));
  filter: blur(34px);
  border-radius: 999px;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 40px;
  align-items: start;
}

.hero-layout > * {
  min-width: 0;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #67e8f9;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.9rem, 5.4vw, 5.35rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  max-width: 11ch;
  color: #ffffff;
  text-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
}

.hero-text,
.section-intro,
.muted,
.field-help,
.privacy-note,
.quote-author {
  color: var(--text-soft);
}

.hero-text {
  max-width: 62ch;
  font-size: 1.08rem;
  margin: 0 0 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow:
    0 18px 38px rgba(37, 99, 235, 0.26),
    0 10px 26px rgba(14, 165, 233, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow:
    0 24px 48px rgba(37, 99, 235, 0.34),
    0 14px 34px rgba(14, 165, 233, 0.18);
  filter: saturate(1.08) brightness(1.05);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button-secondary:hover,
.button-secondary:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

/* Lists */
.trust-list,
.clean-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-list li {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  color: #e0f2fe;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.clean-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  transform: translateY(-50%);
}

/* Sections */
.section {
  padding: 92px 0;
}

.section-alt {
  background:
    radial-gradient(circle at 0% 100%, rgba(139, 92, 246, 0.1), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.08), transparent 30%),
    rgba(255, 255, 255, 0.015);
}

.section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  color: #ffffff;
}

.section-intro {
  margin: 0;
  max-width: 62ch;
}

/* Cards */
.card,
.info-panel,
.contact-card,
.soft-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.card {
  padding: 28px;
}

.info-panel {
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.info-panel h2,
.contact-card h3,
.soft-card h3,
.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.card-grid .card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.card-grid .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.34);
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.stat {
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(14, 165, 233, 0.11));
  border: 1px solid rgba(255, 255, 255, 0.11);
  min-width: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: #dbeafe;
  font-size: 0.92rem;
}

/* Quote */
blockquote {
  margin: 0;
  padding: 18px 0 0;
  border: 0;
  color: #ffffff;
  font-size: 1rem;
}

.quote-author {
  margin-top: 10px;
  font-size: 0.92rem;
}

/* Grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 32px;
}

.card-grid > * {
  min-width: 0;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.split > * {
  min-width: 0;
}

/* Work Section */
.section-work {
  background:
    radial-gradient(circle at 0% 100%, rgba(139, 92, 246, 0.13), transparent 32%),
    radial-gradient(circle at 100% 0%, rgba(6, 182, 212, 0.1), transparent 30%),
    rgba(255, 255, 255, 0.012);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.work-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.34);
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
}

.work-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.24), transparent 34%),
    radial-gradient(circle at 80% 30%, rgba(6, 182, 212, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(139, 92, 246, 0.24), rgba(6, 182, 212, 0.15), rgba(236, 72, 153, 0.12));
  border-bottom: 1px solid rgba(255, 255, 255, 0.105);
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-image-placeholder {
  display: grid;
  place-items: center;
}

.work-image-placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(7, 8, 22, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.work-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.work-category {
  width: fit-content;
  margin: 0;
  padding: 6px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(6, 182, 212, 0.15));
  color: #67e8f9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-content h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.work-content p {
  margin: 0;
  color: var(--text-soft);
}

.work-result {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.work-result strong {
  color: #ffffff;
}

/* Testimonials Section */
.testimonials-section {
  background:
    radial-gradient(circle at 0% 0%, rgba(6, 182, 212, 0.1), transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
  border-color: rgba(255, 255, 255, 0.105);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 86px rgba(0, 0, 0, 0.34);
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06));
}

.testimonial-card blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.65;
}

.testimonial-rating {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #67e8f9;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 18px rgba(6, 182, 212, 0.28);
}

.testimonial-author {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  gap: 2px;
}

.testimonial-author strong {
  color: #ffffff;
  font-size: 0.98rem;
}

.testimonial-author span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* FAQs Section */
.faqs-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(236, 72, 153, 0.08), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(6, 182, 212, 0.08), transparent 30%),
    rgba(255, 255, 255, 0.012);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 32px;
  max-width: 860px;
}

.faq-item {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.24);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-soft);
}

.faq-answer p {
  margin: 0;
}

.faq-item[open] {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.34);
}

.faq-item summary:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: -4px;
}

.page-hero {
  padding-bottom: 4rem;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.package-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(180px, auto) auto 1fr auto;
  gap: 1rem;
}

.package-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.package-card h2 {
  margin: 0 0 0.75rem;
  text-align: center;
}

.package-card h3 {
  margin: 0;
  font-size: 1rem;
}

.package-card p {
  margin: 0;
}

.package-for {
  text-align: left;
  margin-top: 1.1rem;
}

.package-for strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #e3e6ee;
}

.package-for p {
  margin: 0;
  color: #c3ccd8;
  line-height: 1.6;
}

.package-card .clean-list {
  margin: 0;
  padding-left: 1.2rem;
}

.package-card .clean-list li {
  margin-bottom: 0.5rem;
}

.package-card .button {
  align-self: end;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.package-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;

  margin: 0.35rem auto 0;
  padding: 0.4rem 0.8rem;

  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #67e8f9;

  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;

  box-shadow: 0 0 20px rgba(37, 99, 235, 0.18);
}

.package-price {
  color: #ffffff;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  margin: 0.25rem auto 0;
  margin-top: 1.1rem;
  font-weight: 800;
}

.addon-package-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.addon-package-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 1.25rem;
  display: grid;
  grid-template-rows: auto minmax(180px, auto) auto 1fr auto;
  gap: 0.9rem;
  overflow: hidden;
}

.addon-package-card .package-card-top {
  min-height: 170px;
  grid-row: 1;
  display: grid;
  grid-template-rows: minmax(70px, auto) auto auto;
  text-align: center;
  justify-items: center;
}

.addon-package-card .package-for {
  min-height: 190px;
  grid-row: 2;
}

.addon-package-card .package-card-top h2 {
  font-size: clamp(1.35rem, 1.6vw, 2rem);
  line-height: 1.1;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  text-align: center;
}

.addon-package-card h3 {
  margin-top: 1.25rem;
  grid-row: 3;
}

.addon-package-card .button {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  text-align: center;
}

.addon-package-card .package-status {
  margin: 0.65rem auto 1rem;
  max-width: 100%;
  white-space: normal;
}

.addon-package-card .package-price {
  font-size: 0.95rem;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

.addon-package-card p,
.addon-package-card li,
.addon-package-card strong {
  overflow-wrap: break-word;
  word-break: normal;
}

.addon-package-card .clean-list {
  padding-left: 1.1rem;
  grid-row: 4;
}

.addon-package-card .clean-list li {
  margin-bottom: 0.65rem;
  line-height: 1.5;
}

.addon-package-card .button {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  text-align: center;
  grid-row: 5;
  align-self: end;
}

.section-intro {
  margin-bottom: 2.5rem;
}

.project-card {
  overflow: hidden;
  padding: 0;
}

.project-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.project-card-body {
  padding: 1.5rem;
}

.project-card-body h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}


/* Contact Layout */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.contact-intro-block {
  grid-column: 1;
  grid-row: 1;
}

/* Form */
.contact-form {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  padding: 28px;
}

.contact-card {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.honeypot {
  position: absolute;
  left: -5000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

select {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  font: inherit;
  color: #94a3b8;
  background: rgba(7, 8, 22, 0.48);
  margin-bottom: 22px;
}

select:focus {
  outline: 3px solid rgba(37, 99, 235, 0.2);
  border-color: var(--accent);
}

.optional {
  color: #64748b;
  font-weight: 500;
}

.contact-form select option {
  background-color: rgba(7, 8, 22, 0.48);
  color: #ffffff;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

input,
textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 8, 22, 0.48);
  color: #ffffff;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input,
textarea,
button {
  appearance: none;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(103, 232, 249, 0.7);
  background: rgba(7, 8, 22, 0.72);
  box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.12);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.field-help {
  margin-top: 8px;
  font-size: 0.92rem;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.privacy-note {
  font-size: 0.92rem;
}

/* Alerts */
.alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid;
  font-size: 0.95rem;
}

.alert.ok {
  background: var(--ok-bg);
  border-color: var(--ok-border);
  color: var(--ok);
}

.alert.err {
  background: var(--err-bg);
  border-color: var(--err-border);
  color: var(--err);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: rgba(255, 255, 255, 0.03);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.site-footer p {
  margin: 0;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}

.legal-page {
  max-width: 850px;
}

.legal-page h1,
.legal-page h2 {
  margin-top: 1.5rem;
  color: #ffffff;
}

.legal-page p {
  color: #c2c4c8;
  line-height: 1.7;
}

/* Text safety */
p,
h1,
h2,
h3,
blockquote,
.site-nav a,
.privacy-note,
.field-help,
.quote-author,
.section-intro {
  overflow-wrap: break-word;
}

/* Responsive */
@media (max-width: 1100px) {
    .package-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .addon-package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .work-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .split,
  .form-row,
  .stats,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .addon-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-intro-block,
  .contact-form,
  .contact-card {
    grid-column: 1;
    grid-row: auto;
  }

    .project-grid {
    grid-template-columns: 1fr;
  }

    .package-price {
      color: #ffffff;
      text-align: center;
      font-weight: 800;
    }

     .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(280px, calc(100vw - 32px));
    padding: 14px;
    border-radius: 18px;
    background: rgba(7, 8, 22, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    z-index: 1000;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  #services,
  #work,
  #testimonials,
  #about,
  #faqs,
  #contact {
    scroll-margin-top: 140px;
  }

  .header-inner {
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 14px 18px;
  }

   .brand-logo {
    height: 60px;
    max-width: 180px;
  }

  .hero {
    padding: 56px 0 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .button-secondary {
    width: 100%;
  }

  .work-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .work-content {
    padding: 22px;
  }

  .faq-item summary {
    padding: 18px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }

    .package-grid {
    grid-template-columns: 1fr;
  }

    .addon-package-grid {
    grid-template-columns: 1fr;
  }

    .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .logo,
  .site-logo,
  .brand {
    flex-shrink: 0;
  }

  .nav-toggle {
    flex-shrink: 0;
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}