/* ==========================================================================
   CANO - Pintura, Reparaciones y Mantenimiento
   Hoja de Estilos Principal (Desktop & Base)
   ========================================================================== */

/* 1. VARIABLES Y CONFIGURACIÓN GLOBAL */
:root {
  /* Paleta Corporativa */
  --color-primary: #2E7AB5;       /* Azul principal */
  --color-primary-dark: #1A4A73;  /* Azul oscuro para títulos y footer */
  --color-primary-light: #EAF3FA; /* Azul muy suave para fondos y tarjetas */
  --color-accent: #F07B2A;        /* Naranja para detalles, insignias y botones */
  --color-accent-hover: #D9691C;  /* Naranja hover */
  --color-white: #FFFFFF;
  --color-bg-light: #F4F7FA;     /* Gris claro para fondos alternos */
  --color-text-dark: #1F2937;    /* Texto principal legible */
  --color-text-muted: #4B5563;   /* Texto secundario */
  --color-border: #E2E8F0;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1EBE5D;

  /* Tipografías */
  --font-heading: 'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevaciones y Sombras */
  --shadow-sm: 0 2px 4px rgba(26, 74, 115, 0.06);
  --shadow-md: 0 6px 16px rgba(26, 74, 115, 0.08);
  --shadow-lg: 0 12px 28px rgba(26, 74, 115, 0.12);
  --shadow-hover: 0 16px 36px rgba(26, 74, 115, 0.16);

  /* Bordes y Transiciones */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* 2. RESET Y ESTILOS BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px; /* Compensa la altura del header fijo */
  font-size: 16px;
}

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

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* 3. UTILIDADES Y CONTENEDORES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 90px 0;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 54px auto;
}

.section-subtitle {
  display: inline-block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 4px 12px;
  background-color: rgba(240, 123, 42, 0.1);
  border-radius: var(--radius-pill);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* 4. BOTONES Y LLAMADAS A LA ACCIÓN */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(240, 123, 42, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(240, 123, 42, 0.45);
}

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

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

.btn-blue {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(46, 122, 181, 0.3);
}

.btn-blue:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26, 74, 115, 0.35);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* 5. HEADER Y NAVEGACIÓN FIJA */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 85px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  height: 75px;
  box-shadow: var(--shadow-md);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 75px;
  width: auto;
  transition: transform var(--transition-fast);
}

.logo-link:hover .logo-img {
  transform: scale(1.02);
}

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

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  position: relative;
  padding: 6px 0;
}

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

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

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

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-primary-dark);
  cursor: pointer;
}

/* 6. HERO SECTION */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, rgba(26, 74, 115, 0.92) 0%, rgba(46, 122, 181, 0.85) 100%),
              url('../img/hero-pintura.jpg') center/cover no-repeat;
  color: var(--color-white);
  overflow: hidden;
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.hero-badge-zone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.hero-badge-zone svg {
  fill: var(--color-accent);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.hero-title span {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 34px;
  color: #F1F5F9;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* Insignias de Confianza en Hero */
.hero-badges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(240, 123, 42, 0.2);
  border: 1px solid rgba(240, 123, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}

.badge-text {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

/* 7. SECCIÓN DE SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

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

.service-img-wrapper {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.06);
}

.service-category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

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

.service-list {
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--color-text-dark);
  margin-bottom: 8px;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 900;
}

.service-footer {
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
  transition: gap var(--transition-fast);
}

.service-link:hover {
  color: var(--color-accent);
  gap: 12px;
}

/* 8. SECCIÓN CÓMO TRABAJAMOS (4 PASOS) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.step-card {
  background-color: var(--color-white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
  transition: all var(--transition-normal);
  text-align: center;
}

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

.step-number {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(240, 123, 42, 0.4);
}

.step-icon {
  margin: 16px auto 16px auto;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* 9. POR QUÉ ELEGIR CANO */
.why-section {
  background: linear-gradient(135deg, #1A4A73 0%, #2E7AB5 100%);
  color: var(--color-white);
}

.why-section .section-title {
  color: var(--color-white);
}

.why-section .section-desc {
  color: #E2E8F0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.why-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  backdrop-filter: blur(5px);
  transition: all var(--transition-normal);
  text-align: center;
}

.why-box:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
  border-color: var(--color-accent);
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(240, 123, 42, 0.2);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.why-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-text {
  font-size: 0.9rem;
  color: #E2E8F0;
  line-height: 1.55;
}

/* 10. GALERÍA ANTES Y DESPUÉS */
.gallery-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.compare-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.compare-img-box {
  position: relative;
  height: 380px;
}

.compare-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
}

.badge-before {
  background-color: #EF4444;
  color: var(--color-white);
}

.badge-after {
  background-color: #10B981;
  color: var(--color-white);
}

.compare-info {
  padding: 24px;
}

.compare-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.compare-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

/* 11. OPINIONES DE CLIENTES (TESTIMONIOS) */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

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

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.star-icon {
  fill: #F59E0B;
  width: 20px;
  height: 20px;
}

.review-comment {
  font-style: italic;
  color: var(--color-text-dark);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.author-location {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* 12. ZONA DE SERVICIO */
.coverage-content {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  text-align: center;
}

.coverage-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 28px 0;
}

.coverage-pill {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(46, 122, 181, 0.2);
}

.coverage-pill svg {
  fill: var(--color-accent);
}

.coverage-notice {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* 13. CTA FINAL INTERMEDIO */
.cta-banner {
  background: linear-gradient(135deg, #2E7AB5 0%, #1A4A73 100%);
  color: var(--color-white);
  padding: 70px 0;
  text-align: center;
}

.cta-banner-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.cta-banner-desc {
  font-size: 1.15rem;
  color: #E2E8F0;
  max-width: 640px;
  margin: 0 auto 32px auto;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* 14. SECCIÓN DE CONTACTO & FORMULARIO */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.contact-card-info {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-info-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.info-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(240, 123, 42, 0.2);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94A3B8;
  margin-bottom: 4px;
}

.info-value {
  font-size: 1.05rem;
  font-weight: 600;
}

.info-value a:hover {
  color: var(--color-accent);
}

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

.form-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.form-subtitle {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.quote-form .form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background-color: #FAFAFA;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(46, 122, 181, 0.15);
}

.quote-form textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: #64748B;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 15. FOOTER PRINCIPAL */
.site-footer {
  background-color: #123350; /* Azul muy oscuro elegante */
  color: #CBD5E1;
  padding-top: 70px;
}

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

.footer-brand .footer-logo-img {
  height: 35px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1); /* Convierte el logo a blanco elegante */
}

.footer-bio {
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: #CBD5E1;
}

.footer-links-list a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-hours-item {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.footer-hours-label {
  display: block;
  font-weight: 700;
  color: var(--color-white);
}

/* 16. BARRA DE CRÉDITOS OBLIGATORIA (FOOTER BOTTOM) */
.credits-bar {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 16px 20px;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.credits-bar p {
  margin: 0;
  line-height: 1.5;
}

.credits-bar a.nodal-link {
  color: var(--color-white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.credits-bar a.nodal-link:hover {
  color: var(--color-accent);
}

/* 17. BOTONES FLOTANTES (WHATSAPP & LLAMADA) */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

.floating-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.floating-whatsapp {
  background-color: var(--color-whatsapp);
}

.floating-call {
  background-color: var(--color-accent);
  display: none; /* Visible principalmente en móviles mediante responsive.css */
}

.floating-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Tooltip simple para desktop */
.floating-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 70px;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.floating-btn:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* 18. ANIMACIONES AL HACER SCROLL (INTERSECTION OBSERVER) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
