/* ==========================================================================
   HEMBRIDGE — homepage stylesheet
   Plain CSS3, mobile-first. Sections in order.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN SYSTEM
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --navy: #0B2A5B;
  --navy-900: #071C3F;
  --blue: #1F5FBF;
  --blue-600: #1850A3;
  --sky: #EAF1FB;
  --sky-200: #D6E4F7;
  --page: #F7F9FC;
  --white: #FFFFFF;
  --border: #DCE5F2;
  --text: #1B2B45;
  --text-soft: #5B6B82;
  --gold: #C9A24B;
  --danger: #D64545;
  --success: #1E9E6A;

  /* Typography */
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --fs-h1: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.5rem);
  --fs-h3: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --fs-body: clamp(0.95rem, 0.92rem + 0.2vw, 1.0625rem);
  --fs-small: 0.8125rem;

  /* Radii */
  --r-sm: 10px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(11, 42, 91, .06);
  --sh-md: 0 8px 24px rgba(11, 42, 91, .08);
  --sh-lg: 0 18px 48px rgba(11, 42, 91, .14);

  /* Spacing (8px grid) */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 40px;
  --s-6: 48px;
  --s-7: 56px;
  --s-8: 64px;
  --s-9: 72px;
  --s-10: 80px;
  --s-11: 88px;
  --s-12: 96px;
  --section-y: clamp(56px, 8vw, 104px);

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 200ms;
  --t-base: 300ms;
  --t-slow: 400ms;

  /* Header */
  --topbar-h: 40px;
  --header-h: 76px;
  --header-h-mobile: 68px;

  /* Hexagon pattern (navy, low opacity) */
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill='%230B2A5B' fill-opacity='0.04' fill-rule='evenodd'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/svg%3E");
  --hex-strong: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill='%230B2A5B' fill-opacity='0.06' fill-rule='evenodd'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/svg%3E");
  --hex-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.06' fill-rule='evenodd'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

img,
svg,
picture,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --------------------------------------------------------------------------
   3. BASE
   -------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--page);
  background-image: var(--hex);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   4. UTILITIES
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}

.section {
  padding-block: var(--section-y);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sky);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 6px 14px;
  border-radius: var(--r-pill);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head h2 {
  font-size: var(--fs-h2);
  margin-top: 16px;
}

.section-head p {
  color: var(--text-soft);
  margin-top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100%;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-weight: 600;
  transition: top var(--t-base) var(--ease);
}

.skip-link:focus {
  top: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  transition: background-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
  cursor: pointer;
}

.btn .btn-arrow {
  transition: transform var(--t-base) var(--ease);
}

.btn:active {
  transform: translateY(0) scale(.98);
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 95, 191, .35);
}

.btn--primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn--outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.btn--ghost:hover {
  background: #fff;
  color: var(--navy);
}

.btn--white {
  background: #fff;
  color: var(--navy);
}

.btn--white:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 60ms; }
.delay-2 { transition-delay: 120ms; }
.delay-3 { transition-delay: 180ms; }
.delay-4 { transition-delay: 240ms; }
.delay-5 { transition-delay: 300ms; }

.reveal-scale {
  opacity: 0;
  transform: scale(.94);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* --------------------------------------------------------------------------
   5. TOP BAR
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy);
  color: #fff;
  height: var(--topbar-h);
  font-size: 13px;
  font-weight: 500;
  position: relative;
  z-index: 101;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar__group a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .85);
  transition: color var(--t-fast) var(--ease);
}

.topbar__group a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.topbar__group svg {
  width: 16px;
  height: 16px;
}

.topbar__partner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.topbar__partner svg {
  width: 16px;
  height: 16px;
  color: #8FB8F5;
}

/* --------------------------------------------------------------------------
   6. HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: height 250ms var(--ease), background-color 250ms var(--ease),
    box-shadow 250ms var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--sh-md);
  height: 68px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 1;
}

.logo__image {
  display: block;
  width: auto;
  height: 64px;
  object-fit: contain;
  transition: transform var(--t-base) var(--ease);
}

.logo:hover .logo__image {
  transform: scale(1.02);
}

/* Nav */
.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 4px;
  position: relative;
  transition: color var(--t-base) var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--blue);
  border-radius: 2px;
  transition: width var(--t-base) var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--blue);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--navy);
  transition: background-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease);
}

.icon-btn:hover {
  background: var(--sky);
  color: var(--blue);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 22px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--r-pill);
  transition: background-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}

.header-cta:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

.header-cta svg {
  width: 18px;
  height: 18px;
}

/* Hamburger */
.hamburger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.hamburger svg {
  width: 22px;
  height: 22px;
}

.hamburger .icon-x {
  display: none;
}

.hamburger.is-open .icon-menu {
  display: none;
}

.hamburger.is-open .icon-x {
  display: block;
}

/* --------------------------------------------------------------------------
   7. MOBILE MENU
   -------------------------------------------------------------------------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 28, 63, .55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-base) var(--ease);
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;
  width: min(88vw, 380px);
  background: #fff;
  box-shadow: var(--sh-lg);
  z-index: 200;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.mobile-menu__nav {
  flex: 1;
}

.mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
  opacity: 0;
  transform: translateX(24px);
}

.mobile-menu.is-open .mobile-menu__nav a {
  opacity: 1;
  transform: translateX(0);
  transition: opacity .4s var(--ease), transform .4s var(--ease),
    background-color var(--t-base) var(--ease);
}

.mobile-menu__nav a:nth-child(1) { transition-delay: 50ms; }
.mobile-menu__nav a:nth-child(2) { transition-delay: 100ms; }
.mobile-menu__nav a:nth-child(3) { transition-delay: 150ms; }

.mobile-menu__nav a:hover {
  background: var(--sky);
  padding-left: 6px;
}

.mobile-menu__nav a svg {
  width: 20px;
  height: 20px;
  color: var(--text-soft);
}

.mobile-menu__cta {
  margin-top: 24px;
  width: 100%;
}

.mobile-menu__contact {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu__contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 500;
}

.mobile-menu__contact svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   8. SEARCH OVERLAY
   -------------------------------------------------------------------------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(7, 28, 63, .7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 15vh 20px 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms var(--ease);
}

.search-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.search-overlay__box {
  width: min(640px, 100%);
  background: #fff;
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--sh-lg);
  transform: scale(.94);
  transition: transform 250ms var(--ease);
}

.search-overlay.is-open .search-overlay__box {
  transform: scale(1);
}

.search-overlay__form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-overlay__form svg {
  width: 22px;
  height: 22px;
  color: var(--text-soft);
  flex-shrink: 0;
}

.search-overlay__form input {
  flex: 1;
  border: 0;
  outline: none;
  font-size: 18px;
  padding: 10px 0;
  color: var(--text);
}

.search-overlay__form button {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 22px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: background-color var(--t-base) var(--ease);
}

.search-overlay__form button:hover {
  background: var(--navy);
}

/* --------------------------------------------------------------------------
   9. HERO
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--sky) 0%, var(--page) 100%);
  background-image: var(--hex), linear-gradient(135deg, var(--sky) 0%, var(--page) 100%);
  padding-top: clamp(40px, 6vw, 88px);
  padding-bottom: clamp(56px, 7vw, 104px);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.hero__eyebrow {
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__eyebrow svg {
  width: 16px;
  height: 16px;
  color: var(--blue);
}

.hero__title {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.08;
  color: var(--navy);
}

.hero__title span {
  color: var(--blue);
}

.hero__title br {
  display: none;
}

.hero__lead {
  max-width: 520px;
  color: var(--text-soft);
  font-size: 1.0625rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__trust {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 8px;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__trust-item .t-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.hero__trust-item .t-icon svg {
  width: 18px;
  height: 18px;
}

.hero__trust-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

/* Hero image */
.hero__media {
  position: relative;
}

.hero__blob {
  position: absolute;
  top: 0;
  right: -24px;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: var(--sky-200);
  border-radius: 32% 68% 55% 45% / 45% 40% 60% 55%;
  transform: scale(1.04) translate(24px, 24px);
  animation: blobFloat 9s ease-in-out infinite;
}

.hero__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow-wrap: anywhere;
}

.hero__frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  background: var(--sky);
  border-radius: var(--r-xl);
  overflow-wrap: anywhere;
}

.hero__card {
  position: absolute;
  left: -24px;
  bottom: 28px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  padding: 12px 16px;
  opacity: 0;
  transition: transform var(--t-base) var(--ease), opacity .6s var(--ease) .6s;
  animation: popIn .6s var(--ease) .6s backwards;
}

.hero__card:hover {
  transform: translateY(-4px);
}

.hero__card-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

.hero__card-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.hero__card-text {
  line-height: 1.3;
}

.hero__card-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.hero__card-text small {
  font-size: 12px;
  color: var(--text-soft);
}

.hero__card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--t-base) var(--ease);
}

.hero__card:hover .hero__card-arrow {
  background: var(--navy);
}

.hero__card-arrow svg {
  width: 14px;
  height: 14px;
}

.hero__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fff;
  box-shadow: var(--sh-md);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.hero__badge svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

/* Hero load animations */
.hero__media {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.hero.is-loaded .hero__media {
  opacity: 1;
  transform: translateX(0);
}

.hero.is-loaded .hero__card {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   10. ABOUT
   -------------------------------------------------------------------------- */
.about {
  background: #fff;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.about__media {
  position: relative;
  padding-bottom: 40px;
  padding-right: 40px;
}

.about__dots {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--sky-200) 2px, transparent 2px);
  background-size: 15px 15px;
  z-index: 0;
}

.about__img-main {
  position: relative;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  overflow: hidden;
  z-index: 1;
}

.about__img-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.about__img-main:hover img {
  transform: scale(1.03);
}

.about__img-small {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  border-radius: var(--r-lg);
  border: 8px solid #fff;
  box-shadow: var(--sh-lg);
  overflow: hidden;
  z-index: 2;
  animation: floaty 7s ease-in-out infinite;
}

.about__img-small img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.about__badge {
  position: absolute;
  left: 20px;
  bottom: 60px;
  z-index: 3;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about__badge .badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about__badge .badge-icon svg {
  width: 20px;
  height: 20px;
}

.about__badge-text {
  line-height: 1.25;
}

.about__badge-text small {
  display: block;
  font-size: 12px;
  opacity: .8;
}

.about__badge-text strong {
  font-size: 16px;
  font-weight: 700;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__content h2 {
  font-size: var(--fs-h2);
}

.about__content p {
  color: var(--text-soft);
}

.about__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.about__highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 16px 12px;
  border-left: 1px solid var(--border);
  transition: transform var(--t-base) var(--ease);
}

.about__highlight:first-child {
  border-left: 0;
}

.about__highlight:hover {
  transform: translateY(-3px);
}

.about__highlight .h-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.about__highlight .h-icon svg {
  width: 24px;
  height: 24px;
}

.about__highlight:hover .h-icon {
  background: var(--blue);
  color: #fff;
}

.about__highlight span {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
  position: relative;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--blue);
  transition: width var(--t-base) var(--ease);
}

.text-link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--t-base) var(--ease);
}

.text-link:hover::after {
  width: 100%;
}

.text-link:hover svg {
  transform: translateX(6px);
}

/* --------------------------------------------------------------------------
   11. WHY CHOOSE US
   -------------------------------------------------------------------------- */
.why {
  background-color: var(--sky);
  background-image: linear-gradient(rgba(4,19,43,.70), rgba(4,19,43,.78)), url("../assets/images/why-showroom.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.why-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  padding: 32px 28px;
  box-shadow: var(--sh-sm);
  position: relative;
  overflow: hidden;
  text-align: left;
  transition: transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}

.why-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow) var(--ease);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
  border-color: var(--sky-200);
}

.why-card:hover::after {
  transform: scaleX(1);
}

.why-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--sky);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 20px;
  transition: background-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    transform var(--t-base) cubic-bezier(.34, 1.56, .64, 1);
}

.why-card__icon svg {
  width: 28px;
  height: 28px;
}

.why-card:hover .why-card__icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(8deg);
}

.why-card h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--navy);
}

.why-card p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-top: 8px;
}

/* Sintered stone strip */
.why-strip {
  margin-top: 48px;
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
}

.why-strip__label {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}

.why-strip__items {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.why-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-left: 1px solid var(--border);
}

.why-strip__item:first-child {
  border-left: 0;
}

.why-strip__item svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
  transition: transform var(--t-base) var(--ease);
}

.why-strip__item:hover svg {
  transform: scale(1.15);
}

.why-strip__item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.why-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.why-strip__link svg {
  width: 16px;
  height: 16px;
}

.why-strip__footnote {
  text-align: center;
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 14px;
}

/* --------------------------------------------------------------------------
   12. WHAT WE OFFER
   -------------------------------------------------------------------------- */
.offer {
  background: #fff;
}

.offer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
}

.cat-card__img {
  aspect-ratio: 4 / 3;
  background: var(--sky);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cat-card__img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(31, 95, 191, .08), transparent 70%);
}

.cat-card__img img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  padding: 12px;
  transition: transform .5s var(--ease);
  position: relative;
}

.cat-card:hover .cat-card__img img {
  transform: scale(1.07);
}

.cat-card__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.cat-card__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-card__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  -webkit-hyphens: none;
  hyphens: none;
  color: var(--navy);
  transition: color var(--t-base) var(--ease);
}

.cat-card:hover .cat-card__name {
  color: var(--blue);
}

.cat-card__count {
  font-size: 13px;
  white-space: nowrap;
  color: var(--text-soft);
}

.cat-card__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  transition: background-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease);
}

.cat-card__arrow svg {
  width: 18px;
  height: 18px;
  transition: transform var(--t-base) var(--ease);
}

.cat-card:hover .cat-card__arrow {
  background: var(--blue);
  color: #fff;
}

.cat-card:hover .cat-card__arrow svg {
  transform: rotate(-45deg);
}

.offer__cta {
  text-align: center;
  margin-top: 48px;
}

/* --------------------------------------------------------------------------
   13. COLLECTION BANNER
   -------------------------------------------------------------------------- */
.collection {
  margin-top: 80px;
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  background: var(--navy-900);
}

.collection__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  animation: zoom 12s ease-in-out alternate infinite;
}

.collection__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy-900) 35%, rgba(7, 28, 63, 0) 100%);
}

.collection__content {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: clamp(28px, 5vw, 64px);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.collection__label {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.collection__content h2 {
  color: #fff;
  font-size: var(--fs-h2);
}

.collection__content p {
  color: rgba(255, 255, 255, .8);
}

.collection__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.collection__pill {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.collection__pill:hover {
  background: #fff;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   14. GALLERY
   -------------------------------------------------------------------------- */
.gallery {
  background: var(--page);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  padding: 0;
  text-align: left;
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(transparent 40%, rgba(7, 28, 63, .85) 100%);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.gallery-item__caption {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.gallery-item__zoom {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.gallery-item__zoom svg {
  width: 18px;
  height: 18px;
}

.gallery__more {
  text-align: center;
  margin-top: 32px;
  display: none;
}

/* --------------------------------------------------------------------------
   15. LIGHTBOX
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(7, 28, 63, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__stage {
  position: relative;
  max-width: 92vw;
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--r-md);
  animation: scaleIn 250ms var(--ease);
}

.lightbox__caption {
  color: #fff;
  font-size: 14px;
  margin-top: 14px;
  text-align: center;
}

.lightbox__counter {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  margin-top: 6px;
}

.lightbox__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.lightbox__btn:hover {
  background: rgba(255, 255, 255, .24);
  transform: scale(1.08);
}

.lightbox__btn svg {
  width: 22px;
  height: 22px;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev {
  left: 20px;
}

.lightbox__next {
  right: 20px;
}

/* --------------------------------------------------------------------------
   16. CONTACT
   -------------------------------------------------------------------------- */
.contact {
  background-color: var(--sky);
  background-image: linear-gradient(90deg, rgba(4,19,43,.88), rgba(4,19,43,.66)), url("../assets/images/contact-showroom.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__details h2 {
  font-size: var(--fs-h2);
  margin-top: 4px;
}

.contact__details > p {
  color: var(--text-soft);
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-item__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-sm);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.contact-item__icon svg {
  width: 24px;
  height: 24px;
}

.contact-item a:hover .contact-item__icon {
  background: var(--blue);
  color: #fff;
}

.contact-item__text small {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-soft);
}

.contact-item__text strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

.contact-item a {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}

.social-row a:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-3px);
}

.social-row svg {
  width: 20px;
  height: 20px;
}

.contact__map {
  width: 100%;
  height: 200px;
  border-radius: var(--r-lg);
  background: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--text-soft);
  /* Replace with Google Maps iframe (loading="lazy") when a real map is available. */
}

.contact__map svg {
  width: 32px;
  height: 32px;
  color: var(--blue);
}

.contact__map span {
  font-size: 14px;
  font-weight: 600;
}

/* Form */
.form-card {
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--border);
}

.form-card h3 {
  font-size: var(--fs-h3);
}

.form-card__sub {
  color: var(--text-soft);
  font-size: 14px;
  margin-top: 4px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  margin-top: 24px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.field__control {
  position: relative;
}

.field__control > svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-soft);
  pointer-events: none;
  transition: color var(--t-fast) var(--ease);
}

.field__control--area > svg {
  top: 18px;
  transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--page);
  font-size: 15px;
  transition: border-color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.field input,
.field select {
  height: 52px;
  padding: 0 16px;
}

.field input,
.field select,
.field textarea {
  padding-left: 46px;
}

.field textarea {
  padding: 16px 16px 16px 46px;
  resize: vertical;
  min-height: 120px;
}

.field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235B6B82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(31, 95, 191, .15);
}

.field__control:focus-within > svg {
  color: var(--blue);
}

.field select:focus {
  border-color: var(--blue);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(31, 95, 191, .15);
}

.field__check {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--success);
  opacity: 0;
  transition: opacity var(--t-fast) var(--ease);
}

.field__control--area .field__check {
  top: 16px;
  transform: none;
}

.field.is-valid .field__check {
  opacity: 1;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--danger);
  background: #FFF6F6;
}

.field__error {
  display: none;
  font-size: 13px;
  color: var(--danger);
  align-items: center;
  gap: 6px;
}

.field__error svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.field.is-invalid .field__error {
  display: flex;
}

.form-alert {
  display: none;
  grid-column: 1 / -1;
  background: #FFF6F6;
  border: 1px solid var(--danger);
  color: var(--danger);
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--r-md);
  align-items: center;
  gap: 8px;
}

.form-alert.is-visible {
  display: flex;
}

.form-alert svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-submit .btn {
  width: 100%;
  height: 52px;
  min-height: 52px;
}

.form-submit .btn .btn-arrow {
  transition: transform var(--t-base) var(--ease);
}

.form-submit .btn:hover .btn-arrow {
  transform: translate(4px, -4px);
}

.form-privacy {
  font-size: 12px;
  color: var(--text-soft);
  text-align: center;
}

/* Spinner */
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: none;
}

.btn.is-loading .spinner {
  display: inline-block;
}

.btn.is-loading .btn-label,
.btn.is-loading .btn-arrow {
  display: none;
}

/* Success panel */
.form-success {
  display: none;
  text-align: center;
  padding: 24px 0;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.form-success.is-visible {
  display: flex;
}

.form-success__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: pop .5s cubic-bezier(.34, 1.56, .64, 1);
}

.form-success__icon svg {
  width: 36px;
  height: 36px;
}

.form-success h3 {
  font-size: var(--fs-h3);
}

.form-success p {
  color: var(--text-soft);
  max-width: 320px;
}

.form-success button {
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   17. CTA
   -------------------------------------------------------------------------- */
.cta {
  padding-block: var(--section-y);
  background: #fff;
}

.cta__block {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: clamp(36px, 6vw, 72px);
  position: relative;
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.cta__block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hex-white);
  pointer-events: none;
}

.cta__blob {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(76, 139, 232, .35);
  filter: blur(80px);
  pointer-events: none;
  animation: drift 12s ease-in-out infinite;
}

.cta__blob--tl {
  top: -160px;
  left: -160px;
}

.cta__blob--br {
  bottom: -160px;
  right: -160px;
  animation-delay: -6s;
}

.cta__block h2 {
  color: #fff;
  font-size: var(--fs-h2);
  position: relative;
  z-index: 1;
}

.cta__block p {
  color: rgba(255, 255, 255, .8);
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.cta__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   18. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .75);
  padding-top: 72px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
}

.footer-brand__desc {
  font-size: 14px;
  margin-top: 18px;
  max-width: 280px;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}

.footer-social a:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

.footer-col__heading {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
  position: relative;
  transition: color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.footer-col ul a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}

.footer-col ul a:hover {
  color: #fff;
  transform: translateX(6px);
}

.footer-col ul a:hover::before {
  opacity: 1;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact__row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.footer-contact__row svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}

.footer-contact__row a:hover {
  color: #fff;
}

/* Partner row */
.footer-partner {
  margin-top: 56px;
  padding-block: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-partner__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .6);
}

.footer-partner__brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: .2em;
  font-size: 16px;
}

.footer-partner__tagline {
  color: #8FB8F5;
  font-size: 13px;
}

/* Bottom bar */
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.footer-bottom__partner {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-bottom__partner svg {
  width: 16px;
  height: 16px;
  color: #8FB8F5;
}

/* Footer accordion (mobile) */
.footer-accordion__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  cursor: pointer;
  gap: 12px;
}

.footer-accordion__chevron {
  display: none;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--blue);
  transition: transform .3s var(--ease);
}

.footer-accordion__body {
  overflow: hidden;
}

@media (max-width: 639.98px) {
  .footer-accordion__chevron {
    display: block;
  }
  .footer-accordion__body {
    max-height: 0;
    transition: max-height .35s var(--ease);
  }
  .footer-accordion.is-open .footer-accordion__body {
    max-height: 600px;
  }
  .footer-accordion.is-open .footer-accordion__chevron {
    transform: rotate(180deg);
  }
}

/* --------------------------------------------------------------------------
   19. FLOATING ELEMENTS
   -------------------------------------------------------------------------- */
.float-enquiry {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--sh-lg);
  z-index: 90;
  opacity: 0;
  transform: scale(0);
  animation: none;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}

.float-enquiry.is-visible {
  opacity: 1;
  transform: scale(1);
  animation: pulse 2.4s infinite;
  transition-delay: 1.5s;
}

.float-enquiry:hover {
  transform: scale(1.08);
  animation: none;
}

.float-enquiry svg {
  width: 24px;
  height: 24px;
}

.float-enquiry__tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
  padding: 7px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.float-enquiry:hover .float-enquiry__tip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease),
    visibility var(--t-base) var(--ease);
  box-shadow: var(--sh-md);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.back-to-top__ring circle {
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-dasharray: 150.8;
  stroke-dashoffset: 150.8;
  transition: stroke-dashoffset .1s linear;
}

/* Mobile bottom nav */
.mobile-nav {
  display: none;
}

@media (max-width: 767.98px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(64px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(11, 42, 91, .08);
    z-index: 95;
  }
  .mobile-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-soft);
    font-size: 11px;
    min-height: 44px;
    transition: color var(--t-base) var(--ease);
  }
  .mobile-nav a svg {
    width: 22px;
    height: 22px;
  }
  .mobile-nav a.is-active {
    color: var(--blue);
  }
  .float-enquiry {
    bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

.gallery-item.is-hidden {
  display: none;
}

/* --------------------------------------------------------------------------
   20. RESPONSIVE
   -------------------------------------------------------------------------- */

/* 480px */
@media (min-width: 480px) {
  .hero__title br {
    display: block;
  }
}

/* 640px */
@media (min-width: 640px) {
  .hero__trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 20px;
  }
  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .offer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 768px */
@media (min-width: 768px) {
  .contact__map {
    height: 240px;
  }
  .gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  .gallery-item {
    margin-bottom: 0;
  }
}

/* 1024px */
@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
  .hamburger {
    display: none;
  }
  .why__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .offer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  }
}

/* 1280px */
@media (min-width: 1280px) {
  .offer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* 1536px */
@media (min-width: 1536px) {
  .hero {
    padding-top: clamp(64px, 6vw, 104px);
    padding-bottom: clamp(88px, 7vw, 140px);
  }
}

/* Max-width adjustments (mobile-first, these are the "below" breakpoints) */
@media (max-width: 1023.98px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__media {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
  .hero__media {
    order: -1;
  }
  .hero__content {
    text-align: left;
  }
  .hero__frame img {
    max-height: 440px;
  }
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__media {
    max-width: 560px;
    margin-inline: auto;
  }
  .why-strip {
    flex-direction: column;
    align-items: flex-start;
  }
  .why-strip__items {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 12px;
  }
  .why-strip__item {
    border-left: 0;
    padding: 0;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact__form {
    order: -1;
  }
}

@media (max-width: 767.98px) {
  .topbar {
    display: none;
  }
  .site-header {
    height: var(--header-h-mobile);
  }
  .site-header.is-scrolled {
    height: 60px;
  }
  .hero__badge {
    display: none;
  }
  .hero__card {
    left: 12px;
  }
  .hero__frame img {
    aspect-ratio: 4 / 3;
  }
  .collection__bg {
    width: 100%;
  }
  .collection__overlay {
    background: rgba(7, 28, 63, .7);
  }
  .why-strip__items {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    justify-content: flex-start;
    padding-bottom: 6px;
  }
  .why-strip__item {
    min-width: 88px;
    scroll-snap-align: start;
    flex-shrink: 0;
  }
  .back-to-top {
    display: none;
  }
}

@media (max-width: 639.98px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field--full {
    grid-column: auto;
  }
  .form-submit,
  .form-alert {
    grid-column: auto;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .gallery__more {
    display: block;
  }
  .about__highlights {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .about__highlight {
    border-left: 0;
  }
}

@media (max-width: 479.98px) {
  .hero__actions .btn {
    width: 100%;
  }
  .header-cta .cta-label {
    display: none;
  }
  .header-cta {
    padding: 0;
    width: 44px;
    min-height: 44px;
    justify-content: center;
  }
  .about__media {
    padding-bottom: 0;
    padding-right: 0;
  }
  .about__img-small {
    width: 46%;
  }
  .about__badge {
    left: 12px;
    bottom: 16px;
    padding: 10px 14px;
  }
  .offer__grid {
    grid-template-columns: 1fr;
  }
  .cta__actions .btn {
    width: 100%;
  }
}

/* Touch devices: hover effects as active */
@media (hover: hover) {
  .gallery-item:hover img {
    transform: none;
  }
  .gallery-item:hover .gallery-item__overlay {
    opacity: 1;
  }
  .gallery-item:hover .gallery-item__zoom {
    opacity: 1;
  }
}

@media (hover: none) {
  .gallery-item__overlay {
    opacity: 1;
    background: linear-gradient(transparent 55%, rgba(7, 28, 63, .7) 100%);
  }
  .gallery-item__caption {
    font-size: 12px;
  }
  .gallery-item__zoom {
    opacity: 0;
  }
  .gallery-item:active img {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   21. KEYFRAMES
   -------------------------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(10px); }
}

@keyframes blobFloat {
  0%, 100% { transform: scale(1.04) translate(24px, 24px) translateY(-10px); }
  50% { transform: scale(1.04) translate(24px, 24px) translateY(10px); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(-8px); }
  50% { transform: translateY(8px); }
}

@keyframes zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, 20px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 95, 191, .45); }
  70% { box-shadow: 0 0 0 16px rgba(31, 95, 191, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 95, 191, 0); }
}

@keyframes scaleIn {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

@keyframes popIn {
  from { transform: scale(.9); }
  to { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   22. LAZY LOAD & SKELETON
   -------------------------------------------------------------------------- */
img.lazy-img {
  opacity: 0;
  transition: opacity .5s var(--ease);
}

img.lazy-img.is-loaded {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   23. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .topbar,
  .site-header,
  .mobile-menu,
  .menu-overlay,
  .search-overlay,
  .lightbox,
  .float-enquiry,
  .back-to-top,
  .mobile-nav,
  .hero__card,
  .hero__badge {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
  .section {
    padding-block: 24px;
  }
  .reveal,
  .reveal-scale,
  .hero__media,
  .hero__card {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   24. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  .reveal-scale,
  .hero__media,
  .hero__card {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media print{.site-header,.topbar,.mobile-nav,.float-enquiry,.back-to-top,.mobile-menu,.search-overlay,.lightbox,.menu-overlay{display:none!important}body{background:#fff!important;color:#111}.section{padding-block:20px}.container{max-width:none;padding-inline:0}a{color:inherit!important;text-decoration:none!important}img{break-inside:avoid}}

/* Full-bleed homepage hero: preserve the opaque white header above it. */
.hero{
  position:relative;
  display:flex;
  align-items:center;
  min-height:calc(100vh - var(--topbar-h) - var(--header-h));
  min-height:calc(100svh - var(--topbar-h) - var(--header-h));
  padding-block:clamp(48px,8vh,96px);
  isolation:isolate;
  background:#071c3f url('../assets/images/homepage-hero.webp') center 55%/cover no-repeat;
}
.hero__grid.container{
  position:relative;
  z-index:2;
  display:block;
  width:min(100%,var(--container));
  padding-inline:var(--gutter);
}
.hero__media{
  display:none;
}
.hero__blob{display:none}
.hero__frame{
  position:absolute;
  inset:0;
  border-radius:0;
  box-shadow:none;
}
.hero__frame img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  aspect-ratio:auto;
  object-fit:cover;
  object-position:center 55%;
  border-radius:0;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(4,19,43,.84) 0%,rgba(4,19,43,.63) 42%,rgba(4,19,43,.12) 100%),linear-gradient(0deg,rgba(4,19,43,.25),transparent 48%);
}
.hero__content{
  position:relative;
  z-index:2;
  max-width:700px;
  gap:clamp(16px,2.2vw,24px);
}
.hero__eyebrow{
  color:var(--navy);
  background:rgba(255,255,255,.96);
  border-color:rgba(255,255,255,.8);
}
.hero__title{color:#fff;text-shadow:0 3px 24px rgba(0,0,0,.18)}
.hero__title span{color:#a9ccff}
.hero__lead{color:rgba(255,255,255,.92);max-width:600px}
.hero__actions .btn--outline{background:#fff;color:var(--navy);border-color:#fff}
.hero__trust{
  width:min(100%,650px);
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-color:rgba(255,255,255,.35);
  gap:12px;
}
.hero__trust-item .t-icon{background:rgba(255,255,255,.16);color:#fff}
.hero__trust-item span{color:#fff}
.hero__card{
  left:auto;
  right:clamp(18px,5vw,72px);
  bottom:clamp(24px,5vh,56px);
  pointer-events:auto;
}
.hero__badge{right:clamp(18px,5vw,72px);top:clamp(20px,4vh,40px);pointer-events:auto}
.hero__card,.hero__badge{display:none}
.cat-card__img img{width:100%;height:100%;padding:0;object-fit:cover}
@media(max-width:1023.98px){
 .hero__media{position:absolute;inset:0;max-width:none;width:auto;margin:0}
 .hero__grid{display:block}
 .hero__frame img{max-height:none}
 .hero__media{order:initial}
}
@media(max-width:639.98px){
 .hero{min-height:calc(100vh - var(--topbar-h) - var(--header-h-mobile));min-height:calc(100svh - var(--topbar-h) - var(--header-h-mobile));padding-block:48px}
 .hero__content{gap:16px}
 .hero__trust{grid-template-columns:1fr;gap:8px;width:auto;padding-top:14px}
 .hero__card{right:16px;bottom:16px;transform:scale(.9);transform-origin:bottom right}
 .hero__badge{right:16px;top:16px}
}
@media(prefers-reduced-motion:reduce){.hero__media,.hero__blob,.hero__card-inner{animation:none!important}}

@media (max-width: 639px) {
  .logo__image {
    width: auto;
    height: 54px;
  }
}

/* Readable copy over the dark photographic section backgrounds. */
.why .section-head h2, .contact__details h2 { color: #fff; }
.why .section-head p, .why-strip__footnote,
.contact__details > p, .contact-item__text small { color: #dce6f3; }
.contact-item__text strong, .contact-item a { color: #fff; }

/* Use the site typeface for all text and native form controls. */
html, body, button, input, select, textarea { font-family: var(--font); }
