/* ===========================================================
   RUB TRADE SOLUTIONS — Brand & Design System
   Brand: Navy (#1B2C66) primary, Cyan (#2FB4E9) accent
   =========================================================== */

:root {
  /* Brand palette */
  --navy-900: #0E1A45;
  --navy-800: #142359;
  --navy-700: #1B2C66;   /* Primary navy */
  --navy-600: #243a82;
  --navy-500: #3450a3;
  --cyan-600: #1d8bbf;
  --cyan-500: #2FB4E9;   /* Brand cyan */
  --cyan-400: #5EC6EE;
  --cyan-100: #E4F4FB;

  /* Neutrals */
  --ink-900: #0B1224;
  --ink-700: #2A3247;
  --ink-500: #5A6378;
  --ink-400: #8a92a3;
  --line: #E3E8F0;
  --line-soft: #EEF2F7;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --bg-darker: #EEF2F7;

  /* Status */
  --green-600: #19915a;
  --green-100: #E0F4EA;
  --amber-500: #F0A500;
  --red-600: #C2362B;

  /* Typography */
  --font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;

  /* Containers */
  --container: 1200px;
  --container-narrow: 880px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(11,18,36,0.06), 0 1px 3px rgba(11,18,36,0.04);
  --shadow-md: 0 6px 14px rgba(11,18,36,0.08), 0 2px 4px rgba(11,18,36,0.04);
  --shadow-lg: 0 20px 40px rgba(11,18,36,0.10), 0 8px 16px rgba(11,18,36,0.06);
  --shadow-brand: 0 16px 38px rgba(27,44,102,0.22);

  /* Motion */
  --ease: cubic-bezier(0.16,1,0.3,1);
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--navy-700); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--cyan-500); }

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  color: var(--navy-900);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.5vw, 40px); letter-spacing: -0.015em; }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: 18px; }

p { color: var(--ink-700); }

ul, ol { padding-left: 1.2rem; color: var(--ink-700); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

section { padding: clamp(56px, 8vw, 96px) 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--s-12); }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-600);
  margin-bottom: var(--s-3);
}
.section-head h2 { margin-bottom: var(--s-3); }
.section-head p { color: var(--ink-500); font-size: 17px; }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-600);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--cyan-500);
  color: #fff;
  box-shadow: 0 6px 14px rgba(47,180,233,0.32);
}
.btn-primary:hover {
  background: var(--cyan-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(47,180,233,0.4);
}
.btn-secondary {
  background: var(--navy-700);
  color: #fff;
}
.btn-secondary:hover { background: var(--navy-800); color: #fff; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy-700);
  border-color: var(--navy-700);
}
.btn-ghost:hover { background: var(--navy-700); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--navy-800);
}
.btn-white:hover { background: var(--cyan-100); color: var(--navy-900); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: #fff; color: var(--navy-800); border-color: #fff; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 10px 16px; font-size: 14px; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-800);
}
.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  text-decoration: none;
}
.footer-logo-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(47,180,233,0.25));
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.footer-brand-name {
  font-weight: 700;
  font-size: 19px;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.footer-brand-tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-300, #5EC6EE);
  font-weight: 600;
  margin-top: 4px;
}

/* Header socials — compact inline icon row */
.header-socials {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 4px 0 6px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.header-socials a {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: var(--ink-600);
  border-radius: 8px;
  transition: all 0.2s var(--ease);
  padding: 0 !important;
  background: transparent !important;
}
.header-socials a:hover {
  color: var(--cyan-600);
  background: var(--bg-soft) !important;
}
.header-socials svg {
  width: 15px;
  height: 15px;
}
@media (max-width: 1200px) {
  .nav-socials-wrap { display: none; }
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand { white-space: nowrap; }
.brand-name {
  font-weight: 700;
  font-size: 17px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-tag {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-600);
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 1180px) { .brand-tag { display: none; } }

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
  padding: 0;
}
.nav-links a {
  padding: 10px 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: var(--r-sm);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
@media (max-width: 1440px) {
  .nav-links a { padding: 10px 9px; font-size: 13.5px; }
  .nav-cta { display: none; }
}
.nav-links a:hover, .nav-links a.active {
  color: var(--navy-800);
  background: var(--bg-soft);
}
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--navy-800);
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 60px 0 auto 0;
    flex-direction: column;
    background: #fff;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    transition: transform 0.3s var(--ease);
    align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 12px 16px; font-size: 16px; }
  .nav-links li { width: 100%; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
  color: #fff;
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 8vw, 110px);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at 80% 20%, rgba(47,180,233,0.22), transparent 60%),
              radial-gradient(600px circle at 10% 90%, rgba(47,180,233,0.12), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: var(--s-5); }
.hero h1 .hl { color: var(--cyan-400); }
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--s-8);
  max-width: 560px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-400);
  font-weight: 600;
  margin-bottom: var(--s-6);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-500); box-shadow: 0 0 0 4px rgba(47,180,233,0.25); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/3.4;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-brand);
  border: 1px solid rgba(255,255,255,0.1);
}
.hero-visual img, .hero-visual video { width: 100%; height: 100%; object-fit: cover; }

.hero-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: var(--s-12);
  padding-top: var(--s-8);
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-trust .item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  font-size: 14.5px;
}
.hero-trust .ic {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(47,180,233,0.18);
  color: var(--cyan-400);
  display: grid;
  place-items: center;
}
.hero-trust .ic svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-trust { grid-template-columns: repeat(2, 1fr); }
}

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: clamp(56px, 7vw, 90px) 0 clamp(48px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px circle at 75% 25%, rgba(47,180,233,0.18), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: var(--s-3); max-width: 880px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 720px; font-size: 17px; }
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--s-4);
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 6px; color: rgba(255,255,255,0.4); }

/* ---------- Cards / Grids ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan-400);
}
.card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-soft);
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px 22px 24px; }
.card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.card-desc { font-size: 14.5px; color: var(--ink-500); line-height: 1.55; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Feature blocks ---------- */
.feature {
  padding: 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: all 0.3s var(--ease);
}
.feature:hover { border-color: var(--cyan-400); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan-500), var(--cyan-600));
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: var(--s-5);
}
.feature .icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 18px; margin-bottom: 8px; color: var(--navy-900); }
.feature p { font-size: 14.5px; color: var(--ink-500); }

/* ---------- Stat / Metric ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .v {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--navy-700), var(--cyan-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .l {
  font-size: 13.5px;
  color: var(--ink-500);
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- Background variants ---------- */
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy-800); color: #fff; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: rgba(255,255,255,0.85); }

/* ---------- Two-column content blocks ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.image-block {
  aspect-ratio: 5/4;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.image-block img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- List with check / pill ---------- */
.checklist { list-style: none; padding: 0; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  font-size: 15px;
  color: var(--ink-700);
  border-bottom: 1px solid var(--line-soft);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  width: 22px; height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--cyan-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231d8bbf'%3E%3Cpath d='M13.78 4.22a.75.75 0 0 1 0 1.06l-7 7a.75.75 0 0 1-1.06 0l-3.5-3.5a.75.75 0 1 1 1.06-1.06L6.25 10.69l6.47-6.47a.75.75 0 0 1 1.06 0z'/%3E%3C/svg%3E") center/14px no-repeat;
  margin-top: 1px;
}

.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--navy-800);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.pill:hover { border-color: var(--cyan-500); color: var(--cyan-600); }
.pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan-500);
}

/* ---------- Application cards (image card grid) ---------- */
.app-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-soft);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 1px solid var(--line);
}
.app-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.app-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.app-card:hover img { transform: scale(1.08); }
.app-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(11,18,36,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #fff;
}
.app-card .overlay h4 { color: #fff; font-size: 19px; }
.app-card .overlay p { color: rgba(255,255,255,0.8); font-size: 13.5px; margin-top: 4px; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  height: 100%;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 22px;
  font-size: 64px;
  line-height: 1;
  color: var(--cyan-100);
  font-family: Georgia, serif;
  font-weight: 700;
}
.testimonial p { font-size: 15px; line-height: 1.65; color: var(--ink-700); }
.testimonial .who {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.testimonial .name { font-weight: 700; color: var(--navy-900); font-size: 15px; }
.testimonial .role { font-size: 13px; color: var(--ink-500); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 60%, var(--cyan-600) 140%);
  color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at 80% 30%, rgba(47,180,233,0.2), transparent 70%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: var(--s-8); font-size: 17px; }
.cta-banner .btn-group { justify-content: center; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.form-card h3 { margin-bottom: 6px; }
.form-card .form-intro { color: var(--ink-500); margin-bottom: var(--s-6); font-size: 15px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; margin-bottom: 14px; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.form-field label .req { color: var(--red-600); }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 15px;
  color: var(--ink-900);
  background: #fff;
  transition: border 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(47,180,233,0.16);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-card .form-foot {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-500);
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 24px;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-grid h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-grid a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-grid a:hover { color: var(--cyan-400); }
.footer-about p { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.65); max-width: 320px; }
.footer-about .brand-name { color: #fff; }
.footer-about .brand-tag { color: var(--cyan-400); }

.footer-contact .item { display: flex; gap: 10px; margin-bottom: 12px; align-items: flex-start; }
.footer-contact svg { color: var(--cyan-400); flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.85); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
}
.socials a:hover { background: var(--cyan-500); color: #fff; }
.socials svg { width: 16px; height: 16px; }

/* ---------- Floating action buttons ---------- */
.fab-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(11,18,36,0.25);
  transition: transform 0.2s var(--ease);
  position: relative;
}
.fab:hover { transform: translateY(-2px) scale(1.04); color: #fff; }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--navy-700); }
.fab svg { width: 24px; height: 24px; }
.fab-label {
  position: absolute;
  right: 64px;
  background: var(--navy-900);
  color: #fff;
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all 0.2s var(--ease);
}
.fab:hover .fab-label { opacity: 1; transform: translateX(0); }

/* ---------- Tables ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  font-size: 15px;
}
.spec-table th, .spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:hover td { background: var(--bg-soft); }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s var(--ease);
}
.faq-item[open] { border-color: var(--cyan-500); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--cyan-500);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after { content: '–'; }
.faq-item .answer {
  padding: 0 22px 22px;
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.65;
}

.faq-category h3 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan-600);
  margin-bottom: 16px;
  margin-top: 32px;
}

/* ---------- Case study ---------- */
.case-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 24px;
  transition: all 0.3s var(--ease);
}
.case-card:hover { box-shadow: var(--shadow-md); border-color: var(--cyan-400); }
.case-card .img-side { aspect-ratio: 4/3; }
.case-card .img-side img { width: 100%; height: 100%; object-fit: cover; }
.case-card .text-side { padding: 28px 32px 28px 0; }
.case-card .case-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-600);
  font-weight: 700;
  margin-bottom: 10px;
}
.case-card h3 { font-size: 22px; margin-bottom: 12px; }
.case-card .case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}
.case-card .case-meta .k { font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-500); margin-bottom: 2px; }
.case-card .case-meta .v { font-size: 16px; font-weight: 700; color: var(--navy-800); }
@media (max-width: 800px) {
  .case-card { grid-template-columns: 1fr; }
  .case-card .text-side { padding: 0 24px 28px; }
  .case-card .case-meta { grid-template-columns: 1fr 1fr; }
}

/* ---------- Blog/resource grid ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--cyan-400); }
.blog-card .thumb { aspect-ratio: 16/10; background: var(--bg-soft); overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.blog-card:hover .thumb img { transform: scale(1.05); }
.blog-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card .cat {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cyan-600);
  font-weight: 700;
  margin-bottom: 8px;
}
.blog-card h4 { font-size: 17px; line-height: 1.35; margin-bottom: 8px; }
.blog-card p { font-size: 14px; color: var(--ink-500); margin-bottom: 14px; }
.blog-card .read-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cyan-600);
  margin-top: auto;
}

/* ---------- Sustainability strip / numbered list ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  position: relative;
}
.step .num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cyan-500);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}
.step h4 { font-size: 16px; margin-bottom: 6px; color: var(--navy-900); }
.step p { font-size: 14px; color: var(--ink-500); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--s-4); }
.mt-8 { margin-top: var(--s-8); }
.mt-12 { margin-top: var(--s-12); }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--s-4); }
.mb-8 { margin-bottom: var(--s-8); }

/* Reveal animation — only animates if JS sets up observer */
.js-reveal-ready .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal-ready .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js-reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
}
