/* ==========================================================================
   Mindshare Graphic Printers — v2 premium design system
   Palette & type inspired by the brand's editorial print aesthetic.
   ========================================================================== */

:root {
  /* Core palette */
  --cream: #f1efe5; /* warm ivory background */
  --cream-deep: #e9e6d9; /* slightly deeper ivory */
  --butter: #f6e3a6; /* soft golden band */
  --butter-soft: #f9ecc4;
  --charcoal: #26221d; /* warm near-black section */
  --charcoal-soft: #2f2a24;
  --navy: #17265b; /* deep navy — headings */
  --navy-deep: #101b45;
  --gold: #e6b955; /* gold accents / hero headline */
  --raspberry: #cd3a61; /* pink-red accent */
  --rose: #dda694; /* dusty rose — headings on dark */
  --teal: #3aa7be; /* cool accent */
  --ink: #2b2b2b;
  --body: #5b6470; /* muted body text on light */
  --body-dark: #e8e3d8; /* body text on dark */
  --line: #d9d5c7; /* hairline on cream */
  --white: #ffffff;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1200px;
  --radius: 4px;
  --shadow-soft: 0 18px 50px rgba(23, 38, 91, 0.1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--body);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 500%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.15;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Reveal on scroll — visible by default; JS opts elements into the animated state */
.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.pre {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal-left.pre {
  transform: translateX(-60px);
}
.reveal-right.pre {
  transform: translateX(60px);
}

/* Eyebrow / small label */
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--raspberry);
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.4px;
  padding: 15px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 1.5px solid transparent;
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn-solid {
  background: var(--navy);
  color: var(--white);
}
.btn-solid:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-gold:hover {
  background: #d9ab45;
  transform: translateY(-2px);
}
.btn-outline-dark {
  border-color: var(--charcoal);
  color: var(--charcoal);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--charcoal);
  color: var(--cream);
}
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition:
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    padding 0.4s var(--ease);
  padding: 22px 0;
}
.site-header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-img {
  height: 130%;
  transition: opacity 0.5s ease;
}
.logo-white {
  position: absolute;
  top: 0;
  left: 0;
}
.logo-wrap {
  position: relative;
  display: inline-block;
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  padding-bottom: 4px;
  position: relative;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 120;
}
.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background 0.3s;
}

/* Scrolled state */
.site-header.scrolled {
  background: var(--cream);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}
.site-header.scrolled .logo-color {
  opacity: 1;
}
.site-header.scrolled .logo-white {
  opacity: 0;
}
.site-header:not(.scrolled) .logo-color {
  opacity: 0;
}
.site-header:not(.scrolled) .logo-white {
  opacity: 1;
}
.site-header.scrolled .nav-links a {
  color: var(--navy);
}
.site-header.scrolled .nav-links a.active {
  color: var(--raspberry);
}
.site-header.scrolled .nav-links a::after {
  background: var(--raspberry);
}
.site-header.scrolled .nav-toggle span {
  background: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background: #14203e;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 58% 42% at 50% 99%,
      rgba(74, 116, 214, 0.34),
      transparent 72%
    ),
    linear-gradient(162deg, #221e19 0%, #14203e 52%, #1b2c58 100%);
  z-index: 0;
}

/* Cut-out press photo anchored to the bottom of the hero */
.hero-machine {
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: min(1380px, 96%);
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
}
.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-content {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding-top: 15vh;
}
.hero-content > div {
  position: relative;
  width: 100%;
  max-width: 1000px;
}
.hero .eyebrow {
  display: block;
  margin-bottom: 18px;
}
.hero-actions {
  display: none;
}
.hero h1 {
  font-size: clamp(2.9rem, 6vw, 5.6rem);
  color: var(--gold);
  font-weight: 700;
  max-width: 960px;
  margin: 0 auto 28px;
  line-height: 1.08;
  letter-spacing: 0;
}
.hero .lead {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: #58d8f2;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}
.hero-cta-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 40px;
}
.hero-content .hero-scroll {
  position: static;
  transform: none;
  margin: 46px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}
.hero-scroll svg {
  width: 18px;
  height: 18px;
  animation: bounce 1.8s ease-in-out 3;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* ---------- Sections ---------- */
section {
  padding: 110px 0;
}
.band-cream {
  background: var(--cream);
}
.band-cream-deep {
  background: var(--cream-deep);
}
.band-butter {
  background: var(--butter);
}
.band-charcoal {
  background: var(--charcoal);
  color: var(--body-dark);
}
.band-charcoal h1,
.band-charcoal h2,
.band-charcoal h3 {
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 64px;
  text-align: center;
}
.section-head.left {
  margin-left: 0;
  text-align: left;
}
.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 18px;
}
.section-head p {
  color: var(--body);
  font-size: 1.02rem;
}
.band-charcoal .section-head p {
  color: var(--body-dark);
}

/* ---------- Services / feature columns ---------- */
.col-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.col-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
  align-items: center;
}
.col-2-media-large {
  grid-template-columns: 0.85fr 1.15fr;
}

.feature {
  position: relative;
  padding-top: 28px;
}
.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--raspberry);
  transition: width 0.4s var(--ease);
}
.feature:hover::before {
  width: 64px;
}
.feature .f-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--raspberry);
  background: linear-gradient(160deg, var(--butter-soft) 0%, var(--cream-deep) 100%);
  border: 1px solid rgba(23, 38, 91, 0.08);
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: 0 14px 30px rgba(23, 38, 91, 0.1);
  transition: all 0.4s var(--ease);
}
.feature:hover .f-icon {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
  transform: translateY(-4px) rotate(-4deg);
  box-shadow: 0 18px 34px rgba(23, 38, 91, 0.28);
}
.feature .f-icon svg {
  width: 30px;
  height: 30px;
}
.feature .f-icon-logo {
  width: 68%;
  height: 68%;
  object-fit: contain;
}
.feature h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--raspberry);
  font-weight: 600;
}
.feature p {
  color: var(--body);
  font-size: 0.96rem;
}
.band-charcoal .feature h3 {
  color: var(--gold);
}
.band-charcoal .feature p {
  color: var(--body-dark);
}
.band-charcoal .feature .f-icon {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--gold);
}

/* Numbered "why" list */
.why-list {
  list-style: none;
  display: grid;
  gap: 22px;
  margin-top: 10px;
}
.why-list li {
  display: flex;
  gap: 18px;
  align-items: baseline;
}
.why-list .n {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold);
  font-weight: 700;
  min-width: 34px;
}
.why-list h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy);
  margin-bottom: 2px;
}
.why-list p {
  font-size: 0.94rem;
}
.band-charcoal .why-list h4 {
  color: var(--gold);
}

/* ---------- Split / image blocks ---------- */
.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.media-frame img {
  width: 100%;
}
.about-preview {
  grid-template-columns: 35fr 65fr;
}
.about-preview .media-frame {
  margin-right: 0px;
  padding: 22px;
  width: 140%;
  max-width: none;
  background: var(--white);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.about-preview .media-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(23, 38, 91, 0.18);
}
.about-preview .media-frame img {
  width: 96%;
  margin: 0 auto;
  transform: none;
  transform-origin: center;
}
.stack-text h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin-bottom: 22px;
}
.stack-text p {
  margin-bottom: 18px;
}
.text-rose {
  color: var(--rose);
}

/* ---------- Clients ---------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  align-items: center;
}
.client-grid .chip {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  text-align: center;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
  cursor: default;
  transition:
    color 0.5s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
/* Diagonal navy "ink swipe" that fills the chip on hover */
.client-grid .chip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 140%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  transform: translateX(-105%) skewX(-18deg);
  transform-origin: bottom left;
  transition: transform 0.55s var(--ease);
  z-index: -1;
}
/* Gold accent line that draws down the left edge just after the swipe */
.client-grid .chip::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ease) 0.15s;
}
.client-grid .chip:hover {
  color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(23, 38, 91, 0.28);
}
.client-grid .chip:hover::before {
  transform: translateX(-14%) skewX(-18deg);
}
.client-grid .chip:hover::after {
  transform: scaleY(1);
}

/* Second row: gold rise from the bottom + a hand-drawn tilt, instead of the navy diagonal */
.client-grid .chip:nth-child(n + 7)::before {
  width: 100%;
  background: linear-gradient(200deg, var(--gold) 0%, #d9ab45 100%);
  transform: translateY(100%) skewY(-4deg);
  transform-origin: bottom left;
}
.client-grid .chip:nth-child(n + 7)::after {
  top: auto;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease) 0.15s;
}
.client-grid .chip:nth-child(n + 7):hover {
  color: var(--charcoal);
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 22px 48px rgba(230, 185, 85, 0.35);
}
.client-grid .chip:nth-child(n + 7):hover::before {
  transform: translateY(-4%) skewY(-4deg);
}
.client-grid .chip:nth-child(n + 7):hover::after {
  transform: scaleX(1);
}

/* ---------- Equipment showcase ---------- */
.equip-section {
  scroll-margin-top: 90px;
}
.equip-section .section-head {
  margin-bottom: 88px;
}
.equip-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}
.equip-row.reverse {
  grid-template-columns: 1fr 1.1fr;
}
.equip-row.reverse .equip-media {
  order: 2;
}
.equip-row.reverse .equip-text {
  order: 1;
}
.equip-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
}
.equip-media img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  animation: equip-float 5s ease-in-out infinite;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.45));
}
.equip-row:nth-child(3) .equip-media img {
  animation-delay: -1.6s;
}
.equip-row:nth-child(4) .equip-media img {
  animation-delay: -3.1s;
}
.equip-row:nth-child(5) .equip-media img {
  animation-delay: -0.8s;
}
@keyframes equip-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
.equip-tag {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold);
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.equip-text h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  color: var(--white);
  margin-bottom: 14px;
}
.equip-text p {
  color: var(--body-dark);
  font-size: 1rem;
  max-width: 440px;
}
.equip-row.reverse .equip-text p {
  margin-left: auto;
}

.equip-strip {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.equip-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.equip-thumb img {
  max-height: 220px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.4));
  transition: transform 0.5s var(--ease);
}
.equip-thumb:hover img {
  transform: translateY(-6px) scale(1.03);
}
.equip-thumb span {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: var(--gold);
}

/* ---------- CTA yellow box ---------- */
.cta-box {
  background: var(--butter);
  padding: 60px 54px;
  border-radius: var(--radius);
}
.cta-box h3 {
  font-size: 1.9rem;
  margin-bottom: 16px;
}
.cta-box p {
  color: var(--charcoal-soft);
  margin-bottom: 30px;
}

/* ---------- Portfolio gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.gallery figure {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--white);
}
.gallery figure img {
  width: 100%;
  transition: transform 0.6s var(--ease);
}
.gallery-large {
  width: 100vw;
  max-width: 1440px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
@media (min-width: 1500px) {
  .gallery-large {
    margin-left: calc(50% - 720px);
    margin-right: calc(50% - 720px);
  }
}
.gallery figure:hover img {
  transform: scale(1.03);
}
.gallery figcaption {
  padding: 18px 22px;
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.1rem;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.page-hero .hero-bg {
  background-image:
    linear-gradient(120deg, rgba(16, 27, 69, 0.88), rgba(38, 34, 29, 0.8)),
    url("../assets/hero-press.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  animation: hero-zoom 18s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-hero.hero-about .hero-bg {
  background-image:
    linear-gradient(120deg, rgba(16, 27, 69, 0.88), rgba(38, 34, 29, 0.8)),
    url("../assets/about-hero.jpg");
}
.page-hero.hero-services .hero-bg {
  background-image:
    linear-gradient(120deg, rgba(16, 27, 69, 0.88), rgba(38, 34, 29, 0.8)),
    url("../assets/services-hero.jpg");
}
.page-hero.hero-contact .hero-bg {
  background-image:
    linear-gradient(120deg, rgba(16, 27, 69, 0.88), rgba(38, 34, 29, 0.8)),
    url("../assets/contact-hero.jpg");
}
.page-hero .container {
  position: relative;
  z-index: 1;
  animation: hero-fade-up 1s var(--ease) both;
}
.page-hero .rule {
  width: 54px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 26px;
}
.page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--gold);
}
.page-hero p {
  color: var(--body-dark);
  margin-top: 14px;
  font-size: 1.05rem;
  max-width: 520px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}
.contact-line {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-line .ci {
  color: var(--raspberry);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-line .ci svg {
  width: 20px;
  height: 20px;
}
.contact-line small {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.7rem;
  color: var(--body);
  margin-bottom: 2px;
}
.contact-line .v {
  color: var(--navy);
  font-weight: 500;
}
.social-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}
.social-row a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: all 0.3s var(--ease);
}
.social-row a:hover {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}
.social-row svg {
  width: 18px;
  height: 18px;
}
.social-row-main a {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold);
  box-shadow: 0 10px 24px rgba(23, 38, 91, 0.2);
}
.social-row-main a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
  transform: translateY(-3px);
}
.social-row-main svg {
  width: 24px;
  height: 24px;
}

.form-card {
  background: var(--white);
  padding: 44px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}
.form-card h3 {
  font-size: 1.7rem;
  margin-bottom: 26px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 20px;
}
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--body);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 300;
  background: var(--cream);
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}
.field textarea {
  resize: vertical;
  min-height: 130px;
}
.form-msg {
  margin-top: 16px;
  font-weight: 500;
  font-size: 0.92rem;
}
.form-msg.success {
  color: #1a8a3c;
}
.form-msg.error {
  color: var(--raspberry);
}

.map-embed {
  margin-top: 34px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.map-embed iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal-soft);
  color: var(--body-dark);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(230, 185, 85, 0.32);
  box-shadow: 0 -2px 0 rgba(0, 0, 0, 0.4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 44px;
  margin-bottom: 56px;
}
.footer-grid .f-logo {
  height: 58px;
  width: auto;
  margin-bottom: 22px;
}
.footer-grid p {
  font-size: 0.92rem;
  color: rgba(232, 227, 216, 0.75);
}
.footer-grid h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer-grid ul {
  list-style: none;
  display: grid;
  gap: 13px;
}
.footer-grid ul a,
.footer-grid ul li {
  font-size: 0.92rem;
  color: rgba(232, 227, 216, 0.8);
  transition: color 0.25s ease;
}
.footer-grid ul a:hover {
  color: var(--gold);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: rgba(232, 227, 216, 0.6);
}

/* ---------- Quick Answers chat widget ---------- */
.chat-launcher {
  position: fixed;
  right: 26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 200;
}
.chat-label {
  background: var(--white);
  color: var(--navy);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.86rem;
  padding: 10px 16px;
  border-radius: 20px;
  box-shadow: 0 10px 26px rgba(23, 38, 91, 0.18);
  white-space: nowrap;
  animation: chat-label-bounce 2.6s ease-in-out infinite;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
@keyframes chat-label-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
.chat-launcher.active .chat-label {
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
}
.chat-toggle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 14px 34px rgba(23, 38, 91, 0.35);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.chat-toggle:hover {
  transform: translateY(-3px);
}
.chat-toggle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chat-toggle svg {
  width: 26px;
  height: 26px;
}
.chat-toggle .icon-close {
  display: none;
}
.chat-toggle.active .chat-toggle-img {
  display: none;
}
.chat-toggle.active .icon-close {
  display: block;
}

.chat-panel {
  position: fixed;
  right: 26px;
  bottom: 98px;
  width: 320px;
  max-width: calc(100vw - 40px);
  max-height: 440px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(23, 38, 91, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 200;
}
.chat-panel.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--navy);
  color: var(--white);
}
.chat-header-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  object-position: -6px center;
  transform: scale(1.6);
  background: var(--white);
  flex-shrink: 0;
}
.chat-header-text {
  flex: 1;
  line-height: 1.3;
}
.chat-header-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
}
.chat-header-text span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}
.chat-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--cream);
}
.chat-msg {
  max-width: 84%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
  animation: chat-fade-in 0.3s var(--ease);
}
@keyframes chat-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.chat-msg-bot {
  align-self: flex-start;
  background: var(--white);
  color: var(--body);
  border-bottom-left-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.chat-msg-user {
  align-self: flex-end;
  background: var(--navy);
  color: var(--white);
  border-bottom-right-radius: 2px;
}
.chat-questions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.chat-q {
  text-align: left;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--navy);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.chat-q:hover:not(:disabled) {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}
.chat-q:disabled {
  opacity: 0.4;
  cursor: default;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .equip-row,
  .equip-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 64px;
  }
  .equip-row.reverse .equip-media,
  .equip-row.reverse .equip-text {
    order: initial;
  }
  .equip-row.reverse .equip-text p {
    margin-left: 0;
  }
  .equip-strip {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .col-3 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .col-2,
  .about-preview {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .client-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  section {
    padding: 80px 0;
  }
}
@media (max-width: 700px) {
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: 76%;
    max-width: 320px;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }
  .navbar.open .nav-links {
    transform: translateX(0);
  }
  .nav-links a,
  .site-header.scrolled .nav-links a {
    color: var(--white);
    font-size: 1rem;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-box {
    padding: 44px 30px;
  }
  .hero {
    min-height: 88vh;
  }
}
