/* ============ DESIGN SYSTEM — GDF Technologies ============ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #FAFAF7;
  --bg-soft: #F2F1EC;
  --bg-card: #FFFFFF;
  --text-dark: #111114;
  --text-main: #2A2A30;
  --text-muted: #6B6E78;
  --accent-brand: #E76A1F;
  --accent-hover: #C2541A;
  --accent-soft: #FDEFE3;
  --border-color: #E8E6DE;
  --card-shadow: 0 2px 8px rgba(17,17,20,0.03), 0 1px 3px rgba(17,17,20,0.02);
  --hover-shadow: 0 28px 56px -16px rgba(17,17,20,0.10), 0 10px 24px -8px rgba(17,17,20,0.04);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; overflow-x: hidden; }
* { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
img { max-width: 100%; display: block; }

body {
  background: var(--bg-main);
  color: var(--text-main);
  /* CRITICAL FIX: width 100vw causes horizontal scrollbar bugs on mobile. Use 100% instead. */
  width: 100%;
  overflow-x: hidden;
  -webkit-user-select: none; -moz-user-select: none; user-select: none;
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; }

header, main { max-width: 1240px; margin: auto; padding: 0 24px; }

/* ============ REDESIGNED HEADER & DRAWER SYSTEM ============ */
.header-wrap { position: relative; }
.site-header { margin-top: 2px; margin-left: 1px; margin-right: 1px; z-index: 9000; position: relative; }

.nav {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 14px 22px; background: rgba(255,255,255,0.78); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px); border-radius: 999px;
  border: 1px solid rgba(232,230,222,0.9);
  box-shadow: 0 6px 24px -8px rgba(17,17,20,0.06);
  position: sticky; top: 20px; z-index: 100; margin-top: 20px;
  box-sizing: border-box; width: 100%;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon-img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.logo-text strong { font-size: 17px; color: var(--text-dark); letter-spacing: -0.4px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; display: block; }
.logo-text small { color: var(--text-muted); font-size: 11px; font-weight: 500; display: block; margin-top: -2px; }

.nav-buttons { display: flex; gap: 10px; align-items: center; }
.cta { background: var(--text-dark); color: white; padding: 12px 22px; border-radius: 999px; font-weight: 500; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; transition: all 0.2s ease; border: 1px solid transparent; cursor: pointer; }
.cta:hover { background: #000; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.cta-accent { background: var(--accent-brand); }
.cta-accent:hover { background: var(--accent-hover); box-shadow: 0 8px 20px rgba(231,106,31,0.30); }
.cta-outline { background: white; color: var(--text-dark); border: 1.5px solid #999795; }
.cta-outline:hover { background: white; border-color: #C9C6BC; transform: translateY(-1px); }

/* Style #14 Hamburger Button (Orange Pill) */
.hamburger-btn {
  background: var(--accent-brand);
  width: 48px; height: 36px;
  border-radius: 999px; 
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: none; cursor: pointer; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(231,106,31,0.25);
  transition: transform 0.2s ease, background 0.2s;
  order: -1;
}
.hamburger-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.ham-line { width: 16px; height: 2px; background: #ffffff; border-radius: 2px; }

/* Desktop Hide Menu Button */
@media (min-width: 961px) {
  .hamburger-btn { display: none; }
}

/* Overlay Background */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(17, 17, 20, 0.5);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.drawer-overlay.active { opacity: 1; pointer-events: auto; }

/* Right-Side Drawer */
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 10001;
  width: 88vw; max-width: 440px;
  background: var(--bg-card);
  border-top-left-radius: 28px; border-bottom-left-radius: 28px;
  box-shadow: -12px 0 32px rgba(17, 17, 20, 0.08);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex; flex-direction: column;
}
.mobile-drawer.active { transform: translateX(0); }
body.menu-open { overflow: hidden; }

/* Drawer Interior */
.drawer-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 28px; border-bottom: 1px solid var(--border-color);
}
.drawer-logo { display: flex; align-items: center; gap: 12px; }
.drawer-logo strong { font-family: 'Space Grotesk', sans-serif; font-size: 17px; color: var(--text-dark); }
.drawer-close-btn {
  width: 42px; height: 42px; border-radius: 12px; background: var(--bg-soft);
  border: 1px solid var(--border-color); display: flex; align-items: center; justify-content: center;
  color: var(--text-dark); font-size: 18px; cursor: pointer; transition: all 0.2s;
}
.drawer-close-btn:hover { background: #EAE8E0; transform: rotate(90deg); }

.drawer-nav { padding: 24px 28px; overflow-y: auto; flex-grow: 1; display: flex; flex-direction: column; }
.drawer-links a {
  display: flex; align-items: center; gap: 14px; width: 100%;
  padding: 14px 18px; border-radius: 14px; margin-bottom: 6px;
  color: var(--text-dark); font-size: 17px; font-weight: 600;
  transition: all 0.2s ease;
}
.drawer-links a i { width: 22px; text-align: center; color: var(--accent-brand); font-size: 17px; }
.drawer-links a:hover { background: rgba(231,106,31,0.06); transform: translateX(4px); }
.drawer-links a.active { background: var(--accent-soft); color: var(--accent-hover); }
.drawer-links a.active i { color: var(--accent-hover); }

.drawer-divider { height: 1px; width: 100%; background: var(--border-color); margin: 18px 0; }

.drawer-legal { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; padding: 0 8px; }
.drawer-legal a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.drawer-legal a:hover { color: var(--text-dark); }
.drawer-legal a.active { color: var(--accent-brand); font-weight: 600; }

.drawer-cta-group { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 10px; }
.drawer-cta { width: 100%; padding: 16px; border-radius: 999px; text-align: center; font-size: 15px; font-weight: 600; }
.drawer-cta i { margin-right: 6px; }

.drawer-footer { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.drawer-footer span { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.drawer-socials { display: flex; gap: 12px; }
.drawer-socials a {
  width: 42px; height: 42px; background: var(--bg-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.2s;
}
.drawer-socials a:hover { background: var(--accent-brand); color: white; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(231,106,31,0.25); }


/* ============ HERO ============ */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 70px; align-items: center;
  padding: 110px 0 90px; position: relative;
}
.hero::before {
  content: ''; position: absolute; top: -60px; left: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(231,106,31,0.10) 0%, transparent 70%);
  z-index: -1; pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; background: var(--accent-soft); color: var(--accent-hover);
  border-radius: 999px; font-size: 12px; font-weight: 600; margin-bottom: 22px;
  border: 1px solid rgba(231,106,31,0.18);
}
.hero-eyebrow .dot { width: 6px; height: 6px; background: var(--accent-brand); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.4); } }

.hero-text h1 { font-size: 60px; line-height: 1.08; color: var(--text-dark); font-weight: 700; letter-spacing: -2.2px; margin-bottom: 26px; }
.hero-text h1 em { font-style: normal; color: var(--accent-brand); position: relative; white-space: nowrap; }
.hero-text h1 em::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: rgba(231,106,31,0.18); z-index: -1; border-radius: 4px;
}
.hero-text p { color: var(--text-muted); margin-bottom: 38px; font-size: 18px; max-width: 92%; font-weight: 400; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { display: flex; gap: 22px; margin-top: 36px; padding-top: 28px; border-top: 1px dashed var(--border-color); }
.hero-trust div h4 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; color: var(--text-dark); font-weight: 700; }
.hero-trust div p { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.hero-image-container {
  position: relative;
  background: linear-gradient(135deg, #FFF6EE 0%, #FDEFE3 100%);
  border-radius: var(--radius-xl); padding: 28px;
  border: 1px solid var(--border-color);
}
.hero-img { width: 100%; border-radius: 18px; border: 1px solid var(--border-color); box-shadow: var(--hover-shadow); pointer-events: none; }
.badge { position: absolute; bottom: -18px; left: -22px; background: white; padding: 16px 22px; border-radius: 16px; box-shadow: var(--hover-shadow); border: 1px solid var(--border-color); display: flex; align-items: center; gap: 14px; font-weight: 600; animation: float 6s ease-in-out infinite; }
.badge i { font-size: 22px; color: var(--accent-brand); }
.badge-float { position: absolute; top: 24px; right: -18px; background: var(--text-dark); color: white; padding: 12px 18px; border-radius: 12px; font-size: 13px; font-weight: 600; box-shadow: var(--hover-shadow); display: flex; align-items: center; gap: 8px; }
.badge-float i { color: var(--accent-brand); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============ SECTION TITLES ============ */
.section-title { margin-bottom: 64px; }
.section-title h2 { font-size: 40px; color: var(--text-dark); font-weight: 700; letter-spacing: -1px; line-height: 1.15; }
.section-title p { color: var(--accent-brand); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 11px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.section-title.text-center { text-align: center; }
.section-title.text-center p { justify-content: center; }
.section-title p::before { content: ''; width: 24px; height: 1px; background: var(--accent-brand); display: inline-block; }
.section-title.text-center p::after { content: ''; width: 24px; height: 1px; background: var(--accent-brand); display: inline-block; }

/* ============ SERVICES ============ */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card { background: var(--bg-card); padding: 38px 32px; border-radius: 20px; border: 1px solid var(--border-color); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: var(--card-shadow); position: relative; overflow: hidden; }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent-brand), #F59551); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--hover-shadow); border-color: #D6D3C8; }
.icon-box { width: 54px; height: 54px; background: var(--bg-soft); color: var(--text-dark); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 26px; transition: all 0.25s ease; border: 1px solid var(--border-color); }
.service-card:hover .icon-box { background: var(--accent-brand); color: white; transform: rotate(-6deg) scale(1.05); border-color: var(--accent-brand); }
.service-card h3 { color: var(--text-dark); margin-bottom: 12px; font-size: 20px; font-weight: 600; letter-spacing: -0.4px; }
.service-card p { color: var(--text-muted); font-size: 15px; line-height: 1.65; }

/* ============ TIMELINE (process) ============ */
.timeline-wrapper { position: relative; max-width: 860px; margin: 0 auto; padding: 40px 0; }
.timeline-wrapper::after { content: ''; position: absolute; width: 2px; background: var(--border-color); top: 0; bottom: 0; left: 50%; }
.timeline-item { padding: 10px 50px; position: relative; width: 50%; box-sizing: border-box; margin-bottom: 36px; }
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-dot { position: absolute; width: 16px; height: 16px; right: -8px; background: var(--accent-brand); border: 3px solid var(--bg-main); top: 38px; border-radius: 50%; z-index: 2; box-shadow: 0 0 0 1px var(--accent-brand); }
.timeline-item:nth-child(even) .timeline-dot { left: -8px; }
.timeline-content { padding: 28px; background: var(--bg-card); border-radius: 18px; border: 1px solid var(--border-color); display: inline-block; width: 100%; text-align: left; box-shadow: var(--card-shadow); transition: all 0.25s; }
.timeline-content:hover { border-color: var(--accent-brand); transform: translateY(-2px); }
.timeline-content h3 { color: var(--text-dark); font-size: 18px; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.timeline-content h3 i { color: var(--accent-brand); font-size: 16px; }
.timeline-content p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }
.timeline-step { display: inline-block; font-family: 'Space Grotesk', sans-serif; font-size: 12px; color: var(--accent-brand); font-weight: 700; letter-spacing: 1.5px; margin-bottom: 8px; }

/* ============ MARQUEES ============ */
.tech-marquee-wrapper, .clients-marquee-wrapper { 
  padding: 44px 0; overflow: hidden; position: relative; 
}
.tech-marquee-wrapper {
  margin-top: 140px; background: var(--text-dark); border-radius: 24px; 
}
.tech-marquee-wrapper::before, .tech-marquee-wrapper::after,
.clients-marquee-wrapper::before, .clients-marquee-wrapper::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.tech-marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--text-dark), transparent); }
.tech-marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--text-dark), transparent); }

.clients-marquee-wrapper::before { left: 0; background: linear-gradient(to right, var(--bg-main), transparent); }
.clients-marquee-wrapper::after { right: 0; background: linear-gradient(to left, var(--bg-main), transparent); }

.tech-marquee, .clients-marquee { 
  display: flex; width: max-content; animation: marqueeScroll 35s linear infinite; gap: 64px; padding: 0 25px; 
}

.tech-marquee span { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 600; color: #8A8C95; transition: color 0.2s; font-family: 'Space Grotesk', sans-serif; }
.tech-marquee span:hover { color: white; }
.tech-marquee span i { color: var(--accent-brand); font-size: 20px; }

.clients-marquee .client-card {
  min-width: 210px; background: var(--bg-card); border-radius: 14px; padding: 22px; font-weight: 600; font-size: 15px; color: var(--text-muted); text-align: center; border: 1px solid var(--border-color); transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: var(--card-shadow);
}
.clients-marquee .client-card:hover { color: var(--text-dark); border-color: var(--accent-brand); background: white; transform: translateY(-3px); }
.clients-marquee .client-card i { color: var(--accent-brand); }

@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============ PROJECTS ============ */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.project-card { background: var(--bg-card); border-radius: 22px; overflow: hidden; border: 1px solid var(--border-color); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; box-shadow: var(--card-shadow); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--hover-shadow); border-color: #D6D3C8; }
.project-img-wrap { position: relative; overflow: hidden; height: 240px; }
.project-img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 0.6s ease; }
.project-card:hover .project-img { transform: scale(1.06); }
.project-info { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.project-info h3 { color: var(--text-dark); font-size: 21px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.4px; }
.project-info p { color: var(--text-muted); font-size: 14.5px; margin-bottom: 22px; flex-grow: 1; line-height: 1.65; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-stack span { background: var(--bg-soft); color: var(--text-main); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; border: 1px solid var(--border-color); }

/* ============ STATS ============ */
.stats-wrapper {
  margin-top: 140px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0;
  background: linear-gradient(135deg, var(--text-dark) 0%, #1c1c22 100%);
  padding: 70px 40px; border-radius: 28px; color: white; text-align: center;
  position: relative; overflow: hidden;
}
.stats-wrapper::before {
  content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(231,106,31,0.20) 0%, transparent 60%);
}
.stat-item { position: relative; padding: 0 20px; z-index: 1; }
.stat-item + .stat-item { border-left: 1px dashed rgba(255,255,255,0.10); }
.stat-item h3 { font-size: 56px; font-weight: 700; margin-bottom: 8px; letter-spacing: -2px; font-family: 'Space Grotesk', sans-serif; color: white; }
.stat-item h3 span.counter-val { background: linear-gradient(135deg, #fff, #FDB58A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-item p { font-size: 11px; font-weight: 600; color: #9CA0AD; text-transform: uppercase; letter-spacing: 1.8px; }

/* ============ TESTIMONIALS ============ */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.testi-card { background: var(--bg-card); padding: 38px; border-radius: 20px; border: 1px solid var(--border-color); box-shadow: var(--card-shadow); position: relative; transition: all 0.3s; }
.testi-card:hover { box-shadow: var(--hover-shadow); border-color: #D6D3C8; }
.testi-card::before {
  content: '\201C'; position: absolute; top: 18px; right: 28px;
  font-size: 80px; font-family: serif; color: var(--accent-brand); opacity: 0.18; line-height: 1;
}
.stars { color: var(--accent-brand); font-size: 12px; margin-bottom: 20px; letter-spacing: 3px; }
.testi-card p { font-size: 15.5px; color: var(--text-main); margin-bottom: 30px; line-height: 1.7; }
.author strong { display: block; color: var(--text-dark); font-size: 16px; font-weight: 600; margin-bottom: 3px; font-family: 'Space Grotesk', sans-serif; }
.author span { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ============ FAQ ============ */
.faq-wrapper { max-width: 840px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 16px; margin-bottom: 12px; overflow: hidden; transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: var(--card-shadow); }
.faq-question { padding: 22px 28px; font-weight: 600; color: var(--text-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 16px; letter-spacing: -0.2px; font-family: 'Space Grotesk', sans-serif; }
.faq-question i { transition: transform 0.25s ease; color: var(--accent-brand); font-size: 12px; }
.faq-answer { padding: 0 28px; max-height: 0; opacity: 0; overflow: hidden; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); color: var(--text-muted); font-size: 15px; line-height: 1.65; }
.faq-item.active { border-color: var(--accent-brand); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-answer { padding: 0 28px 24px; max-height: 500px; opacity: 1; }

/* ============ BUILDER ============ */
.builder-wrapper { max-width: 880px; margin: 0 auto; background: var(--bg-card); padding: 48px; border-radius: 24px; border: 1px solid var(--border-color); box-shadow: var(--hover-shadow); }
.builder-step { margin-bottom: 34px; }
.builder-step h4 { color: var(--text-dark); font-size: 17px; margin-bottom: 18px; font-weight: 600; letter-spacing: -0.2px; font-family: 'Space Grotesk', sans-serif; display: flex; align-items: center; gap: 12px; }
.builder-step h4 span.step-num { width: 28px; height: 28px; background: var(--accent-soft); color: var(--accent-hover); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }

/* CRITICAL FIX: Base minimum grid width adjusted so cards don't overflow on small devices */
.options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); gap: 12px; }

.option-card { position: relative; display: block; cursor: pointer; }
.option-card input { position: absolute; opacity: 0; cursor: pointer; }
.option-box { padding: 18px 14px; background: var(--bg-main); border: 1px solid var(--border-color); border-radius: 12px; text-align: center; transition: all 0.2s ease; font-weight: 500; font-size: 13.5px; color: var(--text-main); display: flex; flex-direction: column; gap: 10px; align-items: center; }
.option-box i { font-size: 20px; color: var(--text-muted); transition: color 0.2s; }
.option-card:hover .option-box { border-color: #C9C6BC; }
.option-card input:checked ~ .option-box { border-color: var(--accent-brand); background: var(--accent-soft); color: var(--accent-hover); box-shadow: 0 0 0 1px var(--accent-brand); font-weight: 600; }
.option-card input:checked ~ .option-box i { color: var(--accent-brand); }

.input-group { display: flex; flex-direction: column; gap: 8px; text-align: left; margin-bottom: 16px; }
.input-group label { font-size: 12px; font-weight: 600; color: var(--text-dark); text-transform: uppercase; letter-spacing: 0.6px; }
.input-group input, .input-group textarea { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--border-color); font-family: inherit; font-size: 14.5px; background: var(--bg-main); transition: all 0.2s ease; color: var(--text-dark); }
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--accent-brand); background: white; box-shadow: 0 0 0 3px rgba(231,106,31,0.10); }

/* ============ FLOATING ============ */
#scrollTopBtn { position: fixed; bottom: 32px; right: 32px; background: white; color: var(--text-dark); width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--border-color); font-size: 14px; cursor: pointer; box-shadow: var(--card-shadow); opacity: 0; visibility: hidden; transition: all 0.25s ease; z-index: 99; display: flex; align-items: center; justify-content: center; }
#scrollTopBtn.show { opacity: 1; visibility: visible; }
#scrollTopBtn:hover { background: var(--accent-brand); color: white; border-color: var(--accent-brand); transform: translateY(-3px); }

.floating-wa { position: fixed; bottom: 32px; left: 32px; background: #25D366; color: white; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); z-index: 99; transition: all 0.3s; }
.floating-wa:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 32px rgba(37,211,102,0.45); }

/* ============ FOOTER ============ */
footer { text-align: center; margin-top: 120px; padding: 60px 24px 40px; background: var(--bg-card); border-top: 1px solid var(--border-color); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.footer-brand strong { font-size: 18px; color: var(--text-dark); font-weight: 700; font-family: 'Space Grotesk', sans-serif; }
.footer-socials { display: flex; justify-content: center; gap: 16px; margin-bottom: 22px; }
.footer-socials a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: var(--bg-soft); color: var(--text-muted); font-size: 16px; border: 1px solid var(--border-color); transition: all 0.3s; }
.footer-socials a:hover { background: var(--accent-brand); color: white; border-color: var(--accent-brand); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(231,106,31,0.30); }
footer p.copy { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 20px; gap: 48px; }
  .hero-text h1 { font-size: 42px; }
  .hero-text p { margin: 0 auto 32px; max-width: 100%; }
  .hero-buttons, .hero-trust { justify-content: center; }
  .hero-trust { display: inline-flex; }
  
  /* CRITICAL FIX: Header Container for Mobile */
  .nav { 
    flex-direction: row;
    flex-wrap: nowrap; /* Forces everything onto a single line */
    justify-content: space-between; 
    padding: 8px 12px; 
    border-radius: 999px;
    align-items: center;
    gap: 8px; /* Tighter gap to squeeze elements in */
  }
  .hamburger-btn { width: 44px; height: 36px; flex-shrink: 0; }
  .logo { 
    justify-content: flex-start; padding-bottom: 0; border-bottom: none; 
    margin-left: 0; gap: 8px; flex: 1; min-width: 0; /* min-width 0 allows text truncation */
  }
  .logo-icon-img { width: 34px; height: 34px; flex-shrink: 0; }
  .logo-text strong { 
    font-size: 15px; 
    white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis; /* Adds "..." if GDF Technologies is too long for the screen */
    display: block;
  }
  .nav-buttons { width: auto; justify-content: flex-end; margin-top: 0; flex-shrink: 0; }
  .nav-buttons .cta-accent { padding: 10px 14px; font-size: 13px; }
  .desktop-only-text, .desktop-only-btn { display: none !important; }

  .section-title h2 { font-size: 32px; }
  .timeline-wrapper::after { left: 20px; }
  .timeline-item { width: 100%; padding-left: 50px; padding-right: 14px; text-align: left !important; left: 0 !important; }
  .timeline-item .timeline-dot { left: 12px !important; right: auto !important; }
}

@media (max-width: 640px) {
  .hero-text h1 { font-size: 34px; letter-spacing: -1.5px; }
  .builder-wrapper { padding: 32px 20px; }
  .stats-wrapper { padding: 50px 20px; gap: 30px; }
  .stat-item + .stat-item { border-left: none; }
  .stat-item h3 { font-size: 42px; }
  .floating-wa { width: 50px; height: 50px; font-size: 22px; bottom: 24px; left: 24px; }
  #scrollTopBtn { bottom: 24px; right: 24px; }
  .badge { left: 12px; bottom: -14px; }
  .badge-float { right: 12px; }
}

/* CRITICAL FIX: Ensure 2 columns in Builder form and clean header on ultra-small phones */
@media (max-width: 380px) {
  /* Hide the text entirely on extremely narrow phones so the CTA button has enough room */
  .logo-text strong { display: none; } 
  
  /* Stack the hero buttons cleanly */
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .cta { width: 100%; }
  
  /* Force Builder form cards into 2 tight columns so they never overflow */
  .options-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .option-box { padding: 14px 10px; font-size: 12px; }
  .option-box i { font-size: 18px; }
}
