:root {
  --ges-red: #c41e3a;
  --ges-red-dark: #9b1b2e;
  --ges-red-light: #e8334f;
  --ges-black: #0a0a0a;
  --ges-charcoal: #141414;
  --ges-slate: #1e1e1e;
  --ges-gray: #6b7280;
  --ges-gray-light: #9ca3af;
  --ges-border: rgba(255, 255, 255, 0.08);
  --ges-surface: #f5f5f7;
  --ges-white: #ffffff;
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --container: min(1200px, calc(100% - 3rem));
  --header-height: 88px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ges-black);
  background: var(--ges-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

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

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--ges-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

.logo img {
  height: 58px;
  width: auto;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--ges-white);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

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

.btn-primary {
  background: var(--ges-red);
  color: var(--ges-white);
}

.btn-primary:hover {
  background: var(--ges-red-light);
}

.btn-outline {
  background: transparent;
  color: var(--ges-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--ges-white);
  background: rgba(255, 255, 255, 0.06);
}

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

.btn-dark:hover {
  background: var(--ges-charcoal);
}

.btn-ghost {
  background: transparent;
  color: var(--ges-black);
  border: 1px solid rgba(10, 10, 10, 0.15);
}

.btn-ghost:hover {
  border-color: var(--ges-black);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--ges-white);
  transition: transform 0.25s, opacity 0.25s;
}

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

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

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

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 99;
  background: var(--ges-black);
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav a {
  display: block;
  color: var(--ges-white);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ges-border);
}

.mobile-nav .btn {
  width: 100%;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--ges-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.72) 45%,
    rgba(10, 10, 10, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-height) + 4rem) 0 6rem;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--ges-red);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
}

.hero-lead {
  margin: 0 0 2.25rem;
  max-width: 560px;
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Stats bar */
.stats-bar {
  background: var(--ges-red);
  color: var(--ges-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.stat-item {
  padding: 2rem 1.5rem;
  background: var(--ges-red);
  text-align: center;
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item span {
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.88;
}

/* Sections */
.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-dark {
  background: var(--ges-black);
  color: var(--ges-white);
}

.section-surface {
  background: var(--ges-surface);
}

.section-header {
  max-width: 680px;
  margin-bottom: 3.5rem;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--ges-gray);
  font-size: 1.0625rem;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.62);
}

/* Service cards */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  position: relative;
  padding: 2rem;
  background: var(--ges-white);
  border: 1px solid rgba(10, 10, 10, 0.06);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(10, 10, 10, 0.08);
}

.service-card .number {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: rgba(196, 30, 58, 0.15);
  margin-bottom: 1rem;
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.service-card p {
  margin: 0 0 1.25rem;
  color: var(--ges-gray);
  font-size: 0.9375rem;
}

.service-card a {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ges-red);
}

.service-card a:hover {
  color: var(--ges-red-dark);
}

/* Process */
.process-grid {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 2rem 0 2rem 4.5rem;
  border-bottom: 1px solid var(--ges-border);
}

.process-step:last-child {
  border-bottom: none;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--ges-red);
  line-height: 1;
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 500;
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  max-width: 520px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.55), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item.featured {
  grid-column: span 2;
  aspect-ratio: 21 / 9;
}

/* Pillars */
.pillars-grid {
  display: grid;
  gap: 2rem;
}

.pillar {
  padding: 2rem;
  border: 1px solid var(--ges-border);
  background: rgba(255, 255, 255, 0.02);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(196, 30, 58, 0.12);
  color: var(--ges-red-light);
  font-size: 1.25rem;
}

.pillar h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}

.pillar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9375rem;
}

/* Testimonials */
.testimonials-track {
  display: grid;
  gap: 1.5rem;
}

.testimonial {
  padding: 2rem;
  background: var(--ges-white);
  border-left: 3px solid var(--ges-red);
}

.testimonial blockquote {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ges-charcoal);
}

.testimonial cite {
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ges-gray);
}

/* CTA band */
.cta-band {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: var(--ges-charcoal);
  color: var(--ges-white);
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(196, 30, 58, 0.15));
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}

.cta-inner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  max-width: 640px;
}

.cta-inner p {
  margin: 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.68);
}

/* Footer */
.site-footer {
  background: var(--ges-black);
  color: rgba(255, 255, 255, 0.72);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 52px;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ges-white);
}

.footer-col a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

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

.footer-contact p {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.footer-contact a {
  color: var(--ges-red-light);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--ges-border);
  font-size: 0.8125rem;
}

/* Inner pages */
.page-hero {
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background: var(--ges-black);
  color: var(--ges-white);
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.08;
}

.page-hero p {
  margin: 0;
  max-width: 620px;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.68);
}

.content-block {
  max-width: 760px;
}

.content-block h2 {
  margin: 2.5rem 0 1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p,
.content-block li {
  color: var(--ges-gray);
  font-size: 1.0625rem;
}

.content-block ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.content-block li {
  margin-bottom: 0.5rem;
}

.services-list {
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0;
}

.services-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--ges-surface);
  color: var(--ges-black);
  font-size: 0.9375rem;
  list-style: none;
}

.services-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  background: var(--ges-red);
  border-radius: 50%;
}

.contact-grid {
  display: grid;
  gap: 3rem;
}

.contact-card {
  padding: 2rem;
  background: var(--ges-surface);
}

.contact-card h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.contact-card p {
  margin: 0 0 0.5rem;
  color: var(--ges-gray);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid rgba(10, 10, 10, 0.12);
  border-radius: 2px;
  background: var(--ges-white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--ges-red);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.split-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.resource-cards {
  display: grid;
  gap: 1.25rem;
}

.resource-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  background: var(--ges-white);
  border: 1px solid rgba(10, 10, 10, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.resource-card:hover {
  border-color: rgba(196, 30, 58, 0.25);
  box-shadow: 0 12px 32px rgba(10, 10, 10, 0.06);
}

.resource-card h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.resource-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ges-gray);
}

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

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

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

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

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

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

  .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
  }

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

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

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

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cta-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

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

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

  .process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .process-step {
    padding: 0 0 0 4rem;
    border-bottom: none;
  }

  .process-step::before {
    top: 0;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

@media (max-width: 767px) {
  .header-actions .btn-outline {
    display: none;
  }

  .hero-scroll {
    display: none;
  }
}
