/* ==========================================================================
   FRITEQ DESIGN SYSTEM & STYLESHEET
   Iteration 2 — Studio & Technology Consultancy Edition
   ========================================================================== */

:root {
  /* Colors */
  --color-primary: #0a1128;
  --color-primary-dark: #050814;
  --color-primary-light: #162040;
  --color-primary-surface: #101a38;
  --color-accent: #f59e0b;
  --color-accent-hover: #d97706;
  --color-accent-subtle: rgba(245, 158, 11, 0.12);
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-bg-subtle: #f1f5f9;
  --color-bg-tint: #f3f6fb;
  --color-surface: #ffffff;
  --color-surface-hover: #fbfcfe;
  --color-text: #0f172a;
  --color-text-body: #334155;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-text-inverse: #ffffff;
  --color-border: #e2e8f0;
  --color-border-subtle: rgba(15, 23, 42, 0.07);
  --color-border-dark: rgba(255, 255, 255, 0.14);

  /* Typography Scale (Fluid & Generous - 19px desktop base target) */
  --font-sans: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Font Sizes */
  --text-xs: 0.9rem;          /* ~14.4px - crisp badges & metadata */
  --text-sm: 1rem;            /* ~16px - subtext, form hints */
  --text-base: clamp(1.0625rem, 0.95rem + 0.5vw, 1.1875rem); /* 17px mobile -> 19px desktop body copy base */
  --text-lg: clamp(1.15rem, 1.05rem + 0.45vw, 1.275rem);     /* 18.4px mobile -> 20.4px desktop descriptive copy */
  --text-lead: clamp(1.2rem, 1.05rem + 0.55vw, 1.35rem);     /* 19.2px mobile -> 21.6px lead copy */
  --text-xl: 1.5rem;
  --text-2xl: 1.85rem;
  --text-3xl: clamp(1.75rem, 3.2vw, 2.65rem);
  --text-4xl: clamp(2rem, 4vw, 3.25rem);
  --text-hero: clamp(2.15rem, 5vw, 3.85rem); /* Fluid hero headline */

  /* Spacing */
  --space-2xs: 0.35rem;
  --space-xs: 0.6rem;
  --space-sm: 0.85rem;
  --space-md: 1.25rem;
  --space-lg: 1.75rem;
  --space-xl: 2.25rem;
  --space-2xl: 3.5rem;
  --space-3xl: 5.5rem;

  /* Container */
  --container-max: 1240px;
  --container-px: clamp(1.25rem, 5vw, 2.5rem);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(10, 17, 40, 0.05);
  --shadow-sm: 0 3px 10px rgba(10, 17, 40, 0.06);
  --shadow-md: 0 10px 30px -6px rgba(10, 17, 40, 0.09), 0 3px 8px -2px rgba(10, 17, 40, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(10, 17, 40, 0.16);

  /* Transitions */
  --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 260ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 380ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-body);
  background-color: var(--color-bg);
  line-height: 1.72;
  font-size: var(--text-base);
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  color: inherit;
}

ul, ol {
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* ==========================================================================
   LAYOUT & STRUCTURE
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

.section {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
  position: relative;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-tint {
  background-color: var(--color-bg-tint);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(2.5rem, 4.5vw, 3.5rem);
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: var(--color-accent-subtle);
  color: var(--color-accent-hover);
  margin-bottom: var(--space-sm);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-dark {
  background-color: rgba(245, 158, 11, 0.16);
  color: var(--color-accent);
  border-color: rgba(245, 158, 11, 0.35);
}

.section-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.68;
}

.section-dark .section-desc {
  color: #94a3b8;
}

/* ==========================================================================
   BUTTONS & CTAs (16.5px - 17.5px)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.95rem 1.95rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.075rem;       /* ~17.2px */
  line-height: 1.2;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(245, 158, 11, 0.45);
  color: var(--color-primary-dark);
}

.btn-secondary {
  background-color: var(--color-surface);
  color: var(--color-primary);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background-color: var(--color-bg-subtle);
  border-color: var(--color-text-muted);
  transform: translateY(-2px);
}

.btn-secondary-dark {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid var(--color-border-dark);
}

.btn-secondary-dark:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.75rem 1.45rem;
  font-size: 1.025rem;       /* ~16.5px */
}

.btn-icon {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   HEADER & NAVBAR (17.5px nav link target)
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: all var(--transition-base);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
  gap: var(--space-lg);
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo img {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.25rem);
}

.nav-links-list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.85rem);
}

.nav-link {
  font-size: 1.09rem;        /* ~17.5px */
  font-weight: 600;
  color: var(--color-text-body);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  background-color: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 4px;
}

.lang-btn {
  font-size: 0.925rem;       /* ~14.8px */
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  line-height: 1;
}

.lang-btn:hover {
  color: var(--color-primary);
}

.lang-btn.active {
  background-color: var(--color-surface);
  color: var(--color-primary);
  box-shadow: 0 1px 4px rgba(10, 17, 40, 0.1);
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  z-index: 105;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(6px);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--color-surface);
  z-index: 102;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6.5rem 2rem 2.5rem;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 17, 40, 0.55);
  backdrop-filter: blur(4px);
  z-index: 101;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.mobile-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.mobile-nav-link {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border-subtle);
  display: block;
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: 2rem;
}

/* ==========================================================================
   HERO SECTION (Lead copy 20-22px)
   ========================================================================== */

.hero {
  position: relative;
  padding-top: clamp(6.75rem, 11vw, 8.75rem);
  padding-bottom: clamp(3.75rem, 6vw, 5rem);
  background: linear-gradient(180deg, rgba(243, 246, 251, 0.6) 0%, rgba(255, 255, 255, 1) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: center;
}

.hero-content {
  max-width: 660px;
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.hero-subtitle {
  font-size: var(--text-lead); /* ~20.5-22px on desktop */
  line-height: 1.68;
  color: var(--color-text-body);
  margin-bottom: var(--space-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.025rem;       /* ~16.5px */
  font-weight: 600;
  color: var(--color-primary);
}

.proof-item svg {
  color: var(--color-accent-hover);
  flex-shrink: 0;
}

/* ==========================================================================
   HERO CONNECTED PRODUCT COMPOSITION
   ========================================================================== */

.hero-visual {
  position: relative;
}

.product-showcase {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  color: #fff;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
}

.product-showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-brand-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;        /* ~15.2px */
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.showcase-brand-tag .indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.showcase-category-pill {
  font-size: 0.85rem;        /* ~13.6px */
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.product-card-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.product-layer-card {
  background: var(--color-primary-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform var(--transition-fast);
}

.product-layer-card:hover {
  transform: translateX(4px);
  border-color: rgba(245, 158, 11, 0.4);
}

.layer-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.layer-info h5 {
  font-size: 1.0625rem;      /* ~17px */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.layer-info p {
  font-size: 0.925rem;       /* ~14.8px */
  color: #94a3b8;
  margin: 0;
}

.product-showcase-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;         /* ~14.4px */
  color: #94a3b8;
}

.product-showcase-footer span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.product-showcase-footer svg {
  color: var(--color-accent);
}

/* ==========================================================================
   TRUST / CREDIBILITY STRIP
   ========================================================================== */

.trust-ribbon {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 1.6rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.trust-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.trust-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: var(--color-bg-tint);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-info h4 {
  font-size: 1.075rem;       /* ~17.2px */
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.trust-info p {
  font-size: 0.95rem;        /* ~15.2px */
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   SOLUTIONS SECTION (6 Core Capabilities in 3x2 Editorial Grid)
   ========================================================================== */

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}

.solution-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.solution-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.solution-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-accent-subtle);
  color: var(--color-accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution-card h3 {
  font-size: 1.35rem;        /* Prominent card title */
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.solution-card p {
  color: var(--color-text-body);
  font-size: 1.075rem;       /* ~17.2px */
  line-height: 1.68;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-subtle);
}

.solution-feature-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;        /* ~15.2px */
  color: var(--color-text-muted);
  font-weight: 600;
}

.solution-feature-item svg {
  color: var(--color-accent-hover);
  flex-shrink: 0;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.025rem;       /* ~16.5px */
  font-weight: 700;
  color: var(--color-accent-hover);
  margin-top: auto;
}

.solution-link:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   EXPERTISE SECTION (Tinted Background, Clear Separation from Solutions)
   ========================================================================== */

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

.expertise-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.expertise-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.expertise-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  transition: all var(--transition-fast);
}

.expertise-card:hover .expertise-icon {
  background: var(--color-accent-subtle);
  color: var(--color-accent-hover);
}

.expertise-card h3 {
  font-size: 1.275rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.expertise-card p {
  font-size: 1.05rem;        /* ~16.8px */
  color: var(--color-text-body);
  line-height: 1.65;
}

/* ==========================================================================
   PROJECTS / ARCHITECTURES SECTION
   ========================================================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.25rem);
}

.project-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.project-card-live:hover {
  border-color: rgba(16, 185, 129, 0.6);
  box-shadow: 0 10px 30px -6px rgba(16, 185, 129, 0.15), 0 3px 8px -2px rgba(10, 17, 40, 0.04);
}

.project-media {
  height: 190px;
  background: linear-gradient(135deg, #101a38 0%, #0a1128 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.project-preview-mock {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.preview-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-tag {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.2);
  color: var(--color-accent);
  padding: 2px 8px;
  border-radius: 4px;
}

.preview-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.725rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(16, 185, 129, 0.3);
  letter-spacing: 0.03em;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.preview-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-line {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

.preview-line.short { width: 55%; }
.preview-line.medium { width: 80%; }

.project-body {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-category {
  font-size: 0.875rem;       /* ~14px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent-hover);
  margin-bottom: var(--space-2xs);
}

.project-body h3 {
  font-size: 1.325rem;       /* Prominent card title */
  margin-bottom: var(--space-xs);
}

.project-body p {
  font-size: 1.05rem;        /* ~16.8px */
  color: var(--color-text-body);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: var(--space-md);
}

.tech-pill {
  font-size: 0.875rem;       /* ~14px */
  font-weight: 600;
  background: var(--color-bg-tint);
  color: var(--color-text-body);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-subtle);
}

.project-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--color-border-subtle);
}

.project-domain-badge {
  font-family: var(--font-mono);
  font-size: 0.825rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: -0.01em;
}

.live-project-link {
  color: var(--color-accent-hover);
  font-weight: 700;
}

/* ==========================================================================
   DISCOVERY / IDÉE FLOUE SECTION
   ========================================================================== */

.discovery-box {
  background: linear-gradient(135deg, #0a1128 0%, #162040 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2.25rem, 4.5vw, 3.75rem);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.discovery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.discovery-content h3 {
  font-size: var(--text-2xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  color: #ffffff;
}

.discovery-content p {
  font-size: 1.1875rem;      /* ~19px */
  color: #cbd5e1;
  line-height: 1.72;
  margin-bottom: var(--space-lg);
}

.discovery-card-visual {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.discovery-step-mini {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-mini-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 0.925rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-mini-text h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.step-mini-text p {
  font-size: 0.95rem;        /* ~15.2px */
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   WHY FRITEQ SECTION (Dark Anchor, 5 Value Pillars)
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

.why-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.15rem;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.why-card h3 {
  font-size: 1.35rem;        /* Prominent card title */
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.why-card p {
  font-size: 1.075rem;       /* ~17.2px */
  color: #94a3b8;
  line-height: 1.68;
}

/* ==========================================================================
   PROCESS SECTION (5-Step Connected Timeline)
   ========================================================================== */

.timeline-wrapper {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.timeline-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 36px;
  width: 2.5px;
  background: var(--color-border);
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
  position: relative;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-badge {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 2px solid var(--color-accent);
  color: var(--color-accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: all var(--transition-base);
}

.timeline-step:hover .timeline-badge {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  transform: scale(1.04);
}

.timeline-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.85rem 2.25rem;
  box-shadow: var(--shadow-xs);
  flex-grow: 1;
  transition: all var(--transition-base);
}

.timeline-step:hover .timeline-card {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.timeline-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: var(--space-2xs);
}

.timeline-card p {
  font-size: 1.1rem;         /* ~17.6px */
  color: var(--color-text-body);
  line-height: 1.68;
}

/* ==========================================================================
   ABOUT FRITEQ SECTION
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-text p {
  font-size: 1.1875rem;      /* ~19px */
  color: var(--color-text-body);
  line-height: 1.76;
  margin-bottom: var(--space-md);
}

.about-quote {
  font-size: 1.3rem;         /* ~20.8px */
  font-weight: 700;
  color: var(--color-primary);
  border-left: 4px solid var(--color-accent);
  padding-left: 1.25rem;
  margin: var(--space-lg) 0;
  line-height: 1.6;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.about-stat-card {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.85rem 1.5rem;
  box-shadow: var(--shadow-xs);
  text-align: center;
}

.about-stat-val {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.about-stat-label {
  font-size: 0.975rem;       /* ~15.6px */
  color: var(--color-text-muted);
  font-weight: 600;
}

/* ==========================================================================
   FINAL CONVERSION CTA
   ========================================================================== */

.final-cta {
  background: linear-gradient(135deg, #050814 0%, #0a1128 100%);
  color: #fff;
  text-align: center;
  padding: clamp(4rem, 7vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin: 0 auto;
}

.final-cta h2 {
  font-size: var(--text-3xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  color: #ffffff;
}

.final-cta p {
  font-size: 1.25rem;        /* ~20px */
  color: #94a3b8;
  margin-bottom: var(--space-xl);
  line-height: 1.68;
}

.final-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ==========================================================================
   CONTACT SECTION & B2B PROJECT INQUIRY EXPERIENCE
   ========================================================================== */

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}

.contact-info-panel h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
}

.contact-info-panel p {
  color: var(--color-text-body);
  font-size: 1.075rem;       /* ~17.2px */
  line-height: 1.68;
  margin-bottom: var(--space-md);
}

.contact-blocks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-block-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: all var(--transition-fast);
}

.contact-block-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.contact-block-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.direct-contact-card .contact-block-header {
  margin-bottom: 0.65rem;
}

.contact-block-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-subtle);
  color: var(--color-accent-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-block-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}

.contact-block-sub {
  font-size: 0.925rem;       /* ~14.8px */
  color: var(--color-text-muted);
  margin-bottom: 0 !important;
}

.contact-email-link {
  font-size: 1.15rem;        /* ~18.4px */
  font-weight: 700;
  color: var(--color-accent-hover);
  display: inline-block;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.contact-email-link:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.geo-tags-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.geo-primary {
  font-size: 1rem;           /* ~16px */
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0 !important;
  line-height: 1.5;
}

.geo-secondary {
  font-size: 0.925rem;       /* ~14.8px */
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0 !important;
}

.consulting-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0.25rem;
}

.consulting-steps-list li {
  font-size: 0.95rem;        /* ~15.2px */
  color: var(--color-text-body);
  line-height: 1.5;
  position: relative;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.975rem;       /* ~15.6px */
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.label-req {
  color: #dc2626;
  font-weight: 700;
  margin-left: 2px;
}

.label-opt {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.badge-req {
  color: #dc2626;
  font-weight: 800;
  font-size: 1.05rem;
}

.form-control {
  width: 100%;
  padding: 0.82rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.985rem;       /* ~15.8px */
  color: var(--color-text-body);
  background-color: var(--color-bg-alt);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: var(--color-surface);
  box-shadow: 0 0 0 3px var(--color-accent-subtle);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  padding-right: 2.6rem;
  cursor: pointer;
}

.form-error {
  font-size: 0.875rem;       /* ~14px */
  color: #dc2626;
  font-weight: 600;
  display: none;
  margin-top: 2px;
}

.form-group.has-error .form-control {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.form-group.has-error .form-error {
  display: block;
}

.form-action-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.btn-submit {
  width: 100%;
  padding: 1rem 1.6rem;
  font-size: 1.075rem;       /* ~17.2px */
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.form-reassurance-line {
  font-size: 0.925rem;       /* ~14.8px */
  font-weight: 600;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 0 !important;
}

.form-privacy-line {
  font-size: 0.875rem;       /* ~14px */
  color: #64748b;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 0 !important;
}

.form-privacy-line a {
  color: var(--color-primary);
  text-decoration: underline;
  margin-left: 4px;
}

.form-privacy-line a:hover {
  color: var(--color-accent-hover);
}

.form-status {
  display: none;
  padding: 0.95rem 1.35rem;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.form-status.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   FOOTER (16-17px readable scale)
   ========================================================================== */

.footer {
  background-color: var(--color-primary-dark);
  color: #cbd5e1;
  padding-top: clamp(4rem, 6vw, 5rem);
  padding-bottom: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 340px;
}

.footer-logo-wordmark {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  display: inline-block;
  line-height: 1.1;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-logo-wordmark:hover {
  color: var(--color-accent);
}

.footer-brand p {
  font-size: 1.05rem;        /* ~16.8px */
  color: #94a3b8;
  line-height: 1.7;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1.125rem;       /* ~18px */
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-md);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link {
  font-size: 1.025rem;       /* ~16.5px */
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.975rem;       /* ~15.6px */
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a:hover {
  color: #94a3b8;
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */

/* 1024px and below (Tablets & small laptops) */
@media (max-width: 1024px) {
  .brand-logo img {
    height: 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .hero-visual {
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .discovery-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-brand {
    max-width: 100%;
    grid-column: 1 / -1;
  }
}

/* 768px and below (Tablets & Mobile) */
@media (max-width: 768px) {
  .navbar {
    height: 4.5rem;
  }

  .brand-logo img {
    height: 42px;
  }

  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .timeline-wrapper::before {
    left: 28px;
  }

  .timeline-badge {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
  }

  .timeline-card {
    padding: 1.35rem 1.6rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* 480px and below (Small Mobile: 375px, 390px, 430px) */
@media (max-width: 480px) {
  .navbar {
    height: 4.25rem;
  }

  .brand-logo img {
    height: 38px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .final-cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .final-cta-actions .btn {
    width: 100%;
  }

  .timeline-step {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .timeline-wrapper::before {
    display: none;
  }
}

/* ==========================================================================
   ACCESSIBILITY: PREFERS REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}