/* ==========================================================================
   KeelNova Yacht Design — single-page stylesheet
   ========================================================================== */

:root {
  --navy: #0a1720;
  --navy-2: #17313f;
  --navy-3: #0e212b;
  --cream: #f6f3ec;
  --gold: #c6a45c;
  --gold-light: #e2c584;
  --text-dark: #f3f0e6;
  --text-muted: #a9b7c0;
  --text-on-navy-muted: #a9b7c0;
  --border-light: rgba(246, 243, 236, 0.14);
  --max-width: 1220px;
  --serif: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --sans: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 88px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.2px;
}

p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-muted);
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--text-dark);
}

.section-head h2 em {
  font-style: normal;
  font-weight: 800;
  color: var(--gold);
}

.section-head p {
  margin-top: 16px;
  font-size: 16px;
}

section {
  padding: 96px 0;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-light);
}

.btn-outline-light {
  border-color: rgba(246, 243, 236, 0.4);
  color: var(--cream);
}

.btn-outline-light:hover {
  border-color: var(--cream);
  background: rgba(246, 243, 236, 0.08);
}

.btn-outline-dark {
  border-color: rgba(27, 35, 43, 0.25);
  color: var(--text-dark);
}

.btn-outline-dark:hover {
  border-color: var(--text-dark);
  background: rgba(27, 35, 43, 0.05);
}

/* ---------- header / nav ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 26px 0;
  transition: all 0.4s var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header.is-scrolled {
  padding: 16px 0;
  background: rgba(11, 26, 36, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.logo {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--cream);
  font-weight: 700;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-on-navy-muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 600;
}

.nav-toggle span {
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: all 0.3s var(--ease);
}

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

.hero-bg {
  position: absolute;
  inset: -6% 0 0 0;
  object-fit: cover;
  width: 100%;
  height: 112%;
  z-index: 0;
  will-change: transform;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 17, 23, 0.55) 0%, rgba(8, 17, 23, 0.35) 40%, rgba(8, 17, 23, 0.92) 100%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 720px;
  padding-top: 40px;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content p,
.hero-content .hero-actions {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.hero-content .eyebrow { transition-delay: 0.15s; }
.hero-content h1 { transition-delay: 0.3s; }
.hero-content p { transition-delay: 0.45s; }
.hero-content .hero-actions { transition-delay: 0.6s; }

.is-ready .hero-content .eyebrow,
.is-ready .hero-content h1,
.is-ready .hero-content p,
.is-ready .hero-content .hero-actions {
  opacity: 1;
  transform: translateY(0);
}

.hero-content h1 {
  font-size: clamp(38px, 6vw, 68px);
  color: var(--cream);
}

.hero-content h1 em {
  font-style: normal;
  font-weight: 800;
  color: var(--gold-light);
}

.hero-content p {
  margin-top: 22px;
  max-width: 520px;
  font-size: 17px;
  color: var(--text-on-navy-muted);
}

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

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-on-navy-muted);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 1.4s forwards;
}

.scroll-cue .line {
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, var(--gold-light), transparent);
  overflow: hidden;
  position: relative;
}

.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-light);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ---------- stats strip ---------- */
.stats {
  background: var(--navy);
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-grid .stat h3 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.stats-grid .stat span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-on-navy-muted);
}

/* ---------- intro / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media:not(.collage) img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--r-lg);
}

/* stacked photo collage variant */
.collage {
  position: relative;
  height: 480px;
}

.collage .collage-img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
  border: 6px solid var(--navy-2);
}

.collage .collage-1 {
  width: 62%;
  height: 320px;
  top: 0;
  left: 0;
  z-index: 3;
  transform: rotate(-3deg);
}

.collage .collage-2 {
  width: 52%;
  height: 260px;
  bottom: 0;
  right: 0;
  z-index: 2;
  transform: rotate(4deg);
}

.collage .collage-3 {
  width: 40%;
  height: 200px;
  top: 42%;
  right: 6%;
  z-index: 1;
  transform: rotate(-6deg);
}

.split-media .float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  z-index: 4;
  background: var(--navy-2);
  color: var(--cream);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  padding: 26px 30px;
  max-width: 220px;
  border-radius: var(--r-md);
}

.split-media .float-card strong {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--gold-light);
  display: block;
}

.split-media .float-card span {
  font-size: 13px;
  color: var(--text-on-navy-muted);
  line-height: 1.5;
}

.split-copy .lede {
  font-size: 22px;
  color: var(--text-dark);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
}

.split-copy .lede strong {
  font-weight: 800;
}

.split-copy .lede em {
  font-style: normal;
  font-weight: 800;
  color: var(--gold);
}

.split-copy p + p {
  margin-top: 14px;
}

.check-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dark);
}

.check-list svg {
  flex-shrink: 0;
  color: var(--gold);
}

/* ---------- values ---------- */
.values-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-item {
  border-top: 1px solid var(--border-light);
  padding-top: 22px;
}

.value-item h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.value-item p {
  font-size: 14.5px;
}

/* ---------- services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--navy-2);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 42px 34px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.service-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(246, 243, 236, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 26px;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}

.service-card:hover .icon {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.12) rotate(-4deg);
}

.service-card .icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14.5px;
}

.service-card .tags {
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- process ---------- */
.process-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.process-step {
  position: relative;
  padding-top: 10px;
}

.process-step .num {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 800;
  font-size: 40px;
  color: var(--gold);
  opacity: 0.55;
  display: block;
  margin-bottom: 14px;
}

.process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
}

/* ---------- work / portfolio grid ---------- */
.filter-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--r-pill);
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: all 0.3s var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

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

.work-card {
  background: transparent;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.work-card.is-hidden {
  display: none;
}

.work-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
}

.work-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.work-card:hover .work-media img {
  transform: scale(1.08);
}

.work-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy);
  color: var(--cream);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: var(--r-pill);
}

.work-info {
  padding: 22px 4px 0;
}

.price {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
}

.work-info h3 {
  font-size: 18px;
  margin-top: 6px;
}

.work-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.work-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.work-meta span:not(:last-child)::after {
  content: "\00b7";
  margin-left: 6px;
  color: var(--gold);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  padding: 130px 0;
  text-align: center;
  overflow: hidden;
}

.cta-banner img {
  position: absolute;
  inset: -8% 0 0 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  opacity: 0.28;
  will-change: transform;
}

.cta-banner .container {
  position: relative;
}

.cta-banner .eyebrow {
  justify-content: center;
}

.cta-banner h2 {
  font-size: clamp(30px, 5vw, 50px);
  color: var(--cream);
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner h2 em {
  color: var(--gold-light);
  font-style: normal;
  font-weight: 800;
}

.cta-banner .btn {
  margin-top: 36px;
}

/* ---------- testimonial carousel ---------- */
.testimonial {
  background: var(--navy-3);
}

.testimonial-carousel {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  min-height: 260px;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial-slide .quote-mark {
  font-family: var(--serif);
  font-size: 80px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}

.testimonial-slide p.quote {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(19px, 2.6vw, 26px);
  color: var(--text-dark);
  line-height: 1.5;
}

.testimonial-author {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author .name {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
}

.testimonial-author .role {
  font-size: 12.5px;
  color: var(--text-muted);
}

.testimonial-dots {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.testimonial-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border-light);
  padding: 0;
  transition: all 0.3s var(--ease);
}

.testimonial-dots button.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ---------- benefits panel ---------- */
.benefits {
  padding: 0;
}

.benefits-panel {
  background: var(--navy-2);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: 64px 56px;
}

.benefits-intro {
  max-width: 780px;
  font-size: clamp(18px, 2.4vw, 23px);
  font-weight: 500;
  line-height: 1.6;
  color: var(--cream);
  margin-bottom: 56px;
}

.benefits-intro strong {
  font-weight: 800;
}

.benefits-intro em {
  font-style: normal;
  font-weight: 800;
  color: var(--gold-light);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}

.benefit-item .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(246, 243, 236, 0.1);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.benefit-item:hover .icon {
  background: var(--gold);
  color: var(--navy);
  transform: scale(1.08);
}

.benefit-item h3 {
  font-size: 17px;
  color: var(--cream);
  margin-bottom: 10px;
}

.benefit-item p {
  font-size: 13.5px;
  color: var(--text-on-navy-muted);
  line-height: 1.65;
}

.benefit-video {
  position: relative;
  margin-top: 56px;
  border-radius: var(--r-md);
  overflow: hidden;
  height: 320px;
}

.benefit-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefit-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 26, 36, 0.55) 0%, rgba(11, 26, 36, 0.05) 60%);
}

.benefit-video .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(246, 243, 236, 0.92);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.benefit-video .play-btn svg {
  margin-left: 3px;
}

.benefit-video:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold);
}

.benefit-video .caption {
  position: absolute;
  left: 28px;
  bottom: 22px;
  z-index: 2;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cream);
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--text-dark);
}

.faq-question .plus {
  font-size: 22px;
  color: var(--gold);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.open .faq-question .plus {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer p {
  padding: 0 4px 26px;
  font-size: 15px;
}

/* ---------- contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
}

.contact-info-item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-info-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 15px;
  margin-bottom: 4px;
  font-family: var(--sans);
  font-weight: 600;
}

.contact-info-item p {
  font-size: 14.5px;
}

.contact-form {
  background: var(--navy-2);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 2px;
  font-family: var(--sans);
  font-size: 15px;
  background: transparent;
  color: var(--text-dark);
  transition: border-color 0.3s var(--ease);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

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

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

.map-embed {
  height: 340px;
  margin-top: 40px;
  filter: grayscale(0.4) contrast(1.05);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--text-on-navy-muted);
  padding: 90px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(246, 243, 236, 0.1);
}

.footer-brand .logo {
  margin-bottom: 18px;
  display: inline-block;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-on-navy-muted);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(246, 243, 236, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 22px;
}

.footer-col ul {
  display: grid;
  gap: 13px;
}

.footer-col a {
  font-size: 14.5px;
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ---------- back to top ---------- */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--cream);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--navy);
  color: var(--gold-light);
  border-color: var(--navy);
}

/* ---------- scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

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

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content p,
  .hero-content .hero-actions,
  .testimonial-slide,
  .service-card,
  .service-card .icon,
  .work-media img,
  .btn,
  .back-to-top {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .scroll-cue {
    display: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .services-grid,
  .work-grid,
  .values-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .split,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }

  .benefits-panel {
    padding: 48px 32px;
  }
}

@media (max-width: 760px) {
  section {
    padding: 68px 0;
  }

  .container {
    padding: 0 22px;
  }

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--navy);
    justify-content: center;
    align-items: center;
    gap: 34px;
    z-index: 550;
  }

  .nav-open .nav-links a {
    font-size: 18px;
  }

  .hero-content {
    padding-top: 60px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid,
  .work-grid,
  .values-grid,
  .process-grid,
  .stats-grid,
  .benefits-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .collage {
    height: 380px;
  }

  .benefit-video {
    height: 220px;
  }

  .split-media .float-card {
    position: static;
    margin-top: -6px;
    max-width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-form {
    padding: 30px 24px;
  }

  .back-to-top {
    right: 18px;
    bottom: 18px;
  }
}
