/* =========================================================
   VALAPPILA — Common Styles (header, hero, buttons)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700;800&display=swap');

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* Content width = 1360px (gutter added outside) */
.container {
  width: 100%;
  max-width: calc(var(--container) + (var(--gutter) * 2));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Narrower container — 1280px content */
.container-md {
  max-width: calc(var(--container-md) + (var(--gutter) * 2));
}

/* SVG icon sprite (hidden holder) */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 16px 28px;
}

.btn-primary svg {
  width: 14px;
  height: 14px;
  stroke: var(--white);
  transition: transform var(--transition);
}

.btn-primary:hover {
  background: var(--red-dark);
  box-shadow: 0 10px 25px rgba(229, 35, 27, 0.35);
}

.btn-primary:hover svg {
  transform: translate(2px, -2px);
}

/* White variant (on red sections) */
.btn-white {
  background: #FFFFFF;
  color: #E5231B;
}

.btn-white svg {
  stroke: #E5231B;
}

.btn-white:hover {
  background: #141311;
  color: #FFFFFF;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.btn-white:hover svg {
  stroke: #FFFFFF;
}

/* Maroon variant */
.btn-maroon {
  background: #9D0600;
  color: #FFFFFF;
}

.btn-maroon:hover {
  background: #E5231B;
  box-shadow: 0 10px 25px rgba(157, 6, 0, 0.3);
}

/* =========================================================
   SECTION BADGE (reusable red pill label)
   ========================================================= */
.section-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  color: #FFFFFF;
  background: #EE251D;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

/* White badge for dark/red sections */
.section-badge--light {
  background: #FFFFFF;
  color: #EE251D;
}

/* Maroon badge for light/cream sections */
.section-badge--maroon {
  background: #9D0600;
  color: #FFFFFF;
}

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: 18px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 46px;
  width: auto;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #E5231B;
  box-shadow: var(--nav-shadow);
  border-radius: var(--radius-pill);
  padding: 10px 10px 10px 24px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: #FFFFFF;
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  transition: background var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  background: rgba(255, 255, 255, 0.14);
}

/* Contact button */
.nav-contact {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: #E5231B;
  background: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  margin-left: 10px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-contact:hover {
  background: var(--black);
  color: var(--white);
}

/* ---------- Dropdown ---------- */
.has-dropdown {
  position: relative;
}

.has-dropdown .chev {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.has-dropdown:hover .chev,
.has-dropdown.open .chev {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  padding-top: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 50;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dd-panel {
  width: 280px;
  background: #E5231B;
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--nav-shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dd-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  color: var(--white);
  transition: background var(--transition), color var(--transition);
}

.dd-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dd-name {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}

.dd-desc {
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1.35;
  opacity: 0.9;
}

.dd-go {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.dd-go svg {
  width: 14px;
  height: 14px;
  stroke: var(--white);
  transition: transform var(--transition);
}

/* Hover / active item — white card */
.dd-panel a:hover,
.dd-panel a.active {
  background: #FFFFFF;
  color: #A92C20;
}

.dd-panel a:hover .dd-go,
.dd-panel a.active .dd-go {
  background: #A92C20;
}

.dd-panel a:hover .dd-go svg,
.dd-panel a.active .dd-go svg {
  transform: rotate(45deg);
}

/* ---------- Mobile toggle ---------- */
.mobile-actions {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

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

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* =========================================================
   INNER PAGE HERO (common)
   ========================================================= */
.inner-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--black);
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  padding: calc(var(--header-height) + 50px) 0 90px;
  min-height: 600px;
}

/* Red glow shapes (fallback / layered over bg image) */
.inner-hero::before,
.inner-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.inner-hero::before {
  width: 640px;
  height: 640px;
  left: -220px;
  bottom: -320px;
  background: radial-gradient(circle, rgba(229, 35, 27, 0.55) 0%, rgba(229, 35, 27, 0) 70%);
}

.inner-hero::after {
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: -200px;
  background: radial-gradient(circle, rgba(169, 44, 32, 0.6) 0%, rgba(169, 44, 32, 0) 70%);
}

/* Big background 'V' mark */
.hero-v-bg {
  position: absolute;
  top: 40px;
  right: 12%;
  width: 380px;
  height: auto;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
}

/* ---------- Left content (changes per page) ---------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  color: #FFFFFF;
  background: #EE251D;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

/* Outlined badge (service detail pages) */
.hero-badge--outline {
  background: transparent;
  color: #EE251D;
  border: 1px solid #EE251D;
  padding: 5px 12px;
}

.hero-badge svg {
  width: 12px;
  height: 12px;
  fill: var(--white);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 61px;
  line-height: 1.08;
  color: #FFFFFF;
  margin-bottom: 26px;
}

.hero-title .highlight {
  color: #E5231B;
}

.hero-strap {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.hero-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: #C8C4C0;
  max-width: 590px;
  margin-bottom: 32px;
}

/* ---------- Right visual (common) ---------- */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 470px;
  margin-left: auto;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 470px;
  aspect-ratio: 470 / 340;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transform: rotate(-5deg); /* Figma: photo tilted 5° */
  box-shadow: var(--card-shadow);
  z-index: 1;
}

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

/* Red 'V' overlapping the image */
/* Red V (Figma: images/v-tag.png) — in front of the photo,
   bottom-left, tip dropping below the photo */
.hero-v-mark {
  position: absolute;
  left: -4%;
  top: 44%;
  width: 52%;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* Sparkle decoration */
/* Sparkle (Figma: images/sparkles.png) — top-left of the photo */
.hero-sparkle {
  position: absolute;
  left: -4%;
  top: 22%;
  width: 11%;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .nav-menu > li > a {
    padding: 12px 10px;
  }

  .hero-title {
    font-size: 52px;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 90px;
  }

  /* Mobile navigation */
  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #E5231B;
    border-radius: var(--radius-pill);
    padding: 6px;
    box-shadow: var(--nav-shadow);
  }

  .mobile-actions .nav-contact {
    margin-left: 0;
    padding: 11px 22px;
  }

  .navbar {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 100%);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    border-radius: 0;
    padding: 100px 20px 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 90;
  }

  .navbar.open {
    transform: translateX(0);
  }

  .navbar > .nav-contact {
    display: none;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-menu > li > a {
    width: 100%;
    justify-content: space-between;
    padding: 14px 16px;
    font-size: 16px;
  }

  .dropdown-menu {
    position: static;
    padding-top: 6px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .has-dropdown:hover .dropdown-menu {
    display: none;
  }

  .has-dropdown.open .dropdown-menu {
    display: block;
  }

  .has-dropdown:hover .chev {
    transform: none;
  }

  .has-dropdown.open .chev {
    transform: rotate(180deg);
  }

  .dd-panel {
    width: 100%;
    background: rgba(0, 0, 0, 0.12);
    box-shadow: none;
    padding: 8px;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 80;
  }

  .nav-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle {
    position: relative;
    z-index: 95;
  }

  .mobile-actions {
    position: relative;
    z-index: 95;
  }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero-visual {
    margin-right: auto; /* centred under the text on tablet/mobile */
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-v-bg {
    right: 5%;
    width: 300px;
  }
}

@media (max-width: 768px) {
  :root {
    --gutter: 18px;
  }

  .logo img {
    height: 38px;
  }

  .inner-hero {
    padding: calc(var(--header-height) + 30px) 0 80px;
    min-height: auto;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-strap {
    font-size: 18px;
  }

  .hero-text {
    font-size: 15px;
  }

}

@media (max-width: 480px) {
  .logo img {
    height: 32px;
  }

  .mobile-actions .nav-contact {
    padding: 10px 16px;
    font-size: 14px;
  }

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

  .hero-title {
    font-size: 32px;
  }

  .hero-strap {
    font-size: 16px;
  }




  .btn-primary {
    padding: 14px 22px;
  }
}

/* =========================================================
   INTRO BLOCK (common — used after the hero on inner pages)
   Badge + title + strapline on the left, text + button on the right
   ========================================================= */
.intro-block {
  background: #FFFFFF;
  padding: 90px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.intro-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.12;
  color: #E5231B;
  margin-bottom: 22px;
  max-width: 520px;
}

.intro-strap {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: #141311;
}

.intro-body {
  padding-top: 40px;
}

.intro-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: #706B66;
  margin-bottom: 30px;
  max-width: 560px;
}

@media (max-width: 1024px) {
  .intro-block {
    padding: 80px 0;
  }

  .intro-grid {
    gap: 40px;
  }

  .intro-title {
    font-size: 38px;
  }

  .intro-body {
    padding-top: 36px;
  }
}

@media (max-width: 768px) {
  .intro-block {
    padding: 64px 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .intro-title {
    font-size: 34px;
    max-width: none;
  }

  .intro-strap {
    font-size: 18px;
  }

  .intro-body {
    padding-top: 0;
  }

  .intro-text {
    font-size: 16px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .intro-block {
    padding: 52px 0;
  }

  .intro-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .intro-strap {
    font-size: 16px;
  }

  .intro-text {
    font-size: 15px;
    margin-bottom: 24px;
  }
}

/* ---------- Intro block — red variant (#9D0600 bg, white text) ---------- */
.intro-block--red {
  background: #9D0600;
}

.intro-block--red .intro-title,
.intro-block--red .intro-strap {
  color: #FFFFFF;
}

.intro-block--red .intro-text {
  color: #FFFFFFE0;
}

/* ---------- Intro block — dark variant (#0A0908 bg) ---------- */
.intro-block--dark {
  background: #0A0908;
}

.intro-block--dark .intro-title,
.intro-block--dark .intro-strap {
  color: #FFFFFF;
}

.intro-block--dark .intro-text {
  font-size: 16px;
  color: #C8C4C0;
}

/* =========================================================
   FEATURED WORK (common) — use with .intro-block--dark
   ========================================================= */
.featured-work .intro-grid {
  margin-bottom: 44px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
}

.work-card {
  display: block;
}

.work-media {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 668 / 300;
  background: #1A1816;
  margin-bottom: 18px;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-cat {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #EE251D;
  margin-bottom: 8px;
}

.work-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: #FFFFFF;
  transition: color var(--transition);
}

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

.work-card:hover .work-title {
  color: #EE251D;
}

@media (max-width: 768px) {
  .featured-work .intro-grid {
    margin-bottom: 36px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .work-media {
    aspect-ratio: 16 / 9;
    margin-bottom: 14px;
  }

  .work-title {
    font-size: 18px;
  }
}

/* ---------- Intro block — blush variant (soft pink bg) ---------- */
.intro-block--blush {
  /* #E5231B0D tint layered over white (the body is dark, so the tint needs a white base) */
  background: linear-gradient(#E5231B0D, #E5231B0D), #FFFFFF;
}

/* Text link with arrow (used instead of a pill button) */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: #E5231B;
  transition: color var(--transition);
}

.text-link span {
  transition: transform var(--transition);
}

.text-link:hover {
  color: #A92C20;
}

.text-link:hover span {
  transform: translate(2px, -2px);
}

/* Plain eyebrow (no pill) — red uppercase label */
.eyebrow-plain {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ED241C;
  margin-bottom: 14px;
}

/* Intro body aligned to the top of the heading */
.intro-body--tight {
  padding-top: 0;
}

/* =========================================================
   PAGINATION ON RED SECTIONS (common)
   Used by: client reviews, our clients
   ========================================================= */
.cr-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.cr-pagination:empty {
  display: none;
}

.cr-page {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #B91A13;
  border: 1px solid #FFFFFF33;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.cr-page:hover {
  background: #9D0600;
}

.cr-page.is-active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #ED241C;
}

.cr-next {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: #FFFFFF;
  transition: opacity var(--transition);
}

.cr-next span {
  transition: transform var(--transition);
}

.cr-next:hover span {
  transform: translate(2px, -2px);
}

.cr-next:disabled {
  opacity: 0.4;
  cursor: default;
}

.cr-page:focus-visible,
.cr-next:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}


/* Plain eyebrow — white variant (on red/dark sections) */
.eyebrow-plain--white {
  color: #FFFFFF;
}

/* Black intro title variant */
.intro-title--black {
  color: #000000;
}

/* Contact button when on the contact page */
.nav-contact.is-current {
  background: #0A0908;
  color: #FFFFFF;
}

/* Bold lead line inside the intro body */
.intro-lead {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.4;
  color: #171513;
  margin-bottom: 18px;
}

/* =========================================================
   SPLIT BLOCK (common) — image left, content right, cream bg
   Used for: Why Valappila (listing), Our Work (service detail)
   ========================================================= */
.split-block {
  background: #F6F1EA;
  padding: 100px 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 64px;
  align-items: center;
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0px 18px 42px 0px #14131124;
  aspect-ratio: 640 / 505;
  background: #E9E2D8;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-media:hover img {
  transform: scale(1.04);
}

.split-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.12;
  color: #9D0600;
  margin-bottom: 22px;
}

.split-strap {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: #141311;
  margin-bottom: 18px;
}

.split-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: #706B66;
  max-width: 680px;
  margin-bottom: 30px;
}

.split-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -6px 0 32px;
}

.split-pills li {
  background: #9D06001A;
  border-radius: var(--radius-pill);
  padding: 9px 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  color: #9D0600;
}

/* Bright variant — red title & pills instead of maroon */
.split-block--bright .split-title {
  color: #E5231B;
}

.split-block--bright .split-pills li {
  background: #EE251D1A;
  color: #EE251D;
  font-weight: 600;
}

/* Bright red button (#EE251D) */
.btn-bright {
  background: #EE251D;
}

@media (max-width: 1024px) {
  .split-block {
    padding: 80px 0;
  }

  .split-grid {
    gap: 40px;
  }

  .split-title {
    font-size: 36px;
  }

  .split-strap {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .split-block {
    padding: 64px 0;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .split-media {
    aspect-ratio: 4 / 3;
  }

  .split-title {
    font-size: 32px;
  }

  .split-text {
    font-size: 15px;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .split-block {
    padding: 52px 0;
  }

  .split-grid {
    gap: 28px;
  }

  .split-title {
    font-size: 27px;
    margin-bottom: 16px;
  }

  .split-strap {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .split-pills {
    gap: 8px;
    margin-bottom: 26px;
  }

  .split-pills li {
    padding: 8px 14px;
  }
}

/* =========================================================
   FOOTER (common)
   ========================================================= */
.site-footer {
  background: #0A0908;
  color: #FFFFFF;
  font-family: var(--font-body);
  padding-top: 70px;
  --ft-line-inset: 12px; /* gap between divider and container edge */
}

/* Rows with inset bottom divider */
.ft-row {
  position: relative;
  padding-bottom: 50px;
  margin-bottom: 50px;
}

.ft-row::after {
  content: '';
  position: absolute;
  left: var(--ft-line-inset);
  right: var(--ft-line-inset);
  bottom: 0;
  border-bottom: 1px solid #FFFFFF1F;
}

.site-footer a {
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

/* ---------- Shared typography ---------- */
.ft-heading {
  font-weight: 700;
  font-size: 11.5px;
  color: #FFFFFFDB;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.ft-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ft-links a {
  font-weight: 400;
  font-size: 14.5px;
  color: #FFFFFF;
}

.ft-links a:hover {
  color: #E5231B;
}

.ft-title {
  font-weight: 700;
  font-size: 18px;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.ft-sub {
  font-size: 13px;
  line-height: 1.55;
  color: #FFFFFFB3;
}

/* ---------- 1. CTA ---------- */
.ft-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.ft-cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.25;
  color: #FFFFFF;
}

.ft-cta-title .highlight {
  color: #E5231B;
}

.ft-cta-btns {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.ft-cta-title,
.ft-cta-btns {
  position: relative;
  z-index: 1;
}

/* 3D "V" between the CTA title and buttons, with a soft red glow.
   common.js fills it with the same model as the hero V. */
.ft-v3d {
  position: absolute;
  left: 57%;
  top: calc(50% - 25px); /* centre on the content, not the bottom padding */
  width: 230px;
  aspect-ratio: 1 / 1;
  translate: -50% -50%;
  pointer-events: none;
}

.ft-v3d::before {
  content: '';
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 48%,
    rgba(229, 35, 27, 0.55) 0%,
    rgba(229, 35, 27, 0.28) 30%,
    rgba(169, 44, 32, 0.1) 52%,
    rgba(169, 44, 32, 0) 70%);
  filter: blur(14px);
  opacity: 0;
  transition: opacity 0.8s ease;
}

.ft-v3d model-viewer {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  --poster-color: transparent;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.ft-v3d.is-ready::before,
.ft-v3d.is-ready model-viewer {
  opacity: 1;
}

.ft-v3d.is-ready::before {
  animation: ftVGlow 4s ease-in-out 0.8s infinite;
}

@keyframes ftVGlow {
  0%, 100% { opacity: 1; scale: 1; }
  50% { opacity: 0.75; scale: 0.94; }
}

@media (prefers-reduced-motion: reduce) {
  .ft-v3d.is-ready::before {
    animation: none;
  }
}

.ft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #FFFFFF;
  text-align: center;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  white-space: nowrap;
}

.ft-btn--fill {
  background: #E5231B;
  border-color: #E5231B;
}

.ft-btn--fill:hover {
  background: #A92C20;
  border-color: #A92C20;
}

.ft-btn--outline {
  background: none;
  border-color: #FFFFFF47;
}

.ft-btn--outline:hover {
  background: #FFFFFF;
  color: #0A0908;
  border-color: #FFFFFF;
}

/* ---------- 2. Main ---------- */
.ft-main {
  display: grid;
  grid-template-columns: 1.45fr 0.9fr 0.9fr 1.2fr;
  gap: 40px;
}

.ft-logo img {
  height: 46px;
  width: auto;
  margin-bottom: 24px;
}

.ft-about {
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.65;
  color: #FFFFFFE0;
  max-width: 360px;
  margin-bottom: 30px;
}

.ft-social {
  display: flex;
  gap: 10px;
}

.ft-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #FFFFFF2E;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.ft-social svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ft-social a:hover {
  background: #E5231B;
  border-color: #E5231B;
}

/* Contact list */
.ft-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ft-contact li {
  display: flex;
  gap: 14px;
}

.ft-c-icon {
  color: #E5231B;
  flex-shrink: 0;
  padding-top: 1px;
}

.ft-c-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ft-c-label {
  display: block;
  font-weight: 400;
  font-size: 11.5px;
  color: #FFFFFFD6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.ft-c-text {
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.6;
  color: #FFFFFF;
}

.ft-c-text a:hover {
  color: #E5231B;
}

/* ---------- 3. Locations ---------- */
.ft-locations {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.ft-loc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ft-loc-list li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid #FFFFFF1F;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  color: #FFFFFF;
}

.ft-loc-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #E5231B;
}

.ft-loc-list li a {
  color: inherit;
  text-decoration: none;
}

.ft-loc-list li:hover {
  border-color: #FFFFFF59;
}

.ft-loc-list li.is-hq {
  border-color: #FFFFFF59;
}

.ft-loc-list .hq {
  font-weight: 800;
  font-size: 10px;
  color: #E5231B;
  margin-left: 4px;
}

/* ---------- 4. Sitemap ---------- */
.ft-sitemap .ft-title {
  margin-bottom: 26px;
}

.ft-sitemap-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.ft-sitemap .ft-heading {
  padding-bottom: 12px;
  border-bottom: 1px solid #FFFFFF1F;
  margin-bottom: 18px;
}

/* ---------- 5. Bottom bar ---------- */
.ft-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 30px;
}

.ft-bottom-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.ft-copy,
.ft-legal a {
  font-size: 12px;
  color: #FFFFFFB3;
}

.ft-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.ft-legal a:hover {
  color: #FFFFFF;
}

.ft-credit {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: #FFFFFF52;
}

.ft-credit:hover {
  color: #FFFFFF;
}

/* ---------- Footer responsive ---------- */
@media (max-width: 1200px) {
  .ft-cta-title {
    font-size: 32px;
  }
}

@media (max-width: 1024px) {
  .site-footer {
    padding-top: 60px;
  }

  .ft-row {
    padding-bottom: 40px;
    margin-bottom: 40px;
  }

  .ft-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Stacked layout: V sits on the empty right side */
  .ft-v3d {
    left: auto;
    right: 0;
    width: 200px;
    translate: 0 -50%;
  }

  .ft-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
  }

  .ft-sitemap-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 30px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    --ft-line-inset: 0px;
  }

  .ft-cta-title {
    font-size: 28px;
  }

  /* Not enough room beside the text on phones */
  .ft-v3d {
    display: none;
  }

  .ft-locations {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .ft-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .ft-bottom-left {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding-top: 50px;
  }

  .ft-row {
    padding-bottom: 34px;
    margin-bottom: 34px;
  }

  .ft-cta-title {
    font-size: 24px;
  }

  .ft-cta-title br {
    display: none;
  }

  .ft-cta-btns {
    width: 100%;
    flex-direction: column;
  }

  .ft-btn {
    width: 100%;
  }

  .ft-main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .ft-logo img {
    height: 38px;
  }

  .ft-loc-list li {
    padding: 7px 13px;
    font-size: 13px;
  }

  .ft-sitemap-grid {
    gap: 30px 20px;
  }

  .ft-links a {
    font-size: 14px;
  }
}

/* =========================================================
   LIGHTBOX CAROUSEL (common)
   Usage: <a href="full.jpg" data-lightbox="group-name"><img ...></a>
   Every link with the same group name becomes one carousel.
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 70px 90px 24px;
  background: rgba(10, 9, 8, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lb-stage {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0;
}

.lb-img {
  max-width: 100%;
  max-height: calc(100% - 40px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s ease, transform 0.25s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.lb-img.is-loading {
  opacity: 0;
  transform: scale(0.98);
}

.lb-caption {
  font-family: var(--font-body);
  font-size: 14px;
  color: #FFFFFFCC;
  text-align: center;
  max-width: 720px;
}

/* Buttons */
.lb-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF14;
  border: 1px solid #FFFFFF2E;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  z-index: 2;
}

.lb-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lb-btn:hover {
  background: #E5231B;
  border-color: #E5231B;
}

.lb-btn:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.lb-close {
  top: 16px;
  right: 20px;
}

.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
}

.lb-prev {
  left: 24px;
}

.lb-next {
  right: 24px;
}

.lb-counter {
  position: absolute;
  top: 28px;
  left: 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #FFFFFFB3;
}

/* Thumbnails */
.lb-thumbs {
  display: flex;
  gap: 10px;
  max-width: 100%;
  overflow-x: auto;
  padding: 4px;
  scrollbar-width: none;
}

.lb-thumbs::-webkit-scrollbar {
  display: none;
}

.lb-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0.45;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: opacity var(--transition), outline-color var(--transition);
}

.lb-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-thumb:hover {
  opacity: 0.8;
}

.lb-thumb.is-active {
  opacity: 1;
  outline-color: #E5231B;
}

body.lb-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .lightbox {
    padding: 64px 14px 18px;
  }

  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 84px;
    transform: none;
    width: 42px;
    height: 42px;
  }

  .lb-prev {
    left: 14px;
  }

  .lb-next {
    right: 14px;
  }

  .lb-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .lb-counter {
    top: 24px;
    left: 18px;
  }

  .lb-img {
    max-height: calc(100% - 100px);
  }

  .lb-caption {
    font-size: 13px;
    padding: 0 56px;
  }

  .lb-thumb {
    width: 56px;
    height: 42px;
  }
}

/* =========================================================
   FLOATING QUICK CONTACT (common) — call + email buttons
   ========================================================= */
.fab {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-btn {
  position: relative;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #E5231B;
  color: #FFFFFF;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(20, 19, 17, 0.34);
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fab-btn:hover {
  background: #A92C20;
  transform: translateY(-3px);
}

.fab-btn:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.fab-btn svg {
  position: relative;
  z-index: 2;
  width: 21px;
  height: 21px;
}

/* Label slides out on hover (desktop) */
.fab-label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translate(8px, -50%);
  white-space: nowrap;
  background: #0A0908;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 9px 15px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(20, 19, 17, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.fab-btn:hover .fab-label,
.fab-btn:focus-visible .fab-label {
  opacity: 1;
  transform: translate(0, -50%);
}

/* Pulse ring on the call button */
.fab-btn.is-call::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 50%;
  background: #E5231B;
  opacity: 0.5;
  animation: fabPulse 2.4s ease-out infinite;
}

@keyframes fabPulse {
  0%   { transform: scale(1);    opacity: 0.5; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* Hidden behind the open mobile menu and the lightbox */
body.menu-open .fab,
body.lb-open .fab {
  visibility: hidden;
}

@media (max-width: 720px) {
  .fab {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .fab-btn {
    width: 48px;
    height: 48px;
  }

  .fab-btn svg {
    width: 19px;
    height: 19px;
  }

  .fab-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fab-btn.is-call::after {
    animation: none;
    opacity: 0;
  }
}

/* ===== PASTE AT THE END OF css/common.css ===== */

/* =========================================================
   COMMON QUESTIONS ACCORDION (common) — contact + FAQ pages
   ========================================================= */
.common-q {
  background: #FFFFFF;
  padding: 100px 0;
}

.cq-head {
  text-align: center;
  margin-bottom: 44px;
}

.cq-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 44px;
  line-height: 1.1;
  color: #000000;
}

.cq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cq-item {
  background: #FFFFFF;
  border: 1px solid #EEEAE6;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(23, 21, 19, 0.06);
  transition: box-shadow var(--transition);
}

.cq-item.is-open {
  box-shadow: 0 14px 30px rgba(23, 21, 19, 0.08);
}

.cq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 26px;
  text-align: left;
}

.cq-q:focus-visible {
  outline: 2px solid #9D0600;
  outline-offset: 2px;
  border-radius: 12px;
}

.cq-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFE1DF;
  color: #9D0600;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  transition: background var(--transition), color var(--transition);
}

.cq-item.is-open .cq-num {
  background: #9D0600;
  color: #FFFFFF;
}

.cq-text {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  color: #171513;
}

/* Maroon circle with + / × */
.cq-toggle {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #9D0600;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.cq-toggle::before,
.cq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.cq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.cq-item.is-open .cq-toggle {
  transform: rotate(45deg);
}

.cq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.cq-item.is-open .cq-a {
  grid-template-rows: 1fr;
}

.cq-a-inner {
  overflow: hidden;
}

.cq-a-inner p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
  color: #746E69;
  padding: 0 90px 26px 26px;
}

@media (max-width: 1024px) {
  .cq-title {
    font-size: 36px;
  }

  .common-q {
    padding: 80px 0;
  }

}

@media (max-width: 768px) {
  .cq-title {
    font-size: 32px;
  }

  .common-q {
    padding: 64px 0;
  }

  .cq-q {
    padding: 20px 18px;
    gap: 14px;
  }

  .cq-text {
    font-size: 15px;
  }

  .cq-a-inner p {
    padding: 0 18px 22px 58px;
  }

}

@media (max-width: 480px) {
  .common-q {
    padding: 52px 0;
  }

  .cq-toggle {
    width: 30px;
    height: 30px;
  }

  .cq-a-inner p {
    padding-left: 18px;
  }

}

/* ===== PASTE AT THE END OF css/common.css ===== */

/* ---------- Hero with a background photo (e.g. About page) ----------
   Add class "inner-hero--photo" to <section class="inner-hero"> and set
   --hero-photo: url('../images/xxx.jpg') in the page CSS.
   The photo is darkened so the white text stays readable. */
.inner-hero--photo {
  background-image:
    linear-gradient(90deg, rgba(10, 9, 8, 0.9) 0%, rgba(10, 9, 8, 0.78) 50%, rgba(10, 9, 8, 0.6) 100%),
    var(--hero-photo, none);
  background-size: cover;
  background-position: center;
}

.inner-hero--photo::before,
.inner-hero--photo::after,
.inner-hero--photo .hero-v-bg {
  display: none;
}

/* =========================================================
   INNER HERO — 3D "V" on the team photo
   Markup (right after <img class="hero-v-mark" ...>):
   <div class="hero-v3d-mark" aria-hidden="true"></div>
   common.js puts the 3D V in it. The flat v-tag.png stays
   as a fallback and is hidden once the 3D V has loaded.
   ========================================================= */
.hero-v3d-mark {
  position: absolute;
  left: -16%;
  top: 54%;
  width: 44%;
  aspect-ratio: 1 / 1;
  z-index: 2;
  pointer-events: none;
}

.hero-v3d-mark model-viewer {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  --poster-color: transparent;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-v3d-mark.is-ready model-viewer {
  opacity: 1;
}

/* Gentle float once it has appeared */
.hero-v3d-mark.is-ready {
  animation: heroVFloat 6s ease-in-out 0.6s infinite;
}

@keyframes heroVFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

/* Flat V is only the fallback — hide it once the 3D V is showing */
.hero-visual.v3d-ready .hero-v-mark {
  display: none;
}

/* Phones: keep the V inside the screen edge */
@media (max-width: 480px) {
  .hero-v3d-mark {
    left: -6%;
    width: 40%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-v3d-mark.is-ready {
    animation: none;
  }
}