/*
Theme Name: Awesome One Page
Theme URI: https://example.com/awesome-one-page
Author: Codex
Author URI: https://example.com
Description: WordPress theme for Czyściciele Kamienic, focused on laser cleaning of historic surfaces in Krakow.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: awesome-one-page
*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --bg: #f9fafb;
  --surface: #ffffff;
  --surface-soft: #f5f7ef;
  --ink: #1e1f21;
  --muted: #676056;
  --line: rgba(30, 31, 33, 0.1);
  --lime: #8dc8ff;
  --lime-dark: #5da7f2;
  --blue: #2448d8;
  --teal: #2f3a2e;
  --orange: #ba6c2f;
  --shadow: 0 24px 50px rgba(30, 31, 33, 0.11);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1480px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(249, 250, 251, 0.2), transparent 26%),
    linear-gradient(180deg, #f9fafb 0%, #f9fafb 100%);
  line-height: 1.6;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.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;
}

.site-shell {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(0);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease, box-shadow 180ms ease;
}

.site-header.site-header--scrolled {
  backdrop-filter: blur(12px);
  background: rgba(249, 250, 251, 0.88);
  border-bottom-color: rgba(30, 31, 33, 0.08);
  box-shadow: 0 10px 30px rgba(30, 31, 33, 0.08);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 250px;
}

.brand,
.site-header__brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  z-index: 2;
}

.site-header__brand--logo-only {
  line-height: 0;
}

.site-header__brand--logo-only .custom-logo-link,
.site-header__brand--logo-only .custom-logo {
  display: block;
}

.site-header__brand--logo-only .custom-logo-link {
  line-height: 0;
}

.site-header__brand--logo-only .custom-logo {
  max-height: 300px;
  width: auto;
  padding-top: 1em;
}

.brand__custom-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand__custom-logo .custom-logo-link,
.brand__custom-logo .custom-logo {
  display: block;
}

.brand__custom-logo .custom-logo-link {
  line-height: 0;
}

.brand__custom-logo .custom-logo {
  max-height: 100px;
  width: auto;
}

.site-header__brand .custom-logo-link + .custom-logo-link,
.site-header__brand img + img {
  display: none;
}

.brand__mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #202124, #4f524c);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.brand__text small,
.section-kicker {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-kicker {
  margin-bottom: 10px;
}

.brand__text strong {
  display: block;
  font-size: 1.05rem;
}

.site-nav .menu,
.site-nav__fallback {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0;
  margin: 0;
}

.site-header__controls {
  position: relative;
  margin-left: auto;
  z-index: 3;
}

.site-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.site-header__toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.site-header__toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d9fb67, #c9f54a);
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(201, 245, 74, 0.26);
}

.site-nav a,
.site-nav__fallback a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav__fallback a:hover {
  color: var(--ink);
}

.hero {
  padding: 42px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.hero-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card--primary {
  background: linear-gradient(135deg, #d9fb67 0%, #c9f54a 58%, #b7ea2a 100%);
  min-height: 620px;
  padding: 42px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-card--primary::after {
  content: "";
  position: absolute;
  inset: auto -90px -80px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.hero-title,
.section-title {
  margin: 0;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.045em;
}

.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  max-width: 9ch;
}

.section-title {
  font-size: clamp(3rem, 4.8vw, 4.45rem);
  max-width: 12.5ch;
  margin-inline: auto;
  text-wrap: balance;
}

.hero-copy,
.section-copy {
  color: rgba(31, 42, 34, 0.78);
  max-width: 60ch;
}

.section-copy {
  max-width: 38ch;
  margin-inline: auto;
  font-size: clamp(1.05rem, 1.6vw, 1.42rem);
  line-height: 1.52;
}

.hero-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-points li::before {
  content: "•";
  color: var(--blue);
  margin-right: 10px;
}

.hero-form,
.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-form input,
.newsletter-form input {
  flex: 1 1 240px;
  min-height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 34, 0.08);
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.92);
}

.newsletter-form select,
.newsletter-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 42, 34, 0.08);
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.newsletter-form select {
  min-height: 54px;
  border-radius: 18px;
  padding: 0 16px;
}

.newsletter-form textarea {
  border-radius: 18px;
  padding: 16px 18px;
  resize: vertical;
}

.newsletter-form input[type="file"] {
  border-radius: 18px;
  padding: 14px 16px;
}

.button,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #d9fb67, #c9f54a);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.button--secondary {
  background: #22252a;
  color: #fff;
}

.button--ghost {
  background: transparent;
  color: var(--blue);
  padding: 0;
  min-height: auto;
}

.button--ghost-dark {
  color: #111111;
}

.cta-inline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.process-card h3 {
  display: block;
  font-family: "Poppins", "Segoe UI", sans-serif;
}

.hero-card--visual {
  min-height: 620px;
  position: relative;
  background: linear-gradient(180deg, #b9dcff 0%, #8bc4ff 100%);
  padding: 0;
}

.floating-panel,
.stat-panel {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.floating-panel {
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  padding: 16px 18px;
  text-align: center;
}

.stat-panel {
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 18px 20px;
}

.section {
  padding: 86px 0;
}

.section--white {
  background: rgba(255, 255, 255, 0.84);
}

.section--soft {
  background: rgba(236, 245, 255, 0.92);
}

.section-header {
  margin-bottom: 34px;
}

.section-header--center,
.section-header[style*="text-align:center"] {
  text-align: center;
}

.section-header .section-kicker {
  margin-bottom: 14px;
}

.section-header .section-title {
  margin-bottom: 18px;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.planet-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 38px;
}

.planet-row img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.feature-card,
.seo-card,
.faq-card,
.process-card {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

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

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d9fb67, #c9f54a);
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
}

.word-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

.word-banner__item {
  min-height: 132px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: var(--shadow);
  background: #fff;
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  font-weight: 700;
}

.word-banner__item--blue {
  background: linear-gradient(135deg, #bfe1ff, #8dc8ff);
  color: var(--ink);
}

.word-banner__item--lime {
  background: linear-gradient(135deg, #d9fb67, #c9f54a);
  color: var(--ink);
}

.word-banner__item--image {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(30, 31, 33, 0.15), rgba(30, 31, 33, 0.55)),
    url("https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.initiatives {
  display: grid;
  gap: 16px;
}

.initiative {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr auto;
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 26px;
  background: rgba(239, 247, 255, 0.95);
  border: 1px solid rgba(31, 42, 34, 0.05);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(31, 42, 34, 0.08);
  font-size: 0.85rem;
}

.pill--lime {
  background: rgba(201, 239, 87, 0.46);
}

.icon-button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 0;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 42, 34, 0.08);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

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

.gallery-showcase__item {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  background: #fff;
  padding: 12px;
}

.gallery-showcase__slider {
  min-height: 280px;
  border-radius: 18px;
  box-shadow: none;
}

.gallery-showcase__meta {
  padding: 0 4px 4px;
  font-size: 0.9rem;
  font-weight: 600;
}

.project-card {
  min-height: 460px;
  border-radius: 30px;
  overflow: hidden;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  box-shadow: var(--shadow);
  background-size: cover;
  background-position: center;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 16, 0.1), rgba(8, 18, 16, 0.82));
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card__tag {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 0.8rem;
}

.newsletter-box {
  padding: 56px 48px 58px;
  background: linear-gradient(180deg, #f3ffbf 0%, #d9fb67 52%, #c9f54a 100%);
  border-radius: 34px;
  box-shadow: var(--shadow);
  text-align: center;
}

.newsletter-box .section-kicker {
  margin-bottom: 12px;
}

.newsletter-box .section-title {
  max-width: 13.5ch;
  margin: 0 auto 16px;
  line-height: 0.98;
}

.newsletter-box .section-copy {
  max-width: 42ch;
  margin: 0 auto 24px;
  line-height: 1.5;
}

.hero-title,
.section-title,
.project-card h3,
.initiative strong {
  font-family: "Poppins", "Segoe UI", sans-serif;
}

h2 {
  font-size: 2em;
}

.before-after,
.seo-grid,
.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.before-after--interactive {
  align-items: stretch;
}

.seo-grid {
  grid-template-columns: repeat(3, 1fr);
}

.faq-list {
  grid-template-columns: repeat(3, 1fr);
}

.compare-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.before-after-slider,
.before-after-copy {
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.before-after-slider {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  user-select: none;
  cursor: col-resize;
}

.before-after-slider--hero {
  position: absolute;
  inset: 0;
  min-height: auto;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: none;
}

.hero-card--visual .floating-panel,
.hero-card--visual .stat-panel {
  z-index: 3;
}

.before-after-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.before-after-slider__after,
.before-after-slider__before {
  position: absolute;
  inset: 0;
}

.before-after-slider__before {
  clip-path: inset(0 46% 0 0);
}

.before-after-slider__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  min-height: 38px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #fff;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.before-after-slider__badge--before {
  background: #d13f36;
}

.before-after-slider__badge--after {
  background: #2f8f49;
}

.before-after-slider__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 54%;
  width: 2px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(30, 31, 33, 0.06);
  transform: translateX(-50%);
  z-index: 2;
}

.before-after-slider__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #4a4f57;
  font-size: 1.5rem;
  font-weight: 700;
  transform: translate(-50%, -50%);
  cursor: grab;
  box-shadow: 0 18px 38px rgba(30, 31, 33, 0.22);
}

.before-after-slider__handle:active {
  cursor: grabbing;
}

.before-after-points {
  margin: 18px 0 0;
  padding-left: 18px;
}

.compare-card__image {
  min-height: 280px;
  background-size: cover;
  background-position: center;
}

.compare-card__body {
  padding: 26px;
}

.compare-badge {
  display: inline-flex;
  min-height: 32px;
  padding: 0 12px;
  align-items: center;
  border-radius: 999px;
  background: #2b2f35;
  color: #fff;
  font-size: 0.82rem;
  margin-bottom: 12px;
}

.compare-badge--after {
  background: var(--blue);
}

.contact-strip {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.newsletter-box .newsletter-form {
  align-items: stretch;
  gap: 14px;
  margin-top: 0;
  flex-direction: column;
}

.newsletter-form--embedded {
  width: 100%;
}

.newsletter-form--embedded > * {
  width: 100%;
}

.newsletter-form--embedded .wpcf7,
.newsletter-form--embedded .wpcf7 form,
.newsletter-form--embedded .wpcf7-form {
  width: 100%;
}

.newsletter-form--embedded .wpcf7-form {
  display: grid;
  gap: 18px;
  text-align: left;
}

.newsletter-form--embedded .cf7-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.newsletter-form--embedded .cf7-field {
  display: grid;
  gap: 8px;
}

.newsletter-form--embedded .cf7-field--full {
  grid-column: 1 / -1;
}

.newsletter-form--embedded .cf7-field > label,
.newsletter-form--embedded .wpcf7-form label {
  font-size: 0.92rem;
  font-weight: 600;
}

.newsletter-form--embedded .wpcf7 input[type="text"],
.newsletter-form--embedded .wpcf7 input[type="email"],
.newsletter-form--embedded .wpcf7 input[type="tel"],
.newsletter-form--embedded .wpcf7 input[type="file"],
.newsletter-form--embedded .wpcf7 select,
.newsletter-form--embedded .wpcf7 textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(30, 31, 33, 0.1);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
}

.newsletter-form--embedded .wpcf7 input[type="file"] {
  padding: 14px 18px;
}

.newsletter-form--embedded .wpcf7 textarea {
  min-height: 180px;
  padding: 16px 18px;
  resize: vertical;
}

.newsletter-form--embedded .wpcf7-submit {
  min-width: 204px;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #d9fb67, #c9f54a);
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(201, 245, 74, 0.26);
}

.newsletter-form--embedded .wpcf7-spinner {
  margin: 0 0 0 12px;
}

.newsletter-form--embedded .wpcf7-response-output,
.newsletter-form--embedded .wpcf7-not-valid-tip {
  font-size: 0.92rem;
}

.newsletter-box .newsletter-form input {
  min-height: 56px;
}

.newsletter-box .newsletter-form button {
  min-width: 204px;
  align-self: center;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.form-field {
  display: grid;
  gap: 8px;
  text-align: left;
}

.form-field label {
  font-size: 0.92rem;
  font-weight: 600;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 48px 0 28px;
}

.site-footer__brand {
  display: grid;
  gap: 16px;
}

.site-footer__brand p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 44ch;
}

.site-footer__col {
  display: grid;
  gap: 10px;
  align-content: start;
}

.site-footer__col h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.site-footer__col a,
.site-footer__col span {
  color: var(--muted);
}

.site-footer__bottom {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(30, 31, 33, 0.08);
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  flex-wrap: wrap;
}

.post-list {
  display: grid;
  gap: 20px;
}

.post-card {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.front-page-editor-shell {
  padding: 0 0 40px;
}

.front-page-editor > .wp-block-group {
  margin-top: 0;
  margin-bottom: 0;
}

.ck-hero-editor {
  padding: 32px 0 24px;
}

.ck-hero-editor__grid {
  gap: 22px;
}

.ck-hero-editor__copy,
.ck-hero-editor__media {
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(180deg, #f3ffbf 0%, #d9fb67 52%, #c9f54a 100%);
  box-shadow: var(--shadow);
}

.ck-hero-editor__media {
  background: linear-gradient(180deg, #f5f7ef 0%, #ffffff 100%);
}

.ck-editor-image-card img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.front-page-editor .wp-block-button__link {
  text-decoration: none;
}

.front-page-editor .feature-grid,
.front-page-editor .word-banner {
  margin-top: 0;
}

.post-card__meta {
  margin: -8px 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.post-card h1,
.post-card h2 {
  margin-top: 0;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.search-form label {
  flex: 1 1 320px;
}

.search-field {
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border: 1px solid rgba(30, 31, 33, 0.1);
  border-radius: 999px;
  background: #fff;
}

@media (max-width: 1024px) {
  .hero-grid,
  .projects-grid,
  .gallery-showcase__grid,
  .word-banner,
  .feature-grid,
  .process-grid,
  .before-after,
  .seo-grid,
  .faq-list {
    grid-template-columns: 1fr 1fr;
  }

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

  .site-header__inner {
    padding: 18px 0;
    min-height: 110px;
  }

  .site-header__toggle {
    display: inline-flex;
  }

  .site-header__actions {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(360px, calc(100vw - 32px));
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
  }

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

  .site-nav,
  .site-nav .menu,
  .site-nav__fallback {
    width: 100%;
  }

  .site-nav .menu,
  .site-nav__fallback {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .header-cta {
    width: 100%;
  }

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

  .hero-title {
    max-width: 11ch;
  }

  .ck-hero-editor__copy,
  .ck-hero-editor__media {
    padding: 32px;
  }
}

@media (max-width: 760px) {
  .hero-grid,
  .projects-grid,
  .gallery-showcase__grid,
  .word-banner,
  .initiative,
  .feature-grid,
  .process-grid,
  .before-after,
  .seo-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .site-nav .menu,
  .site-nav__fallback,
  .site-footer__bottom,
  .planet-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header__inner {
    gap: 14px;
    min-height: 92px;
    justify-content: space-between;
  }

  .site-header__brand--logo-only .custom-logo,
  .brand__custom-logo .custom-logo {
    max-height: 72px;
  }

  .brand,
  .site-header__brand {
    position: static;
    transform: none;
  }

  .site-header__actions {
    width: min(320px, calc(100vw - 20px));
  }

  .brand,
  .site-header__brand {
    gap: 10px;
  }

  .hero-card--primary,
  .hero-card--visual {
    min-height: auto;
  }

  .hero-card--primary,
  .newsletter-box {
    padding: 28px;
  }

  .ck-hero-editor__copy,
  .ck-hero-editor__media {
    padding: 28px;
  }

  .ck-editor-image-card img {
    min-height: 360px;
  }

  .newsletter-box .section-title {
    max-width: 100%;
    margin-bottom: 14px;
  }

  .newsletter-box .section-copy {
    margin-bottom: 18px;
  }

  .hero {
    padding: 18px 0 24px;
  }

  .hero-title {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
    max-width: 100%;
  }

  .section-title {
    font-size: clamp(2.2rem, 8.4vw, 3.1rem);
    max-width: 100%;
    line-height: 1.02;
  }

  .hero-copy,
  .section-copy {
    max-width: 100%;
  }

  .section-copy {
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-form,
  .newsletter-form,
  .cta-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  button[type="submit"],
  input[type="submit"] {
    width: 100%;
  }

  .hero-card--visual {
    min-height: 520px;
  }

  .before-after-slider--hero {
    inset: 0;
    border-radius: var(--radius-xl);
  }

  .before-after-slider {
    min-height: 380px;
  }

  .before-after-slider__badge {
    top: 14px;
    left: 14px;
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .before-after-slider__handle {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .floating-panel,
  .stat-panel {
    position: static;
    margin: 14px 0 0;
    border-radius: 18px;
    transform: none;
  }

  .floating-panel {
    margin-top: 0;
  }

  .section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .planet-row img {
    width: 72px;
    height: 72px;
  }

  .feature-card,
  .seo-card,
  .faq-card,
  .process-card,
  .compare-card__body {
    padding: 22px;
  }

  .initiative {
    padding: 20px;
    gap: 12px;
  }

  .project-card {
    min-height: 360px;
    padding: 22px;
  }

  .project-card__tag {
    top: 16px;
    left: 16px;
  }

  .word-banner__item {
    min-height: 96px;
    font-size: clamp(1.25rem, 7vw, 1.8rem);
  }

  .contact-strip {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    margin: 16px 0 22px;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .newsletter-form--embedded .cf7-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .before-after-points {
    padding-left: 16px;
  }

  .search-form {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .hero-card--primary,
  .newsletter-box {
    padding: 20px;
  }

  .ck-hero-editor__copy,
  .ck-hero-editor__media {
    padding: 20px;
  }

  .newsletter-box .newsletter-form button {
    min-width: 0;
  }

  .hero-card--visual {
    min-height: 420px;
  }

  .before-after-slider--hero {
    inset: 0;
    border-radius: var(--radius-xl);
  }

  .before-after-slider {
    min-height: 320px;
  }

  .before-after-slider__handle {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .hero-points {
    gap: 8px;
  }

  .site-nav .menu,
  .site-nav__fallback {
    gap: 10px;
  }

  .site-nav a,
  .site-nav__fallback a {
    font-size: 0.9rem;
  }
}
