:root {
  --ivory: #f7f1e8;
  --warm-white: #fffdf8;
  --ink: #111111;
  --graphite: #2a2a2a;
  --gold: #b98a35;
  --gold-light: #d9b56d;
  --beige: #efe3d0;
  --line: rgba(185, 138, 53, 0.35);
  --shadow: 0 22px 60px rgba(42, 42, 42, 0.08);
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Manrope", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 22% 0%, rgba(255, 253, 248, 0.95), transparent 34rem),
    linear-gradient(180deg, var(--warm-white), var(--ivory) 36%, var(--warm-white));
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

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

.site-header,
.section-wrap,
.section-grid,
.footer {
  width: min(calc(100% - 48px), 1480px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  border-bottom: 1px solid rgba(185, 138, 53, 0.18);
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(18px);
}

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

.brand__image {
  width: 42px;
  height: 42px;
  object-fit: cover;
  object-position: 50% 31%;
  border-radius: 50%;
}

.brand__wordmark {
  display: grid;
  gap: 1px;
  letter-spacing: 0.18em;
  line-height: 1;
}

.brand__wordmark strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.brand__wordmark em {
  color: var(--gold);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 700;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 36px);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav a,
.footer nav a {
  position: relative;
  outline-offset: 8px;
}

.nav a::after,
.footer nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--gold);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav a:hover::after,
.footer nav a:hover::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  border: 1px solid var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(185, 138, 53, 0.16);
}

.button--primary {
  background: linear-gradient(135deg, var(--gold), #c99b49);
  color: var(--warm-white);
}

.button--secondary,
.button--outline {
  background: rgba(255, 253, 248, 0.52);
  color: var(--ink);
}

.button--secondary:hover,
.button--outline:hover {
  background: var(--gold);
  color: var(--warm-white);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: var(--warm-white);
  color: var(--ink);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  gap: clamp(32px, 4.5vw, 86px);
  align-items: center;
  padding: clamp(52px, 7vw, 104px) 0 28px;
}

.hero__copy,
.split-card,
.pillar,
.phase,
.service-card,
.info-panel,
.final-cta > div {
  min-width: 0;
}

.eyebrow,
.section-title p,
.info-panel h2 {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1,
.split-card h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  line-height: 0.98;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(4rem, 5.4vw, 6rem);
}

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

.hero__text {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--graphite);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 34px;
}

.microcopy {
  max-width: 410px;
  margin: 24px 0 0;
  color: var(--graphite);
  font-size: 0.93rem;
}

.hero__media {
  position: relative;
  min-height: clamp(460px, 43vw, 690px);
  margin: 0;
  overflow: hidden;
}

.hero__media::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 22%;
  background: linear-gradient(90deg, var(--warm-white), rgba(255, 253, 248, 0));
  content: "";
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  min-height: clamp(460px, 43vw, 690px);
  object-fit: cover;
  object-position: center;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.7);
  box-shadow: var(--shadow);
}

.pillar {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 136px;
  padding: 28px;
}

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

.pillar svg {
  width: 52px;
  color: var(--gold);
}

.pillar h2,
.service-card h3,
.phase h3 {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pillar p,
.service-card p,
.phase li,
.info-panel dd {
  margin: 7px 0 0;
  color: var(--graphite);
  font-size: 0.9rem;
}

.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(42px, 8vw, 140px);
  padding: 56px 0 42px;
}

.split-card--line {
  padding-left: clamp(32px, 4vw, 70px);
  border-left: 1px solid var(--gold);
}

.split-card h2 {
  max-width: 690px;
  font-size: clamp(2.25rem, 3.3vw, 4rem);
}

.split-card p:not(.eyebrow) {
  max-width: 650px;
  color: var(--graphite);
}

.section-title {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin: 14px 0 28px;
  text-align: center;
}

.section-title span {
  height: 1px;
  background: var(--line);
}

.section-title p {
  margin: 0;
}

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

.phase {
  position: relative;
  padding: 22px 22px 18px;
  border: 1px solid transparent;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.phase:hover {
  border-color: var(--line);
  background: rgba(255, 253, 248, 0.58);
  transform: translateY(-3px);
}

.phase strong {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.phase ul,
.studio-panel ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.phase li,
.studio-panel li {
  position: relative;
  padding-left: 18px;
}

.phase li::before,
.studio-panel li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "›";
}

.services {
  padding-top: 34px;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 438px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.76);
  box-shadow: 0 14px 42px rgba(42, 42, 42, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(185, 138, 53, 0.7);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-card img {
  width: 100%;
  height: 180px;
  flex: 0 0 180px;
  object-fit: cover;
}

.service-card div {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
  background: rgba(255, 253, 248, 0.92);
}

.service-card i {
  color: var(--gold);
  font-size: 1.55rem;
  font-style: normal;
  line-height: 1;
}

.service-card h3 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
}

.service-card a {
  margin-top: auto;
  /* WCAG AA: contraste 5.6:1 sobre fondo claro (#fffdf8) — oscurecemos --gold (#b98a35, 3.0:1) */
  color: #835f1a;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.55fr;
  gap: 0;
  margin-top: 28px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.72);
}

.info-panel {
  min-height: 396px;
  padding: 30px;
}

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

.info-panel dl {
  display: grid;
  gap: 13px;
  margin: 0;
}

.info-panel dt {
  font-size: 0.9rem;
  font-weight: 800;
}

.info-panel dd {
  margin: 2px 0 0;
}

.studio-panel {
  display: grid;
  grid-template-columns: 1fr minmax(160px, 0.76fr);
  gap: 24px;
}

.studio-panel h2,
.studio-panel h3,
.studio-panel ul {
  grid-column: 1;
}

.studio-panel h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.18;
}

.studio-panel img {
  grid-column: 2;
  grid-row: 1 / 5;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.clients-carousel {
  margin-top: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.clients-carousel .eyebrow {
  margin-left: 30px;
}

.client-marquee {
  position: relative;
  overflow: hidden;
}

.client-marquee::before,
.client-marquee::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 110px;
  content: "";
  pointer-events: none;
}

.client-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--ivory), rgba(247, 241, 232, 0));
}

.client-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--ivory), rgba(247, 241, 232, 0));
}

.client-track {
  display: flex;
  width: max-content;
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
  animation: clientMarquee 28s linear infinite;
}

.client-logo {
  display: block;
  width: auto;
  height: clamp(26px, 3vw, 42px);
  max-width: 190px;
  object-fit: contain;
  opacity: 0.82;
  filter: grayscale(1) contrast(1.08);
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(1) contrast(1.18);
  transform: translateY(-1px);
}

.client-logo--invert {
  filter: invert(1) grayscale(1) contrast(1.08);
}

.client-logo--invert:hover {
  filter: invert(1) grayscale(1) contrast(1.18);
}

.client-logo--wide {
  height: clamp(18px, 2vw, 30px);
  max-width: 220px;
}

.client-logo--loewe {
  height: clamp(38px, 4vw, 58px);
}

.client-logo--mango {
  height: clamp(22px, 2.5vw, 34px);
}

.client-logo--sandoz {
  height: clamp(30px, 3.4vw, 48px);
}

@keyframes clientMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.final-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  margin-top: 16px;
  padding: 28px 44px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.82);
}

.final-cta__mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 2rem;
}

.final-cta h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.final-cta p {
  max-width: 660px;
  margin: 10px 0 0;
  color: var(--graphite);
}

.final-cta__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  min-width: min(360px, 34vw);
}

.final-cta__actions small {
  color: var(--graphite);
  grid-column: 1 / -1;
}

.footer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
  padding: 30px 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(42, 42, 42, 0.75);
  font-size: 0.78rem;
  text-align: center;
}

.proposal-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  pointer-events: none;
}

.proposal-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}

.proposal-modal__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 0%, rgba(217, 181, 109, 0.2), transparent 34rem),
    rgba(247, 241, 232, 0.88);
  backdrop-filter: blur(10px);
}

.proposal-dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 860px);
  max-height: min(92vh, 920px);
  overflow: auto;
  border: 1px solid rgba(217, 181, 109, 0.42);
  border-radius: 8px;
  background: var(--warm-white);
  box-shadow: 0 34px 110px rgba(42, 42, 42, 0.18), inset 0 0 0 1px rgba(255, 253, 248, 0.92);
  color: var(--ink);
  padding: clamp(26px, 4vw, 48px);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  transition: opacity 180ms ease, transform 220ms ease;
}

.proposal-modal.is-open .proposal-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.proposal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(217, 181, 109, 0.44);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.proposal-head {
  max-width: 650px;
}

.proposal-head .eyebrow {
  color: var(--gold);
}

.proposal-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 5vw, 4.4rem);
  line-height: 1;
}

.proposal-head p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--graphite);
  font-size: 1rem;
}

.proposal-progress {
  height: 6px;
  margin: 30px 0 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(185, 138, 53, 0.14);
}

.proposal-progress span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 220ms ease;
}

.proposal-step-label {
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.proposal-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.proposal-step {
  display: none;
  gap: 24px;
}

.proposal-step.is-active {
  display: grid;
  animation: modalStep 220ms ease;
}

@keyframes modalStep {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.question-group {
  display: grid;
  gap: 12px;
}

.question-group legend {
  margin-bottom: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  font-weight: 700;
  line-height: 1.15;
}

.question-note {
  margin: -4px 0 4px;
  color: rgba(42, 42, 42, 0.72);
  font-size: 0.88rem;
}

.question-group label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.68);
  color: var(--graphite);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.question-group label:hover,
.question-group label:has(input:checked) {
  border-color: rgba(217, 181, 109, 0.72);
  background: rgba(185, 138, 53, 0.16);
  transform: translateY(-1px);
}

.question-group input[type="radio"] {
  width: 17px;
  height: 17px;
  accent-color: var(--gold);
  flex: 0 0 auto;
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-top: 6px;
}

.contact-fields label {
  display: grid;
  gap: 7px;
  color: rgba(42, 42, 42, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-fields input,
.contact-fields textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  outline: none;
  padding: 14px 14px;
  text-transform: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-fields textarea {
  resize: vertical;
}

.contact-fields input:focus,
.contact-fields textarea:focus,
.proposal-close:focus-visible {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(185, 138, 53, 0.18);
}

.contact-fields__wide {
  grid-column: 1 / -1;
}

.form-error {
  min-height: 22px;
  margin-top: 18px;
  color: #8d5f11;
  font-size: 0.9rem;
  font-weight: 700;
}

.proposal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 14px;
}

.proposal-actions [data-prev-step] {
  display: none;
}

.proposal-actions [data-submit-proposal] {
  display: none;
}

.proposal-success {
  margin-top: 30px;
  padding: 28px;
  border: 1px solid rgba(217, 181, 109, 0.38);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.74);
}

.proposal-success strong {
  display: block;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.3rem;
  line-height: 1;
}

.proposal-success p {
  margin: 12px 0 0;
  color: var(--graphite);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@media (max-width: 1280px) {
  .site-header,
  .section-wrap,
  .section-grid,
  .footer {
    width: min(calc(100% - 36px), 1180px);
  }

  .site-header {
    gap: 18px;
  }

  .nav {
    gap: 16px;
    font-size: 0.68rem;
  }

  .hero {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .hero__media,
  .hero__media img {
    min-height: clamp(420px, 46vw, 560px);
  }

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

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

  .info-panel:nth-child(3) {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    min-height: 78px;
  }

  .nav {
    position: fixed;
    top: 78px;
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 16px;
    border-bottom: 1px solid rgba(185, 138, 53, 0.16);
    font-size: 0.82rem;
  }

  .header-cta {
    justify-self: end;
    min-height: 46px;
    padding: 0 18px;
  }

  .menu-toggle {
    display: block;
  }

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

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 11vw, 5.5rem);
  }

  .hero__media,
  .hero__media img {
    min-height: 420px;
  }

  .hero__media img {
    object-position: center 42%;
  }

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

  .pillar:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .pillar:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .split-card--line {
    padding-left: 0;
    border-left: 0;
  }

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

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

  .final-cta {
    grid-template-columns: auto 1fr;
  }

  .final-cta__actions {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section-wrap,
  .section-grid,
  .footer {
    width: min(calc(100% - 28px), 100%);
  }

  .site-header {
    gap: 10px;
  }

  .brand__image {
    width: 36px;
    height: 36px;
  }

  .brand__wordmark strong {
    font-size: 0.9rem;
  }

  .brand__wordmark em {
    font-size: 0.58rem;
  }

  .header-cta {
    display: none;
  }

  .hero__actions,
  .final-cta__actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .button {
    width: 100%;
    min-height: 50px;
    padding-inline: 18px;
  }

  .hero__media,
  .hero__media img {
    min-height: 300px;
  }

  .hero__media::before {
    width: 28%;
  }

  .hero__media img {
    object-position: center;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 10.4vw, 2.85rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .hero__copy,
  .hero__actions,
  .microcopy,
  .hero__media {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .hero__text,
  .microcopy {
    width: min(330px, calc(100vw - 28px));
    max-width: min(330px, calc(100vw - 28px));
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .pillars,
  .phase-grid,
  .service-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .pillar,
  .info-panel,
  .info-panel + .info-panel,
  .info-panel:nth-child(3),
  .info-panel:nth-child(4) {
    border-left: 0;
  }

  .pillar + .pillar,
  .info-panel + .info-panel {
    border-top: 1px solid var(--line);
  }

  .pillar {
    grid-template-columns: 44px 1fr;
    min-height: 118px;
    padding: 22px;
  }

  .pillar svg {
    width: 40px;
  }

  .section-title {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-title span {
    display: none;
  }

  .phase {
    border-color: var(--line);
    background: rgba(255, 253, 248, 0.52);
  }

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

  .service-card img {
    height: 210px;
    flex-basis: 210px;
  }

  .service-card div {
    min-height: 200px;
    padding: 24px;
    background: var(--warm-white);
  }

  .service-card h3 {
    margin-top: 14px;
    font-size: clamp(1.45rem, 8vw, 2rem);
    line-height: 1.12;
  }

  .service-card p {
    color: var(--graphite);
    font-size: 1rem;
  }

  .studio-panel {
    grid-template-columns: 1fr;
  }

  .studio-panel h2,
  .studio-panel h3,
  .studio-panel ul,
  .studio-panel img {
    grid-column: 1;
  }

  .studio-panel img {
    grid-row: auto;
    min-height: 240px;
  }

  .logo-cloud {
    min-height: 0;
  }

  .final-cta {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .final-cta__mark {
    width: 58px;
    height: 58px;
  }

  .proposal-modal {
    align-items: stretch;
    padding: 12px;
  }

  .proposal-dialog {
    max-height: calc(100vh - 24px);
    padding: 24px 18px;
  }

  .proposal-close {
    top: 12px;
    right: 12px;
  }

  .proposal-head {
    padding-right: 42px;
  }

  .proposal-step {
    gap: 18px;
  }

  .question-group label {
    min-height: 46px;
    padding: 11px 12px;
    font-size: 0.92rem;
  }

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

  .proposal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

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

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

/* ---------- Footer legal links ---------- */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  opacity: 0.75;
}
.footer-legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal a:hover { opacity: 1; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem 1rem;
  z-index: 9999;
  max-width: 720px;
  margin-inline: auto;
  background: rgba(15, 15, 18, 0.96);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  font-family: 'Inter', system-ui, sans-serif;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1 1 280px;
}
.cookie-banner a { color: inherit; text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.cookie-banner__actions .button {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
}
@media (max-width: 540px) {
  .cookie-banner { inset: auto 0.5rem 0.5rem 0.5rem; padding: 0.85rem 1rem; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .button { flex: 1; text-align: center; }
}

/* ---------- Legal pages ---------- */
.legal-page {
  max-width: 760px;
  margin: 4rem auto;
  padding: 0 1.5rem 4rem;
  line-height: 1.7;
}
.legal-page h1 { margin-bottom: 0.5rem; }
.legal-page .legal-updated {
  display: block;
  opacity: 0.6;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
.legal-page h2 {
  margin-top: 2.5rem;
  font-size: 1.4rem;
}
.legal-page h3 {
  margin-top: 1.5rem;
  font-size: 1.1rem;
}
.legal-page p,
.legal-page ul {
  margin: 0.75rem 0;
}
.legal-page ul { padding-left: 1.25rem; }
.legal-page a { color: inherit; text-decoration: underline; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  vertical-align: top;
}
.legal-table th {
  font-weight: 600;
  background: rgba(0, 0, 0, 0.04);
}

/* ---------- Service subpage ---------- */
.service-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.service-hero {
  padding: 4.5rem 0 2.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}
.service-hero .eyebrow { margin-bottom: 1rem; }
.service-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
}
.service-hero h1 span { font-style: italic; }
.service-hero p.lead {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 1.75rem;
  opacity: 0.85;
}
.service-hero__media img,
.service-hero__media picture {
  width: 100%;
  height: auto;
  border-radius: 16px;
}
@media (max-width: 860px) {
  .service-hero { grid-template-columns: 1fr; padding-top: 2.5rem; }
}

.service-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.service-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin: 0 0 1.5rem;
}
.service-section p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 70ch;
}
.service-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.service-includes li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  font-size: 0.97rem;
  line-height: 1.55;
  position: relative;
  padding-left: 2.5rem;
}
.service-includes li::before {
  content: '✓';
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-weight: 700;
}
.service-for {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1rem;
}
.service-for div {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
}
.service-cta {
  margin: 4rem 0 5rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border-radius: 20px;
  text-align: center;
}
.service-cta h2 { margin-top: 0; }
.service-cta p { margin: 0 auto 1.5rem; max-width: 56ch; }

.service-related {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 1.5rem;
}
.service-related a {
  display: block;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  font-size: 0.95rem;
}
.service-related a:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- Case study pages ---------- */
.case-page .service-hero p.subtitle {
  font-size: 1.15rem;
  font-style: italic;
  opacity: 0.7;
  margin: 0 0 1.5rem;
}
.case-block {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.case-block:first-of-type { border-top: none; }
.case-block h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 1rem;
}
.case-process {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.case-process li {
  counter-increment: step;
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 0.96rem;
  line-height: 1.55;
}
.case-process li::before {
  content: "0" counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  opacity: 0.5;
}
.case-spec {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-top: 1rem;
}
.case-spec dt {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.25rem;
}
.case-spec dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}
.case-spec > div {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.2rem;
  border-radius: 12px;
}

/* ---------- Cases index ---------- */
.cases-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 2.5rem 0 4rem;
}
.case-card {
  display: flex;
  flex-direction: column;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, background 0.2s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
}
.case-card .eyebrow {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
}
.case-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}
.case-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.8;
  margin: 0 0 1rem;
  flex: 1;
}
.case-card .case-card__meta {
  font-size: 0.85rem;
  opacity: 0.65;
}
.case-card .case-card__link {
  margin-top: 0.75rem;
  font-weight: 600;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  display: grid;
  gap: 0.75rem;
  margin: 2.5rem 0 4rem;
}
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: 0;
  color: inherit;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
}
.faq-item__btn:hover { background: rgba(255, 255, 255, 0.03); }
.faq-item__btn::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-item__btn::after { transform: rotate(45deg); }
.faq-item__answer {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.98rem;
  line-height: 1.7;
  opacity: 0.85;
}
.faq-item__answer p { margin: 0 0 0.75rem; }
.faq-item__answer p:last-child { margin-bottom: 0; }

@media (max-width: 540px) {
  .faq-item__btn { padding: 1rem 1.15rem; font-size: 1rem; }
  .faq-item__answer { padding: 0 1.15rem 1.25rem; }
}

/* ---------- Long-form guide ---------- */
.guide-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.guide-page .guide-hero {
  padding: 4rem 0 2rem;
}
.guide-page .guide-hero .eyebrow { margin-bottom: 0.75rem; }
.guide-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
}
.guide-meta {
  font-size: 0.875rem;
  opacity: 0.6;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}
.guide-meta span::before {
  content: '·';
  margin-right: 1.25rem;
  opacity: 0.4;
}
.guide-meta span:first-child::before { content: ''; margin-right: 0; }

.guide-toc {
  margin: 2rem 0 3rem;
  padding: 1.5rem 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}
.guide-toc h2 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin: 0 0 1rem;
  font-weight: 600;
}
.guide-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}
.guide-toc li {
  counter-increment: toc;
  margin: 0.5rem 0;
}
.guide-toc li::before {
  content: counter(toc, decimal-leading-zero) ".";
  display: inline-block;
  width: 2.25rem;
  opacity: 0.5;
  font-feature-settings: "tnum";
}
.guide-toc a {
  color: inherit;
  text-decoration: none;
  font-size: 0.97rem;
  line-height: 1.4;
}
.guide-toc a:hover { text-decoration: underline; }

.guide-body {
  font-size: 1.0625rem;
  line-height: 1.75;
}
.guide-body p {
  margin: 0 0 1.25rem;
}
.guide-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  margin: 3.5rem 0 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.2;
  scroll-margin-top: 5rem;
}
.guide-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem;
}
.guide-body ul {
  padding-left: 1.25rem;
  margin: 0 0 1.5rem;
}
.guide-body ul li {
  margin-bottom: 0.5rem;
}
.guide-body strong { color: inherit; }
.guide-body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

.guide-callout {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid rgba(255, 255, 255, 0.25);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  border-radius: 0 12px 12px 0;
  font-size: 1rem;
}
.guide-callout strong { display: block; margin-bottom: 0.4rem; font-size: 1.05rem; }

.guide-cta-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  margin: 3rem 0 4rem;
}
.guide-cta-grid .guide-cta {
  margin: 0;
  padding: 2rem 1.5rem;
  text-align: left;
}
.guide-cta-grid .guide-cta h2 { margin: 0 0 0.75rem; font-size: 1.25rem; }
.guide-cta-grid .guide-cta p { margin: 0 0 1.25rem; font-size: 0.95rem; }
@media (max-width: 640px) {
  .guide-cta-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer NAP (Name + Address + Phone) ---------- */
.footer-nap {
  font-style: normal;
  font-size: 0.875rem;
  opacity: 0.7;
  line-height: 1.55;
  text-align: center;
  margin-top: 0.5rem;
}
.footer-nap strong {
  display: block;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 0.15rem;
}

/* ---------- Footer phone link ---------- */
.footer-phone {
  margin: 0.5rem 0;
  text-align: center;
  font-size: 0.95rem;
}
.footer-phone a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.footer-phone a:hover { border-bottom-color: currentColor; }
.footer-phone a::before {
  content: '☎  ';
  opacity: 0.6;
}
