@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:wght@600;700&family=Poppins:wght@400;500;600&display=swap");

:root {
  --white: #ffffff;
  --off-white: #fafafa;
  --light-gray: #eeeeee;
  --border: #e0e0e0;
  --text: #222222;
  --text-body: #333333;
  --text-muted: #666666;
  --accent: #c41e3a;
  --accent-dark: #b71c1c;
  --footer-bg: #141824;
  --footer-text: #c8cdd8;
  --max: 1160px;
  --header-h: 78px;
  --radius: 4px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-body: "Poppins", "Montserrat", sans-serif;
  --font-display: "Montserrat", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.brand img {
  height: 46px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.6rem 1.2rem !important;
  background: var(--accent) !important;
  color: var(--white) !important;
  border-radius: var(--radius);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 2rem;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    font-size: 1rem;
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    border-bottom: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.7rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--accent);
}

.btn-dark {
  background: var(--text);
  color: var(--white);
}

.btn-dark:hover {
  background: #111;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 6rem;
  overflow: hidden;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 30, 50, 0.72) 0%,
    rgba(0, 40, 60, 0.45) 55%,
    rgba(0, 30, 50, 0.35) 100%
  );
  pointer-events: none;
}

.hero__notch {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 3;
  height: 72px;
  pointer-events: none;
}

.hero__notch svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Page hero (inner) */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 3.5rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.page-hero--image {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  border-bottom: none;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    0deg,
    rgba(0, 25, 40, 0.82) 0%,
    rgba(0, 30, 50, 0.5) 100%
  );
}

.page-hero--image .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  margin: 0.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

.page-hero--image h1 {
  color: var(--white);
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 52ch;
}

.page-hero--image p {
  color: rgba(255, 255, 255, 0.88);
}

.page-hero--image .eyebrow,
.eyebrow--on-dark {
  color: #ffd0d6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.page-hero--services {
  min-height: 38vh;
}

.page-hero--services .page-hero__overlay {
  background: linear-gradient(
    105deg,
    rgba(0, 18, 32, 0.88) 0%,
    rgba(0, 28, 48, 0.55) 55%,
    rgba(0, 30, 50, 0.4) 100%
  );
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Sections */
.section {
  padding: 5rem 0;
  position: relative;
}

.section--pattern {
  background-color: var(--off-white);
  background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
}

.section--gray {
  background: var(--light-gray);
}

.section-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  margin: 0.5rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 860px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

.pillar {
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s;
}

.pillar:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.pillar__mark {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  object-fit: contain;
}

.pillar h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
}

.pillar p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* About split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.about-split__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-split__image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.about-split__copy h2 {
  margin: 0.5rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.about-split__copy h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent);
}

.about-split__copy p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

.meta-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Services grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.service-tile {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}

.service-tile:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(196, 30, 58, 0.25);
}

.service-tile__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.service-tile__thumb {
  height: 140px;
  margin: -1.75rem -1.75rem 1.25rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.service-tile__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-tile:hover .service-tile__thumb img {
  transform: scale(1.05);
}

.service-tile h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.service-tile p {
  margin: 0 0 1rem;
  flex-grow: 1;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-tile__link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s;
}

.service-tile__link:hover {
  color: var(--accent-dark);
}

/* Clients */
.clients-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.clients-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 88px;
  padding: 1rem 1.25rem;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.3s, transform 0.3s;
}

.client-logo:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.client-logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (max-width: 700px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

.stat {
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat__label {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.stat__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat__suffix {
  font-size: 1.25rem;
  font-weight: 600;
}

/* CTA band */
.cta-band {
  padding: 4.5rem 0;
  background: var(--accent);
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
}

.cta-band p {
  margin: 0 auto 1.75rem;
  max-width: 48ch;
  opacity: 0.92;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--accent);
}

.cta-band .btn-primary:hover {
  background: var(--off-white);
}

/* Service detail (services page) */
.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.service-nav a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  background: var(--white);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.service-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.service-block:first-of-type {
  padding-top: 0;
}

.service-block--reverse .service-block__visual {
  order: 2;
}

.service-block--reverse .service-block__content {
  order: 1;
}

@media (max-width: 900px) {
  .service-block,
  .service-block--reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-block--reverse .service-block__visual,
  .service-block--reverse .service-block__content {
    order: unset;
  }
}

.service-block__visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-block__visual img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
}

.service-block__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.service-block__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.service-block h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--text);
}

.service-block > .service-block__content > p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
}

.feature-list {
  display: grid;
  gap: 0.85rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-list h4 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.feature-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}

@media (max-width: 700px) {
  .feature-cols {
    grid-template-columns: 1fr;
  }
}

/* Contact */
.contact-section {
  padding: 5rem 0;
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.contact-info h2 {
  margin: 0.5rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--text);
}

.contact-info > p {
  margin: 0 0 2rem;
  color: var(--text-muted);
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.contact-card a,
.contact-card span {
  color: var(--text-body);
  font-size: 1rem;
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--off-white);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: var(--white);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.form-note.is-ok {
  color: var(--accent);
}

/* Footer */
.site-footer {
  position: relative;
  padding: 0;
  background: linear-gradient(180deg, #10141e 0%, #0c1018 100%);
  color: var(--footer-text);
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #e85a6e 45%, var(--accent) 100%);
}

.site-footer .container {
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-bottom: 1.5rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 38ch;
}

.footer-brand a {
  display: inline-block;
}

.footer-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(200, 205, 216, 0.88);
}

.footer-cta {
  align-self: center;
  flex-shrink: 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem 3rem;
  margin-bottom: 2.25rem;
}

@media (max-width: 720px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-top {
    flex-direction: column;
  }
}

.footer-label {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.35rem;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-contact a,
.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.94rem;
  color: rgba(200, 205, 216, 0.92);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: rgba(196, 30, 58, 0.18);
  color: #f28a98;
  flex-shrink: 0;
}

.footer-contact__icon svg {
  display: block;
}

.footer-bottom {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(200, 205, 216, 0.55);
}

.footer-bottom strong {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.reveal.is-in,
.hero .reveal,
.services-showcase .reveal {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Services showcase (homepage) */
.services-showcase {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  color: var(--white);
}

.services-showcase--page {
  padding-top: 4.25rem;
}

.services-showcase__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.services-showcase__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-showcase__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.82);
  pointer-events: none;
}

.services-showcase__inner {
  position: relative;
  z-index: 1;
}

.section-head--light .eyebrow--light,
.services-showcase .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.section-head--light h2,
.services-showcase .section-head h2 {
  color: var(--white);
}

.section-head--light p,
.services-showcase .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

.svc-boxes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .svc-boxes {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.svc-box {
  display: block;
  width: 100%;
  margin: 0;
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-body);
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s;
}

.svc-box:hover,
.svc-box:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(196, 30, 58, 0.35);
  outline: none;
}

.svc-box__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  object-fit: contain;
}

.svc-box h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.35;
}

.svc-box p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.services-showcase__cta {
  margin: 2.5rem 0 0;
  text-align: center;
}

/* Service popup modal */
.svc-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.svc-popup[hidden] {
  display: none;
}

.svc-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.72);
  cursor: pointer;
}

.svc-popup__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.svc-popup__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius);
  background: var(--off-white);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.svc-popup__close:hover {
  background: var(--light-gray);
  color: var(--accent);
}

.svc-popup__dialog > h2 {
  margin: 0 2rem 1.25rem 0;
  padding-right: 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.svc-popup__body p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.svc-popup__body p:last-child {
  margin-bottom: 0;
}

.svc-popup__list {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.svc-popup__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.svc-popup__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.svc-feature {
  margin-bottom: 1.25rem;
}

.svc-feature:last-child {
  margin-bottom: 0;
}

.svc-feature h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.4;
}

.svc-feature p {
  margin: 0;
}

/* Clickable service blocks (services page) */
.service-block--popup {
  cursor: pointer;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.service-block--popup:hover,
.service-block--popup:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.service-block--popup::after {
  content: "View details";
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

body.svc-popup-open {
  overflow: hidden;
}
