/* ============================================================
   GREMCO — Gremio de Maquinaria de Colombia
   Main Stylesheet v2.0 — Industrial Guild Identity
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700;800&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --gremco-navy: #0F2440;
  --gremco-navy-deep: #091828;
  --gremco-navy-light: #1A3A5C;
  --gremco-orange: #E86A1A;
  --gremco-orange-light: #F28C4E;
  --gremco-orange-dark: #C45510;
  --gremco-green: #2ECC71;
  --gremco-green-dark: #1FA855;
  --gremco-slate: #64748B;
  --gremco-slate-light: #94A3B8;
  --gremco-surface: #FFFFFF;
  --gremco-neutral: #F1F5F9;
  --gremco-warm: #F8F6F3;
  --gremco-text: #0F172A;
  --gremco-text-secondary: #475569;
  --gremco-text-muted: #94A3B8;
  --gremco-border: #E2E8F0;
  --gremco-border-strong: #CBD5E1;
  --gremco-error: #DC2626;
  --gremco-success: #16A34A;

  --font-heading: 'Lexend', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 40px rgba(232,106,26,0.15);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --transition-fast: 120ms var(--ease-out);
  --transition-base: 200ms var(--ease-out);
  --transition-slow: 300ms var(--ease-out);

  --max-width: 1280px;
  --navbar-height: 80px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gremco-text);
  background-color: var(--gremco-surface);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: 2000;
  background: var(--gremco-orange);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

/* ===== FOCUS STATES ===== */
.navbar-nav a:focus-visible,
.navbar-phone:focus-visible,
.navbar-logo:focus-visible,
.navbar-mobile-toggle:focus-visible,
.footer-social a:focus-visible,
.footer-col a:focus-visible,
.footer-brand a:focus-visible {
  outline: 2px solid var(--gremco-orange);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(15, 36, 64, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 44px; height: 44px;
  background: var(--gremco-orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 5px;
}

.logo-mark svg { position: relative; z-index: 1; }

.logo-text span { color: var(--gremco-orange); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gremco-orange);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.navbar-nav a:hover { color: #FFFFFF; }
.navbar-nav a:hover::after { transform: scaleX(1); }

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.navbar-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.navbar-phone:hover { color: var(--gremco-orange); }

.navbar-mobile-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: var(--space-sm);
  color: #FFFFFF;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), color 200ms var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.97);
}

.btn:focus-visible {
  outline: 2px solid var(--gremco-orange);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gremco-orange);
  color: #FFFFFF;
  border-color: var(--gremco-orange);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--gremco-orange-dark);
    border-color: var(--gremco-orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232,106,26,0.25);
  }
}

.btn-secondary {
  background: var(--gremco-navy);
  color: #FFFFFF;
  border-color: var(--gremco-navy);
}

@media (hover: hover) and (pointer: fine) {
  .btn-secondary:hover {
    background: var(--gremco-navy-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
  }
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.4);
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #FFFFFF;
  }
}

.btn-outline-dark {
  background: transparent;
  color: var(--gremco-navy);
  border-color: var(--gremco-border-strong);
}

@media (hover: hover) and (pointer: fine) {
  .btn-outline-dark:hover {
    border-color: var(--gremco-navy);
    background: var(--gremco-navy);
    color: #FFFFFF;
  }
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: none;
  padding: 10px 16px;
}

@media (hover: hover) and (pointer: fine) {
  .btn-ghost:hover { color: #FFFFFF; background: rgba(255,255,255,0.08); }
}

.btn-lg { padding: 18px 36px; font-size: 1.0625rem; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-icon { padding: 12px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gremco-navy-deep);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.6) contrast(1.1);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(9, 24, 40, 0.95) 0%,
    rgba(15, 36, 64, 0.85) 40%,
    rgba(232, 106, 26, 0.15) 100%
  );
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.03) 79px, rgba(255,255,255,0.03) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.03) 79px, rgba(255,255,255,0.03) 80px);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--navbar-height) + var(--space-3xl)) var(--space-lg) var(--space-3xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-text { max-width: 620px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,106,26,0.12);
  border: 1px solid rgba(232,106,26,0.25);
  color: var(--gremco-orange-light);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-xl);
  animation: fadeUp 0.8s ease both;
}

.badge-img {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  filter: brightness(0) saturate(1) invert(0.56) sepia(0.42) saturate(11.56) hue-rotate(346deg) brightness(0.97);
}

.hero-title {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.03em;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero-title .accent { color: var(--gremco-orange); }

.hero-desc {
  font-size: 1.25rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-2xl);
  max-width: 540px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-proof {
  display: flex;
  gap: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero-proof-item { text-align: left; }

.hero-proof-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--gremco-orange);
  line-height: 1;
}

.hero-proof-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  animation: fadeUp 0.8s ease 0.5s both;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.hero-card-avatar {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gremco-orange), #F28C4E);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: #FFFFFF;
  flex-shrink: 0;
}

.hero-card-name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #FFFFFF;
  font-size: 1rem;
}

.hero-card-role {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
}

.hero-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.hero-card-metric {
  text-align: center;
  padding: var(--space-md) var(--space-sm);
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-card-metric-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gremco-orange);
}

.hero-card-metric-label {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.hero-card-status {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(46,204,113,0.08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(46,204,113,0.15);
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gremco-green);
  animation: pulse 2s ease-in-out infinite;
}

.status-text {
  font-size: 0.8125rem;
  color: var(--gremco-green);
  font-weight: 500;
}

/* floating badges on hero visual */
.hero-float {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

.hero-float-1 { top: 10%; right: -5%; animation-delay: 0s; }
.hero-float-2 { bottom: 15%; left: -5%; animation-delay: 2s; }

.hero-float-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float-icon.orange { background: rgba(232,106,26,0.2); color: var(--gremco-orange); }
.hero-float-icon.green { background: rgba(46,204,113,0.2); color: var(--gremco-green); }

.hero-float-text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.hero-float-text strong { color: #FFFFFF; display: block; font-size: 0.875rem; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--gremco-surface);
  border-bottom: 1px solid var(--gremco-border);
  padding: var(--space-xl) 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--gremco-text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
}

.trust-item svg { color: var(--gremco-slate-light); flex-shrink: 0; }

/* ===== STATS ===== */
.stats {
  background: var(--gremco-navy);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(232,106,26,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(46,204,113,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

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

.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--gremco-orange);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}

/* ===== SECTIONS ===== */
.section { padding: var(--space-4xl) 0; }
.section-alt { background: var(--gremco-neutral); }
.section-dark { background: var(--gremco-navy); color: #FFFFFF; }
.section-warm { background: var(--gremco-warm); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gremco-orange);
  margin-bottom: var(--space-md);
}

.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--gremco-orange);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  color: var(--gremco-text);
}

.section-dark .section-title { color: #FFFFFF; }

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gremco-text-secondary);
  line-height: 1.65;
}

.section-dark .section-subtitle { color: rgba(255,255,255,0.65); }

/* ===== BENEFITS ===== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.benefit-card {
  background: var(--gremco-surface);
  border: 1px solid var(--gremco-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
  cursor: pointer;
  position: relative;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gremco-orange), var(--gremco-green));
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  opacity: 0;
  transition: opacity 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .benefit-card:hover {
    border-color: var(--gremco-orange);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }

  .benefit-card:hover::before { opacity: 1; }
}

.benefit-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.benefit-icon.orange { background: rgba(232,106,26,0.1); color: var(--gremco-orange); }
.benefit-icon.navy { background: rgba(15,36,64,0.08); color: var(--gremco-navy); }
.benefit-icon.green { background: rgba(46,204,113,0.1); color: var(--gremco-green); }

.icon-img { width: 24px; height: 24px; object-fit: contain; }
.service-icon .icon-img { width: 40px; height: 40px; transition: filter 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-icon .icon-img {
    filter: brightness(0) saturate(100%) invert(41%) sepia(78%) saturate(1491%) hue-rotate(346deg) brightness(94%) contrast(96%);
  }
}

.benefit-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--gremco-text);
}

.benefit-desc {
  font-size: 0.9375rem;
  color: var(--gremco-text-secondary);
  line-height: 1.6;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.service-card {
  position: relative;
  background: var(--gremco-surface);
  border: 1px solid var(--gremco-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
  cursor: pointer;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gremco-orange);
  transform: scaleX(0);
  transition: transform 200ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    border-color: var(--gremco-orange);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }

  .service-card:hover::before { transform: scaleX(1); }
}

.service-icon {
  width: 48px; height: 48px;
  margin: 0 auto var(--space-md);
  color: var(--gremco-navy);
  transition: color 200ms var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover .service-icon { color: var(--gremco-orange); }
}

.service-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gremco-text);
  margin-bottom: var(--space-xs);
}

.service-desc {
  font-size: 0.8125rem;
  color: var(--gremco-text-secondary);
  line-height: 1.5;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 18%;
  right: 18%;
  height: 2px;
  background: linear-gradient(90deg, var(--gremco-orange), var(--gremco-green));
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--gremco-surface);
  border: 3px solid var(--gremco-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--gremco-orange);
  transition: transform 200ms var(--ease-out), background-color 200ms var(--ease-out), color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
  box-shadow: 0 0 0 8px rgba(232,106,26,0.05);
}

@media (hover: hover) and (pointer: fine) {
  .step:hover .step-number {
    background: var(--gremco-orange);
    color: #FFFFFF;
    transform: scale(1.05);
    box-shadow: 0 0 0 12px rgba(232,106,26,0.1);
  }
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--gremco-text);
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--gremco-text-secondary);
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  background: var(--gremco-surface);
  border: 1px solid var(--gremco-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
  }
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; right: 24px;
  font-family: Georgia, serif;
  font-size: 4rem;
  color: rgba(232,106,26,0.1);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--gremco-orange);
}

.testimonial-text {
  font-size: 1rem;
  color: var(--gremco-text);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gremco-text);
}

.testimonial-role {
  font-size: 0.8125rem;
  color: var(--gremco-text-muted);
}

/* ===== CTA ===== */
.cta-section { padding: var(--space-4xl) 0; }

.cta-box {
  background: linear-gradient(135deg, var(--gremco-navy) 0%, var(--gremco-navy-deep) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(232,106,26,0.08);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(46,204,113,0.05);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gremco-navy-deep);
  color: rgba(255,255,255,0.6);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 320px;
  margin: var(--space-md) 0 var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.footer-social a:hover {
  background: var(--gremco-orange);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: var(--space-lg);
}

.footer-col li { margin-bottom: var(--space-sm); }

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
  cursor: pointer;
}

.footer-col a:hover { color: var(--gremco-orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for card grids */
.stagger-1 { transition-delay: 0ms; }
.stagger-2 { transition-delay: 50ms; }
.stagger-3 { transition-delay: 100ms; }
.stagger-4 { transition-delay: 150ms; }
.stagger-5 { transition-delay: 200ms; }
.stagger-6 { transition-delay: 250ms; }
.stagger-7 { transition-delay: 300ms; }
.stagger-8 { transition-delay: 350ms; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--navbar-height) + var(--space-2xl));
  }
  .hero-text { max-width: 100%; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-proof { justify-content: center; }
  .hero-visual { display: none; }
  .benefits-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2xl); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .navbar-nav { display: none; }
  .navbar-phone { display: none; }
  .navbar-mobile-toggle { display: flex; }
  .hero { min-height: auto; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-proof { flex-direction: column; gap: var(--space-lg); align-items: center; }
  .benefits-grid, .testimonials-grid, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: var(--space-3xl) 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }
  .trust-bar-inner { gap: var(--space-lg); }
  .trust-item { font-size: 0.8125rem; }

  .navbar-nav.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--navbar-height);
    left: 0; right: 0; bottom: 0;
    background: var(--gremco-navy-deep);
    padding: var(--space-xl);
    gap: var(--space-lg);
    z-index: 999;
    box-shadow: var(--shadow-xl);
    animation: menuSlideIn 200ms var(--ease-out) both;
  }
  .navbar-nav.active a {
    font-size: 1.125rem;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
    animation: fadeUp 200ms var(--ease-out) both;
  }
  .navbar-nav.active a:nth-child(1) { animation-delay: 0ms; }
  .navbar-nav.active a:nth-child(2) { animation-delay: 40ms; }
  .navbar-nav.active a:nth-child(3) { animation-delay: 80ms; }
  .navbar-nav.active a:nth-child(4) { animation-delay: 120ms; }
  .navbar-nav.active a:nth-child(5) { animation-delay: 160ms; }
  .navbar-nav.active a:nth-child(6) { animation-delay: 200ms; }
}

@keyframes menuSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
}

/* ===== LEGAL PROSE ===== */
.legal-prose h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-sm);
}

.legal-prose h2:first-child { margin-top: 0; }

.legal-prose p {
  font-size: 1.0625rem;
  color: var(--gremco-text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.legal-prose a {
  color: var(--gremco-orange);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-prose a:hover { color: var(--gremco-orange-dark); }

.legal-list {
  margin: 0 0 var(--space-md) var(--space-lg);
  padding: 0;
}

.legal-list li {
  position: relative;
  font-size: 1.0625rem;
  color: var(--gremco-text-secondary);
  line-height: 1.7;
  padding-left: var(--space-md);
  margin-bottom: var(--space-xs);
}

.legal-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gremco-orange);
}

/* ===== FORM INPUTS ===== */
input, select, textarea {
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}

input:focus, select:focus, textarea:focus {
  border-color: var(--gremco-orange);
  box-shadow: 0 0 0 3px rgba(232, 106, 26, 0.15);
  outline: none;
}

/* ===== NOSCRIPT FALLBACK ===== */
noscript + .fade-in,
noscript ~ .fade-in {
  opacity: 1 !important;
  transform: none !important;
}

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

.logo-img { display:block; object-fit:contain; height:44px; width:auto; }
.footer-brand .logo-img { height:40px; }
.logo-text { line-height:1; }

/* ===== ARTICLE TYPOGRAPHY ===== */
.article-content { line-height: 1.7; color: var(--gremco-text); font-size: 1.0625rem; }
.article-content > p:first-child { margin-top: 0; }
.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gremco-navy);
  margin: var(--space-2xl) 0 var(--space-md);
  line-height: 1.3;
}
.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gremco-navy);
  margin: var(--space-xl) 0 var(--space-sm);
  line-height: 1.4;
}
.article-content p { margin: 0 0 var(--space-lg); }
.article-content img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: var(--space-lg) 0;
  height: auto;
}
.article-content blockquote {
  border-left: 4px solid var(--gremco-orange);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  font-style: italic;
  color: var(--gremco-text-secondary);
  background: var(--gremco-neutral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-content a {
  color: var(--gremco-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-content a:hover { color: var(--gremco-orange-dark); }
.article-content ul, .article-content ol {
  margin: 0 0 var(--space-lg);
  padding-left: var(--space-xl);
}
.article-content li { margin-bottom: var(--space-sm); }

/* ===== PAGINATION ===== */
.pagination { flex-wrap: wrap; }
.pagination-btn { min-width: 36px; text-align: center; justify-content: center; }
.pagination-btn.active { pointer-events: none; }

/* ===== POST CARD (news listing) ===== */
.post-card {
  padding: 0 0 var(--space-lg);
  overflow: hidden;
  cursor: pointer;
}
.post-card .post-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--gremco-neutral);
}
.post-card .post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .post-card:hover .post-card-image img {
    transform: scale(1.05);
  }
}
.post-card .post-card-body {
  padding: var(--space-md) var(--space-xl) 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card .post-card-footer {
  padding: var(--space-md) var(--space-xl) 0;
  margin-top: auto;
  border-top: 1px solid var(--gremco-border);
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--gremco-text-muted);
}
.post-card .post-card-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--gremco-text-muted);
}

/* ===== CATEGORY BADGE ===== */
.category-badge {
  display: inline-block;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.6875rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
