:root {
  --primary: #134866;
  --secondary: #ff6600;
  --accent: #ff4f5a;
  --gray: #f5f5f5;
  --dark: #333333;
  --light: #ffffff;
  --form-gray: #f4f4f4;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--gray);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  scroll-behavior: smooth;
}

/* ====================== HEADER & NAV ====================== */
header {
  background: var(--primary);
  color: #fff;
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
  position: relative;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.logo img {
  width: 200px;
  height: 200px;
  margin-right: 15px;
  border-radius: 10px;
  transform: translateZ(0);
}

.logo span {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.1;
}

.logo:hover img {
  transform: scale(1.08) translateZ(0);
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  padding: .5rem 0;
  position: relative;
  transition: color .3s;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width .3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  padding: 8px;
}

/* ====================== BOTÓN DE TELÉFONO EN EL MENÚ ====================== */
nav a.nav-phone-btn {
  background: var(--accent);
  color: white;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(255, 79, 90, 0.4);
  transition: all 0.3s ease;
}

nav a.nav-phone-btn::after {
  display: none; 
}

nav a.nav-phone-btn:hover {
  background: white;
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 79, 90, 0.5);
}

/* ====================== PROMOTIONS ====================== */
.promotions {
  padding: 5rem 5%;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
  overflow: hidden;
}

.promotions::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23f8f9fa"/><path d="M0,50 Q25,30 50,50 T100,50" stroke="%23dee2e6" stroke-width="1" fill="none"/></svg>') repeat;
  opacity: .05;
  z-index: 0;
}

.promotions h2 {
  color: var(--primary);
  font-size: 2.4rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

.promo-box {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, .1);
  transition: all .4s ease;
  position: relative;
  z-index: 1;
  will-change: transform;
}

.promo-box:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, .15);
}

.promo-img-container {
  width: 100%;
  height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.promo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  display: block;
  will-change: transform;
}

.promo-box:hover .promo-img {
  transform: scale(1.08);
}

.promo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .7) 70%);
  color: #fff;
  text-align: center;
  transition: background .4s ease;
}

.promo-overlay h3 {
  color: #fff;
  font-size: 1.7rem;
  margin-bottom: .6rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

.promo-overlay p {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  opacity: .95;
  line-height: 1.5;
}

.promo-overlay .btn {
  background: var(--accent);
  color: #fff;
  padding: .9rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .95rem;
  transition: all .3s ease;
  box-shadow: 0 4px 15px rgba(255, 79, 90, .4);
  display: inline-block;
}

.promo-overlay .btn:hover {
  background: #e63946;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 79, 90, .5);
}

.promo-badge {
  position: absolute;
  top: 15px;
  right: 10px;
  background: var(--accent);
  color: #fff;
  padding: .5rem 1.2rem;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 79, 90, .4);
  transform: rotate(12deg);
  z-index: 2;
}

.promo-badge::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 8px;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #cc3a44;
}

/* ====================== DRIVEWAY SLIDER ====================== */
.driveway-slider {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 520px;
  max-height: 780px;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .2);
  margin-bottom: 4rem;
}

.dslide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 1.2s ease, visibility 1.2s ease;
  will-change: opacity, visibility;
}

.dslide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 5;
}

.dslide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}

.before-after {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
}

.before-after img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transition: transform 10s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
  transform: translateZ(0);
}

.before {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.after {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, .5);
  z-index: 5;
}

.dslide-caption {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgb(255, 255, 255);
  z-index: 10;
  width: 90%;
  max-width: 1000px;
}

.dslide-caption h2 {
  font-size: 4rem;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0, 0, 0, .7);
  margin-bottom: 1rem;
}

.dslide-caption p {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.dslide-btn {
  background: var(--accent);
  color: white;
  padding: 1.1rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 10px 30px rgba(255, 79, 90, .5);
  transition: all 0.4s;
}

.dslide-btn:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-5px);
}

/* ====================== WHATSAPP BUTTON IN SLIDER ====================== */
.wa-float-btn {
  position: absolute;
  bottom: 30px;
  right: 5px;
  background: #25D366;
  color: white;
  padding: 1rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .5);
  z-index: 20;
  animation: waPulse 2s infinite;
  display: flex;
  align-items: center;
  gap: 8px;
  will-change: box-shadow;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Controles de flechas del Slider */
.dnav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dnav:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.dnav.prev {
  left: 20px;
}

.dnav.next {
  right: 20px;
}

/* ============================================================
   OPTIMIZACIÓN DE VISIBILIDAD PRIMER SLIDER (ESCRITORIO/GENERAL)
   ============================================================ */
.driveway-slider .dslide:first-child .dslide-caption {
  position: absolute !important;
  z-index: 50 !important;
  pointer-events: none;
}

.driveway-slider .dslide:first-child .wa-float-btn {
  position: absolute !important;
  z-index: 60 !important;
  pointer-events: auto !important;
}

/* ====================== MODERN SERVICES ====================== */
.services-modern {
  padding: 6rem 5%;
  background: linear-gradient(to bottom, #0f3d5a 0%, var(--primary) 50%, #0f3d5a 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.services-modern h2 {
  font-size: 2.8rem;
  color: white;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.services-modern h2::after {
  content: '';
  width: 100px;
  height: 4px;
  background: var(--accent);
  display: block;
  margin: 1rem auto;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.service-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  transition: all 0.4s ease;
  background: white;
  height: 380px;
  will-change: transform;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  will-change: transform;
}

.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 1.5rem;
  background: linear-gradient(transparent, rgba(19, 72, 102, .95));
  color: white;
  transform: translateY(60%);
  transition: all 0.5s ease;
  text-align: center;
}

.service-overlay h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-overlay p {
  font-size: 1rem;
  opacity: 0.95;
  line-height: 1.5;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, .2);
}

.service-card:hover img {
  transform: scale(1.08);
}

.service-card:hover .service-overlay {
  transform: translateY(0);
  background: rgba(19, 72, 102, .98);
}

/* ====================== CONTACT ====================== */
.contact {
  background: var(--light);
  color: var(--dark);
  padding: 4rem 5%;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: var(--primary);
}

.contact p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.form-group {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .9rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--form-gray);
  color: var(--dark);
  transition: border .3s, background .3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #eaeaea;
}

.form-group textarea {
  height: 130px;
  resize: vertical;
}

.btn-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background .3s;
  margin-top: 1rem;
  text-transform: uppercase;
}

.btn-submit:hover {
  background: #e63946;
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  display: none;
  font-weight: 600;
}

.email-links {
  margin-top: 2rem;
}

.email-links a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
}

.email-links a:hover {
  text-decoration: underline;
}

/* ====================== FOOTER ====================== */
.footer-info {
  background: var(--primary);
  color: white;
  padding: 4rem 5%;
  text-align: center;
}

.footer-columns {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  padding: 1.5rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer-column h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
  letter-spacing: 1px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.footer-column p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  opacity: 0.9;
}

.footer-address,
.footer-phone,
.footer-email {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.footer-address i,
.footer-phone i,
.footer-email i {
  color: var(--accent);
  font-size: 1.1rem;
}

.footer-column a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--accent);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 1.2rem;
}

.social-icons a {
  font-size: 1.8rem;
  color: white;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent);
  transform: scale(1.15);
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin: .5rem 0;
}

.contact-item i {
  color: var(--accent);
}

footer {
  text-align: center;
  padding: 2rem;
  background: var(--light);
  color: #000000;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ====================== FLOATING SOCIAL ====================== */
.social-float-bar {
  position: fixed;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px 8px;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 999;
  animation: slideInLeft 0.6s ease-out forwards;
  opacity: 0;
  will-change: transform, opacity;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px) translateY(-50%); }
  to { opacity: 1; transform: translateX(0) translateY(-50%); }
}

.social-btn {
  width: 50px;
  height: 50px;
  background: white;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease;
  z-index: 0;
}

.social-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.social-btn i {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social-btn:hover i {
  transform: scale(1.2);
}

.social-btn.phone-call { 
  display: none; 
  background: var(--accent); 
}

.social-btn.phone-call::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 79, 90, 0.4);
  animation: pulse 2s infinite;
  z-index: -1;
  will-change: transform, opacity;
}

.social-btn.facebook { background: #1877F2; }
.social-btn.instagram { background: linear-gradient(135deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.social-btn.whatsapp { background: #25D366; }

.social-btn.whatsapp::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: pulse 2s infinite;
  z-index: -1;
  will-change: transform, opacity;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
  }
}

/* =========================================================
   BLOQUE UNIFICADO PARA TABLETS Y MÓVILES (max-width: 768px)
   Aquí está todo ordenado, limpio y sin código duplicado
   ========================================================= */
@media (max-width: 768px) {
  
  /* Header & Menu */
  header { 
    padding: 0.8rem 5%; 
    flex-wrap: nowrap;
  }
  .logo { 
    font-size: 1.5rem;
    max-width: 85%;
   }
  .logo img { width: 120px; height: 120px; margin: 3px; }
  .logo span { font-size: 1.5rem; }
  nav ul { gap: 1.2rem; font-size: 1rem; }
  
  /* Hamburger Menu */
  .hamburger { 
    display: block;
    margin-left: auto;
    padding: 5px;
   }
  #mainNav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--primary);
    transition: left 0.4s ease;
    z-index: 1000;
    padding-top: 2rem;
  }
  #mainNav.active { left: 0; }
  #mainNav ul { flex-direction: column; gap: 1.5rem; text-align: center; padding: 0 5%; }
  #mainNav a { font-size: 1.25rem; padding: 12px 0; display: block; }

  /* Slider Moderno para Móvil */
  .driveway-slider {
    height: 52vh;
    min-height: 380px;
    border-radius: 0 0 20px 20px;
  }
  .dslide-caption {
    bottom: 12%;
    padding: 0 20px;
    width: 92%;
  }
  .dslide-caption h2 {
    font-size: 2.25rem;
    line-height: 1.15;
    margin-bottom: 0.6rem;
  }
  .dslide-caption p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }
  .dslide-btn,
  .wa-float-btn {
    padding: 0.9rem 1.6rem;
    font-size: 0.95rem;
  }
  .before-after img {
    object-position: center 55%;
  }

  /* Optimización específica del primer Slide (Texto y Botón WhatsApp) */
  .driveway-slider .dslide:first-child .dslide-caption {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important; /* Soporte añadido para Safari/iPhone */
    padding: 0 !important;
    width: 100% !important;
    bottom: 12% !important; /* Unificado con el resto de los slides para que no brinque el diseño */
  }

  .driveway-slider .dslide:first-child .dslide-caption h2,
  .driveway-slider .dslide:first-child .dslide-caption p {
    color: #ffffff !important;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9), -1px -1px 3px rgba(0,0,0,0.7) !important;
    padding: 0 15px;
  }

  .driveway-slider .dslide:first-child .dslide-caption p {
    margin-bottom: 20px !important; 
  }

  .driveway-slider .dslide:first-child .wa-float-btn {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: 320px !important;
    justify-content: center !important;
  }

  /* Controles de flechas del Slider */
  .dnav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .dnav.prev { left: 10px; }
  .dnav.next { right: 10px; }

  /* Formulario Contacto */
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1.1rem 1rem;
    font-size: 1.05rem;
  }
  .btn-submit {
    padding: 1.2rem 2.8rem;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 1.5rem;
  }

  /* Intercambio estricto de botones sociales en el Celular */
  .social-btn.whatsapp {
    display: none !important; 
  }
  .social-btn.phone-call {
    display: flex !important; 
  }

  /* Servicios y Promociones */
  .service-card { height: 300px; }
  .service-overlay h3 { font-size: 1.45rem; }
  .promo-overlay h3 { font-size: 1.45rem; }
  .promo-overlay p { font-size: 1.05rem; }

  /* Footer */
  .footer-columns { gap: 2rem; }
  .footer-column { padding: 1.2rem; }

  /* Barra Social Flotante */
  .social-float-bar {
    left: auto;
    right: 15px;
    top: auto;
    bottom: 20px;
    padding: 10px 20px;
    gap: 18px;
    background: rgba(255,255,255,0.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  }
  .social-btn {
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }
}

/* Ajustes finales para teléfonos pequeños (max-width: 480px) */
@media (max-width: 480px) {
  .driveway-slider { height: 50vh; }
  .dslide-caption h2 { font-size: 2.1rem; }
  .about-hero h1 { font-size: 2.3rem; }
  .portfolio-item img { height: 320px; }
}