/*
Theme Name: Innovative Impression
Theme URI: https://innovativeimpression.com/
Author: Innovative Impression
Description: A responsive one-page business theme for sales, marketing, designing and web development services.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: innovative-impression
Tags: one-column, custom-logo, custom-menu, featured-images, responsive-layout, business
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --red: #ef233c;
  --red-dark: #d90429;
  --black: #101115;
  --charcoal: #1a1c21;
  --text: #24262d;
  --muted: #666b76;
  --line: #e8e9ed;
  --soft: #f7f7f9;
  --white: #ffffff;
  --shadow: 0 20px 55px rgba(16, 17, 21, 0.09);
  --shadow-hover: 0 25px 65px rgba(16, 17, 21, 0.14);
  --radius: 22px;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  color: var(--text);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 110px 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--black);
  transform: translateY(-150%);
  transition: 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid rgba(16, 17, 21, 0.07);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.navbar {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 255px;
  max-width: 42vw;
}

.brand img {
  width: 100%;
  height: 65px;
  object-fit: contain;
  object-position: left center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  color: var(--black);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 0.9rem;
  font-weight: 700;
  transition: 0.25s ease;
}

.nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: var(--soft);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--black);
  transition: 0.25s ease;
}

.hero {
  display: flex;
  min-height: calc(100vh - var(--header-height));
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 15%, rgba(239, 35, 60, 0.09), transparent 30%),
    linear-gradient(135deg, #fff 0%, #fafafa 57%, #f2f2f4 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.82);
}

.hero h1,
.section-heading h2,
.process-copy h2,
.about-copy h2,
.contact-copy h2,
.cta-box h2 {
  color: var(--black);
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.1rem, 6vw, 5.7rem);
}

.hero h1 span {
  color: var(--red);
}

.hero-copy > p {
  max-width: 670px;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 750;
  transition: 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 14px 30px rgba(239, 35, 60, 0.24);
}

.button-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 18px 35px rgba(239, 35, 60, 0.28);
}

.button-secondary {
  border-color: var(--black);
  color: var(--black);
  background: transparent;
}

.button-secondary:hover {
  color: var(--white);
  background: var(--black);
}

.button-light {
  color: var(--red);
  background: var(--white);
}

.button-light:hover {
  color: var(--black);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 50px;
}

.hero-points div {
  display: flex;
  flex-direction: column;
  padding-left: 13px;
  border-left: 2px solid var(--red);
}

.hero-points strong {
  color: var(--black);
  font-size: 0.93rem;
}

.hero-points span {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  min-height: 510px;
}

.visual-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  box-shadow: 0 35px 80px rgba(16, 17, 21, 0.22);
}

.main-card {
  top: 25px;
  right: 20px;
  bottom: 25px;
  left: 20px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(239, 35, 60, 0.97), rgba(16, 17, 21, 0.98) 72%),
    var(--black);
}

.main-card::before {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.main-card::after {
  position: absolute;
  right: 110px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 60px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  content: "";
}

.card-topline,
.visual-title,
.bar-chart {
  position: relative;
  z-index: 2;
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 700;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
}

.status-dot::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6bffb4;
  box-shadow: 0 0 0 5px rgba(107, 255, 180, 0.12);
  content: "";
}

.visual-title {
  display: flex;
  flex-direction: column;
  margin: 80px 0 40px;
}

.visual-title small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-title strong {
  max-width: 430px;
  margin-top: 10px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.bar-chart {
  display: flex;
  height: 155px;
  align-items: end;
  gap: 13px;
  margin-top: auto;
}

.bar-chart span {
  flex: 1;
  min-width: 20px;
  border-radius: 8px 8px 3px 3px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 -15px 25px rgba(16, 17, 21, 0.12);
}

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 205px;
  padding: 16px;
  border: 1px solid rgba(16, 17, 21, 0.05);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.floating-card-one {
  top: 105px;
  left: -40px;
}

.floating-card-two {
  right: -35px;
  bottom: 90px;
}

.mini-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--red);
  font-size: 1.2rem;
}

.floating-card div {
  display: flex;
  flex-direction: column;
}

.floating-card strong {
  color: var(--black);
  font-size: 0.84rem;
}

.floating-card small {
  color: var(--muted);
  font-size: 0.73rem;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-shape-one {
  right: -170px;
  bottom: -230px;
  width: 550px;
  height: 550px;
  border: 95px solid rgba(239, 35, 60, 0.055);
}

.hero-shape-two {
  top: 80px;
  left: -130px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(239, 35, 60, 0.09);
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  width: 28px;
  height: 48px;
  justify-content: center;
  border: 2px solid rgba(16, 17, 21, 0.22);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  width: 4px;
  height: 8px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--red);
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(15px); }
}

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

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading h2,
.process-copy h2,
.about-copy h2,
.contact-copy h2,
.cta-box h2 {
  font-size: clamp(2.2rem, 4vw, 3.7rem);
}

.section-heading p {
  max-width: 690px;
  margin: 18px auto 0;
  color: var(--muted);
}

.services {
  background: var(--white);
}

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

.service-card {
  position: relative;
  min-height: 450px;
  padding: 32px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 35px rgba(16, 17, 21, 0.045);
  transition: 0.3s ease;
}

.service-card::after {
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 34px solid rgba(239, 35, 60, 0.04);
  border-radius: 50%;
  content: "";
  transition: 0.3s ease;
}

.service-card:hover {
  border-color: rgba(239, 35, 60, 0.22);
  box-shadow: var(--shadow-hover);
  transform: translateY(-10px);
}

.service-card:hover::after {
  border-color: rgba(239, 35, 60, 0.1);
  transform: scale(1.1);
}

.service-number {
  position: absolute;
  top: 24px;
  right: 25px;
  color: #d7d9df;
  font-size: 0.8rem;
  font-weight: 800;
}

.service-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 17px;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 25px rgba(239, 35, 60, 0.22);
}

.service-icon svg {
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card h3 {
  margin-bottom: 14px;
  color: var(--black);
  font-family: "Manrope", sans-serif;
  font-size: 1.4rem;
}

.service-card p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.service-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 21px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 600;
}

.service-card li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 8px;
  height: 2px;
  background: var(--red);
  content: "";
}

.process {
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.process::before {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 540px;
  height: 540px;
  border: 80px solid rgba(239, 35, 60, 0.11);
  border-radius: 50%;
  content: "";
}

.process-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}

.process-copy {
  align-self: start;
  position: sticky;
  top: 130px;
}

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

.process-copy p {
  max-width: 500px;
  margin-top: 22px;
  color: #b8bac2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--white);
  font-weight: 700;
}

.text-link span {
  color: var(--red);
  transition: 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  transition: 0.25s ease;
}

.step:hover {
  border-color: rgba(239, 35, 60, 0.35);
  background: rgba(255, 255, 255, 0.055);
  transform: translateX(8px);
}

.step > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 15px;
  color: var(--white);
  background: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
}

.step h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.step p {
  color: #b8bac2;
  font-size: 0.9rem;
}

.about {
  background: var(--soft);
}

.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
}

.about-visual {
  position: relative;
}

.about-image {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 70% 20%, rgba(239, 35, 60, 0.25), transparent 28%),
    linear-gradient(145deg, #17181d, #292b32);
  box-shadow: var(--shadow);
}

.about-image img {
  width: 92%;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.experience-card {
  position: absolute;
  right: -25px;
  bottom: 35px;
  display: flex;
  flex-direction: column;
  min-width: 205px;
  padding: 22px;
  border-left: 4px solid var(--red);
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.experience-card strong {
  color: var(--black);
  font-size: 1.15rem;
}

.experience-card span {
  color: var(--muted);
  font-size: 0.8rem;
}

.about-copy > p {
  margin-top: 20px;
  color: var(--muted);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 34px 0;
}

.about-values > div {
  display: flex;
  gap: 14px;
}

.value-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 13px;
  color: var(--red);
  background: rgba(239, 35, 60, 0.09);
  font-size: 1.3rem;
  font-weight: 800;
}

.about-values h3 {
  margin-bottom: 5px;
  color: var(--black);
  font-size: 1rem;
}

.about-values p {
  color: var(--muted);
  font-size: 0.84rem;
}

.cta-section {
  padding: 70px 0;
  background: var(--white);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 55px;
  overflow: hidden;
  border-radius: 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 5%, rgba(255, 255, 255, 0.15), transparent 24%),
    linear-gradient(115deg, var(--red), var(--red-dark));
  box-shadow: 0 25px 60px rgba(217, 4, 41, 0.2);
}

.cta-box h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
}

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}

.contact-copy {
  position: sticky;
  top: 130px;
}

.contact-copy > p {
  max-width: 500px;
  margin-top: 22px;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 35px;
}

.contact-list > a,
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-list > a:hover strong {
  color: var(--red);
}

.contact-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: var(--black);
}

.contact-list div div,
.contact-list a div {
  display: flex;
  flex-direction: column;
}

.contact-list small {
  color: var(--muted);
  font-size: 0.73rem;
  text-transform: uppercase;
}

.contact-list strong {
  color: var(--black);
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 35px;
}

.social-row a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--black);
  font-size: 0.8rem;
  font-weight: 800;
  transition: 0.2s ease;
}

.social-row a:hover {
  border-color: var(--red);
  color: var(--white);
  background: var(--red);
  transform: translateY(-3px);
}

.contact-form-card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  color: var(--black);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #dfe1e6;
  border-radius: 12px;
  outline: none;
  color: var(--black);
  background: #fbfbfc;
  transition: 0.2s ease;
}

.form-group input,
.form-group select {
  height: 52px;
  padding: 0 15px;
}

.form-group textarea {
  min-height: 150px;
  padding: 14px 15px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(239, 35, 60, 0.08);
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
  border-color: var(--red);
}

.error-message {
  min-height: 16px;
  color: var(--red-dark);
  font-size: 0.72rem;
}

.full-width {
  width: 100%;
  border: 0;
}

.form-status {
  min-height: 24px;
  margin-top: 14px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 600;
}

.form-status.success {
  color: #16864b;
}

.site-footer {
  color: var(--white);
  background: var(--black);
}

.footer-main {
  display: grid;
  align-items: center;
  grid-template-columns: 260px 1fr auto;
  gap: 45px;
  padding-top: 50px;
  padding-bottom: 42px;
}

.footer-brand {
  display: block;
  width: 245px;
  padding: 9px 13px;
  border-radius: 10px;
  background: var(--white);
}

.footer-brand img {
  width: 100%;
}

.footer-main p {
  max-width: 480px;
  color: #aeb0b8;
  font-size: 0.87rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.footer-nav a {
  color: #d0d1d6;
  font-size: 0.84rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.footer-nav a:hover {
  color: var(--red);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8e919b;
  font-size: 0.76rem;
}

.footer-bottom a {
  transition: 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1050px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card {
    min-height: 395px;
  }

  .hero-grid {
    gap: 30px;
  }

  .floating-card-one {
    left: -10px;
  }

  .floating-card-two {
    right: -5px;
  }

  .about-grid,
  .contact-grid,
  .process-grid {
    gap: 55px;
  }

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

  .footer-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 76px;
  }

  .container {
    width: min(100% - 30px, 700px);
  }

  .section {
    padding: 82px 0;
  }

  .brand {
    width: 220px;
  }

  .brand img {
    height: 56px;
  }

  .menu-toggle {
    display: block;
    z-index: 1002;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: flex;
    max-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 18px 35px rgba(16, 17, 21, 0.08);
    transition: max-height 0.35s ease;
  }

  .nav-menu.open {
    max-height: 430px;
  }

  .nav-link {
    padding: 17px 25px;
    border-bottom: 1px solid var(--line);
  }

  .nav-link::after {
    display: none;
  }

  .nav-cta {
    margin: 16px 25px 22px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 85px;
    padding-bottom: 80px;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

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

  .scroll-indicator {
    display: none;
  }

  .process-copy,
  .contact-copy {
    position: static;
  }

  .about-visual {
    order: 2;
  }

  .about-copy {
    order: 1;
  }

  .about-image {
    min-height: 470px;
  }

  .experience-card {
    right: 18px;
  }

  .cta-box {
    align-items: flex-start;
    flex-direction: column;
    padding: 42px 32px;
  }

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

  .footer-nav {
    grid-column: auto;
  }
}

@media (max-width: 590px) {
  .container {
    width: min(100% - 24px, 500px);
  }

  .section {
    padding: 70px 0;
  }

  .brand {
    width: 185px;
    max-width: 65vw;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 14vw, 4.1rem);
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .hero-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }

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

  .main-card {
    inset: 16px 0;
    padding: 24px;
  }

  .visual-title {
    margin-top: 60px;
  }

  .floating-card {
    min-width: auto;
    padding: 12px;
  }

  .floating-card-one {
    top: 55px;
    left: -4px;
  }

  .floating-card-two {
    right: -3px;
    bottom: 55px;
  }

  .floating-card small {
    display: none;
  }

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

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

  .step {
    grid-template-columns: 50px 1fr;
    padding: 20px;
  }

  .step > span {
    width: 46px;
    height: 46px;
  }

  .about-values,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 360px;
    padding: 25px;
  }

  .experience-card {
    right: 10px;
    bottom: 15px;
    min-width: 180px;
    padding: 16px;
  }

  .contact-form-card {
    padding: 24px 18px;
  }

  .footer-main {
    gap: 25px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* WordPress-specific additions */
.admin-bar .site-header {
  top: 32px;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
  width: 100%;
}

.custom-logo {
  width: 100%;
  height: 65px;
  object-fit: contain;
  object-position: left center;
}

.form-status.error {
  color: var(--red-dark);
}

.contact-form-card button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.site-content-generic {
  min-height: 65vh;
  padding: 110px 0;
}

.site-content-generic article {
  max-width: 820px;
  margin: 0 auto;
}

.site-content-generic h1 {
  margin-bottom: 24px;
  color: var(--black);
  font-family: "Manrope", "Inter", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
}

.site-content-generic .entry-content > * + * {
  margin-top: 1.2em;
}

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

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media screen and (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }
}
