:root {
  --navy: #0f2a4a;
  --blue: #1d5fd1;
  --cyan: #0097a7;
  --mint: #2fbf9f;
  --amber: #e0a540;
  --coral: #db6b5f;
  --paper: #f6f9fc;
  --white: #ffffff;
  --ink: #132238;
  --muted: #65758a;
  --line: #d7e1eb;
  --soft: #eaf4f8;
  --soft-cyan: #dff5f7;
  --accent: #50677f;
  --accent-soft: #f0f4f8;
  --accent-line: #c7d4e1;
  --whatsapp: #22c55e;
  --whatsapp-dark: #16a34a;
  --shadow: 0 18px 46px rgba(15, 42, 74, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Aptos, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

body,
input,
select,
textarea,
button {
  font: 500 16px/1.5 Inter, Aptos, "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

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

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

button,
input,
select,
textarea {
  border: 0;
}

.shell-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(15, 42, 74, 0.06);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  min-height: 64px;
  padding: 10px clamp(18px, 4vw, 54px);
  position: sticky;
  top: 0;
  z-index: 30;
}

.shell-header.is-scrolled {
  box-shadow: 0 12px 30px rgba(15, 42, 74, 0.08);
}

.brand img {
  height: 42px;
  width: auto;
}

.site-nav {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 3px;
  justify-self: center;
  padding: 5px;
  box-shadow: 0 10px 26px rgba(15, 42, 74, 0.09);
}

.site-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  padding: 8px 13px;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--navy);
  box-shadow: 0 8px 16px rgba(15, 42, 74, 0.14);
  color: var(--white);
}

.nav-cta,
.button {
  align-items: center;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  font-weight: 700;
  justify-content: center;
  min-height: 43px;
  padding: 10px 16px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-cta,
.button.primary {
  background: var(--navy);
  box-shadow: 0 12px 26px rgba(15, 42, 74, 0.14);
  color: var(--white);
}

.nav-cta[data-whatsapp] {
  background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
  box-shadow: 0 16px 30px rgba(22, 163, 74, 0.25);
  color: var(--white);
}

.nav-cta[data-whatsapp]::before,
.button[data-whatsapp]::before,
.plan-actions a[data-whatsapp]::before {
  background: currentColor;
  content: "";
  flex: 0 0 18px;
  height: 18px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.04 2.1A9.76 9.76 0 0 0 3.7 17l-1.1 4.05 4.16-1.08a9.73 9.73 0 0 0 5.28 1.53h.01A9.76 9.76 0 0 0 21.8 11.75 9.76 9.76 0 0 0 12.04 2.1Zm.01 17.73h-.01a8.08 8.08 0 0 1-4.12-1.13l-.3-.18-2.47.65.66-2.4-.2-.31a8.07 8.07 0 1 1 6.44 3.37Zm4.43-6.04c-.24-.12-1.43-.71-1.66-.79-.22-.08-.38-.12-.54.12-.16.24-.62.79-.77.95-.14.16-.28.18-.52.06-.24-.12-1.02-.38-1.95-1.2-.72-.64-1.2-1.44-1.34-1.68-.14-.24-.02-.37.1-.49.11-.1.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.54-1.31-.74-1.8-.2-.47-.4-.41-.54-.42h-.46c-.16 0-.42.06-.64.3-.22.24-.84.82-.84 2s.86 2.32.98 2.48c.12.16 1.7 2.59 4.12 3.63.58.25 1.03.4 1.38.51.58.18 1.1.16 1.52.1.46-.07 1.43-.58 1.63-1.14.2-.56.2-1.04.14-1.14-.06-.1-.22-.16-.46-.28Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.04 2.1A9.76 9.76 0 0 0 3.7 17l-1.1 4.05 4.16-1.08a9.73 9.73 0 0 0 5.28 1.53h.01A9.76 9.76 0 0 0 21.8 11.75 9.76 9.76 0 0 0 12.04 2.1Zm.01 17.73h-.01a8.08 8.08 0 0 1-4.12-1.13l-.3-.18-2.47.65.66-2.4-.2-.31a8.07 8.07 0 1 1 6.44 3.37Zm4.43-6.04c-.24-.12-1.43-.71-1.66-.79-.22-.08-.38-.12-.54.12-.16.24-.62.79-.77.95-.14.16-.28.18-.52.06-.24-.12-1.02-.38-1.95-1.2-.72-.64-1.2-1.44-1.34-1.68-.14-.24-.02-.37.1-.49.11-.1.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.54-1.31-.74-1.8-.2-.47-.4-.41-.54-.42h-.46c-.16 0-.42.06-.64.3-.22.24-.84.82-.84 2s.86 2.32.98 2.48c.12.16 1.7 2.59 4.12 3.63.58.25 1.03.4 1.38.51.58.18 1.1.16 1.52.1.46-.07 1.43-.58 1.63-1.14.2-.56.2-1.04.14-1.14-.06-.1-.22-.16-.46-.28Z'/%3E%3C/svg%3E") center / contain no-repeat;
  width: 18px;
}

.button.ghost {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
}

.button.ghost.dark {
  background: #234666;
  border: 1px solid #416987;
  color: var(--white);
}

.button.wide {
  width: 100%;
}

.button:hover,
.nav-cta:hover,
.plan-card:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: none;
  height: 40px;
  justify-self: end;
  position: relative;
  width: 40px;
}

.menu-toggle span {
  background: var(--navy);
  height: 2px;
  left: 9px;
  position: absolute;
  right: 9px;
  transition: top 160ms ease, transform 160ms ease;
}

.menu-toggle span:first-child {
  top: 14px;
}

.menu-toggle span:last-child {
  top: 24px;
}

.menu-toggle.is-open span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  top: 19px;
  transform: rotate(-45deg);
}

.home-main,
.compact-page,
.quote-main {
  margin: 0 auto;
  max-width: 1180px;
  padding: 22px clamp(16px, 4vw, 34px) 18px;
}

.home-main {
  min-height: auto;
  max-width: 1180px;
}

.home-hero {
  align-items: center;
  background: #071b31;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(15, 42, 74, 0.18);
  color: var(--white);
  display: grid;
  gap: clamp(20px, 2.7vw, 34px);
  grid-template-columns: 1fr;
  justify-items: center;
  min-height: min(600px, calc(100vh - 86px));
  overflow: hidden;
  padding: clamp(34px, 4.6vw, 62px);
  position: relative;
}

.home-hero::before {
  background:
    radial-gradient(circle at 50% 38%, rgba(46, 68, 93, 0.42) 0%, rgba(7, 27, 49, 0.74) 50%, rgba(7, 27, 49, 0.96) 100%),
    linear-gradient(180deg, rgba(7, 27, 49, 0.12) 0%, rgba(7, 27, 49, 0.82) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.home-hero::after {
  background:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hero-backdrop {
  inset: 0;
  margin: 0;
  position: absolute;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.03);
  transition: transform 120ms linear;
  z-index: 0;
}

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

.hero-copy {
  justify-self: center;
  max-width: 900px;
  position: relative;
  text-align: center;
  z-index: 3;
}

.hero-copy::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.58), transparent);
  content: "";
  display: block;
  height: 1px;
  margin: 0 auto 20px;
  max-width: 360px;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(42px, 5.3vw, 72px);
  letter-spacing: 0;
  line-height: 0.96;
  margin-left: auto;
  margin-right: auto;
  max-width: 890px;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.hero-copy .lead {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.5vw, 19px);
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}

.home-hero .action-row {
  justify-content: flex-start;
}

.home-hero .eyebrow {
  color: #dce8f2;
}

.home-hero .button.primary {
  background: #ffffff;
  color: var(--navy);
}

.hero-axis {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 24px auto 0;
  max-width: 760px;
}

.hero-axis span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
  min-height: 38px;
  padding: 9px 12px;
  text-align: center;
}

.hero-command {
  align-self: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.2);
  color: var(--white);
  display: grid;
  gap: 10px;
  padding: clamp(18px, 2.2vw, 24px);
  position: relative;
  z-index: 3;
}

.hero-command span {
  color: #dce8f2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-command strong {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.14;
}

.hero-command ul {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-command li {
  color: rgba(255, 255, 255, 0.78);
  padding-left: 18px;
  position: relative;
}

.hero-command li::before {
  background: rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 9px;
  width: 7px;
}

.hero-proof-row {
  align-self: stretch;
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
  max-width: 860px;
  position: relative;
  width: 100%;
  z-index: 3;
}

.hero-proof-row span {
  background: rgba(255, 255, 255, 0.105);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  color: var(--white);
  display: grid;
  font-size: 14px;
  font-weight: 760;
  gap: 4px;
  justify-items: center;
  min-height: 58px;
  padding: 12px 14px;
  text-align: center;
}

.hero-proof-row strong {
  color: #dce8f2;
  font-size: 12px;
  letter-spacing: 0.14em;
}

.hero-stats {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  max-width: 640px;
}

.hero-stats span {
  background: rgba(246, 249, 252, 0.88);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  display: grid;
  font-size: 13px;
  font-weight: 700;
  gap: 3px;
  min-height: 76px;
  padding: 13px;
}

.hero-stats strong {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.hero-stage {
  min-height: clamp(380px, 42vw, 540px);
  position: relative;
  z-index: 2;
}

.hero-image,
.section-image,
.contact-image {
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}

.hero-stage .hero-image {
  border-radius: 18px;
  height: clamp(360px, 42vw, 530px);
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  transition: transform 120ms linear;
}

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

.hero-float {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(215, 225, 235, 0.9);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(15, 42, 74, 0.16);
  color: var(--navy);
  display: grid;
  gap: 3px;
  min-width: 210px;
  padding: 14px 16px;
  position: absolute;
  z-index: 3;
}

.hero-float span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-float strong {
  font-size: 15px;
  line-height: 1.25;
}

.primary-float {
  right: -14px;
  top: 28px;
}

.secondary-float {
  bottom: 34px;
  left: -22px;
}

.section-image img,
.contact-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.contact-image {
  margin-top: 18px;
}

.media-hero,
.quote-page,
.contact-hero {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.82fr);
}

.page-hero {
  margin: 0 auto;
  max-width: 860px;
  text-align: center;
}

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  color: var(--navy);
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 14px;
}

h2 {
  color: var(--navy);
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1.14;
  margin-bottom: 9px;
}

.lead,
.page-hero p,
.quote-copy p,
.contact-hero p,
.projects-hero p,
.story-copy p,
.section-heading p,
.project-body p,
.home-cta p,
.tab-content p,
.media-hero p {
  color: var(--muted);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.55;
}

.action-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.plan-grid {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.section-kicker {
  margin: 0 auto 6px;
  max-width: 680px;
  text-align: center;
}

.plan-carousel {
  margin-top: 14px;
}

.carousel-frame {
  align-items: center;
  display: block;
  position: relative;
}

.carousel-window {
  min-height: 500px;
  overflow: visible;
  position: relative;
}

.plan-slide {
  align-content: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 42, 74, 0.08);
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  left: 50%;
  min-height: 392px;
  opacity: 0;
  padding: 12px;
  pointer-events: none;
  position: absolute;
  top: 12px;
  transform: translateX(-50%) scale(0.78);
  transition: transform 360ms ease, opacity 280ms ease, box-shadow 240ms ease, border-color 240ms ease;
  width: min(500px, 44vw);
  z-index: 1;
}

.plan-slide.active {
  border-color: rgba(29, 95, 209, 0.28);
  box-shadow: 0 22px 52px rgba(15, 42, 74, 0.15);
  cursor: default;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
  z-index: 4;
}

.plan-slide.is-prev {
  opacity: 0.72;
  pointer-events: auto;
  transform: translateX(calc(-50% - min(36vw, 430px))) scale(0.8);
  z-index: 2;
}

.plan-slide.is-next {
  opacity: 0.72;
  pointer-events: auto;
  transform: translateX(calc(-50% + min(36vw, 430px))) scale(0.8);
  z-index: 2;
}

.plan-slide.is-off {
  opacity: 0;
  pointer-events: none;
}

.plan-media {
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 174px;
  margin: 0;
  overflow: hidden;
}

.plan-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.plan-body {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 2px 12px 8px;
  text-align: center;
}

.plan-body span {
  color: var(--cyan);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-body strong {
  color: var(--blue);
  display: block;
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 650;
  letter-spacing: 0;
}

.plan-body p,
.plan-body li {
  color: var(--muted);
  margin: 0;
  max-width: 470px;
}

.plan-body ul {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 2px;
}

.plan-actions a {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 7px;
  min-height: 38px;
  padding: 8px 13px;
}

.plan-actions a:first-child {
  background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
  border-color: transparent;
  box-shadow: 0 14px 26px rgba(22, 163, 74, 0.22);
  color: var(--white);
}

.plan-actions a:only-child {
  border-radius: 10px;
  justify-content: center;
  min-width: min(100%, 240px);
}

.pricing-note {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 42, 74, 0.08);
  display: grid;
  gap: 4px;
  margin: 18px auto 0;
  max-width: 720px;
  padding: 18px 22px;
  text-align: center;
}

.pricing-note span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.pricing-note p {
  color: var(--muted);
  margin: 0;
}

.deck-carousel {
  margin-bottom: 30px;
}

.carousel-controls {
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(215, 225, 235, 0.9);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(15, 42, 74, 0.1);
  display: grid;
  gap: 10px;
  grid-template-columns: auto auto auto;
  justify-content: center;
  margin: 12px auto 0;
  max-width: max-content;
  padding: 8px;
  position: relative;
  z-index: 8;
}

.carousel-arrow {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(15, 42, 74, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  box-shadow: 0 18px 38px rgba(15, 42, 74, 0.24);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  font-size: 0;
  font-weight: 600;
  height: 58px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  top: 250px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  width: 58px;
  z-index: 9;
}

.carousel-arrow-prev {
  left: calc(50% - min(250px, 22vw));
  transform: translate(-50%, -50%);
}

.carousel-arrow-next {
  right: calc(50% - min(250px, 22vw));
  transform: translate(50%, -50%);
}

.carousel-arrow::before {
  border-right: 3px solid currentColor;
  border-top: 3px solid currentColor;
  content: "";
  height: 12px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 12px;
}

.carousel-arrow-prev::before {
  transform: translate(-42%, -50%) rotate(-135deg);
}

.carousel-arrow-next::before {
  transform: translate(-58%, -50%) rotate(45deg);
}

.carousel-arrow::after {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
  content: "";
  inset: 7px;
  pointer-events: none;
  position: absolute;
}

.carousel-arrow:hover {
  background: var(--whatsapp-dark);
  border-color: rgba(255, 255, 255, 0.54);
  box-shadow: 0 22px 46px rgba(22, 163, 74, 0.26);
}

.carousel-arrow-prev:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.carousel-arrow-next:hover {
  transform: translate(50%, -50%) scale(1.06);
}

.carousel-arrow:active {
  box-shadow: 0 12px 24px rgba(15, 42, 74, 0.22);
}

.carousel-arrow-prev:active {
  transform: translate(-50%, -50%) scale(0.98);
}

.carousel-arrow-next:active {
  transform: translate(50%, -50%) scale(0.98);
}

.carousel-arrow:hover {
  color: var(--white);
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.carousel-dots button {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  min-height: 38px;
  min-width: 44px;
  padding: 8px 12px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.carousel-dots button.active {
  background: var(--white);
  border-color: var(--accent-line);
  box-shadow: 0 8px 18px rgba(15, 42, 74, 0.09);
  color: var(--navy);
}

.carousel-dots button:hover {
  color: var(--navy);
  transform: translateY(-1px);
}

.plan-card,
.contact-cards article,
.process-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 42, 74, 0.05);
}

.plan-card {
  min-height: 186px;
  padding: 16px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.plan-card:hover {
  border-color: rgba(0, 151, 167, 0.35);
  box-shadow: var(--shadow);
}

.plan-card.featured {
  background: var(--navy);
  color: var(--white);
}

.plan-card span,
.service-number,
.contact-cards span,
.process-grid span {
  color: var(--cyan);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.plan-card.featured span {
  color: #dce8f2;
}

.plan-card.featured h2 {
  color: var(--white);
}

.plan-card strong {
  color: var(--blue);
  display: block;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 680;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.plan-card.featured strong {
  color: #aeeff4;
}

.plan-card p,
.plan-card li,
.contact-cards p,
.process-grid p,
.check-list {
  color: var(--muted);
  margin-bottom: 0;
}

.plan-card.featured p,
.plan-card.featured li {
  color: rgba(255, 255, 255, 0.78);
}

.plan-card ul {
  display: grid;
  gap: 6px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.plan-card a {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  display: inline-flex;
  padding: 7px 11px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 12px;
}

.plan-card.featured a {
  background: #234666;
  border-color: #416987;
  color: #ffffff;
}

.story-home {
  max-width: 1160px;
}

.story-band {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.78fr);
  margin-top: 28px;
}

.story-copy {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 42, 74, 0.07);
  padding: clamp(22px, 3.2vw, 38px);
}

.story-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.story-metrics span {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  display: grid;
  font-size: 13px;
  font-weight: 650;
  gap: 2px;
  padding: 12px;
  text-align: center;
}

.story-metrics strong {
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.scope-board {
  display: grid;
  gap: 12px;
}

.scope-board article {
  background: linear-gradient(180deg, var(--white) 0%, #fbfdff 100%);
  border: 1px solid rgba(15, 42, 74, 0.12);
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(15, 42, 74, 0.06);
  overflow: hidden;
  padding: 20px;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.scope-board article::before {
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  content: "";
  height: 1px;
  left: 18px;
  position: absolute;
  right: 18px;
  top: 0;
}

.scope-board article:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.scope-board span,
.project-summary-card span {
  color: var(--cyan);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.scope-board h3,
.project-summary-card h3 {
  color: var(--navy);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 650;
  line-height: 1.16;
  margin: 0 0 8px;
}

.scope-board p,
.project-summary-card p {
  color: var(--muted);
  margin: 0;
}

.method-section {
  margin-top: 34px;
}

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

.method-grid article {
  background: linear-gradient(180deg, var(--white) 0%, #fbfdff 100%);
  border: 1px solid rgba(15, 42, 74, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 42, 74, 0.06);
  display: grid;
  min-height: 190px;
  overflow: hidden;
  padding: 22px;
  position: relative;
  text-align: center;
}

.method-grid article::before {
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  content: "";
  height: 1px;
  left: 22px;
  position: absolute;
  right: 22px;
  top: 0;
}

.method-grid span {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  justify-self: center;
  letter-spacing: 0.13em;
  margin-bottom: 10px;
  padding: 5px 10px;
  text-transform: uppercase;
}

.method-grid h3 {
  color: var(--navy);
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.14;
  margin: 0 0 8px;
}

.method-grid p {
  color: var(--muted);
  margin: 0;
}

.story-visual {
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin: 0;
  overflow: hidden;
}

.story-visual img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.process-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.process-strip article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.process-strip article:hover {
  border-color: rgba(47, 191, 159, 0.38);
  box-shadow: 0 18px 42px rgba(15, 42, 74, 0.09);
  transform: translateY(-3px);
}

.process-strip span,
.project-body span {
  color: var(--cyan);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.process-strip h3,
.project-body h3,
.project-body h2 {
  color: var(--navy);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 650;
  line-height: 1.16;
  margin: 0 0 8px;
}

.process-strip p {
  color: var(--muted);
  margin: 0;
}

.service-hero,
.contact-page {
  display: grid;
  gap: 22px;
}

.service-grid,
.service-flow,
.contact-layout,
.contact-steps {
  display: grid;
  gap: 14px;
}

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

.service-grid article,
.contact-steps article {
  background: linear-gradient(180deg, var(--white) 0%, #fbfdff 100%);
  border: 1px solid rgba(15, 42, 74, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 42, 74, 0.07);
  display: grid;
  min-height: 214px;
  overflow: hidden;
  padding: 24px;
  position: relative;
  text-align: center;
}

.service-grid article::before,
.contact-steps article::before {
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
  content: "";
  height: 1px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 0;
}

.service-grid span,
.contact-steps span {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  justify-self: center;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
  padding: 5px 11px;
}

.service-grid h2,
.contact-steps strong {
  color: var(--navy);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.1;
  margin: 0 0 9px;
}

.service-grid p,
.contact-steps p {
  color: var(--muted);
  margin: 0;
}

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

.service-flow article {
  background: linear-gradient(180deg, #122b47 0%, #0f2a4a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--white);
  display: grid;
  gap: 6px;
  min-height: 122px;
  padding: 22px;
  text-align: center;
}

.service-flow strong {
  color: #dce8f2;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-flow span {
  color: rgba(255, 255, 255, 0.8);
}

.contact-layout {
  align-items: start;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.7fr);
}

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

.contact-steps article {
  min-height: 138px;
  text-align: left;
}

.contact-steps span {
  justify-self: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.contact-card label {
  color: var(--muted);
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  border: 1px solid var(--line);
}

.contact-card .button.primary {
  background: linear-gradient(135deg, var(--whatsapp) 0%, var(--whatsapp-dark) 100%);
  box-shadow: 0 18px 34px rgba(22, 163, 74, 0.28);
  color: #ffffff;
  min-height: 52px;
}

.contact-card .button.primary:hover {
  background: linear-gradient(135deg, #2bd46a 0%, #15803d 100%);
  box-shadow: 0 22px 42px rgba(22, 163, 74, 0.34);
}

.home-projects,
.projects-page {
  margin-top: 42px;
}

.section-heading {
  margin: 0 auto 18px;
  max-width: 820px;
  text-align: center;
}

.project-gallery {
  display: grid;
  gap: 14px;
}

.project-spotlight,
.portfolio-showcase {
  display: grid;
  gap: 14px;
}

.project-spotlight {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.46fr);
}

.spotlight-media {
  background: var(--navy);
  border: 1px solid rgba(15, 42, 74, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
  grid-row: span 2;
  margin: 0;
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

.spotlight-media::after {
  background: linear-gradient(180deg, rgba(15, 42, 74, 0), rgba(15, 42, 74, 0.22));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.spotlight-media img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: opacity 220ms ease, transform 420ms ease;
  width: 100%;
}

.spotlight-media img.is-swapping {
  opacity: 0.18;
  transform: scale(1.045);
}

.spotlight-panel {
  align-content: center;
  background: var(--navy);
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: var(--white);
  display: grid;
  gap: 9px;
  min-height: 190px;
  padding: clamp(20px, 2.6vw, 30px);
}

.spotlight-panel span {
  color: #dce8f2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.spotlight-panel h2,
.spotlight-panel h3 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05;
  margin: 0;
}

.spotlight-panel p {
  color: rgba(255, 255, 255, 0.76);
  margin: 0;
}

.spotlight-panel small {
  color: #9ff0e9;
  font-weight: 800;
}

.spotlight-switcher,
.project-selector-grid {
  display: grid;
  gap: 8px;
}

.project-selector {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 42, 74, 0.05);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  font-weight: 780;
  gap: 3px;
  min-height: 66px;
  padding: 11px 13px;
  text-align: left;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.project-selector span {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.project-selector:hover,
.project-selector.active {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 18px 38px rgba(15, 42, 74, 0.18);
  color: var(--white);
  transform: translateY(-2px);
}

.project-selector.active span,
.project-selector:hover span {
  color: #dce8f2;
}

.portfolio-showcase {
  margin-top: 20px;
}

.portfolio-stage {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 0.86fr) minmax(290px, 0.46fr);
}

.portfolio-stage .spotlight-media {
  min-height: 430px;
}

.portfolio-stage .spotlight-panel {
  align-self: stretch;
}

.project-selector-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.full-wall {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 20px;
  margin-bottom: 34px;
}

.project-tile {
  background: var(--navy);
  border: 1px solid rgba(15, 42, 74, 0.12);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 42, 74, 0.08);
  min-height: 284px;
  overflow: hidden;
  position: relative;
}

.home-wall .project-tile {
  min-height: 300px;
}

.project-tile img {
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
  width: 100%;
}

.project-tile::after {
  background: linear-gradient(180deg, rgba(15, 42, 74, 0.08) 0%, rgba(15, 42, 74, 0.9) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.project-tile-body {
  bottom: 0;
  color: var(--white);
  display: grid;
  gap: 5px;
  left: 0;
  padding: 18px;
  position: absolute;
  right: 0;
  text-align: center;
  z-index: 2;
}

.project-tile-body span {
  color: #dce8f2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.project-tile-body h2,
.project-tile-body h3 {
  color: var(--white);
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.08;
  margin: 0;
}

.project-tile-body p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  margin: 0;
}

.project-tile-body small {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.project-tile:hover img {
  filter: saturate(1.08);
  transform: scale(1.045);
}

.compact-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.full-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(15, 42, 74, 0.08);
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.project-card:hover {
  border-color: rgba(29, 95, 209, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.project-card:hover .project-image img {
  transform: scale(1.035);
}

.featured-project,
.large-project {
  border-color: rgba(29, 95, 209, 0.24);
  box-shadow: var(--shadow);
}

.large-project {
  grid-column: span 2;
}

.project-image {
  margin: 0;
  overflow: hidden;
}

.project-image img {
  aspect-ratio: 16 / 10;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
  width: 100%;
}

.large-project .project-image img {
  aspect-ratio: 16 / 8;
}

.project-body {
  display: grid;
  gap: 4px;
  padding: 16px;
  text-align: center;
}

.project-body p {
  font-size: 15px;
  margin: 0;
}

.project-body small {
  color: var(--muted);
  font-weight: 650;
  margin-top: 4px;
}

.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}

.home-cta {
  align-items: center;
  background: var(--navy);
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: var(--white);
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  justify-items: center;
  margin-top: 42px;
  padding: clamp(22px, 3vw, 34px);
  text-align: center;
}

.home-cta h2 {
  color: var(--white);
  max-width: 760px;
}

.home-cta p {
  color: rgba(255, 255, 255, 0.72);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
  max-width: 720px;
}

.home-cta .eyebrow {
  color: #dce8f2;
}

.home-cta .button.primary {
  background: var(--white);
  color: var(--navy);
}

.projects-hero {
  display: block;
  margin: 0 auto;
  max-width: 860px;
  text-align: center;
}

.projects-hero div {
  max-width: none;
}

.projects-page .full-gallery {
  margin-bottom: 34px;
}

.micro-proof {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 12px auto 0;
}

.micro-proof span {
  background: var(--soft-cyan);
  border: 1px solid #b9e7eb;
  border-radius: 999px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
  padding: 9px 12px;
  text-align: center;
}

.tab-stage {
  margin-top: 22px;
}

.tab-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 12px;
  padding: 6px;
}

.tab-button {
  background: transparent;
  border-radius: 10px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 650;
  min-height: 43px;
}

.tab-button.active {
  background: var(--navy);
  color: var(--white);
}

.tab-content {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: none;
  gap: 24px;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.75fr);
  min-height: 230px;
  padding: clamp(20px, 3vw, 30px);
}

.tab-content.active {
  display: grid;
}

.check-list {
  display: grid;
  gap: 9px;
  list-style: none;
  padding: 0;
}

.check-list li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}

.quote-copy {
  max-width: 560px;
}

.service-copy,
.contact-copy,
.quote-copy {
  justify-self: center;
  text-align: center;
}

.quote-tool {
  align-items: start;
  grid-template-columns: minmax(320px, 0.68fr) minmax(440px, 0.95fr);
  padding-top: 8px;
}

.quote-tool .quote-copy {
  justify-self: end;
  max-width: 490px;
  padding-top: 28px;
  text-align: left;
}

.quote-tool .quote-copy h1 {
  max-width: 440px;
}

.quote-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.quote-points span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 650;
  padding: 8px 12px;
}

.quote-summary,
.quote-form,
.contact-form {
  background: var(--navy);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--white);
}

.quote-summary {
  display: grid;
  gap: 7px;
  margin-top: 18px;
  padding: 18px;
}

.quote-summary span,
.quote-summary small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 760;
}

.quote-summary strong {
  color: #dce8f2;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
}

.quote-form,
.contact-form {
  display: grid;
  gap: 13px;
  padding: clamp(18px, 3vw, 26px);
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 58px rgba(15, 42, 74, 0.14);
  color: var(--ink);
  gap: 14px;
  padding: clamp(18px, 2.4vw, 28px);
}

.quote-form-head {
  display: grid;
  gap: 3px;
  text-align: center;
}

.quote-form-head span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-form-head strong {
  color: var(--navy);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 650;
}

.form-grid,
.client-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  color: rgba(255, 255, 255, 0.76);
  display: grid;
  font-size: 11px;
  font-weight: 700;
  gap: 7px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote-card label {
  color: var(--muted);
}

input,
select,
textarea {
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  color: var(--ink);
  min-height: 45px;
  padding: 10px 12px;
  width: 100%;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9L12 15L18 9' stroke='%230f2a4a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 13px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 42px;
}

.quote-card input,
.quote-card select {
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(15, 42, 74, 0.04);
  min-height: 48px;
}

.quote-card input:focus,
.quote-card select:focus {
  border-color: rgba(29, 95, 209, 0.55);
  outline: 3px solid rgba(29, 95, 209, 0.12);
}

textarea {
  resize: vertical;
}

.quote-output-large {
  background: #163b60;
  border: 1px solid #47799a;
  border-radius: 12px;
  color: #dce8f2;
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1;
  padding: 15px;
}

.quote-result {
  background: var(--navy);
  border-radius: 14px;
  color: var(--white);
  display: grid;
  gap: 6px;
  padding: 18px;
  text-align: center;
}

.quote-result span,
.quote-result small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
}

.quote-result strong {
  color: #dce8f2;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1;
}

.quote-submit-box {
  display: grid;
  gap: 8px;
  text-align: center;
}

.quote-submit {
  background: var(--white);
  box-shadow: 0 16px 30px rgba(15, 42, 74, 0.18);
  color: var(--navy);
  font-weight: 750;
  min-height: 52px;
}

.quote-submit:hover {
  background: #eef3f7;
}

.quote-submit-box small {
  color: var(--muted);
  font-weight: 600;
}

.contact-hero {
  margin: 0 auto;
  max-width: 1120px;
}

.site-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 13px;
  font-weight: 760;
  justify-content: space-between;
  padding: 10px clamp(18px, 4vw, 54px) 14px;
}

.site-footer a {
  color: var(--navy);
  font-weight: 700;
}

.site-footer.compact {
  margin: 0 auto;
  max-width: 1180px;
}

.reveal {
  animation: rise-in 420ms ease both;
}

.motion-ready .reveal {
  animation: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .spotlight-media img {
      animation: image-settle linear both;
      animation-range: entry 0% cover 70%;
      animation-timeline: view();
    }
  }
}

@keyframes slide-swap {
  from {
    opacity: 0.94;
    transform: translateX(10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes image-settle {
  from {
    transform: scale(1.08) translateY(18px);
  }
  to {
    transform: scale(1.01) translateY(0);
  }
}

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

@media (max-width: 1040px) {
  .shell-header {
    grid-template-columns: auto auto auto;
    position: sticky;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: none;
    grid-template-columns: 1fr;
    left: 12px;
    padding: 8px;
    position: absolute;
    right: 12px;
    top: calc(100% + 8px);
    z-index: 40;
  }

  .site-nav a {
    min-height: 44px;
    text-align: center;
  }

  .site-nav.is-open {
    display: grid;
  }

  .home-hero,
  .media-hero,
  .quote-page,
  .contact-hero,
  .story-band,
  .home-cta,
  .projects-hero,
  .tab-content {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .quote-copy {
    max-width: 760px;
    justify-self: center;
    text-align: center;
  }

  .action-row,
  .home-hero .action-row {
    justify-content: center;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: 360px;
  }

  .hero-stage .hero-image {
    height: 380px;
  }

  .plan-grid,
  .compact-gallery,
  .full-gallery,
  .micro-proof,
  .project-spotlight,
  .portfolio-stage,
  .method-grid,
  .portfolio-wall,
  .full-wall,
  .service-grid,
  .service-flow,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spotlight-media,
  .portfolio-stage .spotlight-media {
    min-height: 360px;
  }

  .project-selector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .large-project {
    grid-column: span 2;
  }

  .projects-hero,
  .home-cta {
    text-align: center;
  }

  .projects-hero .button,
  .home-cta .button {
    justify-self: center;
  }

  .plan-slide {
    grid-template-columns: 1fr;
    width: min(500px, 62vw);
  }

  .plan-slide.is-prev {
    transform: translateX(calc(-50% - min(34vw, 320px))) scale(0.84);
  }

  .plan-slide.is-next {
    transform: translateX(calc(-50% + min(34vw, 320px))) scale(0.84);
  }

  .plan-media {
    height: 170px;
    min-height: 0;
  }

  .quote-tool .quote-copy {
    justify-self: center;
    max-width: 760px;
    padding-top: 0;
    text-align: center;
  }

  .quote-tool .quote-copy h1 {
    max-width: none;
  }

  .quote-points {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .shell-header {
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 38px;
    padding: 10px 12px;
  }

  .brand img {
    height: auto;
    width: min(118px, 35vw);
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    height: 38px;
    width: 38px;
  }

  .home-main,
  .compact-page,
  .quote-main {
    padding: 18px 12px 14px;
    width: 100%;
  }

  h1 {
    font-size: 27px;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 24px;
  }

  .lead,
  .page-hero p,
  .quote-copy p,
  .contact-hero p,
  .media-hero p {
    font-size: 15px;
  }

  .action-row,
  .form-grid,
  .client-fields,
  .plan-grid,
  .story-metrics,
  .hero-stats,
  .method-grid,
  .process-strip,
  .portfolio-wall,
  .full-wall,
  .service-grid,
  .service-flow,
  .contact-layout,
  .contact-steps,
  .compact-gallery,
  .full-gallery,
  .micro-proof,
  .tab-list,
  .project-spotlight,
  .project-selector-grid,
  .portfolio-stage {
    grid-template-columns: 1fr;
  }

  .action-row {
    display: grid;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .hero-copy,
  .quote-copy {
    width: 100%;
  }

  .home-hero > *,
  .story-band > *,
  .project-spotlight > *,
  .portfolio-stage > *,
  .portfolio-wall > *,
  .service-grid > *,
  .service-flow > *,
  .contact-layout > *,
  .home-cta > *,
  .projects-hero > * {
    max-width: 100%;
    min-width: 0;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 10vw, 44px);
    max-width: 100%;
    text-wrap: normal;
  }

  .home-hero,
  .projects-hero,
  .story-band,
  .project-spotlight,
  .portfolio-stage,
  .portfolio-wall,
  .contact-layout {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .hero-command {
    text-align: left;
  }

  .hero-proof-row span {
    min-height: auto;
    text-align: center;
  }

  .hero-axis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-proof-row span {
    font-size: 12px;
    padding: 10px 6px;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-stage .hero-image {
    height: 320px;
  }

  .hero-image img,
  .section-image img,
  .contact-image img,
  .story-visual img,
  .project-image img,
  .large-project .project-image img {
    aspect-ratio: 4 / 3;
  }

  .home-hero {
    border-radius: 18px;
    padding: 18px;
  }

  .hero-float {
    min-width: 0;
    padding: 11px 12px;
    position: static;
  }

  .hero-stage {
    display: grid;
    gap: 10px;
  }

  .hero-stats span {
    min-height: auto;
  }

  .spotlight-media,
  .portfolio-stage .spotlight-media {
    min-height: 260px;
  }

  .project-tile,
  .home-wall .project-tile {
    min-height: 260px;
  }

  .story-copy {
    padding: 20px;
  }

  .large-project {
    grid-column: span 1;
  }

  .home-cta,
  .projects-hero {
    align-items: stretch;
  }

  .home-cta .button,
  .projects-hero .button {
    width: 100%;
  }

  .carousel-window {
    min-height: 506px;
    overflow: hidden;
  }

  .carousel-controls {
    border-radius: 18px;
    grid-template-columns: 1fr;
    margin-top: 8px;
    max-width: 100%;
    padding: 10px;
    width: 100%;
  }

  .carousel-arrow {
    height: 48px;
    min-height: 48px;
    top: 252px;
    width: 48px;
  }

  .carousel-arrow-prev {
    left: calc(50% - min(141px, 38vw));
    transform: translate(-50%, -50%);
  }

  .carousel-arrow-next {
    right: calc(50% - min(141px, 38vw));
    transform: translate(50%, -50%);
  }

  .carousel-arrow-prev:hover,
  .carousel-arrow-prev:active {
    transform: translate(-50%, -50%) scale(1.04);
  }

  .carousel-arrow-next:hover,
  .carousel-arrow-next:active {
    transform: translate(50%, -50%) scale(1.04);
  }

  .plan-slide {
    gap: 12px;
    min-height: auto;
    padding: 10px;
    width: min(282px, 76vw);
  }

  .plan-slide.is-prev {
    opacity: 0.44;
    transform: translateX(calc(-50% - min(58vw, 210px))) scale(0.78);
  }

  .plan-slide.is-next {
    opacity: 0.44;
    transform: translateX(calc(-50% + min(58vw, 210px))) scale(0.78);
  }

  .plan-media {
    height: 150px;
    min-height: 0;
  }

  .plan-body {
    padding: 4px 6px 8px;
  }

  .plan-actions {
    display: grid;
    width: 100%;
  }

  .plan-actions a {
    justify-content: center;
  }

  .quote-card {
    padding: 16px;
  }

  .quote-result strong {
    font-size: 27px;
  }

  .plan-card {
    min-height: auto;
    padding: 16px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 14px 12px 18px;
  }
}
