/* ==========================================================================
   ALIANÇA DELTA ENGENHARIA - STYLES
   ========================================================================== */

/* --- CSS Variables & Custom Properties --- */
:root {
  --primary-color: #0077b6;      /* Ocean Blue */
  --primary-light: #00b4d8;      /* Teal/Cyan accent */
  --primary-dark: #03045e;       /* Deepest Navy */
  --dark-bg: #0a192f;            /* Dark Navy background */
  --dark-bg-alt: #0f172a;        /* Secondary Dark Blue (slate) */
  --light-bg: #f8f9fa;           /* Off-white background */
  --light-bg-alt: #f1f5f9;       /* Secondary Light Slate */
  
  --text-dark: #1e293b;          /* Charcoal text */
  --text-muted: #64748b;         /* Muted gray text */
  --text-light: #f8f9fa;         /* Light text for dark backgrounds */
  --text-light-muted: #94a3b8;   /* Light gray text for dark backgrounds */
  
  --white: #ffffff;
  --success: #10b981;
  --danger: #ef4444;
  --border-color: rgba(226, 232, 240, 0.8);
  --border-color-dark: rgba(255, 255, 255, 0.1);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(10, 25, 47, 0.08);
  --shadow-lg: 0 10px 30px rgba(10, 25, 47, 0.12);
  --shadow-primary: 0 8px 30px rgba(0, 180, 216, 0.3);
  
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-full: 9999px;
  
  --container-max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark-bg);
  font-weight: 700;
  line-height: 1.25;
}

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

ul {
  list-style: none;
}

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

iframe {
  display: block;
}

/* --- Core Utilities & Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section-divider {
  width: 60px;
  height: 4px;
  background-color: var(--primary-light);
  margin: 15px auto 25px;
  border-radius: var(--border-radius-full);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  display: inline-block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-muted);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--border-radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-light);
  color: var(--dark-bg);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--white);
  color: var(--dark-bg);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-light);
  border-color: var(--primary-light);
}

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

/* --- Header & Sticky Nav --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color-dark);
  z-index: 1000;
  transition: var(--transition-normal);
}

.header.scrolled {
  height: 70px;
  background-color: var(--dark-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  height: 60px;
  width: auto;
  display: block;
  transition: var(--transition-normal);
}

.header.scrolled .header-logo {
  height: 50px;
}

.header-logo:hover {
  transform: scale(1.03);
}

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

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-light-muted);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-light);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--white);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.mobile-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--white);
  border-radius: var(--border-radius-full);
  transition: var(--transition-normal);
}

/* --- Hero Section --- */
.hero-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 120px;
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 680px;
}

.hero-content .badge {
  background-color: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.3);
  color: var(--primary-light);
  display: inline-block;
  padding: 5px 15px;
  border-radius: var(--border-radius-full);
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-light-muted);
  margin-bottom: 35px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 15px;
}

.hero-card-floating {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-color-dark);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius-md);
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 320px;
  justify-self: end;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.floating-icon {
  background-color: var(--primary-light);
  color: var(--dark-bg);
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.floating-text {
  display: flex;
  flex-direction: column;
}

.floating-text strong {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1rem;
}

.floating-text span {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.hero-waves {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 5;
}

.hero-waves svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.hero-waves .shape-fill {
  fill: var(--white);
}

/* --- Stats Section --- */
.stats-section {
  background-color: var(--white);
  padding: 40px 0;
  position: relative;
  z-index: 20;
  margin-top: -30px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
}

.stat-card {
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding: 10px;
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Quem Somos / About Section --- */
.about-section {
  padding: 100px 0;
  background-color: var(--white);
}

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

.about-heading {
  font-size: 1.8rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 18px;
  text-align: justify;
}

.about-cta-box {
  margin-top: 30px;
  padding: 20px;
  background-color: var(--light-bg);
  border-left: 4px solid var(--primary-color);
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
}

.about-cnpj {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 25px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.about-card-icon {
  background-color: rgba(0, 119, 182, 0.1);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.about-card:hover .about-card-icon {
  background-color: var(--primary-color);
  color: var(--white);
}

.about-card-content h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.about-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Services Section --- */
.services-section {
  padding: 100px 0;
  background-color: var(--light-bg);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.service-icon {
  background-color: var(--dark-bg);
  color: var(--primary-light);
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 25px;
  transition: var(--transition-normal);
}

.service-card:hover .service-icon {
  background-color: var(--primary-light);
  color: var(--dark-bg);
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-text {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.service-features {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-features li i {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-top: 3px;
}

.service-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.service-card:hover .service-link {
  color: var(--primary-light);
}

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

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

/* --- Clients Section --- */
.clients-section {
  padding: 80px 0;
  background-color: var(--white);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.client-card {
  background: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 25px 15px;
  text-align: center;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.client-card:hover {
  background-color: var(--dark-bg);
  border-color: var(--dark-bg);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.client-logo-wrapper {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  background-color: var(--white);
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-normal);
}

.client-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: var(--transition-normal);
}

.client-card:hover .client-logo-wrapper {
  background-color: var(--white);
}

.client-card:hover .client-logo {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}


/* --- Contact & Location Section --- */
.contact-section {
  padding: 100px 0;
  background-color: var(--light-bg-alt);
}

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

.contact-heading {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.contact-desc {
  color: var(--text-muted);
  margin-bottom: 35px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  gap: 20px;
}

.contact-item-icon {
  background-color: var(--white);
  color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-item-text {
  display: flex;
  flex-direction: column;
}

.contact-item-text strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: var(--dark-bg);
}

.contact-item-text span, .contact-item-text a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-item-text a:hover {
  color: var(--primary-color);
}

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.map-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(5px);
  padding: 8px 15px;
  border-radius: var(--border-radius-sm);
  color: var(--white);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-container {
  background: var(--white);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  background-color: var(--light-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-dark);
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  background-color: var(--white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.form-status {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  border-radius: var(--border-radius-sm);
}

.form-status.success {
  padding: 10px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
  padding: 10px;
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* --- Footer --- */
.footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 80px 0 0;
  border-top: 1px solid var(--border-color-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-img {
  height: 80px;
  width: auto;
  align-self: flex-start;
  object-fit: contain;
  display: block;
  transition: var(--transition-normal);
}

.footer-logo-img:hover {
  transform: scale(1.03);
}

.footer-desc {
  color: var(--text-light-muted);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-light);
}

.footer-links ul, .footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a, .footer-services a {
  color: var(--text-light-muted);
  font-size: 0.9rem;
}

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

.footer-contact-info p {
  font-size: 0.9rem;
  color: var(--text-light-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-info p i {
  color: var(--primary-light);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 25px 0;
  background-color: rgba(0, 0, 0, 0.15);
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

.developer-credit {
  font-weight: 500;
}

/* --- Float Action Elements (WhatsApp & Scroll Top) --- */
.whatsapp-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: var(--transition-normal);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-floating:hover {
  background-color: #20ba5a;
  transform: translateY(-5px) scale(1.05);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: var(--dark-bg);
  border: 1px solid var(--border-color-dark);
  color: var(--white);
  width: 45px;
  height: 45px;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: var(--transition-normal);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

/* --- Tablet / Large Devices (1024px) --- */
@media (max-width: 1024px) {
  :root {
    --header-height: 70px;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-card-floating {
    justify-self: center;
    margin-top: 10px;
  }
  
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .stat-card {
    border-right: none;
  }
  
  .stat-card:nth-child(2n+1) {
    border-right: 1px solid var(--border-color);
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Mobile / Small Devices (768px) --- */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  /* Mobile Navigation Hamburger Menu */
  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .mobile-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--dark-bg);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    padding: 100px 40px 40px;
    transition: var(--transition-normal);
    z-index: 1000;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 25px;
  }
  
  .nav-link {
    font-size: 1.1rem;
    color: var(--text-light-muted);
  }
  
  .header-cta {
    display: none; /* Hide top CTA on mobile */
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* --- Micro Devices (480px) --- */
@media (max-width: 480px) {
  .stats-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stat-card {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
  }
  
  .stat-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .clients-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    padding: 25px 15px;
  }
  
  .whatsapp-floating {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }
  
  .back-to-top {
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
  }
}
