/* ═══════════════════════════════════════
   FORGE STUDIO — Global Styles
   Minimalist Modern Premium
   ═══════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  /* Colors */
  --white: #FFFFFF;
  --off-white: #F8F8F8;
  --light-gray: #F4F4F4;
  --mid-gray: #E0E0E0;
  --text-gray: #6B6B6B;
  --dark: #0A0A0A;
  --accent: #E85D04;
  --accent-dark: #C44E03;
  --accent-light: rgba(232, 93, 4, 0.08);
  --accent-glow: rgba(232, 93, 4, 0.15);

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Sizes */
  --hero-size: 64px;
  --h2-size: clamp(2rem, 4vw, 3.5rem);
  --h3-size: clamp(1.25rem, 2vw, 1.75rem);
  --body-size: 1.0625rem;
  --small-size: 0.9375rem;

  /* Spacing */
  --section-pad: clamp(5rem, 10vw, 9rem);
  --container-width: 1200px;
  --container-pad: clamp(1.25rem, 4vw, 2rem);

  /* Misc */
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
  --shadow-lift: 0 20px 40px rgba(0,0,0,0.12);

  /* Navbar */
  --nav-height: 80px;
}

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

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: 1.7;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ── Selection ── */
::selection {
  background: var(--accent);
  color: var(--white);
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--hero-size);
  font-weight: 800;
}

h2 {
  font-size: var(--h2-size);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: var(--h3-size);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

strong {
  font-weight: 600;
}

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

ul, ol {
  list-style: none;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1400px;
}

/* ── Sections ── */
section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--gray {
  background: var(--light-gray);
}

.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section--dark p {
  color: rgba(255,255,255,0.7);
}

.section-label {
  font-family: var(--font-display);
  font-size: var(--small-size);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header p {
  font-size: 1.125rem;
  margin-top: 1rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 60px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, var(--accent) 0%, var(--accent) 50%, var(--accent-dark) 50%, var(--accent-dark) 100%);
  background-position: 0% 0;
  transition: transform var(--transition), box-shadow var(--transition), background-position 0.4s ease;
}

.btn--primary:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232, 93, 4, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

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

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

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

.btn--ghost {
  background: transparent;
  color: var(--accent);
  padding: 0.5rem 0;
  border-radius: 0;
}

.btn--ghost::after {
  content: '→';
  transition: transform var(--transition);
}

.btn--ghost:hover::after {
  transform: translateX(4px);
}

.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
  opacity: 1 !important;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.navbar__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar__logo .logo-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  transition: color var(--transition);
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

.navbar__links a:hover {
  color: var(--accent);
}

.navbar__cta {
  margin-left: 1rem;
}

/* Progress bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent);
  z-index: 1001;
  transition: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--dark);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--accent);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F0 100%);
}

/* Dot-grid pattern on hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(232, 93, 4, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* Large orange glow — top right */
.hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: #e85d04;
  opacity: 0.15;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

/* Small orange glow — bottom left */
.hero__glow {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #e85d04;
  opacity: 0.08;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Hero 2-column grid */
.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 3rem;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: none;
  margin: 0;
}

.hero__tag {
  font-family: var(--font-display);
  font-size: var(--small-size);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__tag::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  margin-bottom: 1.5rem;
  text-align: left;
}

.hero h1 .word {
  display: inline-block;
  overflow: hidden;
}

.hero h1 .word-inner {
  display: inline-block;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--text-gray);
  max-width: 500px;
  margin: 0 0 2.5rem;
  line-height: 1.6;
}

.hero .btn-group {
  justify-content: flex-start;
  flex-direction: row;
}

/* ── Hero Mini Counters ── */
.hero__counters {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--mid-gray);
}

.hero__counter {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__counter-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero__counter-label {
  font-size: 0.8125rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* ── Hero Visual (browser mockup) ── */
.hero__visual {
  position: relative;
  z-index: 2;
}

.shape-circle-hero {
  position: absolute;
  top: 30px;
  right: 200px;
  width: 70px;
  height: 70px;
  border: 2px solid #e85d04;
  border-radius: 50%;
  opacity: 0.2;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
  animation: floatA 3s ease-in-out infinite;
}

.shape-square-hero {
  position: absolute;
  top: 80px;
  right: 350px;
  width: 40px;
  height: 40px;
  border: 2px solid #e85d04;
  opacity: 0.15;
  pointer-events: none;
  will-change: transform;
  transform: translateZ(0);
  animation: floatA 4s ease-in-out infinite 1.2s;
}

.hero__browser {
  background: var(--white);
  border-radius: 16px;
  border: 2px solid var(--mid-gray);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.hero__browser:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(1deg);
}

.hero__browser-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--light-gray);
  border-bottom: 1px solid var(--mid-gray);
}

.hero__browser-dots {
  display: flex;
  gap: 6px;
}

.hero__browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.hero__browser-dots span:nth-child(1) { background: #FF5F57; }
.hero__browser-dots span:nth-child(2) { background: #FFBD2E; }
.hero__browser-dots span:nth-child(3) { background: #28CA41; }

.hero__browser-url {
  flex: 1;
  background: var(--white);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  color: var(--text-gray);
  font-family: var(--font-body);
  border: 1px solid var(--mid-gray);
}

.hero__browser-body {
  padding: 1.5rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #FAFAFA;
}

/* Mockup elements */
.mockup__nav {
  height: 10px;
  width: 60%;
  background: var(--dark);
  border-radius: 20px;
  opacity: 0;
}

.mockup__hero-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 0;
}

.mockup__title {
  height: 14px;
  width: 75%;
  background: var(--dark);
  border-radius: 4px;
  opacity: 0;
}

.mockup__subtitle {
  height: 8px;
  width: 55%;
  background: var(--text-gray);
  border-radius: 4px;
  opacity: 0;
}

.mockup__btn {
  height: 22px;
  width: 80px;
  background: var(--accent);
  border-radius: 20px;
  margin-top: 0.35rem;
  opacity: 0;
}

.mockup__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}

.mockup__card {
  height: 50px;
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: 6px;
  opacity: 0;
}

.mockup__footer {
  height: 8px;
  width: 40%;
  background: var(--dark);
  border-radius: 4px;
  margin-top: auto;
  opacity: 0;
}

/* ── Floating Geometric Shapes ── */
.hero__shape {
  position: absolute;
  border: 2px solid var(--accent);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transform: translateZ(0);
}

/* 1 — carré stroke, haut droite */
.hero__shape--1 {
  width: 60px;
  height: 60px;
  top: 14%;
  right: 8%;
  border-radius: 4px;
  opacity: 0.12;
  animation: floatShape1 3.5s ease-in-out infinite;
}

/* 2 — rectangle stroke, bas gauche */
.hero__shape--2 {
  width: 35px;
  height: 80px;
  bottom: 22%;
  left: 5%;
  border-radius: 3px;
  opacity: 0.10;
  animation: floatShape2 4s ease-in-out infinite 0.5s;
}

/* 3 — cercle stroke, centre */
.hero__shape--3 {
  width: 45px;
  height: 45px;
  top: 30%;
  left: 48%;
  border-radius: 50%;
  opacity: 0.12;
  animation: floatShape3 3s ease-in-out infinite 1s;
}

/* 4 — losange stroke, bas droite */
.hero__shape--4 {
  width: 25px;
  height: 25px;
  bottom: 18%;
  right: 15%;
  border-radius: 2px;
  opacity: 0.10;
  transform: rotate(45deg);
  animation: floatShape4 3.5s ease-in-out infinite 1.5s;
}

/* 5 — cercle stroke orange 60px, gauche milieu */
.hero__shape--5 {
  width: 60px;
  height: 60px;
  top: 55%;
  left: 12%;
  border-radius: 50%;
  opacity: 0.12;
  animation: floatShape5 3s ease-in-out infinite 0.3s;
}

/* 6 — petit cercle stroke 30px, haut gauche */
.hero__shape--6 {
  width: 30px;
  height: 30px;
  top: 12%;
  left: 22%;
  border-radius: 50%;
  opacity: 0.12;
  animation: floatShape6 2s ease-in-out infinite 1.2s;
}

/* 7 — carré stroke 40px rotation 45deg, droite milieu */
.hero__shape--7 {
  width: 40px;
  height: 40px;
  top: 50%;
  right: 22%;
  border-radius: 3px;
  opacity: 0.08;
  transform: rotate(45deg);
  animation: floatShape7 4s ease-in-out infinite 2s;
}

/* 8 — grand cercle très léger 200px, fond centre */
.hero__shape--8 {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 30%;
  border-radius: 50%;
  border-width: 1.5px;
  opacity: 0.04;
  animation: floatShape8 6s ease-in-out infinite 0.8s;
}

/* Diagonal decorative line */
.hero__line {
  position: absolute;
  top: 15%;
  right: 42%;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.12;
  transform: rotate(-35deg);
  pointer-events: none;
  z-index: 1;
}

/* ── Sub-page hero (shorter) ── */
.hero--sub {
  min-height: 0 !important;
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 20px;
  align-items: flex-start;
}

.hero--sub + section {
  padding-top: 0;
  padding-bottom: 0;
}

.hero--sub + section .section-header {
  margin-bottom: 0;
}

.hero--sub h1 {
  font-size: 56px;
}

.hero--sub .hero__subtitle {
  max-width: 600px;
  font-size: 1.125rem;
}

/* ── Trust Bar ── */
.trust-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--mid-gray);
  border-bottom: 1px solid var(--mid-gray);
  background: var(--white);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--small-size);
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}

.trust-bar__item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.trust-bar__item:hover svg {
  transform: rotate(15deg) scale(1.15);
}

/* ── Cards ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
  border: 1px solid transparent;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(232, 93, 4, 0.15);
  border-color: var(--accent);
}

.card__icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover .card__icon {
  background: var(--accent);
}

.card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
  transition: color var(--transition);
}

.card:hover .card__icon svg {
  color: var(--white);
}

.card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card__text {
  color: var(--text-gray);
  font-size: var(--small-size);
  line-height: 1.7;
}

/* ── Grid layouts ── */
.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ── Pricing Cards ── */
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  border: 2px solid var(--mid-gray);
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
}

.pricing-card.popular {
  border-color: var(--accent);
}

.pricing-card.popular::before {
  content: 'Populaire';
  position: absolute;
  top: 1.25rem;
  right: -2rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 3rem;
  transform: rotate(45deg);
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.pricing-card__desc {
  color: var(--text-gray);
  font-size: var(--small-size);
  margin-bottom: 1.5rem;
  min-height: 3rem;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  text-align: center;
}

.pricing-card__price span {
  font-size: 0.55em;
  font-weight: 700;
  color: var(--text-gray);
  vertical-align: super;
}

.pricing-card__divider {
  width: 100%;
  height: 1px;
  background: var(--mid-gray);
  margin: 1.5rem 0;
}

.pricing-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--small-size);
  color: var(--text-gray);
}

.pricing-card__features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Testimonials ── */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--mid-gray);
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.testimonial:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-glow);
}

.testimonial__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1.25rem;
}

.testimonial__stars svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  fill: var(--accent);
}

.testimonial__text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dark);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--accent);
}

.testimonial__name {
  font-weight: 600;
  font-size: var(--small-size);
  color: var(--dark);
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--text-gray);
}

/* ── Comparison Table ── */
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.comparison__col {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.comparison__col--them {
  background: var(--light-gray);
  border: 1px solid var(--mid-gray);
}

.comparison__col--us {
  background: var(--dark);
  color: var(--white);
  border: 2px solid var(--accent);
}

.comparison__col h3 {
  margin-bottom: 1.5rem;
}

.comparison__col--us h3 {
  color: var(--accent);
}

.comparison__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comparison__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--small-size);
  line-height: 1.6;
}

.comparison__list li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison__col--them .comparison__list li svg {
  color: #C0392B;
}

.comparison__col--us .comparison__list li svg {
  color: var(--accent);
}

.comparison__col--us .comparison__list li {
  color: rgba(255,255,255,0.85);
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--mid-gray);
  padding: 1.5rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--mid-gray);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 1rem;
}

.faq-answer p {
  font-size: var(--small-size);
  line-height: 1.7;
}

/* ── Portfolio / Projects ── */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--mid-gray);
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lift);
  border-color: var(--accent);
}

.project-card__image {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--light-gray);
  overflow: hidden;
  position: relative;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card__image img {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__body {
  padding: 2rem;
}

.project-card__tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-card__desc {
  font-size: var(--small-size);
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.project-card__stats {
  display: flex;
  gap: 1.5rem;
}

.project-card__stat {
  font-size: 0.8125rem;
  color: var(--text-gray);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.project-card__stat strong {
  color: var(--dark);
}

/* ── Steps / Process ── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--mid-gray);
}

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

.step__number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 2;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.step:hover .step__number {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1);
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step__text {
  font-size: var(--small-size);
  color: var(--text-gray);
  max-width: 220px;
  margin: 0 auto;
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--dark);
  padding: 0;
}

.stats-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
  gap: 0;
}

.stats-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
  padding: 0 1.5rem;
}

.stats-bar__number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  white-space: nowrap;
}

.stats-bar__label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  white-space: nowrap;
}

.stats-bar__divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ── Counter / Stats (legacy) ── */
.stat__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: var(--small-size);
  color: var(--text-gray);
  font-weight: 500;
}

/* ── Legal Pages ── */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.125rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p,
.legal-content li {
  font-size: var(--body-size);
  line-height: 1.8;
  color: var(--text-gray);
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--accent-dark);
}

/* ── Footer legal links ── */
.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  color: rgba(255,255,255,0.4);
  font-size: 0.8125rem;
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--accent);
}

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__logo .logo-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
}

.footer__desc {
  font-size: var(--small-size);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.footer__heading {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: var(--small-size);
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}

/* ── Form ── */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: var(--small-size);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--mid-gray);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-input.error,
.form-textarea.error {
  border-color: #E74C3C;
}

.form-error {
  font-size: 0.8125rem;
  color: #E74C3C;
  margin-top: 0.35rem;
  display: none;
}

.form-input.error + .form-error,
.form-textarea.error + .form-error {
  display: block;
}

/* ── WhatsApp Button ── */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #25D366;
  color: var(--white);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 60px;
  font-size: 1rem;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.whatsapp-btn:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn svg {
  width: 24px;
  height: 24px;
}

/* ── Filter Buttons ── */
.filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.625rem 1.5rem;
  border-radius: 60px;
  border: 2px solid var(--mid-gray);
  background: var(--white);
  font-family: var(--font-body);
  font-size: var(--small-size);
  font-weight: 600;
  color: var(--text-gray);
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

/* ── Options table ── */
.options-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.options-table th,
.options-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--mid-gray);
}

.options-table th {
  font-family: var(--font-display);
  font-size: var(--small-size);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-gray);
  background: var(--light-gray);
}

.options-table th:first-child {
  border-radius: var(--radius) 0 0 0;
}

.options-table th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.options-table td {
  font-size: var(--small-size);
}

.options-table tr:hover td {
  background: var(--accent-light);
}

.options-table .price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

/* ── Maintenance Card ── */
.maintenance-card {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.maintenance-card__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.maintenance-card__content {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.maintenance-card__info {
  flex: 1;
}

.maintenance-card__title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.maintenance-card__desc {
  color: rgba(255,255,255,0.7);
  font-size: var(--small-size);
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.maintenance-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.maintenance-card__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--small-size);
  color: rgba(255,255,255,0.8);
}

.maintenance-card__features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.maintenance-card__pricing {
  text-align: center;
  min-width: 200px;
}

.maintenance-card__price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}

.maintenance-card__price span {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

.maintenance-card__period {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .maintenance-card__content {
    flex-direction: column;
    gap: 2rem;
  }

  .maintenance-card__pricing {
    width: 100%;
  }

  .maintenance-card__price {
    font-size: 40px;
  }
}

/* ── Included Features List ── */
.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.included-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--mid-gray);
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.included-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.included-item svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.included-item__text h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.included-item__text p {
  font-size: 0.8125rem;
  color: var(--text-gray);
  margin: 0;
}

/* ── Project Detail ── */
.project-detail {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--mid-gray);
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.project-detail:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.project-detail__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.project-detail__result {
  background: var(--accent-light);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--small-size);
  padding: 0.5rem 1.25rem;
  border-radius: 60px;
  white-space: nowrap;
}

.project-detail__meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.project-detail__meta-item {
  font-size: var(--small-size);
}

.project-detail__meta-item strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-gray);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

/* ── About page ── */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--light-gray);
  position: relative;
}

.about-image__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--light-gray) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image__placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--accent);
  opacity: 0.3;
}

/* ── Values ── */
.value-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.value-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.value-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

/* ── Contact page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: var(--white);
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info__item svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info__item span {
  font-size: var(--small-size);
  color: rgba(255,255,255,0.7);
}

/* ── Loading Screen ── */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1.5rem;
}

.loader__text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  opacity: 0;
}

.loader__text .accent {
  color: var(--accent);
}

.loader__bar {
  width: 120px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
  opacity: 0;
}

.loader__bar-fill {
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
}

/* ── Custom Cursor ── */
.cursor {
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: difference;
  transition: width 0.2s ease, height 0.2s ease;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.cursor.visible {
  opacity: 1;
}

.cursor.hovering {
  width: 40px;
  height: 40px;
  opacity: 0.5;
}

/* ── Breadcrumb ── */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--text-gray);
}

.breadcrumb a {
  color: var(--text-gray);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb span {
  margin: 0 0.5rem;
  color: var(--mid-gray);
}

/* ── Portfolio Projects ── */
.portfolio-project {
  padding: var(--section-pad) 0;
  background: var(--white);
}

.portfolio-project--alt {
  background: var(--off-white);
}

.portfolio-project__grid {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 4rem;
  align-items: center;
}

.portfolio-project__grid--reverse {
  grid-template-columns: 1fr 55%;
}

.portfolio-project__grid--reverse .macbook {
  order: 2;
}

.portfolio-project__grid--reverse .portfolio-project__info {
  order: 1;
}

.portfolio-project__info h2 {
  margin-bottom: 0.75rem;
}

.portfolio-project__desc {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.portfolio-project__badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.portfolio-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 60px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(232, 93, 4, 0.15);
}

/* ── MacBook Mockup ── */
.macbook {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.macbook:hover {
  transform: translateY(-6px);
}

.macbook__screen {
  background: #1d1d1f;
  border-radius: 12px 12px 0 0;
  padding: 8px 8px 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  transition: box-shadow 0.4s ease;
}

.macbook:hover .macbook__screen {
  box-shadow: 0 25px 70px rgba(232, 93, 4, 0.15), 0 20px 60px rgba(0,0,0,0.2);
}

.macbook__bezel {
  display: flex;
  justify-content: center;
  padding: 6px 0 4px;
}

.macbook__camera {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3a3a3c;
}

.macbook__display {
  background: #000;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

.macbook__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #2c2c2e;
}

.macbook__dots {
  display: flex;
  gap: 5px;
}

.macbook__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.macbook__dots span:nth-child(1) { background: #FF5F57; }
.macbook__dots span:nth-child(2) { background: #FFBD2E; }
.macbook__dots span:nth-child(3) { background: #28CA41; }

.macbook__url {
  flex: 1;
  background: #1c1c1e;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.625rem;
  color: #8e8e93;
  font-family: var(--font-body);
}

.macbook__content {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: #000;
  overflow: hidden;
}

.macbook__content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.macbook__content iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.macbook__base {
  background: linear-gradient(180deg, #2c2c2e 0%, #1d1d1f 100%);
  height: 14px;
  border-radius: 0 0 8px 8px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.macbook__notch {
  width: 80px;
  height: 4px;
  background: #3a3a3c;
  border-radius: 0 0 4px 4px;
}

/* ── MacBook Mini (for grid cards) ── */
.macbook--mini {
  max-width: 100%;
}

.macbook--mini .macbook__screen {
  border-radius: 8px 8px 0 0;
}

.macbook--mini .macbook__display {
  aspect-ratio: 16 / 10;
}

.macbook--mini .macbook__content {
  height: 100%;
}

.macbook--mini .macbook__base {
  height: 10px;
  border-radius: 0 0 6px 6px;
}

.macbook--mini .macbook__notch {
  width: 50px;
  height: 3px;
}

.macbook--mini .macbook__bezel {
  padding: 4px 0;
}

.macbook--mini .macbook__camera {
  width: 4px;
  height: 4px;
}

.macbook--mini .macbook__bar {
  padding: 3px 6px;
}

.macbook--mini .macbook__dots span {
  width: 4px;
  height: 4px;
}

.macbook--mini .macbook__url {
  font-size: 7px;
  padding: 1px 8px;
}

.project-card .macbook--mini {
  margin: 1.25rem 1.25rem 0;
}

.project-card .portfolio-project__badges {
  margin-top: 0.75rem;
}

/* ── Avant Section (slideshow) ── */
.portfolio-avant {
  margin-top: 0.5rem;
}

.portfolio-avant__browser {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--mid-gray);
  box-shadow: var(--shadow-sm);
  max-width: 320px;
  position: relative;
}

.portfolio-avant__label {
  position: absolute;
  top: 24px;
  left: 8px;
  font-family: var(--font-display);
  font-size: 0.5625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  background: #C0392B;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  z-index: 3;
}

.portfolio-avant__bar {
  display: flex;
  gap: 4px;
  padding: 5px 8px;
  background: var(--light-gray);
  border-bottom: 1px solid var(--mid-gray);
}

.portfolio-avant__bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.portfolio-avant__bar span:nth-child(1) { background: #FF5F57; }
.portfolio-avant__bar span:nth-child(2) { background: #FFBD2E; }
.portfolio-avant__bar span:nth-child(3) { background: #28CA41; }

/* ── Avant Slideshow ── */
.portfolio-avant__slides {
  position: relative;
  width: 100%;
  height: 180px;
  background: #f5f4f0;
  overflow: hidden;
}

.avant-slide {
  position: absolute;
  inset: 0;
  transform: translateX(100%);
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}

.avant-slide.active {
  transform: translateX(0);
  opacity: 1;
}

.avant-slide.exit-left {
  transform: translateX(-100%);
  opacity: 0;
}

.avant-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.portfolio-avant__dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 6px 0;
  background: var(--light-gray);
  border-top: 1px solid var(--mid-gray);
}

.portfolio-avant__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mid-gray);
  transition: background 0.3s ease;
}

.portfolio-avant__dots span.active {
  background: var(--accent);
}

/* ── Loom Lightbox ── */
.loom-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.loom-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.loom-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.loom-lightbox__close:hover {
  opacity: 1;
}

.loom-lightbox__content {
  width: 90vw;
  max-width: 1100px;
  aspect-ratio: 16/9;
}

.loom-lightbox__content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  background: var(--dark);
  color: var(--white);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -25%;
  width: 150%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, var(--accent-glow) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section h2 {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.cta-section p {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-section .btn-group {
  position: relative;
  z-index: 2;
  justify-content: center;
}

/* ── Marquee Band ── */
.marquee-band {
  background: var(--accent);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-band__inner {
  display: inline-flex;
  animation: marquee 25s linear infinite;
}

.marquee-band__text {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  padding-right: 3rem;
}

/* ── Dot-grid pattern on gray sections ── */
.section--gray {
  background-color: var(--light-gray);
  background-image: radial-gradient(circle, #e85d04 1px, transparent 1px);
  background-size: 28px 28px;
}

.section--gray::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--light-gray);
  opacity: 0.94;
  pointer-events: none;
}

.section--gray > * {
  position: relative;
  z-index: 1;
}

/* ── Mark / Highlight ── */
mark,
.highlight {
  background: var(--accent);
  color: var(--white);
  padding: 2px 10px;
  border-radius: 4px;
  font-style: normal;
  text-decoration: none;
}

/* ── Giant Background Numbers (pricing) ── */
.pricing-card {
  position: relative;
  overflow: hidden;
}

.pricing-card__bg-number {
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: var(--font-display);
  font-size: 180px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.pricing-card > *:not(.pricing-card__bg-number) {
  position: relative;
  z-index: 1;
}

/* ── Chatbot ── */
.chatbot-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  z-index: 997;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 30px rgba(232, 93, 4, 0.35);
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(232, 93, 4, 0.45);
}

.chatbot-window {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 380px;
  max-height: 500px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
  z-index: 998;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.chatbot-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chatbot-header {
  background: var(--accent);
  color: var(--white);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chatbot-header__title::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
}

.chatbot-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.chatbot-close:hover {
  opacity: 1;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 320px;
}

.chatbot-msg {
  max-width: 85%;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.5;
  animation: chatMsgIn 0.3s ease;
}

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

.chatbot-msg--bot {
  background: var(--light-gray);
  color: var(--dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chatbot-msg--user {
  background: var(--accent);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-msg a.chatbot-link {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 60px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.chatbot-msg a.chatbot-link:hover {
  background: var(--accent-dark);
}

.chatbot-msg--bot a.chatbot-link {
  background: var(--accent);
  color: var(--white);
}

.chatbot-input {
  display: flex;
  border-top: 1px solid var(--mid-gray);
}

.chatbot-input input {
  flex: 1;
  border: none;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  background: transparent;
}

.chatbot-input button {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 0 1.25rem;
  cursor: pointer;
  font-size: 1.125rem;
  transition: background var(--transition);
}

.chatbot-input button:hover {
  background: var(--accent-dark);
}

@media (max-width: 480px) {
  .chatbot-window {
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    bottom: 5.5rem;
  }

  .chatbot-toggle {
    bottom: 1rem;
    right: 1rem;
    width: 52px;
    height: 52px;
  }
}

/* ── Estimator / Simulator ── */
.estimator {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--mid-gray);
  overflow: hidden;
}

.estimator__step {
  padding: 2.5rem;
  border-bottom: 1px solid var(--mid-gray);
}

.estimator__step:last-of-type {
  border-bottom: none;
}

.estimator__step-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.estimator__step-num {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  flex-shrink: 0;
}

.estimator__pages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.estimator__page-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1.25rem 1rem;
  border: 2px solid var(--mid-gray);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
  font-family: var(--font-body);
}

.estimator__page-btn:hover {
  border-color: var(--accent);
}

.estimator__page-btn.active {
  border-color: var(--accent);
  background: var(--accent-light);
}

.estimator__page-count {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.estimator__page-btn.active .estimator__page-count {
  color: var(--accent);
}

.estimator__page-label {
  font-size: 0.8125rem;
  color: var(--text-gray);
  font-weight: 500;
}

.estimator__page-price {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.25rem;
}

.estimator__options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.estimator__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--mid-gray);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.estimator__option:hover {
  border-color: var(--accent);
}

.estimator__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.estimator__option input:checked ~ .estimator__option-check {
  background: var(--accent);
  border-color: var(--accent);
}

.estimator__option input:checked ~ .estimator__option-check::after {
  opacity: 1;
}

.estimator__option input:checked ~ .estimator__option-name {
  color: var(--dark);
  font-weight: 600;
}

.estimator__option-check {
  width: 22px;
  height: 22px;
  border: 2px solid var(--mid-gray);
  border-radius: 6px;
  flex-shrink: 0;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
}

.estimator__option-check--radio {
  border-radius: 50%;
}

.estimator__option-check--radio::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
}

.estimator__option-check::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0;
  transition: opacity var(--transition);
}

.estimator__option-name {
  font-size: var(--small-size);
  color: var(--text-gray);
  flex: 1;
  transition: transform var(--transition), opacity var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.estimator__option-price {
  font-family: var(--font-display);
  font-size: var(--small-size);
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.estimator__result {
  padding: 2.5rem;
  background: var(--dark);
  text-align: center;
}

.estimator__total-label {
  font-size: var(--small-size);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.estimator__total {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
}

.estimator__total span {
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  display: inline-block;
}

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

  .estimator__options {
    grid-template-columns: 1fr;
  }

  .estimator__total {
    font-size: 44px;
  }

  .estimator__step {
    padding: 2rem 1.5rem;
  }

  .estimator__result {
    padding: 2rem 1.5rem;
  }
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 1024px) {
  :root {
    --hero-size: 44px;
  }

  .portfolio-project__grid,
  .portfolio-project__grid--reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .portfolio-project__grid--reverse .macbook {
    order: 0;
  }

  .portfolio-project__grid--reverse .portfolio-project__info {
    order: 0;
  }

  .macbook {
    max-width: 450px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__content {
    text-align: center;
  }

  .hero h1 {
    text-align: center;
  }

  .hero__subtitle {
    margin: 0 auto 2.5rem;
  }

  .hero .btn-group {
    justify-content: center;
  }

  .hero__counters {
    justify-content: center;
  }

  .hero__visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero__browser {
    transform: none;
  }

  .hero__browser:hover {
    transform: none;
  }

  .hero__shape,
  .hero__line {
    display: none;
  }

  .hero--sub h1 {
    font-size: 40px;
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps::before {
    display: none;
  }

  .stats-bar__number {
    font-size: 36px;
  }

  .comparison {
    grid-template-columns: 1fr;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
    --hero-size: 32px;
  }

  .hero--sub h1 {
    font-size: 28px;
  }

  .navbar__links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 3rem);
    padding-bottom: 3rem;
  }

  .hero__visual {
    display: none;
  }

  .hero__counters {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats-bar__inner {
    flex-wrap: wrap;
    height: auto;
    padding: 2rem 0;
    gap: 1.5rem;
  }

  .stats-bar__item {
    flex: 0 0 calc(50% - 1rem);
    padding: 1rem 0;
  }

  .stats-bar__divider {
    display: none;
  }

  .stats-bar__number {
    font-size: 32px;
  }

  .footer__legal {
    justify-content: center;
  }

  .trust-bar__inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .project-detail__header {
    flex-direction: column;
  }

  .included-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card__price {
    font-size: 36px;
  }

  .cursor {
    display: none !important;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    text-align: center;
  }

  .options-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .card {
    padding: 2rem 1.5rem;
  }
}
