/* =========================================
   ISO PLUS — Modern Anti-Humidity Site
   ========================================= */

:root {
  /* Colors */
  --primary: #0c4a6e;
  --primary-dark: #082f49;
  --primary-light: #075985;
  --accent: #06b6d4;
  --accent-light: #67e8f9;
  --cta: #f59e0b;
  --cta-dark: #d97706;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #f1f5f9;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-dark: #0c1c2e;
  --white: #ffffff;
  --success: #10b981;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 48px rgba(15, 23, 42, .12);
  --shadow-xl: 0 32px 80px rgba(15, 23, 42, .18);
  --shadow-cta: 0 12px 32px rgba(245, 158, 11, .35);

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --container: 1200px;
  --header-h: 72px;
  --topbar-h: 40px;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Easing */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* =========================================
   Base
   ========================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h));
}

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

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

img[data-force-visible] {
  opacity: 1 !important;
  visibility: visible !important;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s var(--ease);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

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

.hide-mobile {
  display: inline-flex;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
}

/* =========================================
   Buttons
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
  transition: all .25s var(--ease);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 17px 34px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--cta);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  background: var(--cta-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(245, 158, 11, .45);
}

.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border-color: rgba(255, 255, 255, .25);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .4);
  transform: translateY(-2px);
}

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

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .4);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s;
}

.btn-text:hover {
  border-color: var(--primary);
}

/* =========================================
   Topbar
   ========================================= */

.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, .85);
  font-size: 13.5px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 101;
}

.topbar-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-left > span,
.topbar-right > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.topbar-left i, .topbar-right i {
  color: var(--accent-light);
  font-size: 13px;
  width: 14px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.topbar a:hover {
  color: var(--white);
}

@media (max-width: 540px) {
  .topbar {
    font-size: 12.5px;
  }
  .topbar-inner {
    padding: 0 16px;
  }
  .topbar-left, .topbar-right {
    gap: 12px;
  }
}

/* Lang switcher */
.lang-switcher {
  position: relative;
}

.lang-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background .2s;
}

.lang-current:hover {
  background: rgba(255, 255, 255, .15);
}

.lang-current i {
  font-size: 10px;
  margin: 0;
  transition: transform .2s;
  color: var(--white);
}

.lang-switcher.open .lang-current i {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 6px;
  display: none;
  z-index: 200;
  border: 1px solid var(--line);
}

.lang-switcher.open .lang-dropdown {
  display: block;
  animation: fadeInUp .2s var(--ease-out);
}

.lang-option {
  display: block;
  width: 100%;
  padding: 10px 14px;
  text-align: left;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: background .15s;
}

.lang-option:hover {
  background: var(--bg-alt);
}

.lang-option.active {
  background: var(--primary);
  color: var(--white);
}

/* =========================================
   Header
   ========================================= */

.site-header {
  position: sticky;
  top: var(--topbar-h);
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
  transition: all .3s var(--ease);
}

@media (min-width: 981px) {
  .site-header {
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
    background: rgba(255, 255, 255, .85);
  }
}

.site-header.scrolled {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-logo {
  height: 40px;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.02em;
  color: var(--primary);
  display: flex;
  gap: 4px;
}

.brand-name span {
  color: var(--cta);
}

.brand-light .brand-name {
  color: var(--white);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 10px 16px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: all .2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--bg-alt);
}

.nav-close {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  font-size: 22px;
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-alt);
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all .25s var(--ease);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #ffffff;
    z-index: 200;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    overflow-y: auto;
  }
  .main-nav.open {
    transform: translateX(0);
  }
  .nav-list {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 420px;
    padding: 0 24px;
  }
  .nav-link {
    display: block;
    font-size: 22px;
    padding: 14px 24px;
    text-align: center;
    border-radius: 14px;
  }
  .nav-close {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
}

/* =========================================
   Hero
   ========================================= */

.hero {
  position: relative;
  min-height: calc(100vh - var(--topbar-h) - var(--header-h));
  padding: 80px 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  filter: blur(2px) brightness(.55);
  transform: scale(1.05);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(6, 182, 212, .35), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, .22), transparent 50%),
    linear-gradient(135deg, rgba(8, 47, 73, .92) 0%, rgba(12, 74, 110, .85) 50%, rgba(8, 47, 73, .95) 100%);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 30%, transparent 80%);
}

.hero-content {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  color: var(--white);
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  backdrop-filter: blur(10px);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, .25);
  animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .4); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.035em;
  margin-bottom: 24px;
  max-width: 820px;
}

.hero-title-line {
  display: block;
}

.hero-accent {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--cta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  max-width: 620px;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-trust-item i {
  color: var(--accent-light);
  font-size: 16px;
}

.hero-stats {
  margin-top: 60px;
  width: 100%;
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.hero-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(10px);
  z-index: -1;
}

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

.stat {
  padding: 22px 18px;
  text-align: center;
  background: rgba(8, 47, 73, .35);
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -.03em;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-unit {
  font-size: .55em;
  color: var(--accent-light);
  font-weight: 700;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero-scroll span {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

@media (max-width: 760px) {
  .hero-scroll { display: none; }
}

/* =========================================
   Section common
   ========================================= */

section {
  padding: 100px 0;
  position: relative;
}

@media (max-width: 760px) {
  section {
    padding: 70px 0;
  }
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(6, 182, 212, .12);
  color: var(--primary-light);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
}

/* =========================================
   About
   ========================================= */

.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.about-visual {
  position: relative;
  aspect-ratio: 5 / 6;
  max-width: 540px;
}

.about-img-main, .about-img-secondary {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main {
  inset: 0 30% 18% 0;
}

.about-img-secondary {
  inset: 35% 0 0 35%;
  border: 6px solid var(--white);
}

.about-img-main img,
.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-floating-card {
  position: absolute;
  bottom: 6%;
  right: -10%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 1;
}

@media (max-width: 980px) {
  .about-floating-card {
    right: 4%;
    bottom: -4%;
    z-index: 4;
  }
}

.about-img-secondary {
  z-index: 3;
}

.about-img-main {
  z-index: 2;
}

.about-floating-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cta), var(--cta-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.about-floating-card strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  display: block;
  letter-spacing: -.02em;
}

.about-floating-card span {
  font-size: 13px;
  color: var(--muted);
}

.about-floating-badge {
  position: absolute;
  top: 6%;
  right: 4%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--success);
  color: var(--white);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  z-index: 4;
}

.about-content .eyebrow {
  margin-bottom: 16px;
}

.section-lead {
  margin-bottom: 32px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin: 32px 0 36px;
}

@media (max-width: 540px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}

.about-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-features i {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(6, 182, 212, .1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.about-features strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 2px;
}

.about-features span {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}

.about-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* =========================================
   Services
   ========================================= */

.services {
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.services-bg-decor {
  position: absolute;
  top: -200px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, .12), transparent 70%);
  pointer-events: none;
}

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

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

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: all .35s var(--ease);
  display: flex;
  flex-direction: column;
}

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

.service-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: var(--line-soft);
}

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

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

.service-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.service-icon {
  position: absolute;
  top: -28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 12px 24px rgba(12, 74, 110, .35);
}

.service-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 8px 70px 12px 0;
  line-height: 1.25;
}

.service-body p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 18px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-display);
  border-bottom: 2px solid transparent;
  align-self: flex-start;
  padding-bottom: 2px;
  transition: all .2s;
}

.service-link i {
  transition: transform .2s;
}

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

.service-link:hover i {
  transform: translateX(4px);
}

/* =========================================
   Process
   ========================================= */

.process {
  background: var(--bg);
}

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

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

@media (max-width: 540px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-step {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: all .3s var(--ease);
}

.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.process-step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -.04em;
  opacity: .25;
  margin-bottom: 12px;
}

.process-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bg-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  transition: all .3s;
}

.process-step:hover .process-step-icon {
  background: var(--primary);
  color: var(--white);
}

.process-step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}

.process-step p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* =========================================
   Portfolio — Avant / Après slider
   ========================================= */

.portfolio {
  background: var(--bg-alt);
  overflow: hidden;
}

.ba-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.ba-row {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.ba-row-info {
  background: linear-gradient(155deg, var(--primary) 0%, #0a3a58 100%);
  color: var(--white);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  position: relative;
}

.ba-row-info::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  width: 12px;
  background: linear-gradient(155deg, var(--primary) 0%, #0a3a58 100%);
  z-index: 2;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.ba-row-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--accent-light, #67e8f9);
}

.ba-row-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.15;
}

.ba-row-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
  margin: 0;
}

.ba-row-tags {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ba-row-tags li {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  color: var(--white);
}

.ba-slider {
  position: relative;
  background: var(--ink);
  min-height: 320px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  overflow: hidden;
}

.ba-after,
.ba-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ba-after img,
.ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ba-before {
  clip-path: inset(0 55% 0 0);
}

.ba-tag {
  position: absolute;
  bottom: 16px;
  padding: 9px 18px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  z-index: 3;
  pointer-events: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.ba-tag-before {
  left: 16px;
  background: rgba(12, 74, 110, .92);
}

.ba-tag-after {
  right: 16px;
  background: rgba(12, 74, 110, .92);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 45%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .2);
}

.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .35), 0 0 0 4px rgba(255, 255, 255, .18);
  cursor: ew-resize;
  pointer-events: auto;
  transition: transform .15s var(--ease);
}

.ba-handle-circle:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.ba-handle-circle:active {
  transform: translate(-50%, -50%) scale(.95);
}

.ba-reset {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .45);
  color: var(--white);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  z-index: 5;
  opacity: .7;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity .2s var(--ease), background .2s var(--ease), transform .25s var(--ease);
}

.ba-reset:hover {
  opacity: 1;
  background: rgba(0, 0, 0, .65);
}

.ba-reset:active i {
  transform: rotate(-180deg);
}

.ba-reset i {
  transition: transform .35s var(--ease);
}

@media (max-width: 880px) {
  .ba-before {
    clip-path: inset(0 53% 0 0);
  }
  .ba-handle {
    left: 47%;
  }
  .ba-row {
    grid-template-columns: 1fr;
  }
  .ba-row-info {
    padding: 18px 18px 20px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
  }
  .ba-row-info::after {
    display: none;
  }
  .ba-row-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 18px;
  }
  .ba-row-title {
    font-size: 17px;
    margin: 0;
    flex: 1;
  }
  .ba-row-desc {
    font-size: 13.5px;
    line-height: 1.5;
    flex-basis: 100%;
    margin: 0;
  }
  .ba-row-tags {
    margin: 0;
    flex-basis: 100%;
  }
  .ba-row-tags li {
    font-size: 10.5px;
    padding: 5px 10px;
  }
  .ba-slider {
    min-height: 260px;
  }
}

@media (max-width: 540px) {
  .ba-grid {
    gap: 20px;
  }
  .ba-row-info {
    padding: 14px 16px 16px;
    gap: 12px;
  }
  .ba-row-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .ba-row-title {
    font-size: 15.5px;
    letter-spacing: 0;
  }
  .ba-row-desc {
    font-size: 13px;
  }
  .ba-slider {
    min-height: 220px;
  }
  .ba-handle-circle {
    width: 46px;
    height: 46px;
    font-size: 11px;
  }
  .ba-tag {
    bottom: 12px;
    padding: 7px 14px;
    font-size: 11px;
  }
  .ba-tag-before { left: 12px; }
  .ba-tag-after { right: 12px; }
}

.ba-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px auto 0;
  max-width: 1180px;
}

@media (max-width: 720px) {
  .ba-meta {
    grid-template-columns: 1fr;
  }
}

.ba-meta-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm, 0 1px 3px rgba(0, 0, 0, .04));
}

.ba-meta-item i {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}

.ba-meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: -.01em;
}

.ba-meta-item span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  display: block;
}

/* Legacy portfolio grid kept for safety, hidden */
.portfolio-grid {
  display: none;
}

@media (max-width: 980px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.portfolio-item-wide {
  grid-column: span 2;
}

@media (max-width: 720px) {
  .portfolio-item-wide {
    grid-column: span 2;
  }
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(8, 47, 73, .85) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 18px;
  opacity: 0;
  transition: opacity .3s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-tag {
  background: var(--white);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--font-display);
}

.portfolio-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* =========================================
   Lightbox
   ========================================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 47, 73, .96);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 80px;
}

.lightbox[aria-hidden="false"], .lightbox.open {
  display: flex;
  animation: fadeIn .25s;
}

.lightbox-content {
  max-width: 100%;
  max-height: 100%;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  margin: 0 auto;
}

.lightbox-caption {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 16px;
  font-size: 16px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background .2s;
  backdrop-filter: blur(6px);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, .25);
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .lightbox {
    padding: 60px 12px;
  }
  .lightbox-prev, .lightbox-next {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* =========================================
   CTA Banner
   ========================================= */

.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(6, 182, 212, .25), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(245, 158, 11, .18), transparent 50%);
}

.cta-banner-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  color: var(--white);
}

@media (max-width: 800px) {
  .cta-banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 17px;
  color: rgba(255, 255, 255, .8);
  max-width: 540px;
}

@media (max-width: 800px) {
  .cta-banner p {
    margin-left: auto;
    margin-right: auto;
  }
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

@media (max-width: 800px) {
  .cta-banner-actions {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* =========================================
   Testimonials
   ========================================= */

.testimonials {
  background: var(--bg);
}

.testimonials-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
}

.rating-stars {
  color: var(--cta);
  font-size: 18px;
  display: flex;
  gap: 2px;
}

.testimonials-rating strong {
  color: var(--ink);
  font-weight: 700;
}

.testimonials-slider {
  position: relative;
  margin-top: 50px;
}

.testimonials-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding: 16px 4px 32px;
  scrollbar-width: none;
}

.testimonials-track::-webkit-scrollbar {
  display: none;
}

.testimonial {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 320px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  position: relative;
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
}

@media (max-width: 980px) {
  .testimonial {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .testimonial {
    flex: 0 0 calc(100% - 8px);
    min-width: 0;
  }
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.testimonial-quote-icon {
  position: absolute;
  top: -12px;
  left: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--cta);
  font-size: 15px;
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}

.testimonial-text {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 22px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-avatar {
  --bg: linear-gradient(135deg, var(--primary), var(--accent));
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}

.testimonial-author span {
  font-size: 13px;
  color: var(--muted);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all .2s;
}

.testimonial-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.testimonial-dots {
  display: flex;
  gap: 8px;
}

.testimonial-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: all .2s;
}

.testimonial-dots button.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* =========================================
   FAQ
   ========================================= */

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

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: flex-start;
}

@media (max-width: 980px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + var(--topbar-h) + 24px);
}

@media (max-width: 980px) {
  .faq-intro {
    position: static;
  }
}

.faq-intro .section-title {
  margin-bottom: 16px;
  text-align: left;
}

.faq-intro .section-lead {
  margin-bottom: 28px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all .25s var(--ease);
}

.faq-item.open {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -.01em;
}

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all .25s var(--ease);
}

.faq-item.open .faq-icon {
  background: var(--primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}

.faq-answer p {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* =========================================
   Contact
   ========================================= */

.contact {
  background: var(--bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info-side .section-title {
  text-align: left;
  margin-bottom: 16px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: all .25s var(--ease);
}

.contact-card:not(.contact-card-static):hover {
  border-color: var(--accent);
  background: var(--white);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.contact-card > div:not(.contact-card-icon) {
  flex: 1;
  min-width: 0;
}

.contact-card span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-card strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  word-break: break-word;
}

.contact-card-arrow {
  color: var(--muted);
  font-size: 14px;
  transition: transform .2s;
}

.contact-card:hover .contact-card-arrow {
  transform: translateX(4px);
  color: var(--primary);
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 540px) {
  .contact-form {
    padding: 24px 20px;
  }
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 540px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, .15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  padding-right: 40px;
  cursor: pointer;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.form-note {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 16px;
}

/* =========================================
   Footer
   ========================================= */

.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, .75);
}

.footer-main {
  padding: 80px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
}

@media (max-width: 980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand {
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 22px;
  max-width: 360px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--white);
  transition: all .2s;
}

.footer-social a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, .65);
  font-size: 14.5px;
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--accent-light);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.footer-contact-list i {
  color: var(--accent-light);
  margin-top: 4px;
  width: 14px;
}

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

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

.footer-bottom a {
  color: var(--accent-light);
}

.dev-credit {
  font-size: 12.5px;
}

/* =========================================
   Back to top
   ========================================= */

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all .3s var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: var(--white);
}

@media (max-width: 540px) {
  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
  }
}

/* =========================================
   Reveal animations
   ========================================= */

.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.reveal-left {
  transform: translateX(-30px);
}

.reveal-right {
  transform: translateX(30px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* Body locked when menu open */
body.no-scroll {
  overflow: hidden;
}

/* =========================================
   Service modal
   ========================================= */

.service-modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 23, 41, .65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .25s var(--ease);
}

.service-modal.open {
  display: flex;
  opacity: 1;
}

.service-modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(.97);
  transition: transform .35s var(--ease-out);
}

.service-modal.open .service-modal-card {
  transform: translateY(0) scale(1);
}

.service-modal-header {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-modal-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(8, 23, 41, .8) 100%);
}

.service-modal-icon {
  position: absolute;
  bottom: 18px;
  left: 24px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.service-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 2;
  transition: all .2s;
}

.service-modal-close:hover {
  background: var(--white);
  transform: rotate(90deg);
}

.service-modal-body {
  padding: 28px 32px 8px;
  overflow-y: auto;
  flex: 1;
}

.service-modal-body h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-bottom: 16px;
}

.service-modal-body p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.service-modal-body ul {
  margin: 14px 0 18px;
  padding: 16px 18px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  display: grid;
  gap: 10px;
}

.service-modal-body li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.service-modal-body li i {
  color: var(--accent);
  margin-top: 4px;
  font-size: 12px;
  flex-shrink: 0;
}

.service-modal-footer {
  padding: 20px 32px 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  background: var(--white);
}

@media (max-width: 540px) {
  .service-modal-body {
    padding: 22px 22px 8px;
  }
  .service-modal-footer {
    padding: 16px 22px 22px;
  }
  .service-modal-body h3 {
    font-size: 22px;
  }
}

/* =========================================
   Avant / Après badges on portfolio
   ========================================= */

.portfolio-item .portfolio-stage {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}

.portfolio-stage.is-before {
  background: rgba(220, 38, 38, .92);
  color: var(--white);
}

.portfolio-stage.is-after {
  background: rgba(16, 185, 129, .92);
  color: var(--white);
}
