/* Business Profiles */
.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-10);
}
.section-intro .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 87, 164, 0.08);
  color: var(--color-blue-2);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge svg {
  width: 14px;
  height: 14px;
}
.badge--sister {
  background: rgba(0, 86, 179, 0.12);
  color: var(--color-blue-2);
  box-shadow: inset 0 0 0 1px rgba(0, 86, 179, 0.18);
}
.profile-hierarchy {
  display: grid;
  justify-items: center;
  gap: var(--space-10);
}
.profile-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: var(--space-5);
  align-items: center;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  width: clamp(320px, 70vw, 720px);
  color: var(--color-text);
}
.profile-card__logo {
  display: grid;
  place-items: center;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.profile-card__logo img {
  width: clamp(88px, 10vw, 110px);
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.profile-card__body {
  display: grid;
  gap: var(--space-3);
}
.profile-card__title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.55rem);
}
.profile-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.profile-card .btn {
  justify-self: start;
}
.profile-card--parent {
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.1), rgba(0, 86, 179, 0.18));
  box-shadow: 0 24px 60px rgba(0, 86, 179, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 86, 179, 0.15);
}
.profile-card--sister {
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(230, 240, 255, 0.95));
  box-shadow: 0 22px 65px rgba(0, 86, 179, 0.12);
  border: 1px solid rgba(0, 86, 179, 0.12);
  color: #10243d;
}
.badge--parent {
  background: rgba(0, 86, 179, 0.18);
  color: var(--color-blue-2);
  box-shadow: inset 0 0 0 1px rgba(0, 86, 179, 0.25);
}
.badge--sister {
  color: #084080;
}
.profile-card--sister .profile-card__title {
  color: #0b2342;
}
.profile-card--sister p {
  color: #1b2f4a;
}
.btn.btn--ghost {
  border: 1px solid currentColor;
  background: transparent;
  color: var(--color-blue-2);
}
.btn.btn--sister {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #0d6efd, #1f4fb8);
  box-shadow: 0 12px 24px rgba(13, 110, 253, 0.25);
}
.btn.btn--sister:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(13, 110, 253, 0.3);
  background: linear-gradient(135deg, #0c5ed6, #1a3f96);
}
.btn.btn--ghost:hover {
  background: rgba(0, 86, 179, 0.12);
  transform: translateY(-1px);
}
.sister-connect {
  position: relative;
  width: clamp(320px, 60vw, 680px);
  height: 32px;
}
.sister-connect .connector-line {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 86, 179, 0), rgba(0, 86, 179, 0.4), rgba(0, 86, 179, 0));
  transform: translate(-50%, -50%);
}
.sister-connect .connector-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--color-blue-2);
  box-shadow: 0 0 0 8px rgba(0, 86, 179, 0.1);
  transform: translate(-50%, -50%);
}
.sister-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  width: clamp(320px, 82vw, 880px);
}

@media (max-width: 640px) {
  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-5);
  }
  .profile-card__logo {
    margin: 0 auto;
  }
  .profile-card__actions {
    justify-content: center;
  }
  .profile-card .btn {
    justify-self: center;
  }
  .sister-connect {
    height: 48px;
  }
}
/*
  XFM Tech Pty Ltd — Global Styles
  Stack: Pure CSS (no frameworks)
*/

:root {
  --color-primary: #28A745;
  --color-white: #ffffff;
  --color-text: #1a1a1a;
  --color-muted: #4a4a4a;
  --color-bg: #ffffff;
  --color-alt: #F5F5F5;
  --color-blue-1: #0EA5E9;
  --color-blue-2: #2563EB;
  --color-yellow: #FACC15;
  --color-orange: #F59E0B;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 32px rgba(0,0,0,0.12);

  --container: min(1120px, 92vw);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
}

@media (prefers-color-scheme: dark) {
  :root { --color-bg: #0b0f14; --color-text: #e5e7eb; --color-alt: #10151c; }
}

/* Base */
* { box-sizing: border-box; }
html { 
  scroll-behavior: smooth; 
  -webkit-overflow-scrolling: touch;
}
body {
  margin: 0;
  font-family: "Inter", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  position: relative;
}
main {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-blue-2); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

/* Utilities */
.container { width: var(--container); margin-inline: auto; }
.section { padding: var(--space-20) 0; }
.section--alt { background: var(--color-alt); }
.grid { display: grid; gap: var(--space-8); }
.two-col { grid-template-columns: 1fr; }
.four-col { grid-template-columns: 1fr; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .four-col { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--color-white);
  color: var(--color-text);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-10);
  border: 1px solid #f3f4f6;
  line-height: 1.6;
}

/* Card paragraph styling for better readability */
.card p {
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
}

/* Card headings styling for better readability */
.card h2,
.card h3 {
  color: #1a1a1a;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 16px 0;
}

/* Card icons styling for better visibility */
.card .icon {
  color: var(--color-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card .icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.btn { 
  display: inline-block; 
  padding: 12px 18px; 
  border-radius: var(--radius-md); 
  font-weight: 700; 
  font-size: 1rem;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; 
  text-decoration: none;
  border: 2px solid var(--color-primary);
  background: #f8f9fa;
  color: #1a1a1a;
}
.btn:focus-visible { outline: 3px solid var(--color-yellow); outline-offset: 2px; }
.btn:hover {
  background: rgba(40, 167, 69, 0.1);
  border-color: var(--color-primary);
  color: #1a1a1a;
}
.btn--primary { 
  background: var(--color-primary); 
  color: #fff; 
  box-shadow: var(--shadow-sm);
  border-color: var(--color-primary);
}
.btn--primary:hover { 
  transform: translateY(-1px); 
  box-shadow: var(--shadow-md);
  background: #1e7e34;
}
.btn--secondary { 
  background: linear-gradient(135deg, var(--color-blue-1), var(--color-blue-2)); 
  color: #fff;
  border-color: var(--color-blue-2);
}
.btn--secondary:hover { 
  transform: translateY(-1px); 
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #0d8cc7, #1d4ed8);
}

.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.skip-to-content {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-to-content:focus { left: 16px; top: 16px; width: auto; height: auto; background: #fff; color: #111; padding: 8px 12px; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); z-index: 9999; }

/* Header */
.site-header { 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  background: rgba(255,255,255,0.9); 
  backdrop-filter: saturate(120%) blur(6px); 
  border-bottom: 1px solid rgba(0,0,0,0.06);
  width: 100%;
  max-width: 100%;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; }
.logo { font-weight: 800; letter-spacing: 0.3px; color: var(--color-text); display: inline-flex; align-items: center; }
.logo img { height: 70px; width: auto; display: block; max-width: 420px; object-fit: contain; }
@media (min-width: 1024px) {
  .logo img { height: 75px; max-width: 450px; }
}
.primary-nav { 
  position: fixed; 
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: 280px; 
  max-width: 85vw;
  height: 100vh;
  min-height: 100vh;
  transform: translateX(100%); 
  background: #ffffff !important; 
  padding: var(--space-12); 
  padding-top: calc(var(--space-12) + 20px);
  padding-bottom: var(--space-12);
  transition: transform .25s ease; 
  box-shadow: var(--shadow-lg); 
  z-index: 1001; 
  pointer-events: auto;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}
.primary-nav.open { transform: translateX(0); }
.primary-nav[inert] { pointer-events: none; }
.nav-backdrop { 
  position: fixed; 
  top: 0; 
  left: 0; 
  bottom: 0; 
  right: 280px; 
  background: rgba(0, 0, 0, 0.5); 
  z-index: 1000; 
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 360px) {
  .nav-backdrop { right: calc(100% - 280px); }
}
@media (min-width: 1024px) {
  .nav-backdrop { 
    display: none !important; 
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    position: fixed !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
  }
  .nav-backdrop.show {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }
  /* Ensure main content is visible on desktop */
  main {
    z-index: 10 !important;
    position: relative !important;
  }
  body {
    overflow-x: visible !important;
  }
}
.nav-list { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
  flex: 1;
  min-height: 0;
}
.nav-list li {
  width: 100%;
  margin: 0;
  padding: 0;
}
.nav-list a { 
  display: block; 
  padding: 14px 16px; 
  border-radius: var(--radius-sm); 
  color: #1a1a1a !important; 
  text-decoration: none; 
  pointer-events: auto; 
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  width: 100%;
  transition: background-color 0.2s ease;
}
.nav-list a:hover, .nav-list a:focus { 
  background: rgba(0, 0, 0, 0.05); 
  text-decoration: underline; 
}
.nav-list a:focus-visible { 
  outline: 3px solid var(--color-yellow); 
  outline-offset: 2px; 
}

.nav-toggle { background: none; border: 0; display: inline-flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: var(--radius-sm); }
.nav-toggle:focus-visible { outline: 3px solid var(--color-yellow); outline-offset: 2px; }
.nav-toggle__bar { width: 22px; height: 2px; background: #111; display: block; }

@media (max-width: 1023px) {
  .primary-nav {
    display: block !important;
  }
}

@media (min-width: 1024px) {
  .primary-nav { 
    position: static !important; 
    width: auto !important; 
    transform: none !important; 
    background: transparent !important; 
    box-shadow: none !important; 
    padding: 0 !important;
    padding-top: 0 !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    max-width: none !important;
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
  }
  .nav-list { 
    display: flex; 
    flex-direction: row;
    gap: var(--space-6); 
  }
  .nav-list li {
    width: auto;
  }
  .nav-list a {
    padding: 10px 12px;
  }
  .nav-toggle { display: none; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: grid; place-items: center;
  background-image: linear-gradient(135deg, rgba(0,0,0,0.2), rgba(0,0,0,0.3)), url('/XFM Banner.png');
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
  color: #fff;
}
.hero__overlay { 
  position: absolute; 
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  pointer-events: none;
}
.hero__content { 
  position: relative; 
  text-align: center; 
  padding: var(--space-20) 0; 
  z-index: 2;
}
.hero h1 { 
  font-size: clamp(2.2rem, 4vw, 3.5rem); 
  margin: 0 0 var(--space-6); 
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  line-height: 1.2;
}
.lead { 
  font-size: clamp(1.1rem, 1.4vw, 1.3rem); 
  max-width: 65ch; 
  margin: 0 auto var(--space-8); 
  font-weight: 500;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  line-height: 1.5;
}
.hero__actions { 
  display: flex; 
  gap: var(--space-6); 
  justify-content: center; 
  flex-wrap: wrap; 
  margin-top: var(--space-8);
}
.hero .btn {
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  border: 2px solid transparent;
}
.hero .btn--primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  font-weight: 700;
}
.hero .btn--secondary {
  background: rgba(255,255,255,0.95);
  color: #1a1a1a;
  border-color: rgba(255,255,255,0.95);
  font-weight: 700;
}
.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* About */
.about__image-wrap { 
  align-self: center; 
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.technician-rotation {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.technician-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  animation: fadeInOut 6s infinite;
}
.technician-image:nth-child(1) {
  animation-delay: 0s;
}
.technician-image:nth-child(2) {
  animation-delay: 3s;
}
@keyframes fadeInOut {
  0%, 45% { opacity: 0; }
  50%, 95% { opacity: 1; }
  100% { opacity: 0; }
}
.technician-rotation:hover .technician-image {
  animation-play-state: paused;
}
.technician-rotation:hover .technician-image:nth-child(1) {
  opacity: 1;
}
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin-top: var(--space-6); }
.stat-card { background: var(--color-alt); border-radius: var(--radius-md); padding: var(--space-6); text-align: center; }
.stat { display: block; font-weight: 800; font-size: 1.125rem; }
.stat-label { color: var(--color-muted); font-size: 0.9rem; }

/* Tabs */
.tabs { display: inline-flex; gap: 4px; padding: 6px; background: var(--color-alt); border-radius: 999px; }
.tab { 
  border: 0; 
  background: #f8f9fa !important; 
  padding: 10px 14px; 
  border-radius: 999px; 
  cursor: pointer; 
  font-weight: 700; 
  color: #1a1a1a !important;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: 2px solid rgba(40, 167, 69, 0.3) !important;
}
.tab:hover {
  background: rgba(40, 167, 69, 0.1);
  color: #1a1a1a;
  border-color: rgba(40, 167, 69, 0.6);
}
.tab.is-active { 
  background: var(--color-primary) !important; 
  box-shadow: var(--shadow-sm); 
  color: #fff !important;
  border-color: var(--color-primary) !important;
}
.tab-panel { margin-top: var(--space-8); }
.is-hidden { display: none !important; }

/* Services */
.service .icon { color: var(--color-primary); margin-bottom: 12px; }
.service__title { 
  margin: 0 0 12px; 
  font-size: 1.3rem; 
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
}
.service__desc { 
  margin: 0 0 16px; 
  color: #2d2d2d;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.7;
}
.service__cta { 
  font-weight: 700; 
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: #f8f9fa;
  color: #1a1a1a;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  border: 2px solid var(--color-primary);
}
.service__cta:hover {
  background: rgba(40, 167, 69, 0.1);
  color: #1a1a1a;
  transform: translateY(-1px);
  border-color: var(--color-primary);
}
.cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Accordion */
details.accordion { 
  background: var(--color-white); 
  border-radius: var(--radius-md); 
  padding: var(--space-6) var(--space-8); 
  box-shadow: var(--shadow-sm); 
  border: 1px solid #e5e7eb;
}
details.accordion + details.accordion { margin-top: var(--space-6); }
details.accordion summary { 
  cursor: pointer; 
  font-weight: 800; 
  font-size: 1.2rem;
  list-style: none; 
  color: #1a1a1a;
  line-height: 1.4;
  padding: var(--space-2) 0;
}
details.accordion summary::-webkit-details-marker { display: none; }
details.accordion[open] { 
  box-shadow: var(--shadow-md); 
  border-color: var(--color-primary);
}
.accordion__content { 
  margin-top: var(--space-4); 
  color: #2d2d2d;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.7;
  padding: var(--space-2) 0;
}

/* Values */
.value h3 { 
  margin: 0 0 12px; 
  font-size: 1.3rem;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
}
.value p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #2d2d2d;
  font-weight: 500;
  margin: 0;
}
.value { 
  transition: transform .2s ease, box-shadow .2s ease; 
  padding: var(--space-8);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.value:hover, .value:focus-within { 
  transform: translateY(-2px); 
  box-shadow: var(--shadow-md); 
}

/* Portfolio */
.filters { display: flex; gap: 8px; margin-bottom: var(--space-6); flex-wrap: wrap; }
.chip { 
  border: 0; 
  padding: 10px 16px; 
  border-radius: 999px; 
  background: #f8f9fa; 
  cursor: pointer; 
  font-weight: 700; 
  color: #1a1a1a;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: 2px solid #e9ecef;
}
.chip:hover {
  background: rgba(40, 167, 69, 0.15);
  color: #1a1a1a;
  border-color: rgba(40, 167, 69, 0.3);
}
.chip.is-active { 
  background: var(--color-primary); 
  color: #fff; 
  border-color: var(--color-primary);
}
.portfolio-list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.portfolio-item figcaption { padding: 10px; color: var(--color-muted); }

/* Partners */
.client-logos {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #fff;
  padding: 2rem 0;
}

.client-logos-track {
  display: flex;
  width: max-content;
  animation: scroll-logos 40s linear infinite;
  will-change: transform;
}

.client-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  margin: 0 2rem;
}

.client-logo img {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%);
  transition: all 0.3s ease-in-out;
}

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

@keyframes scroll-logos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Optional pause on hover */
.client-logos:hover .client-logos-track {
  animation-play-state: paused;
}

/* Static tiled layout for clients page */
.clients-page .client-logos {
  overflow: visible;
  padding: var(--space-8) 0;
}
.clients-page .client-logos-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-8);
  animation: none;
  will-change: auto;
  width: auto;
}
.clients-page .client-logo {
  margin: 0;
  width: 180px;
  height: 100px;
}

/* Responsive client logos */
@media (min-width: 480px) {
  .client-logo {
    height: 90px;
    width: 180px;
  }
}

@media (min-width: 768px) {
  .client-logo {
    height: 100px;
    width: 200px;
  }
}

/* Updates */
.update__title { 
  margin: 0 0 12px; 
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}
.update__meta { 
  margin: 0 0 12px; 
  color: var(--color-muted); 
  font-size: 1rem;
  font-weight: 500;
}

/* FAQ Section */
.faq h2, .faq h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.3;
}

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0 0 var(--space-8); }
.contact-list li { margin-bottom: 8px; }
.form-field { display: grid; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
label { font-weight: 600; }
input, select, textarea { width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid #e5e7eb; background: #fff; color: var(--color-text); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--color-yellow); outline-offset: 2px; }
.field-error { color: #b91c1c; min-height: 1.2em; font-size: .9rem; }
.form-status { margin-top: 10px; font-weight: 600; }
.map-container { position: relative; width: 100%; padding-bottom: 75%; height: 0; overflow: hidden; border-radius: var(--radius-md); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: #0b1320; color: #d1d5db; padding: var(--space-16) 0 var(--space-8); }
.footer-grid { display: grid; gap: var(--space-8); grid-template-columns: 1fr; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.social { display: flex; gap: 10px; }
.social__icon { 
  width: 40px; 
  height: 40px; 
  display: grid; 
  place-items: center; 
  border-radius: 50%; 
  background: rgba(255,255,255,0.1); 
  color: #fff; 
  transition: all 0.3s ease;
  text-decoration: none;
}
.social__icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.social__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
/* LinkedIn - Official Blue */
.social__icon--linkedin {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.social__icon--linkedin:hover {
  background: #0077b5;
  color: #fff;
}
/* Facebook - Official Blue */
.social__icon--facebook {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.social__icon--facebook:hover {
  background: #1877f2;
  color: #fff;
}
/* Instagram - Official Gradient */
.social__icon--instagram {
  background: rgba(255,255,255,0.1);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.social__icon--instagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}
.social__icon--instagram:hover::before {
  opacity: 1;
}
.social__icon--instagram:hover svg {
  position: relative;
  z-index: 1;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: var(--space-8); padding-top: var(--space-6); text-align: center; }

/* Back to top */
.back-to-top { position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--color-primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .value, .back-to-top, .reveal { transition: none !important; }
}

/* Responsive tweaks */
@media (min-width: 360px) {
  .lead { padding-inline: 12px; }
}
@media (min-width: 768px) {
  .header-inner { padding: 16px 0; }
}
@media (min-width: 768px) {
  .hero { 
    min-height: 75vh; 
    background-attachment: fixed;
  }
  .hero h1 {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
  }
  .lead {
    font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  }
}

@media (min-width: 1280px) {
  .hero { 
    min-height: 80vh; 
  }
}

/* Print styles */
@media print {
  .site-header, .hero, .back-to-top { display: none !important; }
  .section { padding: 0; }
  a::after { content: " (" attr(href) ")"; font-size: .85em; color: #374151; }
  .contact-list, #services .cards { break-inside: avoid; }
}

