/*
Theme Name: EMAJO Facilities
Theme URI: https://emajofacilities.com/
Author: EMAJO Facilities
Description: One-page custom WordPress theme for EMAJO Facilities, adapted from the approved static site.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: emajo-facilities
*/

:root {
  --red: #bf1e2e;
  --red-dark: #9f1724;
  --charcoal: #414143;
  --ink: #2f3033;
  --soft-black: #1b1c1f;
  --white: #ffffff;
  --off-white: #f7f7f7;
  --line: #eaeaea;
  --muted: #707174;
  --warm: #a78c5a;
  --shadow: 0 18px 45px rgba(47, 48, 51, 0.1);
  --shadow-strong: 0 24px 70px rgba(47, 48, 51, 0.18);
  --radius: 22px;
  --container: min(1400px, calc(100% - 48px));
  --section: clamp(58px, 8vw, 118px);
  --heading: "Oswald", "Arial Narrow", sans-serif;
  --body: "DM Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--body);
  line-height: 1.5;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(47, 48, 51, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: var(--container);
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-logo {
  display: block;
  width: 168px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 46px);
  flex: 1;
}

.nav-link {
  position: relative;
  padding: 32px 0;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(191, 30, 46, 0.22);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 16px 32px rgba(191, 30, 46, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  color: var(--charcoal);
  border-color: rgba(17, 17, 17, 0.32);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-dark {
  background: var(--soft-black);
  color: var(--white);
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: var(--charcoal);
  grid-area: 1 / 1;
  transition: transform 200ms ease;
}

.menu-toggle span:last-child {
  transform: translateY(7px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  width: var(--container);
  min-height: calc(100vh - 84px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
  padding: clamp(42px, 7vw, 92px) 0;
}

.hero-content {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.eyebrow {
  position: relative;
  margin: 0 0 22px;
  padding-left: 72px;
  color: var(--charcoal);
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 48px;
  height: 3px;
  background: var(--red);
}

.hero h1 {
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(3.8rem, 7.2vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  max-width: 8ch;
}

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

.hero-copy {
  max-width: 560px;
  margin: 28px 0 0;
  color: #303030;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

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

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

.service-tags li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.service-tags svg {
  width: 19px;
  height: 19px;
  color: var(--red);
  flex: 0 0 auto;
}

.hero-visual {
  min-height: 640px;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 0 92px;
  box-shadow: var(--shadow-strong);
  isolation: isolate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(47, 48, 51, 0.1));
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  width: min(360px, calc(100% - 56px));
  padding: 22px;
  background: rgba(47, 48, 51, 0.88);
  color: var(--white);
  border-left: 4px solid var(--red);
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.section {
  padding: var(--section) 0;
}

.section-heading {
  width: var(--container);
  margin: 0 auto clamp(34px, 4.4vw, 62px);
  text-align: center;
}

.section-heading span,
.red-rule {
  display: inline-block;
  width: 42px;
  height: 3px;
  background: var(--red);
}

.section-heading h2,
.split-panel h2,
.contact h2 {
  margin: 12px 0 0;
  font-family: var(--heading);
  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-note {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
}

.support {
  background: var(--off-white);
}

.support-layout {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1.42fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}

.support-intro {
  padding: clamp(34px, 5vw, 58px);
  background: var(--soft-black);
  color: var(--white);
  box-shadow: var(--shadow);
}

.support-intro h2 {
  margin: 14px 0 0;
  font-family: var(--heading);
  font-size: clamp(2.5rem, 4.5vw, 4.8rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.support-intro p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.support-grid article {
  min-height: 215px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(47, 48, 51, 0.05);
}

.support-grid article + article {
  border-left: 1px solid var(--line);
}

.support-grid svg {
  color: var(--red);
  width: 34px;
  height: 34px;
  margin-bottom: 20px;
}

.support-grid h3,
.showcase-guide h3 {
  margin: 0;
  font-family: var(--heading);
  text-transform: uppercase;
}

.support-grid h3 {
  font-size: 1.12rem;
  line-height: 1.08;
}

.support-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.support-line {
  width: var(--container);
  margin: 22px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.support-line span {
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.support-line span + span::before {
  content: "/";
  margin-right: 12px;
  color: var(--red);
}

.pillar-grid,
.service-grid,
.proof-grid,
.process-grid,
.work-grid,
.review-grid,
.footer-grid {
  width: var(--container);
  margin: 0 auto;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pillar {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px;
  text-align: center;
}

.pillar + .pillar {
  border-left: 1px solid var(--line);
}

.icon-circle {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 50%;
  background: var(--off-white);
}

svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pillar svg,
.service-card svg,
.proof svg {
  color: var(--red);
}

.pillar h3,
.service-card h3,
.proof h3,
.step h3,
.work-card h3,
.site-footer h3 {
  margin: 0;
  font-family: var(--heading);
  font-size: 1.18rem;
  text-transform: uppercase;
}

.pillar p,
.service-card p,
.proof p,
.step p {
  max-width: 290px;
  margin: 12px auto 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(0, 1.2fr);
  min-height: 430px;
}

.split-panel {
  padding: clamp(48px, 8vw, 90px) max(48px, calc((100vw - 1400px) / 2 + 24px));
  background: radial-gradient(circle at 0 0, rgba(191, 30, 46, 0.16), transparent 32%), var(--soft-black);
  color: var(--white);
}

.split-panel p {
  max-width: 420px;
  color: rgba(255, 255, 255, 0.75);
}

.split-panel a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-bottom: 9px;
  border-bottom: 2px solid var(--red);
  font-weight: 900;
  text-transform: uppercase;
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

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

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

.service-card {
  min-height: 305px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 34px 20px;
  background: var(--white);
  border: 1px solid rgba(234, 234, 234, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(47, 48, 51, 0.05);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card svg {
  margin-bottom: 22px;
  transition: transform 180ms ease;
}

.service-card:hover svg {
  transform: scale(1.08) translateY(-3px);
}

.dark-proof {
  padding: var(--section) 0;
  background:
    linear-gradient(rgba(27, 28, 31, 0.92), rgba(27, 28, 31, 0.95)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
}

.dark-proof .section-heading h2 {
  color: var(--white);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof {
  padding: 30px 36px;
  text-align: center;
}

.proof + .proof {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
}

.proof h3 {
  margin-top: 22px;
  color: var(--red);
  font-size: 1.55rem;
}

.proof p {
  color: rgba(255, 255, 255, 0.82);
}

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

.process-grid::before,
.process-grid::after {
  content: "";
  position: absolute;
  top: 56px;
  width: 14%;
  border-top: 2px dashed rgba(191, 30, 46, 0.55);
}

.process-grid::before {
  left: 28%;
}

.process-grid::after {
  right: 28%;
}

.step {
  text-align: center;
  padding: 8px 28px;
}

.step-icon {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--red);
  font-family: var(--heading);
  font-size: 2.15rem;
}

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

.featured-grid {
  margin-bottom: 28px;
}

.work-card {
  width: 100%;
  min-height: 330px;
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: var(--soft-black);
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
}

.work-card:disabled {
  cursor: default;
}

.work-card:disabled small {
  visibility: hidden;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 18%, rgba(0, 0, 0, 0.82));
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 420ms ease;
}

.proof-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(191, 30, 46, 0.16), transparent 45%),
    repeating-linear-gradient(135deg, rgba(65, 65, 67, 0.12) 0 1px, transparent 1px 14px),
    var(--off-white);
}

.proof-placeholder span {
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card:not(:disabled):hover img {
  transform: scale(1.07);
}

.work-card div {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 2;
  color: var(--white);
}

.work-card span {
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 12px;
  background: var(--red);
}

.work-card small {
  display: inline-block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.work-modal[hidden] {
  display: none;
}

.work-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.work-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 28, 31, 0.72);
  backdrop-filter: blur(10px);
}

.work-modal-panel {
  width: min(860px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  position: relative;
  z-index: 1;
  padding: clamp(30px, 5vw, 58px);
  background: var(--white);
  box-shadow: var(--shadow-strong);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--charcoal);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.modal-eyebrow {
  margin-bottom: 18px;
}

.work-modal-panel h2 {
  max-width: 650px;
  margin: 0;
  font-family: var(--heading);
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.work-modal-panel > p:not(.eyebrow) {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.modal-video {
  margin: 28px 0 0;
}

.modal-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: var(--soft-black);
}

.modal-video figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.modal-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.modal-proof-media {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 28px 0 0;
}

.modal-proof-media div {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(65, 65, 67, 0.16);
  color: var(--white);
}

.modal-proof-media span {
  color: var(--white);
  font-family: var(--heading);
  font-size: 1.6rem;
}

.modal-proof-media strong {
  color: var(--white);
  text-transform: uppercase;
}

.modal-lists div {
  padding: 22px;
  background: var(--off-white);
  border: 1px solid var(--line);
}

.modal-lists h3 {
  margin: 0 0 12px;
  font-family: var(--heading);
  color: var(--red);
  text-transform: uppercase;
}

.modal-lists ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--charcoal);
}

body.modal-open {
  overflow: hidden;
}

.showcase-guide {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.showcase-guide article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(47, 48, 51, 0.05);
}

.showcase-guide h3 {
  color: var(--red);
  font-size: 1.2rem;
}

.showcase-guide p {
  margin: 12px 0 0;
  color: var(--muted);
}

.showcase-guide strong {
  color: var(--charcoal);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 540px));
  justify-content: center;
  gap: 28px;
}

.review-card {
  position: relative;
  padding: 42px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 18px;
  left: 30px;
  color: rgba(191, 30, 46, 0.13);
  font-family: Georgia, serif;
  font-size: 9rem;
  line-height: 1;
}

.stars {
  position: relative;
  color: var(--red);
  letter-spacing: 0.18em;
}

.review-card p {
  position: relative;
  margin: 18px 0 28px;
  color: #353535;
}

.client {
  display: flex;
  align-items: center;
  gap: 14px;
}

.client span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soft-black);
  color: var(--white);
  font-weight: 900;
}

.client strong,
.client small {
  display: block;
}

.client strong {
  font-weight: 900;
}

.client small {
  color: var(--muted);
}

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

.contact-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  box-shadow: var(--shadow-strong);
}

.compact-contact {
  max-width: 1120px;
}

.contact-info,
.quote-form {
  padding: clamp(30px, 4vw, 54px);
}

.contact-info {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-info ul {
  display: grid;
  gap: 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-info li {
  display: grid;
  gap: 4px;
}

.contact-info strong {
  font-size: 0.76rem;
  text-transform: uppercase;
}

.quote-form {
  background: var(--soft-black);
  color: var(--white);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 3px;
  background: var(--white);
  color: var(--charcoal);
  padding: 14px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(191, 30, 46, 0.22);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.phone-cta {
  display: block;
  margin: 20px 0 4px;
  color: var(--red);
  font-family: var(--heading);
  font-size: clamp(2rem, 3.8vw, 3.7rem);
  line-height: 1;
  text-transform: uppercase;
}

.phone-cta.light {
  color: var(--white);
}

.site-footer {
  padding: 60px 0 24px;
  background: var(--soft-black);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 34px;
}

.footer-brand {
  width: fit-content;
  padding: 0;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer nav,
.site-footer .footer-grid > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer h3 {
  color: var(--white);
  font-size: 0.98rem;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.footer-bottom {
  width: var(--container);
  margin: 44px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.9rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 580ms ease, transform 580ms ease;
}

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

@media (max-width: 1180px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    display: grid;
    width: var(--container);
    max-height: 0;
    overflow: hidden;
    margin: 0 auto;
    gap: 4px;
    transition: max-height 220ms ease, padding 220ms ease;
  }

  .mobile-nav.open {
    max-height: 460px;
    padding: 0 0 24px;
  }

  .mobile-nav a {
    padding: 14px 0;
    font-weight: 900;
    text-transform: uppercase;
  }

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

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

  .support-layout,
  .showcase-guide {
    grid-template-columns: 1fr;
  }

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

  .support-grid article + article {
    border-left: 1px solid var(--line);
    border-top: 0;
  }

  .hero-visual {
    min-height: 520px;
    border-radius: 0 0 0 54px;
  }

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

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

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

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

@media (max-width: 820px) {
  :root {
    --container: min(100% - 32px, 1400px);
  }

  .header-inner {
    min-height: 76px;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 5.3rem);
    max-width: 8ch;
  }

  .hero-actions,
  .hero-actions .btn,
  .contact .btn {
    width: 100%;
  }

  .pillar-grid,
  .proof-grid,
  .process-grid,
  .work-grid,
  .review-grid,
  .showcase-guide,
  .modal-lists,
  .modal-proof-media,
  .field-row {
    grid-template-columns: 1fr;
  }

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

  .pillar + .pillar,
  .proof + .proof {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .dark-proof .proof + .proof {
    border-top-color: rgba(255, 255, 255, 0.18);
  }

  .split-section {
    grid-template-columns: 1fr;
  }

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

  .process-grid::before,
  .process-grid::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand-logo {
    width: 136px;
    max-height: 48px;
  }

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

  .hero-visual,
  .hero-visual img {
    min-height: 390px;
  }

  .hero-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
  }

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

  .contact-info,
  .quote-form,
  .review-card {
    padding: 30px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
