/* ==========================================
   DESIGN SYSTEM - EXCAVACIONES ALICANTE
   Theme: Aggressive Local SEO & High CRO
   ========================================== */

:root {
  /* Color Palette */
  --primary: #FFB800;          /* Maquinaria Yellow */
  --primary-hover: #E6A100;
  --primary-glow: rgba(255, 184, 0, 0.3);
  
  --dark-bg: #111315;           /* Dark Industrial */
  --dark-card: #1A1D20;         /* Surface Card */
  --dark-border: #2D3238;
  
  --light-bg: #F8F9FA;
  --light-card: #FFFFFF;
  --light-border: #E5E7EB;
  
  --text-main: #1F2937;
  --text-muted: #4B5563;
  --text-light: #F9FAFB;
  --text-light-muted: #9CA3AF;

  --accent-green: #25D366;     /* WhatsApp & CRO */
  --accent-green-hover: #1DA851;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows & Radius */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 16px 35px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 25px rgba(255, 184, 0, 0.4);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-full: 9999px;

  --transition: all 0.25s ease-in-out;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 800;
}

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

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

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Topbar */
.header-topbar {
  background: var(--dark-bg);
  color: var(--text-light-muted);
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-info {
  display: flex;
  gap: 1.5rem;
}
.topbar-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Redesigned Navbar with Perfect-Proportioned Logo Container */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17, 19, 21, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 3px solid var(--primary);
  padding: 0.5rem 0;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo .logo-img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
  background: var(--dark-bg);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.brand-logo:hover .logo-img {
  transform: scale(1.08);
}

.brand-logo-text {
  margin-left: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}
.brand-logo-text strong {
  color: var(--primary);
}

/* Navigation Links Styled as Clean Cells / Pills */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}
.nav-link-item {
  display: flex;
}
.nav-link {
  color: #E5E7EB;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.nav-link:hover {
  background: rgba(255, 184, 0, 0.15);
  color: var(--primary);
  border-color: var(--primary);
}
.nav-link.active {
  background: var(--primary);
  color: var(--dark-bg);
  border-color: var(--primary);
  box-shadow: 0 2px 10px rgba(255, 184, 0, 0.3);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--dark-bg);
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-phone {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-phone:hover {
  background: rgba(255,255,255,0.2);
  color: var(--primary);
}
.btn-whatsapp {
  background: var(--accent-green);
  color: #fff;
}
.btn-whatsapp:hover {
  background: var(--accent-green-hover);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--dark-bg);
}

/* Hero Section Base */
.hero-section {
  position: relative;
  color: #fff;
  padding: 4.5rem 0;
  border-bottom: 4px solid var(--primary);
}
.hero-home {
  background: linear-gradient(135deg, rgba(17, 19, 21, 0.92) 0%, rgba(26, 29, 32, 0.85) 100%),
              url('excavacion_piscina_alicante_1786616889634.jpg') center/cover no-repeat;
}
.hero-piscinas {
  background: linear-gradient(135deg, rgba(17, 19, 21, 0.92) 0%, rgba(26, 29, 32, 0.85) 100%),
              url('excavacion_piscina_alicante_1786616889634.jpg') center/cover no-repeat;
}
.hero-desbroces {
  background: linear-gradient(135deg, rgba(17, 19, 21, 0.92) 0%, rgba(26, 29, 32, 0.85) 100%),
              url('desbroce_tractor_alicante_1786616902383.jpg') center/cover no-repeat;
}
.hero-fosas {
  background: linear-gradient(135deg, rgba(17, 19, 21, 0.92) 0%, rgba(26, 29, 32, 0.85) 100%),
              url('fosa_septica_excavacion_1786616985477.jpg') center/cover no-repeat;
}
.hero-nivelacion {
  background: linear-gradient(135deg, rgba(17, 19, 21, 0.92) 0%, rgba(26, 29, 32, 0.85) 100%),
              url('nivelacion_zanjas_alicante_1786617001566.jpg') center/cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 184, 0, 0.18);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: 3.3rem;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.hero-title span {
  color: var(--primary);
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-light-muted);
  margin-bottom: 1.75rem;
  font-weight: 400;
}
.hero-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.hero-benefit-item i {
  color: var(--primary);
}

/* CRO Lead Form Card */
.lead-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-top: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.lead-card-header {
  margin-bottom: 1.25rem;
  text-align: center;
}
.lead-card-header h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.3rem;
}
.lead-card-header p {
  color: var(--text-light-muted);
  font-size: 0.875rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-light);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--dark-border);
  background: #111315;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.25);
}
.form-textarea {
  resize: vertical;
  min-height: 85px;
}

/* Service Cards 4-Column Grid */
.cards-carousel-section {
  padding: 5rem 0;
  background: var(--light-bg);
}
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
}
.section-tag {
  color: var(--primary-hover);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-size: 2.3rem;
  color: var(--dark-bg);
  margin-bottom: 0.75rem;
}
.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.service-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-img {
  transform: scale(1.06);
}
.service-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--dark-bg);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary);
}
.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card-title {
  font-size: 1.2rem;
  color: var(--dark-bg);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}
.service-card-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.5;
}
.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--light-border);
  color: var(--primary-hover);
  font-weight: 800;
  font-size: 0.85rem;
}

/* Service Detail Page Grid Layout */
.page-view {
  display: none;
}
.page-view.active-page {
  display: block;
}

.service-body-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 3rem;
  padding: 4rem 0;
}
.content-block {
  margin-bottom: 3rem;
}
.content-block h2 {
  font-size: 1.9rem;
  color: var(--dark-bg);
  margin-bottom: 1.25rem;
  border-left: 5px solid var(--primary);
  padding-left: 1rem;
}
.content-block h3 {
  font-size: 1.3rem;
  color: var(--dark-bg);
  margin: 1.5rem 0 0.5rem;
}
.content-block p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.service-image-banner {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--light-border);
}

/* Accordion FAQs */
.faq-accordion {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question i {
  color: var(--primary-hover);
  transition: transform 0.3s;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.25rem;
  max-height: 300px;
}
.faq-answer p {
  color: var(--text-muted);
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-bg);
  padding: 0.6rem 0.75rem;
  z-index: 9990;
  border-top: 3px solid var(--primary);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
}
.mobile-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.mobile-bar-grid .btn {
  padding: 0.65rem 0.5rem !important;
  font-size: 0.8rem !important;
  letter-spacing: 0;
}

/* Footer */
.main-footer {
  background: var(--dark-bg);
  color: var(--text-light-muted);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--dark-border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand h4 {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.footer-links h5 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.footer-links ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}
.footer-links a {
  transition: var(--transition);
  cursor: pointer;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.875rem;
}

.toast-msg {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: var(--accent-green);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 800;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Mobile Hamburger Toggle & Drawer Menu Styles */
.mobile-toggle-btn {
  display: none;
  background: var(--primary);
  color: var(--dark-bg);
  border: none;
  font-size: 1.35rem;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(255, 184, 0, 0.35);
  align-items: center;
  justify-content: center;
}
.mobile-toggle-btn:hover {
  background: var(--primary-hover);
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: #FFFFFF !important;
  color: var(--dark-bg) !important;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.45);
  z-index: 100000;
  display: none !important;
  flex-direction: column;
  padding: 1.5rem 1.25rem;
  border-left: 5px solid var(--primary);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav-drawer.open {
  display: flex !important;
  animation: slideInDrawer 0.28s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInDrawer {
  from {
    transform: translateX(100%);
    opacity: 0.6;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(17, 19, 21, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99999;
  display: none !important;
  touch-action: none;
}
.mobile-drawer-backdrop.open {
  display: block !important;
  animation: fadeInBackdrop 0.25s ease forwards;
}

@keyframes fadeInBackdrop {
  from { opacity: 0; }
  to { opacity: 1; }
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--light-border);
  margin-bottom: 1.5rem;
}
.mobile-drawer-header .brand-logo {
  color: var(--dark-bg);
  font-size: 1.05rem;
  letter-spacing: -0.3px;
}
.mobile-drawer-header .brand-logo span {
  font-size: 1.05rem;
}
.mobile-drawer-close {
  background: var(--light-bg);
  color: var(--dark-bg);
  border: 1px solid var(--light-border);
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.mobile-drawer-close:hover {
  background: var(--primary);
  color: var(--dark-bg);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--dark-bg) !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  transition: var(--transition);
  cursor: pointer;
}
.mobile-nav-link i {
  color: var(--primary-hover);
  font-size: 1.1rem;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  background: var(--primary) !important;
  color: var(--dark-bg) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
}
.mobile-nav-link:hover i, .mobile-nav-link.active i {
  color: var(--dark-bg) !important;
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--light-border);
}

/* Floating WhatsApp Button (Clean & Always Visible) */
.whatsapp-float-btn {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  width: 62px !important;
  height: 62px !important;
  background-color: #25D366 !important;
  color: #FFFFFF !important;
  border-radius: 50% !important;
  text-align: center !important;
  font-size: 36px !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6) !important;
  z-index: 99990 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.3s ease, background-color 0.3s ease !important;
  animation: whatsappPulse 2s infinite !important;
  text-decoration: none !important;
  cursor: pointer !important;
  overflow: hidden !important;
}
.whatsapp-float-btn i {
  color: #FFFFFF !important;
  font-size: 36px !important;
  line-height: 1 !important;
}
.whatsapp-float-btn:hover {
  transform: scale(1.12) !important;
  background-color: #1DA851 !important;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.8) !important;
}

@keyframes whatsappPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.8);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================
   RESPONSIVE BREAKPOINTS
   ========================================== */

@media (max-width: 1200px) {
  .nav-link {
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
  }
  .services-grid-4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  /* Hide desktop menu & show mobile hamburger toggle */
  .nav-links {
    display: none !important;
  }
  .header-presupuesto-btn {
    display: none !important;
  }
  .mobile-toggle-btn {
    display: inline-flex !important;
  }
  .hero-grid, .service-body-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }
  
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }

  .btn {
    white-space: normal !important;
    text-align: center;
  }

  /* Topbar single-line clean layout */
  .header-topbar {
    padding: 0.35rem 0;
    font-size: 0.8rem;
  }
  .header-topbar .topbar-tag-coverage {
    display: none !important;
  }
  .header-topbar .container {
    justify-content: space-between;
  }
  
  /* Navbar on Mobile */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
  }
  
  .brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 1;
    min-width: 0;
  }
  .brand-logo .logo-img {
    height: 40px;
    width: 40px;
    flex-shrink: 0;
  }
  .brand-logo-text {
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-cta-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }
  .header-phone-btn {
    display: none !important;
  }
  .mobile-toggle-btn {
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  /* Hero section mobile typography */
  .hero-section {
    padding: 2.25rem 0 2.75rem;
  }
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    margin-bottom: 1.25rem;
  }
  .hero-benefits-list {
    margin-bottom: 1.5rem;
    gap: 0.6rem;
  }
  .hero-benefit-item {
    font-size: 0.92rem;
  }
  
  .hero-cta-group-home {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-cta-group-home .btn {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
  }

  .lead-card {
    padding: 1.5rem 1.15rem;
  }
  
  /* Single column grids for mobile */
  .services-grid-4col {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .section-title {
    font-size: 1.75rem;
  }

  /* WhatsApp button on mobile */
  .whatsapp-float-btn {
    bottom: 25px !important;
    right: 18px !important;
    width: 56px !important;
    height: 56px !important;
    font-size: 32px !important;
  }
  .whatsapp-float-btn i {
    font-size: 32px !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.55rem;
  }
  .brand-logo-text {
    font-size: 0.9rem;
  }
  .brand-logo .logo-img {
    height: 36px;
    width: 36px;
  }
  .mobile-toggle-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 1.2rem;
  }
}


