/*
Theme Name: Fenirestre Enterprise
Theme URI: https://fenirestre.com/
Author: Bartłomiej Wlazłowski
Author URI: https://fenirestre.com/
Description: Jednostronicowy motyw WordPress dla Fenirestre, zaprojektowany pod pozyskiwanie klientów enterprise w branży IT.
Version: 1.0.0
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 8.2
Text Domain: fenirestre-enterprise
*/

:root {
  --bg: #061126;
  --bg-deep: #020814;
  --surface: rgba(9, 23, 48, 0.72);
  --surface-strong: rgba(10, 28, 57, 0.9);
  --surface-soft: rgba(255, 255, 255, 0.06);
  --text: #f3f7ff;
  --muted: #aebedc;
  --line: rgba(118, 165, 255, 0.16);
  --line-strong: rgba(118, 165, 255, 0.3);
  --blue: #2d76ff;
  --blue-soft: #64a5ff;
  --cyan: #8fe2ff;
  --lime: #b8ef4c;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content: 1180px;
  --font-display: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html[style*="margin-top"],
body.admin-bar {
  margin-top: 0 !important;
}

body.admin-bar #wpadminbar {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 12%, rgba(45, 118, 255, 0.18), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(143, 226, 255, 0.14), transparent 22%),
    radial-gradient(circle at 72% 84%, rgba(184, 239, 76, 0.12), transparent 18%),
    linear-gradient(180deg, #071326 0%, #041021 55%, #071326 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 72%);
}

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  background: rgba(5, 13, 28, 0.66);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 8px 14px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(8, 25, 53, 0.06);
}

.brand-logo {
  display: block;
  width: min(44vw, 188px);
  height: 46px;
  object-fit: cover;
  object-position: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.97rem;
}

.site-nav a {
  white-space: nowrap;
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
  white-space: nowrap;
}

.header-cta,
.button-primary {
  color: white;
  background: linear-gradient(135deg, #1758ff 0%, #2d76ff 50%, #58a6ff 100%);
  box-shadow: 0 18px 40px rgba(27, 93, 255, 0.28);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: white;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 48px;
  align-items: center;
  min-height: 92vh;
  padding: 84px 0 70px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 40px -8% 0 -8%;
  z-index: -1;
  background:
    radial-gradient(circle at 22% 18%, rgba(20, 93, 255, 0.17), transparent 28%),
    radial-gradient(circle at 78% 18%, rgba(143, 226, 255, 0.15), transparent 18%),
    linear-gradient(120deg, rgba(45, 118, 255, 0.08), rgba(255, 255, 255, 0));
  filter: blur(12px);
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

.hero h1,
.section-heading h2,
.cta-banner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5.2rem);
}

.hero-lead,
.section-heading + p,
.contact-copy p,
.service-card p,
.story-card p,
.expertise-card p,
.timeline-step p,
.reasons-grid p,
.cta-banner p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-lead {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.hero-proof {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  position: relative;
  padding-left: 30px;
  color: #dce7fb;
  line-height: 1.6;
}

.hero-proof li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime) 0%, var(--cyan) 100%);
  box-shadow: 0 0 0 4px rgba(143, 226, 255, 0.12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-note {
  max-width: 58ch;
  margin: 18px 0 0;
  color: #b7c8e7;
  line-height: 1.7;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.trust-strip li {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d7e5ff;
  font-size: 0.95rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% 4% 8% 12%;
  border-radius: 52px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 60% 30%, rgba(184, 239, 76, 0.18), transparent 20%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
}

.hero-portrait-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  min-height: 620px;
  overflow: visible;
}

.hero-portrait-glow {
  position: absolute;
  inset: 7% 12% 18% 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(184, 239, 76, 0.22), transparent 24%),
    radial-gradient(circle at center, rgba(143, 226, 255, 0.24), transparent 54%);
  filter: blur(12px);
}

.hero-portrait-card {
  position: absolute;
  inset: 0 6% 12% 8%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(10, 28, 57, 0.7);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.signal-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.orbit-a {
  width: 560px;
  height: 560px;
  border-style: dashed;
  left: 2%;
  top: 2%;
}

.orbit-b {
  width: 620px;
  height: 430px;
  transform: rotate(-24deg);
  right: -2%;
  top: 18%;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.05);
}

.hero-identity-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(100%, 340px);
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(7, 18, 38, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.panel-label {
  margin: 0;
  color: var(--blue-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.panel-number {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.08;
}

.panel-copy {
  margin: 0;
  color: #dce7fb;
  line-height: 1.6;
}

section {
  padding: 92px 0;
}

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

.section-heading.centered,
.section-heading.dark {
  margin: 0 auto;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: #061126;
}

.credibility,
.services,
.expertise,
.process,
.contact {
  color: #061126;
  background: linear-gradient(180deg, #f8fbff 0%, #f3f6fb 100%);
  padding-left: 48px;
  padding-right: 48px;
}

.credibility .eyebrow,
.services .eyebrow,
.expertise .eyebrow,
.process .eyebrow,
.contact .eyebrow {
  color: var(--blue);
}

.credibility-grid,
.expertise-layout,
.contact {
  display: grid;
  gap: 24px;
  margin-top: 42px;
}

.credibility {
  margin-top: 24px;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -20px 60px rgba(6, 17, 38, 0.08);
}

.contact {
  border-radius: 0 0 40px 40px;
}

.credibility-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.story-card,
.metric-card,
.service-card,
.expertise-card,
.timeline-step,
.contact-card,
.contact-form,
.cta-banner,
.reasons-grid article {
  border: 1px solid rgba(9, 30, 61, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 40px rgba(6, 17, 38, 0.06);
}

.story-card {
  padding: 34px;
}

.logo-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 24px;
  align-items: center;
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  max-width: 100%;
  padding: 12px 18px;
  border-radius: 18px;
  border: 1px solid rgba(25, 56, 112, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 245, 255, 0.92) 100%);
  box-shadow:
    0 18px 38px rgba(19, 52, 116, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.logo-chip-image img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 170px;
}

.logo-chip-text {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a2a63;
}

.logo-chip-text:last-child {
  background: linear-gradient(135deg, #0d244d 0%, #123f85 100%);
  color: #f5f9ff;
  border-color: rgba(8, 21, 46, 0.24);
}

@media (max-width: 640px) {
  .logo-line {
    gap: 12px;
  }

  .logo-chip {
    min-height: 58px;
    padding: 10px 14px;
  }

  .logo-chip-image img {
    height: 24px;
    max-width: 148px;
  }

  .logo-chip-text {
    font-size: 0.82rem;
    letter-spacing: 0.06em;
  }
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #30405f;
  line-height: 1.65;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  box-shadow: 0 0 0 4px rgba(45, 118, 255, 0.12);
}

.metric-stack {
  display: grid;
  gap: 16px;
}

.metric-card {
  padding: 28px;
}

.metric-card strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #071f48;
}

.metric-card span {
  color: #45567a;
  line-height: 1.65;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  margin-top: 40px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.service-card,
.reasons-grid article,
.expertise-card {
  padding: 28px;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card h3,
.expertise-card h3,
.timeline-step h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: #081a3d;
}

.service-card p,
.expertise-card p {
  margin: 0;
  color: #445676;
}

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

.expertise-card ul {
  margin: 0;
  padding-left: 18px;
  color: #445676;
  line-height: 1.85;
}

.expertise-card.emphasis {
  color: white;
  background:
    radial-gradient(circle at top right, rgba(184, 239, 76, 0.18), transparent 22%),
    linear-gradient(160deg, #0b1a35 0%, #102a58 100%);
}

.expertise-card.emphasis h3,
.expertise-card.emphasis p {
  color: white;
}

.reasons {
  position: relative;
  color: white;
  background:
    radial-gradient(circle at 18% 0%, rgba(143, 226, 255, 0.12), transparent 16%),
    radial-gradient(circle at 85% 28%, rgba(184, 239, 76, 0.1), transparent 18%),
    linear-gradient(135deg, #041021 0%, #071936 44%, #08152b 100%);
}

.reasons::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
  pointer-events: none;
}

.reasons .section-heading h2,
.reasons .eyebrow {
  color: white;
}

.reasons-grid article {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.reasons-grid strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.reasons-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.timeline-step {
  position: relative;
  padding: 28px 22px 22px;
}

.timeline-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1758ff, #63a7ff);
  color: white;
  font-weight: 800;
}

.timeline-step p {
  margin: 0;
  color: #445676;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 18px 0 0;
  padding: 34px 36px;
  color: white;
  background:
    linear-gradient(135deg, #0b2f7f 0%, #1148c1 48%, #0e3a9a 100%);
}

.cta-banner h2 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-banner p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.contact {
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
}

.contact-card {
  padding: 28px;
  margin-top: 26px;
}

.contact-card p {
  margin: 0 0 18px;
  color: #3f5070;
}

.contact-card a {
  color: #1749aa;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 30px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: #20304c;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(15, 31, 59, 0.1);
  border-radius: 14px;
  background: #f9fbff;
  color: #10203c;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(45, 118, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(45, 118, 255, 0.1);
}

.form-note {
  margin: -2px 0 0;
  color: #51617f;
  line-height: 1.7;
}

.form-note a {
  color: #1749aa;
  font-weight: 700;
}

.full {
  grid-column: 1 / -1;
}

.legal {
  color: #061126;
  background: linear-gradient(180deg, #eef4fc 0%, #f8fbff 100%);
  padding: 92px 48px;
}

.legal-intro {
  max-width: 760px;
  margin: 18px 0 0;
  color: #51617f;
  line-height: 1.8;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.legal-card {
  padding: 30px;
  border: 1px solid rgba(9, 30, 61, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(6, 17, 38, 0.06);
}

.legal-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: #081a3d;
}

.legal-card p,
.legal-card li {
  color: #445676;
  line-height: 1.8;
}

.legal-card p {
  margin: 0;
}

.legal-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding-left: 18px;
}

.legal-meta {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid rgba(9, 30, 61, 0.08);
  font-weight: 700;
}

.legal-actions {
  margin-top: 22px;
}

.legal-card a {
  color: #1749aa;
}

.legal-page {
  padding: 74px 0 44px;
}

.legal-page-hero,
.legal-page-content {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.legal-page-hero {
  padding: 32px 0 18px;
}

.legal-page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.legal-page-lead {
  max-width: 58ch;
  margin: 20px 0 0;
  color: rgba(243, 247, 255, 0.8);
  line-height: 1.8;
}

.legal-page-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(5, 13, 28, 0.62);
  box-shadow: var(--shadow);
}

.legal-page-card h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  color: white;
}

.legal-page-card p,
.legal-page-card li {
  color: rgba(243, 247, 255, 0.82);
  line-height: 1.8;
}

.legal-page-card h2:not(:first-child) {
  margin-top: 28px;
}

.legal-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.site-footer {
  display: grid;
  gap: 22px;
  padding: 30px 0 48px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.footer-top,
.footer-bottom {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: rgba(5, 13, 28, 0.62);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: 26px;
  padding: 28px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-brand p {
  margin: 0;
}

.footer-lead {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.8;
}

.footer-logo-wrap {
  flex-shrink: 0;
  padding: 10px 16px;
}

.footer-logo-wrap .brand-logo {
  width: 160px;
  height: 36px;
}

.footer-button {
  min-height: 46px;
}

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

.footer-column {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-column h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: white;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li,
.footer-links a {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
}

.footer-note {
  font-size: 0.9rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-note {
  max-width: 54ch;
  text-align: right;
}

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  width: min(calc(100% - 32px), 520px);
  display: grid;
  gap: 16px;
  padding: 20px;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(5, 13, 28, 0.94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.cookie-banner-copy strong {
  display: block;
  margin-bottom: 8px;
  color: white;
  font-family: var(--font-display);
}

.cookie-banner-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cookie-link {
  color: white;
  font-weight: 700;
}

.contact-feedback {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(9, 30, 61, 0.08);
  font-weight: 700;
}

.contact-feedback.success {
  color: #0d4f2a;
  background: rgba(171, 240, 193, 0.42);
  border-color: rgba(29, 143, 78, 0.18);
}

.contact-feedback.error {
  color: #7a1f1f;
  background: rgba(255, 218, 218, 0.62);
  border-color: rgba(186, 48, 48, 0.18);
}

.wp-page {
  padding: 80px 0;
}

.wp-page-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(5, 13, 28, 0.52);
  box-shadow: var(--shadow);
}

.wp-page-card h1,
.wp-page-card h2,
.wp-page-card h3 {
  font-family: var(--font-display);
}

.wp-page-card p,
.wp-page-card li {
  color: rgba(243, 247, 255, 0.82);
  line-height: 1.75;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1120px) {
  .credibility-grid,
  .contact,
  .expertise-layout,
  .service-grid,
  .timeline,
  .reasons-grid,
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.86fr);
    align-items: start;
    gap: 30px;
    min-height: auto;
    padding-top: 56px;
  }

  .hero h1 {
    max-width: 8ch;
    font-size: clamp(2.8rem, 5vw, 4.4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .site-header {
    gap: 14px;
    padding: 14px 16px;
  }

  .brand-logo {
    width: 166px;
    height: 40px;
  }

  .site-nav {
    gap: 18px;
    font-size: 0.9rem;
  }

  .header-cta {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.92rem;
  }

  .credibility-grid > *,
  .contact > *,
  .service-grid > :last-child,
  .timeline > :last-child {
    grid-column: 1 / -1;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-portrait-wrap {
    width: min(100%, 420px);
    min-height: 520px;
  }

  .hero-identity-card {
    width: min(100%, 310px);
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .expertise-layout {
    grid-template-columns: 1fr;
  }

  .reasons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body {
    background:
      radial-gradient(circle at 16% 10%, rgba(45, 118, 255, 0.16), transparent 24%),
      linear-gradient(180deg, #071326 0%, #041021 52%, #071326 100%);
  }

  .site-header {
    top: 10px;
    padding: 14px 16px;
    border-radius: 22px;
  }

  .brand {
    max-width: calc(100% - 64px);
  }

  .brand-logo-wrap {
    padding: 8px 12px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 13, 28, 0.94);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  }

  .site-header.menu-open .site-nav {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .credibility-grid,
  .service-grid,
  .reasons-grid,
  .timeline,
  .contact,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .credibility,
  .services,
  .expertise,
  .process,
  .contact,
  .legal {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero {
    min-height: auto;
    padding-top: 44px;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-visual::before {
    inset: 6% 0;
  }

  .hero-portrait-wrap {
    width: min(100%, 420px);
    min-height: 520px;
  }

  .orbit-a {
    width: 380px;
    height: 380px;
  }

  .orbit-b {
    width: 420px;
    height: 300px;
  }

  .floating-card {
    position: static;
    max-width: none;
  }

  .hero-visual {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .hero-portrait-card {
    inset: 0 6% 0 8%;
  }

  .hero-identity-card {
    display: none;
  }

  .cta-banner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

  .footer-bottom-note {
    text-align: left;
  }

  .cookie-banner {
    right: 16px;
    bottom: 16px;
    width: min(calc(100% - 24px), 520px);
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  main,
  .site-footer {
    width: min(calc(100% - 24px), var(--content));
  }

  section {
    padding: 72px 0;
  }

  .story-card,
  .metric-card,
  .service-card,
  .expertise-card,
  .timeline-step,
  .contact-card,
  .contact-form,
  .cta-banner,
  .reasons-grid article,
  .legal-page-card {
    padding: 24px;
  }

  .hero-actions,
  .button,
  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .hero h1 {
    max-width: 9ch;
  }

  .hero-proof {
    gap: 10px;
  }

  .brand-logo {
    width: 134px;
    height: 34px;
  }

  .hero-portrait-wrap {
    min-height: 460px;
  }

  .cookie-banner-actions .button,
  .cookie-banner-actions .button-primary,
  .cookie-banner-actions .button-secondary {
    width: 100%;
  }

  .credibility,
  .services,
  .expertise,
  .process,
  .contact,
  .legal {
    padding-left: 20px;
    padding-right: 20px;
  }
}
