/* ==========================================================================
   MB SOLUÇÕES DIGITAIS - DESIGN SYSTEM & STYLES (DARK PREMIUM)
   ========================================================================== */

/* --- Import Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* --- Colors --- */
  --bg-primary: #050914;
  --bg-secondary: #0b1124;
  --bg-tertiary: #111a36;
  
  --primary: #1d72b8;
  --primary-glow: rgba(29, 114, 184, 0.3);
  --primary-light: #4fa3e3;
  
  --accent: #f0a500;
  --accent-glow: rgba(240, 165, 0, 0.2);
  
  --text-primary: #f3f5f9;
  --text-secondary: #a0aec0;
  --text-muted: #718096;
  
  --glass-bg: rgba(17, 26, 54, 0.5);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  
  /* --- Fonts & Weights --- */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* --- Transitions & Shadows --- */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
  --shadow-neon: 0 0 15px var(--primary-glow);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

section {
  padding: 5rem 0;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   SCROLLBAR & SELECTION
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border-radius: 4px;
  border: 1px solid var(--glass-border);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

::selection {
  background: var(--primary);
  color: #fff;
}

/* ==========================================================================
   GLOBAL COMPONENTS & BUTTONS
   ========================================================================== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(29, 114, 184, 0.5);
}

.button.secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--glass-border-hover);
  backdrop-filter: blur(10px);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.button.accent {
  background: linear-gradient(135deg, var(--accent), #ffc13b);
  color: #050914;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.button.accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(240, 165, 0, 0.4);
}

/* --- Section Typography --- */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-title);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 40%, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
}

#header.scroll {
  background: rgba(5, 9, 20, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5.5rem;
  transition: var(--transition-normal);
}

#header.scroll nav {
  height: 4.5rem;
}

.logo img {
  height: 48px;
  width: auto;
  transition: var(--transition-normal);
}

.menu ul {
  display: flex;
  gap: 2.5rem;
}

.menu ul li a {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  transition: var(--transition-fast);
  padding: 0.5rem 0;
}

.menu ul li a:hover {
  color: var(--text-primary);
}

.menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: var(--transition-normal);
}

.menu ul li a:hover::after,
.menu ul li a.active::after {
  width: 100%;
}

.menu ul li a.active {
  color: var(--primary-light);
  font-weight: 600;
}

/* --- Mobile Menu Icon --- */
.toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(29, 114, 184, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(240, 165, 0, 0.05) 0%, transparent 40%);
}

#home::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: var(--primary);
  filter: blur(150px);
  opacity: 0.15;
  z-index: 0;
  border-radius: 50%;
}

#home .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  z-index: 1;
}

#home .text h1 {
  font-family: var(--font-title);
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

#home .text h1 span {
  background: linear-gradient(135deg, #fff 50%, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#home .text p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 550px;
}

#home .actions {
  display: flex;
  gap: 1rem;
}

#home .image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg), var(--shadow-neon);
}

#home .image img {
  border-radius: 20px;
  transition: var(--transition-normal);
}

#home .image:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   STATS STRIP
   ========================================================================== */
.stats-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 3rem 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-num {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .stat-label {
  font-size: 0.9rem;
  font-family: var(--font-title);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   ABOUT US
   ========================================================================== */
#about {
  background: radial-gradient(circle at 10% 50%, rgba(29, 114, 184, 0.08) 0%, transparent 40%);
}

#about .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

#about .image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  position: relative;
}

#about .image img {
  border-radius: 20px;
}

#about .text h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#about .text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

#about .highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1.2rem;
  border-radius: 12px;
  transition: var(--transition-normal);
}

.highlight-box:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.highlight-box h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-box h4 i {
  color: var(--primary-light);
}

.highlight-box p {
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  margin-bottom: 0 !important;
}

/* ==========================================================================
   SERVICES (3 MAIN CARDS)
   ========================================================================== */
#services {
  background: var(--bg-secondary);
  position: relative;
}

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

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(29, 114, 184, 0.1);
  background: rgba(17, 26, 54, 0.8);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(29, 114, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: var(--primary-light);
  border: 1px solid rgba(29, 114, 184, 0.2);
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-features {
  margin-bottom: 2rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}

.service-features li i {
  color: var(--accent);
  font-size: 0.85rem;
}

.service-card .card-cta {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  margin-top: auto;
}

.service-card:hover .card-cta {
  color: #fff;
}

.service-card .card-cta i {
  transition: var(--transition-fast);
}

.service-card:hover .card-cta i {
  transform: translateX(5px);
}

/* ==========================================================================
   PROCESS (HOW IT WORKS)
   ========================================================================== */
#process {
  background: var(--bg-primary);
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 3.5rem;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(29, 114, 184, 0.1);
  z-index: 1;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-light);
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.step-card:hover .step-number {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
  transform: scale(1.1);
}

.step-card h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 300px;
  margin: 0 auto;
}

/* ==========================================================================
   TESTIMONIALS (CAROUSEL)
   ========================================================================== */
#testimonials-section {
  background: var(--bg-secondary);
}

.swiper-container {
  padding-bottom: 3.5rem;
}

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  transition: var(--transition-normal);
  height: 100%;
}

.testimonial-card:hover {
  border-color: var(--glass-border-hover);
  background: rgba(17, 26, 54, 0.7);
}

.quote-icon {
  font-size: 2rem;
  color: rgba(29, 114, 184, 0.2);
  margin-bottom: 1.5rem;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 2rem;
  min-height: 80px;
}

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

.user-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--primary-light);
  border: 2px solid var(--glass-border);
}

.user-info h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
}

.user-info span {
  color: var(--text-muted);
  font-size: 0.8rem;
  display: block;
}

.swiper-pagination-bullet {
  background: var(--text-muted);
  opacity: 0.5;
  transition: var(--transition-fast);
}

.swiper-pagination-bullet-active {
  background: var(--primary-light);
  opacity: 1;
  width: 20px;
  border-radius: 4px;
}

/* ==========================================================================
   CONTACT & NEWSLETTER
   ========================================================================== */
#contact {
  background: radial-gradient(circle at 90% 80%, rgba(240, 165, 0, 0.05) 0%, transparent 40%);
}

.contact-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info h2 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 50%, var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(29, 114, 184, 0.1);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  border: 1px solid rgba(29, 114, 184, 0.15);
}

.contact-details h4 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-details p {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0;
}

/* --- Form Design --- */
.contact-form-container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.contact-form-container h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-control {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(29, 114, 184, 0.2);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 1.5rem 0 2rem;
}

.checkbox-group input {
  margin-top: 0.3rem;
  accent-color: var(--primary);
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 10;
}

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

.footer-brand img {
  height: 50px;
  width: auto;
  margin-bottom: 1.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-normal);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-links h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links ul li a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   INTERACTIVE EXTRA UTILITIES
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(29, 114, 184, 0.4);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(29, 114, 184, 0.6);
}

.contact-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(29, 114, 184, 0.4);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition-normal);
  animation: pulse-contact 2s infinite;
}

.contact-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(29, 114, 184, 0.6);
}

@keyframes pulse-contact {
  0% {
    box-shadow: 0 0 0 0 rgba(29, 114, 184, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(29, 114, 184, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(29, 114, 184, 0);
  }
}

/* ==========================================================================
   MEDIA QUERIES (MOBILE FIRST RESPONSIVENESS)
   ========================================================================== */

@media (max-width: 1024px) {
  #home .container,
  #about .container,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  #home .container {
    text-align: center;
    padding-top: 2rem;
  }
  
  #home .text p {
    margin: 0 auto 2.5rem;
  }
  
  #home .actions {
    justify-content: center;
  }
  
  #about .image {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  /* --- Navigation Hamburger --- */
  .toggle {
    display: block;
  }
  
  .menu {
    position: fixed;
    top: 5.5rem;
    left: -100%;
    width: 100%;
    height: calc(100vh - 5.5rem);
    background: var(--bg-primary);
    transition: var(--transition-normal);
    z-index: 100;
    border-top: 1px solid var(--glass-border);
  }
  
  .menu.show {
    left: 0;
  }
  
  .menu ul {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 3rem;
  }
  
  .menu ul li a {
    font-size: 1.5rem;
  }
  
  #header.scroll .menu {
    top: 4.5rem;
    height: calc(100vh - 4.5rem);
  }
  
  /* --- Global Headers --- */
  .section-title {
    font-size: 2rem;
  }
  
  #home .text h1 {
    font-size: 2.5rem;
  }
  
  .services-grid,
  .process-steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps::before {
    display: none;
  }
  
  .step-card p {
    max-width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ==========================================================================
   FORM FEEDBACK & AJAX STATES
   ========================================================================== */
.form-feedback {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: formFeedbackFadeIn 0.4s ease forwards;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.hidden {
  display: none !important;
}

.btn-spinner {
  margin-left: 8px;
}

@keyframes formFeedbackFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

