/* ============================================================
   SWITCHGEAR PRO — Design System
   ============================================================ */

:root {
  /* Brand */
  --navy: #1E3A5F;
  --navy-deep: #0F1E35;
  --navy-900: #0A1628;
  --navy-800: #14263F;
  --navy-700: #1E3A5F;
  --navy-600: #2A4E7A;
  --navy-500: #3B6BA5;
  --bronze: #B8860B;
  --bronze-light: #D4A017;
  --bronze-dark: #8B6508;
  --bronze-glow: rgba(184, 134, 11, 0.15);
  --signal-red: #C41E3A;

  /* Surface */
  --surface: #F8FAFC;
  --surface-alt: #EEF2F7;
  --surface-card: #FFFFFF;
  --ink: #1A1A1A;
  --ink-mute: #4A5568;
  --ink-faint: #718096;
  --border: #E2E8F0;
  --border-strong: #CBD5E0;

  /* Type */
  --font-head: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Scale */
  --radius-sm: 2px;
  --radius: 4px;
  --radius-md: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 30, 53, 0.06), 0 1px 3px rgba(15, 30, 53, 0.08);
  --shadow: 0 4px 6px -1px rgba(15, 30, 53, 0.08), 0 2px 4px -2px rgba(15, 30, 53, 0.06);
  --shadow-lg: 0 20px 40px -12px rgba(15, 30, 53, 0.18), 0 8px 16px -4px rgba(15, 30, 53, 0.08);
  --shadow-bronze: 0 8px 24px -8px rgba(184, 134, 11, 0.4);

  --container: 1280px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============================================================
   Typography
   ============================================================ */

.eyebrow {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--bronze);
}

.eyebrow.on-dark { color: var(--bronze-light); }
.eyebrow.on-dark::before { background: var(--bronze-light); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(40px, 5.5vw, 72px); font-weight: 800; }
h2 { font-size: clamp(32px, 3.6vw, 48px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
h4 { font-size: 18px; font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1em; text-wrap: pretty; color: var(--ink-mute); }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-mute); max-width: 62ch; }

.numeral {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.2s var(--ease);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--bronze);
  color: #fff;
  border-color: var(--bronze);
}
.btn-primary:hover {
  background: var(--bronze-dark);
  border-color: var(--bronze-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-bronze);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-outline-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-ghost {
  color: var(--bronze);
  padding: 10px 0;
  font-size: 13px;
}
.btn-ghost:hover { color: var(--bronze-dark); gap: 14px; }

.btn-sm { padding: 10px 18px; font-size: 11px; }

/* ============================================================
   Layout
   ============================================================ */

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

section { position: relative; }
.section { padding: 100px 0; }
.section-sm { padding: 64px 0; }

.section-dark {
  background: var(--navy-deep);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.72); }
.section-dark .lead { color: rgba(255, 255, 255, 0.75); }

.section-navy {
  background: var(--navy);
  color: #fff;
}
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: rgba(255, 255, 255, 0.75); }

.section-alt { background: var(--surface-alt); }

/* Section header pattern */
.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
  max-width: 720px;
}
.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-items: center;
}
.section-head h2 { margin-bottom: 0; }

/* ============================================================
   Diagonal Accent Motif (the signature)
   ============================================================ */

.diagonal-stripe {
  position: absolute;
  background: var(--bronze);
  pointer-events: none;
  z-index: 1;
}

/* A thin bronze slash at top-right corners */
.corner-slash {
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  overflow: hidden;
  pointer-events: none;
}
.corner-slash::before {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 60px;
  height: 3px;
  background: var(--bronze);
  transform: rotate(-45deg);
  transform-origin: top right;
}

/* Hero diagonal bronze bars */
.hero-accent {
  position: absolute;
  pointer-events: none;
  z-index: 2;
}

/* Full section diagonal dividers */
.section-divider-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    transparent 20%,
    var(--bronze) 20%,
    var(--bronze) 28%,
    transparent 28%,
    transparent 100%);
}

/* Diagonal gold accent variants controlled by body data-attr */
body[data-motif="subtle"] .motif-hero,
body[data-motif="subtle"] .motif-card { opacity: 0.5; }
body[data-motif="bold"] .motif-hero,
body[data-motif="bold"] .motif-card { opacity: 1; }
body[data-motif="bold"] .motif-hero { transform: scale(1.2); }

/* ============================================================
   Header / Navigation
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 10px 0;
  background: transparent;
  transition: all 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.solid,
.site-header.light-page {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  padding: 14px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  transition: color 0.3s var(--ease);
  flex-shrink: 0;
}
.site-header.solid .nav-logo,
.site-header.light-page .nav-logo { color: var(--navy); }

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

/* Raster logo (PNG) used in header + footer */
.logo-img {
  height: 82px;
  width: auto;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  /* Default: header starts transparent over the dark hero — invert the dark navy logo to white */
  filter: brightness(0) invert(1);
  transition: filter 0.3s var(--ease);
}
.site-header.solid .logo-img,
.site-header.light-page .logo-img {
  /* Scrolled / inner pages have a white header — show logo in its native navy */
  filter: none;
}
.footer-logo-img {
  /* Footer is dark — keep the white-inverted treatment */
  filter: brightness(0) invert(1);
  height: 100px;
  height: 52px;
}
@media (max-width: 640px) {
  .logo-img { height: 56px; }
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
}
.logo-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 10px;
  color: var(--bronze-light);
  margin-top: 3px;
  letter-spacing: 0.04em;
}
.site-header.solid .logo-tag,
.site-header.light-page .logo-tag { color: var(--bronze); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a.active::after,
.nav-links a:hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--bronze-light);
}

.site-header.solid .nav-links a,
.site-header.light-page .nav-links a { color: var(--ink-mute); }
.site-header.solid .nav-links a:hover,
.site-header.solid .nav-links a.active,
.site-header.light-page .nav-links a:hover,
.site-header.light-page .nav-links a.active { color: var(--navy); }
.site-header.solid .nav-links a.active::after,
.site-header.solid .nav-links a:hover::after,
.site-header.light-page .nav-links a.active::after,
.site-header.light-page .nav-links a:hover::after { background: var(--bronze); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.dropdown-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 3px;
  opacity: 0.6;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s var(--ease);
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block !important;
  padding: 10px 14px !important;
  color: var(--ink) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border-radius: 2px;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.dropdown a:hover {
  background: var(--surface-alt);
  color: var(--navy) !important;
}
.dropdown a::after { display: none !important; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: inherit;
  padding: 8px 10px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s;
}
.site-header.solid .lang-toggle,
.site-header.light-page .lang-toggle {
  border-color: var(--border);
  color: var(--ink-mute);
}
.lang-toggle:hover { background: var(--bronze); color: #fff; border-color: var(--bronze); }

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 110;
}
.hamburger svg { width: 26px; height: 26px; }
.hamburger .icon-close { display: none; }
.hamburger.is-open .icon-open { display: none; }
.hamburger.is-open .icon-close { display: block; color: #fff; }
.site-header.solid .hamburger,
.site-header.light-page .hamburger { color: var(--navy-deep); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  color: #fff;
  z-index: 105;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.mobile-nav-logo img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.mobile-nav-close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  color: #fff; border-radius: 50%; cursor: pointer;
}
.mobile-nav-close svg { width: 20px; height: 20px; }
.mobile-nav-close:hover { background: rgba(255,255,255,0.1); }

.mobile-nav-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mobile-nav-body > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.mobile-nav-body > ul > li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-nav-body > ul > li > a {
  display: block;
  padding: 17px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  transition: color 0.2s;
}
.mobile-nav-body > ul > li > a:hover { color: var(--bronze-light); }

.mobile-nav-row {
  display: flex;
  align-items: stretch;
  border-bottom: none;
}
.mobile-nav-row > a {
  display: block;
  flex: 1;
  padding: 17px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: #fff;
  transition: color 0.2s;
}
.mobile-nav-row > a:hover { color: var(--bronze-light); }

.mobile-expand-btn {
  width: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}
.mobile-expand-btn:hover { color: #fff; background: rgba(255,255,255,0.05); }
.mobile-expand-btn .chevron {
  width: 20px; height: 20px;
  transition: transform 0.3s var(--ease);
}
.has-children.is-open .mobile-expand-btn { color: var(--bronze-light); }
.has-children.is-open .mobile-expand-btn .chevron { transform: rotate(180deg); }

.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(0,0,0,0.18);
}
.has-children.is-open .mobile-submenu { max-height: 500px; }
.mobile-submenu li { border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-submenu li:last-child { border-bottom: none; }
.mobile-submenu a {
  display: block;
  padding: 13px 24px 13px 38px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s, background 0.2s;
}
.mobile-submenu a:hover { color: #fff; background: rgba(255,255,255,0.05); }

.mobile-nav-cta {
  padding: 24px;
}
.mobile-nav-cta .btn {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 14px 24px;
  font-size: 14px;
}

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn, .lang-toggle { display: none; }
  .hamburger { display: inline-flex; }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 24px;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bronze), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand { max-width: 360px; }
.footer-brand .logo-mark { width: 56px; height: 56px; }
.footer-brand .logo-name { font-size: 18px; color: #fff; }
.footer-brand .logo-tag { font-size: 12px; }
.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-top: 20px;
}

.footer-col h4 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bronze);
  display: inline-block;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--bronze-light); }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}
.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--bronze);
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.04em;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  color: #fff;
}
.footer-social svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; }
}

/* ============================================================
   Generic cards / grids
   ============================================================ */

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.25s var(--ease);
  position: relative;
}
.card:hover {
  border-color: var(--bronze);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bronze);
  color: #fff;
  margin-bottom: 24px;
}
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.navy { background: var(--navy); }
.icon-badge.outline {
  background: transparent;
  border: 1.5px solid var(--bronze);
  color: var(--bronze);
}
.icon-badge.outline-navy {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}

/* ============================================================
   Page hero (sub-pages)
   ============================================================ */

.page-hero {
  padding: 180px 0 80px;
  background: var(--navy-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(184, 134, 11, 0.08) 50%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 { color: #fff; max-width: 14ch; }
.page-hero .lead { color: rgba(255, 255, 255, 0.75); max-width: 56ch; }

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-head);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumb a { color: var(--bronze-light); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { color: rgba(255, 255, 255, 0.3); }
.breadcrumb .current { color: #fff; }

/* Light variant for pages where we want lighter hero */
.page-hero.light {
  background: #fff;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  padding: 160px 0 72px;
}
.page-hero.light h1 { color: var(--navy); }
.page-hero.light .lead { color: var(--ink-mute); }
.page-hero.light .breadcrumb { color: var(--ink-faint); }
.page-hero.light .breadcrumb a { color: var(--bronze); }
.page-hero.light .breadcrumb .current { color: var(--navy); }

/* ============================================================
   Forms
   ============================================================ */

.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  transition: all 0.2s;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px var(--bronze-glow);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-error {
  color: var(--signal-red);
  font-size: 12px;
  margin-top: 6px;
  font-weight: 500;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   Tweaks panel
   ============================================================ */

.tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 280px;
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  font-size: 13px;
  display: none;
}
.tweaks-panel.active { display: block; }
.tweaks-panel header {
  padding: 14px 16px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.tweaks-panel .tw-body { padding: 16px; }
.tweaks-panel label {
  display: block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 8px;
  margin-top: 14px;
}
.tweaks-panel label:first-child { margin-top: 0; }
.tweaks-panel .tw-seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  border: 1px solid var(--border-strong);
  border-radius: 2px;
  overflow: hidden;
}
.tweaks-panel .tw-seg button {
  padding: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  background: #fff;
  border-right: 1px solid var(--border);
  transition: all 0.2s;
}
.tweaks-panel .tw-seg button:last-child { border-right: none; }
.tweaks-panel .tw-seg button.on {
  background: var(--navy);
  color: #fff;
}
.tw-close {
  background: transparent;
  color: #fff;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
}

/* ============================================================
   Utilities
   ============================================================ */

.text-bronze { color: var(--bronze); }
.text-navy { color: var(--navy); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  h1 { font-size: 40px; }
  .page-hero { padding: 140px 0 56px; }
}

/* Fade-in on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Photo treatment — controlled by body data-attr */
.photo { filter: none; transition: filter 0.4s; }
body[data-photo="duotone"] .photo {
  filter: sepia(0.6) hue-rotate(170deg) saturate(1.2) brightness(0.9);
}
body[data-photo="mono"] .photo {
  filter: grayscale(0.85) contrast(1.05);
}

/* Photo placeholder helper (for when no real image) */
.photo-placeholder {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-deep) 60%, #000 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-head);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,
      transparent 0px, transparent 40px,
      rgba(184, 134, 11, 0.08) 40px, rgba(184, 134, 11, 0.08) 41px),
    radial-gradient(circle at 30% 30%, rgba(184, 134, 11, 0.15), transparent 50%);
}


/* ============================================================
   FLOATING CONTACT CTAs (WhatsApp + Call)
   ============================================================ */
.floating-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.fcta-btn {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px 14px 14px;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.fcta-btn svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.fcta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3), 0 4px 8px rgba(0, 0, 0, 0.18);
}
.fcta-whatsapp {
  background: #25D366;
}
.fcta-whatsapp:hover {
  background: #20BD5A;
}
.fcta-call {
  background: var(--navy-deep, #0F2640);
  border: 1px solid rgba(184, 134, 11, 0.4);
}
.fcta-call:hover {
  background: var(--bronze, #B8860B);
  border-color: var(--bronze);
}
.fcta-label {
  line-height: 1;
}
@media (max-width: 640px) {
  .floating-cta {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }
  .fcta-btn {
    padding: 12px;
    width: 48px;
    height: 48px;
    justify-content: center;
  }
  .fcta-label { display: none; }
}
