/* =============================================================================
   BERRING INDUSTRIAL — style.css
   ============================================================================= */

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

:root {
  --steel:       #5A6F7E;
  --steel-dark:  #3D5261;
  --steel-mid:   #728D9C;
  --steel-light: #EDF1F4;
  --navy:        #0C1A23;
  --navy-mid:    #162636;
  --white:       #ffffff;
  --off-white:   #F5F7F9;
  --gray:        #6B7B85;
  --gray-light:  #DAE0E5;
  --gray-dark:   #374550;
  --text:        #111B22;
  --accent:      #8BA0AD;
  --green:       #80e8a6;
  --green-dim:   rgba(128,232,166,0.15);

  --font-body:    'Inter', sans-serif;
  --font-heading: 'Syne', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.13);

  --ease: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img    { max-width: 100%; height: auto; display: block; }
a      { text-decoration: none; }
ul     { list-style: none; }
button { font-family: var(--font-body); }

/* =====================
   Layout
   ===================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 6%;
}

.section { padding: 96px 0; }

/* =====================
   Typography
   ===================== */
h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 16px;
}

h3 {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}

.label::before {
  content: '';
  display: block;
  width: 18px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.section-sub {
  font-size: clamp(0.9rem, 1.1vw, 1.05rem);
  color: var(--gray);
  line-height: 1.8;
  max-width: 560px;
}

/* Section header variants */
.section-header.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
  gap: 32px;
  flex-wrap: wrap;
}

.section-header.centered {
  text-align: center;
  margin-bottom: 52px;
}
.section-header.centered .label        { justify-content: center; }
.section-header.centered .label::before { display: none; }
.section-header.centered .section-sub  { margin: 0 auto; }

/* =====================
   Buttons
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background var(--ease), transform 0.15s, opacity var(--ease), border-color var(--ease), color var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn-primary              { background: var(--steel); color: var(--white); }
.btn-primary:hover        { background: var(--steel-mid); }

.btn-ghost                { background: transparent; color: rgba(255,255,255,0.6); font-weight: 400; }
.btn-ghost:hover          { color: rgba(255,255,255,0.95); }

.btn-white                { background: var(--white); color: var(--steel); font-weight: 600; }
.btn-white:hover          { opacity: 0.92; }

.btn-outline              { background: transparent; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.3); font-weight: 400; }
.btn-outline:hover        { border-color: rgba(255,255,255,0.7); color: var(--white); }

/* =====================
   Navigation
   ===================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-light);
  transition: box-shadow var(--ease), transform 0.3s ease;
}
#navbar.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.07); }
#navbar.nav-hidden { transform: translateY(-100%); }

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 6%;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
  white-space: nowrap;
}

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--gray-dark);
  transition: color var(--ease);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  border-radius: 1px;
  transition: width var(--ease);
}
.nav-links a:not(.nav-cta):hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover          { color: var(--steel); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--green) !important;
  color: var(--navy) !important;
  border: 1px solid var(--green) !important;
  padding: 8px 22px;
  height: 38px;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  border-radius: 4px;
  transition: background var(--ease), transform 0.15s !important;
  white-space: nowrap;
}
.nav-cta:hover {
  background: #99efb8 !important;
  border-color: #99efb8 !important;
  transform: translateY(-1px);
}

.nav-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--navy) !important;
  background: var(--green);
  border: 1px solid var(--green);
  padding: 8px 16px;
  height: 38px;
  border-radius: 4px;
  transition: background var(--ease), transform 0.15s !important;
  white-space: nowrap;
}
.nav-login::before {
  content: '';
  display: inline-block;
  width: 13px; height: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C1A23' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}
.nav-login:hover {
  background: #99efb8 !important;
  border-color: #99efb8 !important;
  transform: translateY(-1px);
}
.nav-login::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 88px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
  z-index: 999;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.28s ease;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu ul        { padding: 12px 6%; display: flex; flex-direction: column; gap: 2px; }
.mobile-link           { display: block; padding: 13px 0; font-size: 0.95rem; color: var(--gray-dark); border-bottom: 1px solid var(--gray-light); transition: color var(--ease); }
.mobile-link:last-child { border-bottom: none; }
.mobile-link:hover     { color: var(--steel); }
.mobile-cta            { color: var(--steel) !important; font-weight: 600; border-bottom: none !important; margin-top: 6px; }

/* =====================
   Hero
   ===================== */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  padding-top: 88px;
}

.hero-upper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; right: 0;
  width: 58%; height: 100%;
  background: linear-gradient(135deg, #3D5261 0%, #172738 55%, #0C1A23 100%);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-dots {
  position: absolute;
  top: 0; right: 0;
  width: 58%; height: 100%;
  background-image: radial-gradient(rgba(139,160,173,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 2;
}

.hero-image {
  position: absolute;
  top: 0; right: 0;
  width: 58%; height: 100%;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

/* Gradient overlay on top of slides */
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(12,26,35,0.1) 0%, rgba(12,26,35,0.25) 55%, rgba(12,26,35,0.88) 100%),
    linear-gradient(to left, rgba(12,26,35,0) 50%, rgba(12,26,35,0.45) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Slideshow dots */
.hero-slide-dots {
  position: absolute;
  bottom: 20px;
  right: 0;
  width: 58%;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.slide-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.slide-dot.active {
  background: var(--green);
  transform: scale(1.25);
}

.slide-dot:hover { background: rgba(255,255,255,0.7); }

.hero .container {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 60px;
  width: 100%;
}

.hero-content {
  max-width: clamp(380px, 38%, 560px);
  animation: fadeUp 0.8s ease both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.6);
}

.hero h1         { color: var(--white); margin-bottom: 22px; }
.hero h1 em      { color: var(--accent); font-style: normal; }

.hero-sub {
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  color: rgba(255,255,255,0.48);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.8;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  position: relative;
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.07);
  background: rgba(0,0,0,0.15);
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-stats-inner {
  display: flex;
  flex-wrap: wrap;
}

.stat {
  padding: 22px 52px 22px 0;
  margin-right: 52px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.stat:last-child { border-right: none; margin-right: 0; }

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat-num span  { color: var(--accent); font-size: clamp(1.2rem, 1.8vw, 1.68rem); }
.stat-label     { font-size: clamp(0.65rem, 0.8vw, 0.78rem); color: rgba(255,255,255,0.3); letter-spacing: 0.06em; }

/* =====================
   Trust Bar
   ===================== */
.trust-bar { background: var(--off-white); padding: 20px 0; border-bottom: 1px solid var(--gray-light); }

.trust-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  white-space: nowrap;
  flex-shrink: 0;
}

.trust-logos       { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.trust-logos span  {
  font-size: 0.77rem;
  font-weight: 500;
  color: #b8c2cc;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--ease);
  position: relative;
  padding-bottom: 3px;
  cursor: default;
}
.trust-logos span::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.trust-logos span:hover { color: var(--steel); }
.trust-logos span:hover::after { width: 100%; }

/* =====================
   Services
   ===================== */
.services { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-light);
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 44px 36px;
  position: relative;
  transition: background var(--ease);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--green);
  transition: height 0.35s ease;
}
.service-card:hover                  { background: var(--off-white); }
.service-card:hover::before          { height: 100%; }

.service-icon {
  width: 48px; height: 48px;
  background: var(--steel-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background var(--ease);
}
.service-card:hover .service-icon     { background: var(--green); }
.service-icon svg {
  width: 22px; height: 22px;
  stroke: var(--steel);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--ease);
}
.service-card:hover .service-icon svg { stroke: var(--navy); }
.service-card p  { font-size: clamp(0.85rem, 1vw, 0.975rem); color: var(--gray); line-height: 1.75; }

/* =====================
   Process
   ===================== */
.process { background: var(--off-white); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 22px; left: 0; right: 0;
  height: 1px;
  background: var(--gray-light);
  z-index: 0;
}

.process-step {
  position: relative;
  padding-top: 56px;
}

.step-num {
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 44px;
  background: var(--green);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 1;
  border: 3px solid var(--off-white);
}

.process-step h3 { font-size: 1rem; margin-bottom: 10px; }
.process-step p  { font-size: clamp(0.82rem, 1vw, 0.95rem); color: var(--gray); line-height: 1.75; }

/* =====================
   Why Berring
   ===================== */
.why { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}
.why-content  { order: 1; }
.why-metrics  { order: 2; }

.why-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric-card {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  padding: 32px 28px;
  border-radius: 4px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.metric-card:hover { border-color: var(--steel-mid); box-shadow: var(--shadow-md); }

.metric-card.featured {
  background: var(--steel);
  border-color: var(--steel);
  grid-column: span 2;
}

.metric-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.metric-card.featured .metric-num   { color: var(--white); font-size: 3rem; }
.metric-label                       { font-size: 0.92rem; color: var(--gray); line-height: 1.5; }
.metric-card.featured .metric-label { color: rgba(255,255,255,0.55); }

.why-content .section-sub { margin-bottom: 32px; }

.why-points { display: flex; flex-direction: column; }

.why-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-light);
}
.why-point:last-child { border-bottom: none; }

.check-icon {
  width: 22px; height: 22px;
  background: var(--steel-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: background var(--ease);
}
.why-point:hover .check-icon         { background: var(--navy); }
.check-icon svg                      { width: 10px; height: 10px; stroke: var(--green); transition: stroke var(--ease); }
.why-point:hover .check-icon svg     { stroke: var(--green); }
.why-point strong                    { display: block; font-size: 1.02rem; font-weight: 600; color: var(--navy); margin-bottom: 3px; }
.why-point span                      { font-size: 0.97rem; color: var(--gray); line-height: 1.6; }

/* =====================
   Testimonials
   ===================== */
.testimonials { background: var(--off-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-top: 3px solid var(--green);
  padding: 40px 36px;
  border-radius: 4px;
  position: relative;
  transition: box-shadow var(--ease), border-color var(--ease), transform 0.2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--steel-mid);
  border-top-color: var(--green);
  transform: translateY(-3px);
}

.quote-mark {
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 0.8;
  color: var(--steel-light);
  margin-bottom: 12px;
  display: block;
}

.testimonial-card blockquote {
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  line-height: 1.8;
  color: var(--gray-dark);
  margin-bottom: 28px;
  font-style: normal;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--gray-light);
  padding-top: 20px;
}

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--navy);
  flex-shrink: 0;
  letter-spacing: 0.05em;
}
.author-name  { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.author-title { font-size: 0.75rem; color: var(--gray); margin-top: 2px; }

/* =====================
   CTA Section
   ===================== */
.cta-section {
  background: var(--steel);
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

.cta-inner   { position: relative; max-width: 600px; margin: 0 auto; }

.cta-section .label        { color: rgba(255,255,255,0.65); justify-content: center; }
.cta-section .label::before { background: var(--green); }
.cta-section h2            { color: var(--white); margin-bottom: 16px; }
.cta-section .section-sub  { color: rgba(255,255,255,0.5); margin: 0 auto 44px; max-width: 480px; }

.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =====================
   Contact
   ===================== */
.contact { background: var(--navy); padding: 96px 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-left .label         { color: var(--accent); }
.contact-left .label::before { background: var(--green); }
.contact-left h2             { color: var(--white); }
.contact-left .section-sub   { color: rgba(255,255,255,0.4); margin-bottom: 40px; }

.contact-details { display: flex; flex-direction: column; gap: 18px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--ease), border-color var(--ease);
}
.contact-item:hover .contact-icon  { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); }
.contact-icon svg                  { width: 16px; height: 16px; stroke: var(--accent); }
.contact-item a,
.contact-item span                 { font-size: 0.875rem; color: rgba(255,255,255,0.5); transition: color var(--ease); }
.contact-item a:hover              { color: rgba(255,255,255,0.9); }

/* Contact Form */
.contact-right {
  background: var(--white);
  padding: 48px 44px;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.28);
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea {
  border: 1px solid var(--gray-light);
  background: var(--off-white);
  padding: 11px 14px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  border-radius: 3px;
  transition: border-color var(--ease), background var(--ease), box-shadow var(--ease);
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0b8c8; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--steel);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(90,111,126,0.1);
}

.btn-submit {
  background: var(--steel);
  color: var(--white);
  padding: 14px 28px;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--ease), transform 0.15s;
  align-self: flex-start;
}
.btn-submit:hover        { background: var(--steel-mid); transform: translateY(-1px); }
.btn-arrow               { width: 16px; height: 16px; transition: transform var(--ease); }
.btn-submit:hover .btn-arrow { transform: translateX(4px); }

.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #166534;
}
.form-success.visible { display: flex; }
.form-success svg     { width: 18px; height: 18px; stroke: #166534; flex-shrink: 0; }

/* =====================
   Footer
   ===================== */
footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06); }

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.footer-logo-link { margin-bottom: 16px; display: inline-flex; }
.footer-logo-link .logo-text { color: rgba(255,255,255,0.4); }
.footer-logo-link .logo-img { height: 22px; filter: brightness(0) invert(1); opacity: 0.4; }

.footer-brand p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.27);
  line-height: 1.7;
  max-width: 240px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}
.footer-col ul  { display: flex; flex-direction: column; gap: 10px; }
.footer-col a   { font-size: 0.82rem; color: rgba(255,255,255,0.25); transition: color var(--ease); }
.footer-col a:hover { color: rgba(255,255,255,0.7); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; }

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom span { font-size: 0.75rem; color: rgba(255,255,255,0.18); }

.footer-legal     { display: flex; gap: 20px; }
.footer-legal a   { font-size: 0.75rem; color: rgba(255,255,255,0.2); transition: color var(--ease); }
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* =====================
   Scroll to Top
   ===================== */
.scroll-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--steel);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  z-index: 999;
}
.scroll-top.visible      { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover        { background: var(--steel-dark); transform: translateY(-2px); }
.scroll-top svg          { width: 18px; height: 18px; }

/* =====================
   Animations
   ===================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* =====================
   Responsive — 1024px
   ===================== */
@media (max-width: 1024px) {
  /* Collapse nav to hamburger at this width */
  .nav-links  { display: none; }
  .hamburger  { display: flex; }

  /* Hide hero diagonal/image — not enough room */
  .hero-bg,
  .hero-dots,
  .hero-image,
  .hero-slide-dots { display: none; }
  .hero .container { padding-bottom: 20px; }
  .hero-content    { max-width: 100%; }

  .services-grid      { grid-template-columns: repeat(2, 1fr); }
  .process-steps      { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .process-steps::before { display: none; }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-inner       { grid-template-columns: 1fr; gap: 40px; }
}

/* =====================
   Responsive — 768px
   ===================== */
@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Logo — smaller on mobile */
  .logo-text { font-size: 1.15rem; letter-spacing: 0.08em; }
  .logo-img  { height: 22px; }

  /* Hero spacing */
  .hero { min-height: auto; }
  .hero-upper { min-height: 60vh; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-sub { font-size: 0.9rem; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { padding: 12px 24px; font-size: 0.85rem; width: 100%; text-align: center; justify-content: center; }

  /* Stats — force grid for equal columns */
  .hero-stats-inner { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0; flex-wrap: unset; }
  .stat { padding: 16px 0; margin-right: 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); padding-right: 16px; }
  .stat:nth-child(even) { padding-left: 16px; }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  /* Trust bar */
  .trust-inner { flex-direction: column; gap: 12px; align-items: flex-start; }
  .trust-logos { gap: 16px 24px; }

  /* Sections */
  .services-grid     { grid-template-columns: 1fr; }
  .service-card      { padding: 32px 28px; }

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

  .why-grid          { grid-template-columns: 1fr; gap: 40px; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card  { padding: 32px 24px; }

  /* CTA */
  .cta-section { padding: 64px 0; }
  .cta-section h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }

  /* Contact */
  .contact-inner     { grid-template-columns: 1fr; gap: 40px; }
  .contact-right     { padding: 32px 24px; }
  .form-row          { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner        { padding-top: 48px; padding-bottom: 32px; }
  .footer-links-group  { grid-template-columns: repeat(2, 1fr); gap: 32px; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .section-header.split { flex-direction: column; gap: 16px; align-items: flex-start; }
  .cta-actions          { flex-direction: column; align-items: center; }
  .cta-actions .btn     { width: 100%; text-align: center; justify-content: center; }
}

/* =====================
   Responsive — 480px
   ===================== */
@media (max-width: 480px) {
  .container { padding: 0 5%; }
  .footer-links-group { grid-template-columns: 1fr; }

  .hero h1 { font-size: 2rem; }
  .hero-badge { font-size: 0.65rem; padding: 5px 12px; }

  .why-metrics           { grid-template-columns: 1fr; }
  .metric-card.featured  { grid-column: auto; }
  .metric-num            { font-size: 2rem; }
  .metric-card.featured .metric-num { font-size: 2.4rem; }
}

/* =====================
   Responsive — 1400px+ (large screens)
   ===================== */
@media (min-width: 1400px) {
  .container    { max-width: 1360px; }
  .nav-inner    { max-width: 1360px; }
  .section      { padding: 120px 0; }

  .hero .container    { padding-top: 60px; padding-bottom: 80px; }
  .hero-content       { max-width: clamp(480px, 38%, 640px); }

  .services-grid      { grid-template-columns: repeat(4, 1fr); }
  .testimonials-grid  { gap: 32px; }

  .why-grid           { gap: 80px; }
  .metric-card        { padding: 36px 28px; }

  .footer-inner       { padding-top: 80px; padding-bottom: 64px; }
}

/* =====================
   Responsive — 1600px+ (extra large)
   ===================== */
@media (min-width: 1600px) {
  .container    { max-width: 1480px; }
  .nav-inner    { max-width: 1480px; }
  .hero-slide-dots { bottom: 28px; }
}

/* =====================
   Responsive — 1920px+ (ultra-wide)
   ===================== */
@media (min-width: 1920px) {
  .container    { max-width: 1600px; }
  .nav-inner    { max-width: 1600px; }
}
