/* ==========================================================================
   GroupIT (groupit.tech) — We Build Digital Solutions.
   Philosophy: Warmth · Breathing · Story · Craft · Excellence
   Web, Mobile, SaaS & Custom Software
   ========================================================================== */

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

:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  --teal: #0D9488;
  --teal-deep: #0F766E;
  --teal-light: #CCFBF1;
  --teal-mist: #F0FDFA;
  --teal-glow: rgba(13, 148, 136, 0.12);

  --cream: #FDFAF6;
  --cream-warm: #FAF5EF;
  --sand: #F0EBE3;
  --sand-dark: #E0D8CC;

  --ink: #1A1A2E;
  --ink-soft: #2D2D44;
  --ink-muted: #64748B;
  --ink-light: #94A3B8;

  --white: #FFFFFF;
  --dark: #0F1419;
  --dark-warm: #1A1F25;
  --dark-card: #242B33;

  --coral: #F97066;
  --amber: #F59E0B;
  --emerald: #10B981;
  --violet: #8B5CF6;

  --shadow-soft: 0 2px 8px rgba(26, 26, 46, 0.04);
  --shadow-card: 0 4px 24px rgba(26, 26, 46, 0.06);
  --shadow-hover: 0 16px 48px rgba(13, 148, 136, 0.12), 0 4px 12px rgba(26, 26, 46, 0.06);
  --shadow-glow: 0 0 80px rgba(13, 148, 136, 0.1);
  --shadow-xl: 0 24px 64px rgba(26, 26, 46, 0.1);

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & FOUNDATION
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--teal-light); color: var(--teal-deep); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--sand-dark); border-radius: 10px; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.12;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

/* ==========================================================================
   TOP BAR — Whisper, not shout
   ========================================================================== */
.top-bar {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  padding: 10px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-badge { display: inline-flex; align-items: center; gap: 10px; color: var(--emerald); font-weight: 600; font-size: 0.78rem; }
.status-dot { width: 7px; height: 7px; background: var(--emerald); border-radius: 50%; box-shadow: 0 0 8px var(--emerald); animation: breathe 3s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.6); } }
.top-bar-links { display: flex; align-items: center; gap: 24px; }
.top-bar-link { color: rgba(255,255,255,0.45); display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 0.8rem; }
.top-bar-link:hover { color: #fff; }

/* ==========================================================================
   NAVIGATION — Floating, airy, minimal
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 250, 246, 0.8);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border-bottom: 1px solid rgba(0,0,0,0.03);
  transition: var(--transition);
}
.site-header.scrolled { background: rgba(253, 250, 246, 0.96); box-shadow: 0 1px 16px rgba(0,0,0,0.04); }

.navbar { display: flex; justify-content: space-between; align-items: center; height: 72px; }

.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.logo-symbol-wrap {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s var(--ease);
}
.brand-logo-img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(13, 148, 136, 0.35));
}
.nav-brand:hover .logo-symbol-wrap { transform: rotate(-6deg) scale(1.1); }
.brand-name { font-family: var(--font-body); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.brand-accent {
  background: linear-gradient(135deg, var(--teal) 0%, #10B981 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}
.brand-sub { font-size: 0.68rem; font-weight: 600; color: var(--ink-light); letter-spacing: 0.01em; display: block; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-link { font-size: 0.9rem; font-weight: 600; color: var(--ink-muted); position: relative; padding: 6px 0; }
.nav-link:hover { color: var(--ink); }
.nav-link::after { content: ''; position: absolute; bottom: -2px; left: 50%; width: 0; height: 2px; background: var(--teal); border-radius: 2px; transition: all 0.3s var(--ease); transform: translateX(-50%); }
.nav-link:hover::after { width: 100%; }

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

/* ==========================================================================
   BUTTONS — Soft, inviting, organic
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; font-size: 0.9rem; font-weight: 600;
  border-radius: var(--radius-full); transition: var(--transition);
  white-space: nowrap; letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--teal); color: #fff;
  box-shadow: 0 4px 20px rgba(13, 148, 136, 0.3);
}
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(13, 148, 136, 0.35); }
.btn-secondary { background: var(--white); color: var(--ink); border: 1.5px solid var(--sand-dark); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.btn-outline { border: 1.5px solid var(--teal); color: var(--teal-deep); background: transparent; }
.btn-outline:hover { background: var(--teal); color: #fff; transform: translateY(-2px); }
.btn-ghost { color: var(--teal-deep); font-weight: 700; padding: 10px 0; }
.btn-ghost:hover { color: var(--teal); }
.btn-ghost i { transition: transform 0.3s var(--ease); }
.btn-ghost:hover i { transform: translateX(4px); }
.btn-lg { padding: 16px 38px; font-size: 0.95rem; }
.btn-sm { padding: 10px 22px; font-size: 0.84rem; }

.mobile-menu-btn { display: none; font-size: 1.4rem; color: var(--ink); width: 44px; height: 44px; align-items: center; justify-content: center; }

/* ==========================================================================
   HERO — Emotional, aspirational, breathing
   ========================================================================== */
.hero-section {
  position: relative;
  padding: clamp(70px, 10vw, 120px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  background: 
    linear-gradient(180deg, rgba(253, 250, 246, 0.88) 0%, rgba(253, 250, 246, 0.74) 40%, rgba(253, 250, 246, 0.95) 100%),
    url('/img/hero-developer.jpg') center top / cover no-repeat;
}

/* Organic floating shapes with fluid motion */
.hero-shape-1 {
  position: absolute; top: -10%; right: -5%;
  width: clamp(300px, 50vw, 700px); height: clamp(300px, 50vw, 700px);
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 65%);
  border-radius: 50%; filter: blur(60px); pointer-events: none;
  animation: floatOrb1 16s ease-in-out infinite alternate;
}
.hero-shape-2 {
  position: absolute; bottom: -15%; left: -8%;
  width: clamp(200px, 40vw, 500px); height: clamp(200px, 40vw, 500px);
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 65%);
  border-radius: 50%; filter: blur(60px); pointer-events: none;
  animation: floatOrb2 20s ease-in-out infinite alternate;
}
.hero-shape-3 {
  position: absolute; top: 30%; left: 50%;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.07) 0%, transparent 65%);
  border-radius: 50%; filter: blur(40px); pointer-events: none;
  animation: floatOrb3 14s ease-in-out infinite alternate;
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-45px, 35px) scale(1.08); }
  100% { transform: translate(30px, -40px) scale(0.94); }
}
@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.1); }
  100% { transform: translate(-25px, 25px) scale(0.92); }
}
@keyframes floatOrb3 {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-35%, -65%) scale(1.25); opacity: 0.85; }
  100% { transform: translate(-60%, -40%) scale(0.9); opacity: 0.4; }
}

.hero-inner {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--sand);
  padding: 8px 20px; border-radius: var(--radius-full);
  font-size: 0.84rem; font-weight: 600; color: var(--teal-deep);
  margin-bottom: 32px;
  box-shadow: var(--shadow-soft);
  animation: fadeInUp 0.8s var(--ease) both;
}
.hero-eyebrow-dot {
  width: 8px; height: 8px; background: var(--teal); border-radius: 50%;
  animation: breathe 2.5s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 28px;
  animation: fadeInUp 0.8s var(--ease) 0.1s both;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--teal) 0%, #10B981 50%, var(--teal-deep) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerGradient 5s ease-in-out infinite;
}
@keyframes shimmerGradient {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink-muted); line-height: 1.75;
  max-width: 600px; margin: 0 auto 44px;
  animation: fadeInUp 0.8s var(--ease) 0.2s both;
}

.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 56px;
  animation: fadeInUp 0.8s var(--ease) 0.3s both;
}

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

/* Trust strip under hero */
.hero-trust {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 40px); flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid var(--sand);
  animation: fadeInUp 0.8s var(--ease) 0.4s both;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; font-weight: 600; color: var(--ink-muted);
}
.trust-item i { color: var(--teal); font-size: 1.1rem; }

/* Hero Developer Visual Showcase */
.hero-visual-wrap {
  margin-top: 48px;
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s var(--ease) 0.35s both;
}
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 60px -15px rgba(15, 20, 25, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.06);
  background: var(--white);
  border: 4px solid var(--white);
}
.hero-visual-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 480px;
  transition: transform 0.6s var(--ease);
}
.hero-visual-card:hover img {
  transform: scale(1.02);
}
.hero-badge-floating {
  position: absolute;
  bottom: 22px;
  left: 22px;
  background: rgba(15, 20, 25, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(0,0,0,0.3);
  animation: floatBadge 3.8s ease-in-out infinite;
}
.hero-badge-floating i {
  color: var(--teal-light);
}
.hero-badge-floating-top {
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(253, 250, 246, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  border: 1px solid var(--sand);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  animation: floatBadgeRev 4.4s ease-in-out infinite;
}
.hero-badge-floating-top i {
  color: var(--emerald);
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatBadgeRev {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ==========================================================================
   IMPACT NUMBERS — Clean, human-readable
   ========================================================================== */
.impact-strip {
  background: var(--white);
  border-top: 1px solid var(--sand); border-bottom: 1px solid var(--sand);
  padding: 52px 0;
}
.impact-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.impact-item { text-align: center; }
.impact-number {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 6px;
  transition: color 0.3s ease;
}
.impact-label { font-size: 0.84rem; font-weight: 600; color: var(--ink-muted); }

/* ==========================================================================
   TECH BANNER — Flowing Infinite Marquee
   ========================================================================== */
.tech-banner { 
  padding: 36px 0; 
  background: var(--cream-warm); 
  text-align: center; 
  overflow: hidden; 
  position: relative; 
}
.tech-banner-label { 
  font-size: 0.72rem; 
  font-weight: 700; 
  color: var(--ink-light); 
  text-transform: uppercase; 
  letter-spacing: 0.16em; 
  margin-bottom: 22px; 
}
.tech-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  display: flex;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.tech-marquee-track {
  display: flex;
  gap: 14px;
  animation: marqueeScroll 26s linear infinite;
  flex-shrink: 0;
  will-change: transform;
}
.tech-marquee-wrapper:hover .tech-marquee-track {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tech-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--radius-full); font-size: 0.86rem; font-weight: 600; color: var(--ink);
  transition: var(--transition); white-space: nowrap; flex-shrink: 0;
}
.tech-pill:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-3px); box-shadow: var(--shadow-card); }
.tech-pill i { color: var(--teal); font-size: 1rem; }

/* Interactive Cursor Glow */
.cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, rgba(16, 185, 129, 0.03) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: left, top;
}

/* Interactive 3D Card Tilt */
.tilt-card {
  transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.4, 1), box-shadow 0.3s ease;
  will-change: transform;
  transform-style: preserve-3d;
}

/* ==========================================================================
   SECTION SYSTEM — Editorial, breathing
   ========================================================================== */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }

.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--teal-deep); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px;
}
.section-label::before {
  content: ''; width: 20px; height: 2px;
  background: var(--teal); border-radius: 2px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 18px; line-height: 1.1;
}

.section-desc {
  font-size: clamp(1rem, 1.5vw, 1.12rem); color: var(--ink-muted);
  max-width: 600px; margin-bottom: 56px; line-height: 1.75;
}

.text-center { text-align: center; }
.text-center .section-label::before { display: none; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   SERVICES — Warm cards, organic hover, storytelling
   ========================================================================== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}

.service-card {
  background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--radius-lg); padding: 40px 30px;
  transition: var(--transition); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.service-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--emerald));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }

.service-emoji { font-size: 2.4rem; margin-bottom: 20px; display: block; }

.service-name {
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700;
  margin-bottom: 12px; color: var(--ink);
}
.service-text {
  font-size: 0.9rem; color: var(--ink-muted); line-height: 1.7;
  margin-bottom: 20px; flex-grow: 1;
}
.service-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px;
  padding-top: 18px; border-top: 1px solid var(--sand);
}
.service-tag {
  font-size: 0.76rem; font-weight: 600; color: var(--teal-deep);
  background: var(--teal-mist); padding: 4px 12px; border-radius: var(--radius-full);
}
.service-cta { font-size: 0.88rem; font-weight: 700; color: var(--teal-deep); display: inline-flex; align-items: center; gap: 8px; }
.service-cta:hover { color: var(--teal); gap: 14px; }

/* ==========================================================================
   PORTFOLIO — Editorial showcase, no browser chrome
   ========================================================================== */
.portfolio-section { 
  background: 
    linear-gradient(rgba(247, 243, 237, 0.93), rgba(247, 243, 237, 0.93)),
    url('/img/texture-bg.jpg') center / 500px repeat; 
  border-top: 1px solid var(--sand); 
}

.portfolio-filters {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap; margin-bottom: 52px;
}
.filter-btn {
  padding: 11px 24px; border-radius: var(--radius-full);
  font-size: 0.86rem; font-weight: 600; color: var(--ink-muted);
  background: var(--white); border: 1px solid var(--sand);
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--teal); color: #fff; border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.25);
}

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

.project-card {
  background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }

/* Visual — Rich gradient with floating icon, no fake UI */
.project-visual {
  height: 220px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.project-visual-icon {
  font-size: 3.5rem; color: rgba(255,255,255,0.9);
  z-index: 2; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
  transition: var(--transition);
}
.project-card:hover .project-visual-icon { transform: scale(1.1) rotate(-5deg); }
.project-visual-label {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: 5px 14px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 700; color: #fff;
  letter-spacing: 0.06em; text-transform: uppercase;
  z-index: 2;
}
.project-visual-live {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16, 185, 129, 0.9); padding: 5px 14px;
  border-radius: var(--radius-full); font-size: 0.72rem; font-weight: 700; color: #fff;
  z-index: 2; text-decoration: none;
}

.project-body { padding: 28px; display: flex; flex-direction: column; flex-grow: 1; }
.project-client { font-size: 0.74rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; }
.project-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.25; }
.project-desc { font-size: 0.9rem; color: var(--ink-muted); line-height: 1.7; margin-bottom: 20px; }

.project-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  background: var(--teal-mist); border: 1px solid rgba(13,148,136,0.08);
  padding: 14px 16px; border-radius: var(--radius-sm); margin-bottom: 20px;
}
.project-stat-value { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; color: var(--teal-deep); display: block; }
.project-stat-label { font-size: 0.72rem; font-weight: 500; color: var(--ink-muted); }

.project-bottom {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--sand);
}
.project-stack { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; color: var(--ink-light); }

/* ==========================================================================
   METHOD — Storytelling timeline
   ========================================================================== */
.method-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.method-card {
  background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--radius-lg); padding: 36px 26px;
  transition: var(--transition); text-align: center; position: relative;
}
.method-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: transparent; }

.method-number {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  color: var(--sand); line-height: 1; margin-bottom: 16px; transition: var(--transition);
}
.method-card:hover .method-number { color: var(--teal-light); }

.method-emoji { font-size: 2rem; margin-bottom: 14px; display: block; }
.method-name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; margin-bottom: 10px; }
.method-text { font-size: 0.84rem; color: var(--ink-muted); line-height: 1.65; }

/* ==========================================================================
   FAQ — Clean, editorial
   ========================================================================== */
.faq-list { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--white); border: 1px solid var(--sand);
  border-radius: var(--radius-md); overflow: hidden; transition: var(--transition);
}
.faq-item:hover { border-color: rgba(13,148,136,0.15); }
.faq-item.active { border-color: var(--teal); box-shadow: 0 2px 16px rgba(13,148,136,0.06); }
.faq-question {
  width: 100%; padding: 20px 26px; display: flex; justify-content: space-between; align-items: center;
  font-size: 1.02rem; font-weight: 700; color: var(--ink); text-align: left;
}
.faq-icon { font-size: 0.9rem; color: var(--teal); transition: transform 0.35s var(--ease); flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 26px 20px; font-size: 0.92rem; color: var(--ink-muted); line-height: 1.75; display: none; }
.faq-item.active .faq-answer { display: block; }

/* ==========================================================================
   TESTIMONIALS — Ce que nos clients disent de notre travail
   ========================================================================== */
.testimonials-section {
  background: var(--cream-warm);
  border-top: 1px solid var(--sand);
  border-bottom: 1px solid var(--sand);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(13, 148, 136, 0.2);
}
.testimonial-stars {
  color: var(--amber);
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 24px;
  flex: 1;
}
.testimonial-client {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--sand);
}
.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-mist);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  border: 2px solid rgba(13, 148, 136, 0.2);
}
.client-info h4 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.client-info p {
  font-size: 0.8rem;
  color: var(--ink-light);
}
.client-project-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal);
}

/* ==========================================================================
   ESTIMATOR — Estimez le coût et le délai de votre projet
   ========================================================================== */
.estimator-section {
  position: relative;
  overflow: hidden;
}
.estimator-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 44px;
}
.estimator-builder {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}
.calc-step {
  margin-bottom: 32px;
}
.calc-step:last-child {
  margin-bottom: 0;
}
.calc-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.calc-step-title i {
  color: var(--teal);
}
.type-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}
.type-option-card {
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
}
.type-option-card:hover {
  border-color: var(--teal-light);
  transform: translateY(-2px);
}
.type-option-card.active {
  border-color: var(--teal);
  background: var(--teal-mist);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.15);
}
.type-option-card i {
  font-size: 1.4rem;
  color: var(--teal);
  margin-bottom: 8px;
  display: block;
}
.type-option-card .type-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  display: block;
}
.type-option-card .type-sub {
  font-size: 0.72rem;
  color: var(--ink-light);
  margin-top: 3px;
  display: block;
}

.feature-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.feature-check-label {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}
.feature-check-label:hover {
  border-color: var(--teal-light);
}
.feature-check-label input {
  accent-color: var(--teal);
  width: 17px;
  height: 17px;
  cursor: pointer;
}
.feature-check-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}

.speed-options {
  display: flex;
  gap: 12px;
}
.speed-card {
  flex: 1;
  border: 1.5px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.speed-card.active {
  border-color: var(--teal);
  background: var(--teal-mist);
}
.speed-card strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
}
.speed-card span {
  font-size: 0.76rem;
  color: var(--ink-light);
}

.estimator-summary {
  position: sticky;
  top: 100px;
  background: linear-gradient(145deg, #1A222C, #0F1419);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.estimator-summary-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.summary-metric-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.summary-metric-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}
.summary-metric-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal-light);
}
.summary-features-list {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}
.summary-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.summary-features-list li i {
  color: var(--emerald);
  font-size: 0.85rem;
}

/* ==========================================================================
   CTA — Warm invitation
   ========================================================================== */
.cta-section {
  background: var(--dark); color: #fff;
  padding: clamp(64px, 10vw, 110px) 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(13,148,136,0.1) 0%, transparent 60%);
  border-radius: 50%; pointer-events: none;
}
.cta-inner {
  background: 
    linear-gradient(135deg, rgba(26, 34, 44, 0.9) 0%, rgba(15, 20, 25, 0.94) 100%),
    url('/img/cta-bg.jpg') center / cover no-repeat;
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-xl);
  padding: clamp(48px, 8vw, 88px) clamp(24px, 5vw, 56px);
  text-align: center; position: relative; z-index: 1;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.cta-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800; color: #fff; margin-bottom: 18px; line-height: 1.1;
}
.cta-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.12rem); color: rgba(255,255,255,0.5);
  max-width: 520px; margin: 0 auto 40px; line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #0D1117; color: rgba(255,255,255,0.45);
  padding: 72px 0 32px; font-size: 0.88rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,0.35); line-height: 1.7; margin-top: 4px; }
.footer-col-title { color: #fff; font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-links a { color: rgba(255,255,255,0.4); font-weight: 500; }
.footer-links a:hover { color: var(--teal-light); transform: translateX(4px); display: inline-block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.8rem; color: rgba(255,255,255,0.25); }

/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-backdrop { position: fixed; inset: 0; background: rgba(15,20,25,0.55); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.active { display: flex; }
.modal-dialog { background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius-lg); max-width: 620px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-xl); position: relative; padding: 40px; animation: modalUp 0.35s var(--ease); }
@keyframes modalUp { from { opacity: 0; transform: translateY(20px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-close { position: absolute; top: 18px; right: 18px; font-size: 1.4rem; color: var(--ink-light); cursor: pointer; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: var(--transition); }
.modal-close:hover { background: var(--sand); color: var(--ink); }

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-input, .form-textarea, .form-select { width: 100%; padding: 14px 18px; border: 1.5px solid var(--sand-dark); border-radius: var(--radius-sm); font-family: inherit; font-size: 0.9rem; color: var(--ink); background: var(--white); transition: var(--transition); }
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-glow); }

/* Form Validation & Error State */
.form-input.input-error, .form-textarea.input-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
  animation: shakeInput 0.4s ease;
}
.field-error-msg {
  color: #EF4444;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
}
@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Button Sending Animation */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.88;
}
.plane-takeoff {
  display: inline-block;
  animation: flyTakeoff 0.8s ease-in-out infinite alternate;
}
@keyframes flyTakeoff {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(4px, -4px) rotate(14deg); }
}

/* Modal Verification & Success Screen */
.modal-success-screen {
  text-align: center;
  padding: 10px 0 6px;
  animation: modalUp 0.4s var(--ease);
}
.success-icon-wrap {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.success-svg {
  width: 58px;
  height: 58px;
  stroke: #10B981;
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.success-svg .circle {
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: drawCircle 0.85s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.success-svg .check {
  stroke-dasharray: 45;
  stroke-dashoffset: 45;
  animation: drawCheck 0.5s 0.65s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
@keyframes drawCircle { 100% { stroke-dashoffset: 0; } }
@keyframes drawCheck { 100% { stroke-dashoffset: 0; } }

.success-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
}
.success-subtitle {
  font-size: 0.94rem;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 22px;
}
.success-summary-card {
  background: var(--cream-warm);
  border: 1px solid var(--sand);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  text-align: left;
  font-size: 0.88rem;
  margin-bottom: 24px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.summary-line:last-child {
  border-bottom: none;
}
.summary-line .lbl {
  color: var(--ink-light);
  font-size: 0.8rem;
  font-weight: 600;
}
.summary-line .val {
  color: var(--ink);
  font-weight: 700;
}
.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   FLOATING WHATSAPP & TOAST
   ========================================================================== */
.floating-whatsapp { position: fixed; bottom: 28px; right: 28px; z-index: 999; background: #25D366; color: #fff; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 6px 20px rgba(37,211,102,0.35); transition: var(--transition); }
.floating-whatsapp:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

.toast-container { position: fixed; top: 24px; right: 24px; z-index: 3000; display: flex; flex-direction: column; gap: 10px; }
.toast { background: var(--dark); color: #fff; padding: 16px 24px; border-radius: var(--radius-sm); box-shadow: var(--shadow-xl); border-left: 3px solid var(--teal); display: flex; align-items: center; gap: 12px; font-size: 0.88rem; font-weight: 500; animation: toastSlide 0.35s var(--ease); }
@keyframes toastSlide { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   MOBILE OVERLAY MENU
   ========================================================================== */
.nav-links.mobile-open {
  display: flex !important; flex-direction: column; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--cream); z-index: 9999;
  padding: 100px 32px 40px; gap: 0; align-items: stretch;
  overflow-y: auto; animation: menuSlide 0.35s var(--ease);
}
@keyframes menuSlide { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
.nav-links.mobile-open li { border-bottom: 1px solid var(--sand); }
.nav-links.mobile-open .nav-link { display: flex; align-items: center; padding: 20px 0; font-size: 1.2rem; font-weight: 700; color: var(--ink); min-height: 56px; }
.nav-links.mobile-open .nav-link::after { display: none; }
.mobile-menu-cta { display: none; }
.nav-links.mobile-open .mobile-menu-cta { display: block; border-bottom: none; padding-top: 16px; }

.mobile-close-btn { display: none; position: fixed; top: 18px; right: 18px; z-index: 10000; width: 44px; height: 44px; border-radius: 50%; background: var(--sand); color: var(--ink); font-size: 1.3rem; align-items: center; justify-content: center; cursor: pointer; border: none; }
.mobile-close-btn.active { display: flex; }

/* ==========================================================================
   RESPONSIVE — Desktop (1281px+)
   ========================================================================== */
@media (min-width: 1281px) { .container { max-width: 1180px; } }

/* ==========================================================================
   RESPONSIVE — Laptop (1024px - 1280px)
   ========================================================================== */
@media (max-width: 1280px) {
  .container { padding: 0 40px; }
  .services-grid { gap: 18px; }
}

/* ==========================================================================
   RESPONSIVE — Tablet Landscape (768px - 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .method-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .estimator-container { grid-template-columns: 1fr; gap: 32px; }
  .estimator-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-inner { padding: 56px 32px; }
}

/* ==========================================================================
   RESPONSIVE — Tablet Portrait (600px - 768px)
   ========================================================================== */
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .top-bar-links { display: none; }
  .top-bar .container { justify-content: center; }
  .navbar { height: 64px; }
  .logo-symbol { width: 36px; height: 36px; font-size: 1.1rem; }
  .brand-name { font-size: 1.15rem; }

  .hero-section { padding: 56px 0 64px; }
  .hero-title { margin-bottom: 22px; }
  .hero-subtitle { margin-bottom: 32px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { flex-direction: column; gap: 14px; align-items: center; padding-top: 28px; }

  .section { padding: 64px 0; }
  .impact-strip { padding: 40px 0; }
  .impact-grid { gap: 20px; }
  .impact-number { font-size: 1.8rem; }

  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .projects-grid { grid-template-columns: 1fr; gap: 18px; }
  .portfolio-filters { gap: 6px; margin-bottom: 36px; }
  .filter-btn { padding: 10px 18px; font-size: 0.82rem; }
  .project-visual { height: 190px; }
  .project-body { padding: 22px; }
  .project-name { font-size: 1.15rem; }
  .project-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }

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

  .faq-question { padding: 18px 22px; font-size: 0.96rem; }
  .faq-answer { padding: 0 22px 18px; }

  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-checkboxes { grid-template-columns: 1fr; }
  .speed-options { flex-direction: column; }
  .type-options { grid-template-columns: repeat(2, 1fr); }
  .estimator-builder { padding: 24px 18px; }

  .cta-inner { padding: 44px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .modal-dialog { padding: 28px 22px; }
  .modal-backdrop { padding: 12px; }

  .floating-whatsapp { width: 50px; height: 50px; font-size: 1.4rem; bottom: 20px; right: 20px; }
  .toast-container { top: 12px; right: 12px; left: 12px; }
}

/* ==========================================================================
   RESPONSIVE — Phone (480px - 600px)
   ========================================================================== */
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .hero-section { padding: 40px 0 52px; }
  .hero-eyebrow { font-size: 0.76rem; padding: 6px 14px; }
  .hero-subtitle { font-size: 0.96rem; }

  .hero-visual-wrap { margin-top: 36px; }
  .hero-visual-card img { max-height: 380px; }

  .impact-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .impact-number { font-size: 1.6rem; }

  .service-card { padding: 26px 20px; border-radius: var(--radius-md); }
  .service-emoji { font-size: 2rem; margin-bottom: 14px; }
  .service-name { font-size: 1.1rem; }
  .service-text { font-size: 0.86rem; }

  .project-visual { height: 170px; }
  .project-visual-icon { font-size: 2.8rem; }
  .project-body { padding: 20px; }
  .project-name { font-size: 1.08rem; }
  .project-desc { font-size: 0.86rem; }
  .project-stats { padding: 12px 14px; }
  .project-stat-value { font-size: 1rem; }

  .method-grid { grid-template-columns: 1fr; gap: 12px; }
  .method-card { padding: 28px 22px; }
  .method-number { font-size: 2.4rem; }

  .faq-question { padding: 16px 18px; font-size: 0.9rem; }
  .faq-answer { padding: 0 18px 16px; font-size: 0.86rem; }

  .tech-pill { font-size: 0.78rem; padding: 8px 14px; }
}

/* ==========================================================================
   RESPONSIVE — Small Phone (320px - 480px)
   ========================================================================== */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero-section { padding: 32px 0 44px; }
  .hero-eyebrow { font-size: 0.7rem; margin-bottom: 22px; }

  .btn { padding: 12px 24px; font-size: 0.86rem; }
  .btn-lg { padding: 14px 28px; font-size: 0.9rem; }
  .btn-sm { padding: 9px 18px; font-size: 0.8rem; }

  .section { padding: 48px 0; }
  .impact-grid { grid-template-columns: 1fr; gap: 14px; }

  .service-card { padding: 22px 18px; }
  .service-emoji { font-size: 1.8rem; }

  .project-card { border-radius: var(--radius-md); }
  .project-visual { height: 150px; }
  .project-visual-icon { font-size: 2.2rem; }
  .project-body { padding: 16px; }
  .project-name { font-size: 1rem; }
  .project-stats { padding: 10px 12px; }
  .project-bottom { padding-top: 12px; }
  .project-stack { font-size: 0.68rem; }

  .method-card { padding: 24px 18px; }
  .method-number { font-size: 2rem; }

  .faq-question { padding: 14px 16px; font-size: 0.86rem; }

  .cta-inner { padding: 36px 16px; border-radius: var(--radius-lg); }

  .footer-bottom { font-size: 0.74rem; }
  .modal-dialog { padding: 22px 16px; border-radius: var(--radius-sm); }
  .floating-whatsapp { width: 46px; height: 46px; font-size: 1.3rem; bottom: 14px; right: 14px; }
}

/* Touch targets */
@media (pointer: coarse) {
  .nav-link, .filter-btn, .service-cta, .btn, .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
  .faq-question { min-height: 52px; }
  .btn-sm { min-height: 40px; }
}

/* Landscape phone */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section { padding: 28px 0 36px; }
  .hero-trust { display: none; }
  .section { padding: 40px 0; }
}

/* Print */
@media print {
  .top-bar, .site-header, .floating-whatsapp, .modal-backdrop, .toast-container { display: none !important; }
  body { background: #fff; color: #000; }
  .cta-section, .site-footer { background: #f5f5f5; color: #333; }
}
