/* ============================================
   BI-Lab Solutions — Anthropic-Inspired Redesign
   Light, minimal, generous whitespace, bold typography
   ============================================ */

/* --- Custom Properties --- */
:root {
  --bg-primary: #FAFAF7;
  --bg-secondary: #F3F2EE;
  --text-primary: #191A1A;
  --text-secondary: #5C5C5C;
  --text-tertiary: #8A8A8A;
  --accent: #C19A5B;
  --accent-hover: #A8833F;
  --accent-light: #F0E6D4;
  --navy: #1B2D3A;
  --navy-dark: #0f2233;
  --border: #E5E3DD;
  --white: #FFFFFF;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --container-max: 1200px;
  --container-padding: 2rem;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.03);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);

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

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition: 0.35s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-secondary);
  line-height: 1.7;
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

/* --- Layout Utilities --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}

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

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

/* Overline — small uppercase accent label */
.overline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section-desc {
  max-width: 580px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 0;
}

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

.section-header {
  margin-bottom: clamp(3rem, 5vw, 4rem);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition);
  text-align: center;
  line-height: 1;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(193, 154, 91, 0.3);
}

.btn--secondary {
  background: transparent;
  border-color: var(--border);
  color: var(--text-primary);
}

.btn--secondary:hover {
  border-color: var(--text-primary);
  transform: translateY(-1px);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
}

.btn--white:hover {
  background: var(--bg-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 0.95rem;
}

.btn--loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
  position: relative;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: 0;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__brand img {
  height: 38px;
  width: auto;
  transition: opacity var(--transition-fast);
}

.navbar__brand:hover img {
  opacity: 0.7;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__links li {
  list-style: none;
}

.navbar__links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--transition);
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--text-primary);
}

.navbar__links a.active::after,
.navbar__links a:hover::after {
  width: 100%;
}

.navbar__cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.35rem !important;
  border-radius: var(--radius-sm) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: all var(--transition) !important;
  border: none !important;
}

.navbar__cta::after {
  display: none !important;
}

.navbar__cta:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(193, 154, 91, 0.25) !important;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 10;
}

.navbar__hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.navbar__hamburger.active .navbar__hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger.active .navbar__hamburger-line:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active .navbar__hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero (Home) --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(7rem, 12vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 6vw, 5rem);
}

.hero__content {
  flex: 1;
}

.hero__overline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: block;
}

.hero__title {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.08;
}

.hero__title .accent {
  color: var(--accent);
  font-style: normal;
}

.hero__subtitle {
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero__image img {
  max-height: 440px;
  width: auto;
  border-radius: var(--radius-xl);
}

/* --- Page Hero (Inner Pages) --- */
.page-hero {
  padding: clamp(9rem, 14vw, 12rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
}

.page-hero .overline {
  margin-bottom: 1rem;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 1.5vw, 1.15rem);
  max-width: 560px;
  line-height: 1.75;
}

/* --- Value Pillars --- */
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  text-align: center;
  padding: 3rem 2.25rem 2.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.pillar-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.75rem;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all var(--transition);
}

.pillar-card:hover .pillar-card__icon {
  background: var(--accent);
  color: var(--white);
}

.pillar-card__title {
  margin-bottom: 0.75rem;
}

.pillar-card__text {
  color: var(--text-secondary);
  font-size: 0.925rem;
  margin-bottom: 0;
  line-height: 1.75;
}

/* --- Service Cards (homepage grid) --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: block;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-card__image {
  height: 180px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__image img {
  transform: scale(1.04);
}

.service-card__body {
  padding: 1.5rem;
}

.service-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0;
  transition: color var(--transition-fast);
}

.service-card:hover .service-card__title {
  color: var(--accent);
}

/* --- Client Logo Strip --- */
.clients-strip {
  background: var(--bg-secondary);
}

.clients__strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(3rem, 6vw, 5rem);
  flex-wrap: wrap;
  padding: 1rem 0;
}

.clients__logo img {
  height: 55px;
  width: auto;
  filter: grayscale(100%) brightness(0.8);
  opacity: 0.5;
  transition: all var(--transition);
}

.clients__logo:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--accent-light);
  padding: clamp(4rem, 8vw, 6rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__title {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.cta-banner__subtitle {
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.cta-banner .btn {
  position: relative;
}

/* --- Footer --- */
.footer {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  padding: clamp(4rem, 7vw, 5rem) 0 0;
  position: relative;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}

.footer__logo {
  height: 38px;
  margin-bottom: 1.25rem;
}

.footer__text {
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-tertiary);
}

.footer__heading {
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
}

.footer__links li a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  transition: color var(--transition), transform var(--transition);
}

.footer__links li a:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.footer__address {
  font-style: normal;
}

.footer__address p {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.footer__address a {
  color: var(--accent);
  transition: color var(--transition);
}

.footer__address a:hover {
  color: var(--accent-hover);
}

.footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
}

/* --- Service Detail (services.html) --- */
.service-detail {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 5vw, 5rem);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  position: relative;
}

.service-detail + .service-detail {
  border-top: 1px solid var(--border);
}

.service-detail:nth-child(even) {
  flex-direction: row-reverse;
}

.service-detail__image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.service-detail__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.service-detail:hover .service-detail__image img {
  transform: scale(1.02);
}

.service-detail__content {
  flex: 1;
}

.service-detail__content h3 {
  margin-bottom: 1rem;
}

.service-detail__content > p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-detail__content ul {
  list-style: none;
}

.service-detail__content ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.925rem;
}

.service-detail__content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

/* --- Product Feature --- */
.product-feature {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 5vw, 5rem);
}

.product-feature__image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.product-feature__image img {
  width: 100%;
  transition: transform var(--transition-slow);
}

.product-feature:hover .product-feature__image img {
  transform: scale(1.02);
}

.product-feature__content {
  flex: 1;
}

.product-feature__content h2 {
  margin-bottom: 1rem;
}

.product-feature__content > p {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.925rem;
}

.feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* How It Works Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.step-card__number {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  position: relative;
}

.step-card__number::before {
  content: '';
  position: absolute;
  inset: -5px;
  border: 2px solid var(--accent-light);
  border-radius: 50%;
}

.step-card h4 {
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-tertiary);
  line-height: 1.7;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.benefit-card h4 {
  margin-bottom: 0.75rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.75;
}

/* Key Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.feature-card h4 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.75;
}

/* 5-column steps variant */
.steps-grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.steps-grid--5::before {
  left: calc(10% + 24px);
  right: calc(10% + 24px);
}

/* 4-column benefits variant */
.benefits-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* --- Client Showcase --- */
.client-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.client-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.client-card img {
  height: 60px;
  width: auto;
  margin: 0 auto 1.5rem;
  transition: transform var(--transition);
}

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

.client-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.client-card p {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.75;
}

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.industry-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.industry-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.industry-item__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: all var(--transition);
}

.industry-item:hover .industry-item__icon {
  background: var(--accent);
  color: var(--white);
}

.industry-item p {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.85rem;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

/* --- Contact --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--white);
  padding: 2.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.contact-form:hover {
  box-shadow: var(--shadow-md);
}

.contact-form__title {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all var(--transition);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(193, 154, 91, 0.1);
}

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

.form-group .error-message {
  color: #D93025;
  font-size: 0.8rem;
  margin-top: 0.35rem;
  display: none;
  font-weight: 500;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #D93025;
  box-shadow: 0 0 0 3px rgba(217, 48, 37, 0.08);
}

.form-group.error .error-message {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Contact Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 100px;
}

.contact-info-card {
  background: var(--white);
  color: var(--text-secondary);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.contact-info-card__title {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.contact-info-card__item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.contact-info-card__item:last-child {
  margin-bottom: 0;
}

.contact-info-card__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(193, 154, 91, 0.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  transition: background var(--transition);
}

.contact-info-card__item:hover .contact-info-card__icon {
  background: rgba(193, 154, 91, 0.25);
}

.contact-info-card__item p {
  margin-bottom: 0;
  font-size: 0.875rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.contact-info-card__item a {
  color: var(--accent);
  transition: color var(--transition);
}

.contact-info-card__item a:hover {
  color: #d4ad6a;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 260px;
  border: 1px solid var(--border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
}

.form-success.show {
  display: block;
  animation: fadeIn 0.5s var(--ease-out);
}

.form-success__icon {
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.form-success__icon svg {
  color: var(--accent);
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-secondary);
}

/* --- Keyframes --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- GSAP Reveal Animations --- */
/* Initial hidden state is set by JS (gsap.set) so content
   remains visible if JavaScript fails to load. */
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Selection --- */
::selection {
  background: rgba(193, 154, 91, 0.2);
  color: var(--text-primary);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .steps-grid::before {
    display: none;
  }

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

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

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  /* Mobile nav */
  .navbar__hamburger {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250, 250, 247, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transform: translateY(-120%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
  }

  .navbar__links.open {
    transform: translateY(0);
  }

  .navbar__cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 7rem 0 3rem;
  }

  .hero__inner {
    flex-direction: column;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__image img {
    max-height: 280px;
  }

  .page-hero {
    padding: 7rem 0 2.5rem;
  }

  /* Grids */
  .pillars__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

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

  .clients__strip {
    gap: 2rem;
  }

  .clients__logo img {
    height: 40px;
  }

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

  .service-detail {
    flex-direction: column !important;
    gap: 2rem;
    padding: 2.5rem 0;
  }

  .product-feature {
    flex-direction: column;
    gap: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .steps-grid--5 {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .benefits-grid--4 {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .industries-grid {
    grid-template-columns: 1fr;
  }

  .btn--lg {
    width: 100%;
  }

  .pillar-card {
    padding: 2rem 1.5rem;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
