/* ==========================================================================
   K Creative Services — Design System
   ========================================================================== */

:root {
  --gold: #FFC935;
  --black: #000000;
  --white: #FFFFFF;
  --gray-light: #F5F5F5;
  --gray-mid: #7A7A7A;

  --font-heading: 'Raleway', sans-serif;
  --font-body: 'Mulish', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  --max-width: 1200px;
  --header-height: 124px;
}

/* -------------------------------------------------------------------------
   Reset & base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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(--font-heading);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin: 0 0 var(--space-sm);
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); letter-spacing: 0.03em; }

p {
  margin: 0 0 var(--space-sm);
}

/* -------------------------------------------------------------------------
   Scroll / load reveal (progressive enhancement — main.js adds the
   .reveal class to selected elements at runtime, so if JS never runs
   nothing is ever hidden in the first place)
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

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

section {
  padding: var(--space-xl) 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-xs);
}

.section-intro {
  max-width: 700px;
  margin: 0 0 var(--space-md);
  color: var(--gray-mid);
}

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

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  border: none;
  margin: var(--space-sm) 0;
}

.divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 0.9em 2em;
  border-radius: 2px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(255, 201, 53, 0.35);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

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

.btn-gold-white:hover {
  background: var(--black);
  color: var(--gold);
  border-color: var(--black);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.cta-row.center {
  justify-content: center;
}

.text-center {
  text-align: center;
}

/* -------------------------------------------------------------------------
   Header / Nav
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: 1000px;
}

/* Logo crop: the source lockup includes generous margin + a gold tagline below
   the icon/wordmark. Clipping to the top ~87% and enlarging the scaled image
   shows just the icon+wordmark, filling its box instead of floating in empty
   canvas. */
.logo-crop {
  height: 100px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  transition: opacity 0.2s ease;
}

.logo-link:hover .logo-crop {
  opacity: 0.85;
}

.logo-crop img {
  height: 115px;
  width: auto;
  flex-shrink: 0;
}

.main-nav ul {
  display: flex;
  gap: 1.25rem;
}

.main-nav a {
  position: relative;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4em 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  background: var(--black);
  color: var(--white);
  padding: var(--space-xl) 0;
  text-align: center;
}

.hero .container {
  max-width: 820px;
}

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

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

.hero p {
  font-size: 1.1rem;
  color: #D9D9D9;
}

.page-hero {
  background: var(--black);
  color: var(--white);
  padding: var(--space-lg) 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero p {
  color: #D9D9D9;
  max-width: 640px;
  margin: 0 auto;
}

/* -------------------------------------------------------------------------
   Cards / Grids
   ------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-md);
}

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

/* Icon + label steps (e.g. "How It Works" strips) — plain, no card border,
   reuses .service-icon for the gold clipart-style icon treatment. */
.step {
  text-align: center;
}

.step h3 {
  margin-bottom: var(--space-xs);
}

.step p {
  color: var(--gray-mid);
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: var(--space-md);
  border-radius: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease,
    opacity 0.4s ease-out;
}

.card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.card .icon {
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: var(--space-xs);
}

.card h3 {
  margin-bottom: var(--space-xs);
}

/* Service icons (hand-authored inline SVGs, single gold fill) */
.service-icon {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.service-icon svg {
  width: 48px;
  height: 48px;
  fill: var(--gold);
  transition: transform 0.3s ease;
}

.card:hover .service-icon svg {
  transform: scale(1.15) rotate(-6deg);
}

/* Services page: 5-card layout that wraps 2 / 2 / 1, the lone 5th card
   centering automatically via justify-content: center on the wrapped row. */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.services-grid .card {
  flex: 1 1 calc(50% - var(--space-md));
  max-width: calc(50% - var(--space-md) / 2);
  text-align: center;
}

.services-grid .card ul {
  text-align: left;
}

.card ul {
  margin-top: var(--space-xs);
}

.card ul li {
  position: relative;
  padding-left: 1.1em;
  margin-bottom: 0.4em;
  color: var(--gray-mid);
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.bg-black {
  background: var(--black);
  color: var(--white);
}

.bg-black h2,
.bg-black h3 {
  color: var(--white);
}

.bg-gray {
  background: var(--gray-light);
}

/* Image that matches the rendered height of its sibling column in a
   .grid-2 row (e.g. About page founder photo next to the story text) —
   position: absolute removes the img from normal flow so it contributes
   no intrinsic height of its own; the wrapper then takes its height from
   the grid row, which is set by the taller (text) column. */
.match-height {
  position: relative;
  height: 100%;
  min-height: 300px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--gray-light);
}

.match-height img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80%;
  object-fit: cover;
  object-position: center top;
}

/* -------------------------------------------------------------------------
   Placeholder blocks (for content marked [ADD: ...])
   ------------------------------------------------------------------------- */
.placeholder {
  border: 2px dashed var(--gold);
  background: #FFFDF5;
  color: var(--gray-mid);
  padding: var(--space-md);
  border-radius: 4px;
  text-align: center;
}

.placeholder-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--black);
  padding: 0.3em 0.8em;
  border-radius: 2px;
  margin-bottom: var(--space-xs);
}

.placeholder-media {
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease-out;
}

.placeholder-media:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.placeholder-inline {
  display: inline-block;
  border-bottom: 2px dashed var(--gold);
  color: var(--gray-mid);
  padding: 0 0.2em;
}

/* Click-to-play video facade: thumbnail + play button, swapped for a real
   player on click (main.js) so nothing autoplays on page load. Works for
   both YouTube embeds (data-video-id) and local files (data-video-src).
   16 / 9 matches the portfolio grid's uniform shape — the source clips are
   themselves native 16:9, so object-fit: cover never has to crop them. */
.video-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--black);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease-out;
}

.video-facade:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.video-facade img,
.video-facade video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-facade iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.video-facade.is-playing {
  cursor: default;
}

.video-facade.is-playing:hover {
  transform: none;
  box-shadow: none;
}

/* Portrait exception (e.g. Dominic in Construction & Contractor
   Showcases): the cell keeps the same 16:9 box as its row siblings — same
   column width in, same height out, no special sizing needed — but
   contain (not cover) the video inside it, so its true vertical shape
   shows in full at that height, centered, with no crop or stretch. */
.video-facade.is-portrait img,
.video-facade.is-portrait video {
  object-fit: contain;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.video-facade:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn svg {
  width: 22px;
  height: 22px;
  fill: var(--black);
  margin-left: 3px;
}

/* -------------------------------------------------------------------------
   Testimonials
   ------------------------------------------------------------------------- */
.quote-card {
  background: var(--white);
  border: 2px dashed var(--gold);
  padding: var(--space-md);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease-out;
}

.quote-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.gr-badge {
  border: 2px solid var(--gold);
  border-radius: 4px;
  padding: var(--space-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease-out;
}

.gr-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(255, 201, 53, 0.2);
}

.gr-badge .stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  margin-bottom: var(--space-xs);
}

.gr-badge .stars {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.2em;
}

.g-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   Our Clients strip
   ------------------------------------------------------------------------- */
.clients-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
}

.client-logo {
  height: 80px;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.client-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

.quote-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}

.quote-card .quote-text {
  font-style: italic;
  color: var(--gray-mid);
  flex-grow: 1;
}

.quote-attribution {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gray-light);
  border: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.quote-avatar svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

.quote-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quote-card .quote-name {
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  color: var(--black);
}

.quote-card .quote-role {
  font-size: 0.85rem;
  color: var(--gray-mid);
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid #2A2A2A;
}

.footer-logo .logo-crop {
  height: 90px;
  margin-bottom: var(--space-xs);
}

.footer-logo .logo-crop img {
  height: 104px;
}

.footer-tagline {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.footer-nav a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D9D9D9;
}

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

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  border: 1px solid #2A2A2A;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--gold);
  transform: translateY(-3px) scale(1.08);
}

.social-icon {
  width: 16px;
  height: 16px;
  fill: var(--gold);
}

.footer-bottom {
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-mid);
}

/* -------------------------------------------------------------------------
   Contact form
   ------------------------------------------------------------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Gold-tinted form container — gives a form its own visual destination
   distinct from a plain .card, without introducing a new color language. */
.form-card {
  background: #FFFDF5;
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.form-field label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8em 1em;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 201, 53, 0.2);
}

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

.form-hint {
  font-size: 0.85rem;
  color: var(--gray-mid);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em 1.4em;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--black);
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 1.1em;
  height: 1.1em;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-status {
  display: none;
  padding: var(--space-md);
  border-radius: 4px;
  text-align: center;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  border: 2px solid var(--gold);
  background: #FFFDF5;
}

.form-status.error {
  border: 2px solid var(--black);
  background: var(--gray-light);
}

.is-hidden {
  display: none;
}

/* -------------------------------------------------------------------------
   Map embed
   ------------------------------------------------------------------------- */
.map-embed {
  position: relative;
  width: 100%;
  padding-bottom: 66%;
  height: 0;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--gray-light);
}

.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* -------------------------------------------------------------------------
   FAQ chat widget
   ------------------------------------------------------------------------- */
.faq-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 500;
}

.faq-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-toggle:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(255, 201, 53, 0.4);
}

.faq-toggle svg {
  width: 26px;
  height: 26px;
  fill: var(--black);
  transition: transform 0.25s ease;
}

.faq-toggle[aria-expanded="true"] svg {
  transform: scale(0.85) rotate(-8deg);
}

.faq-panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: 340px;
  max-width: calc(100vw - 2rem);
  max-height: min(480px, 70vh);
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s;
}

.faq-widget.is-open .faq-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.faq-panel-header {
  background: var(--black);
  color: var(--white);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
}

.faq-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.faq-close:hover {
  color: var(--gold);
}

.faq-panel-body {
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
}

.faq-greeting {
  color: var(--gray-mid);
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}

.faq-question-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-question {
  text-align: left;
  background: var(--gray-light);
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  padding: 0.7em 0.9em;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--black);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.faq-question:hover {
  border-color: var(--gold);
  background: #FFFDF5;
  transform: translateX(2px);
}

.faq-back {
  background: none;
  border: none;
  color: var(--gray-mid);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.9rem;
  transition: color 0.2s ease;
}

.faq-back:hover {
  color: var(--gold);
}

.faq-answer-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-panel-footer {
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--gray-light);
}

.faq-panel-footer .btn {
  display: block;
  text-align: center;
  width: 100%;
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --header-height: 88px;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.is-open {
    max-height: 400px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }

  .main-nav a {
    display: block;
    padding: 0.8em 0;
    border-bottom: 1px solid var(--gray-light);
  }

  .nav-toggle {
    display: flex;
  }

  .logo-crop {
    height: 68px;
  }

  .logo-crop img {
    height: 78px;
  }

  .footer-logo .logo-crop {
    height: 76px;
  }

  .footer-logo .logo-crop img {
    height: 88px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  .services-grid .card {
    flex-basis: 100%;
    max-width: 100%;
  }

  .client-logo {
    width: 130px;
    height: 64px;
  }

  section {
    padding: var(--space-lg) 0;
  }

  .footer-grid {
    flex-direction: column;
  }

  .footer-nav ul {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }

  .faq-widget {
    right: 16px;
    bottom: 16px;
  }

  .faq-toggle {
    width: 50px;
    height: 50px;
  }

  .faq-panel {
    bottom: 64px;
    width: calc(100vw - 2rem);
  }
}
