/* ==========================================================================
   Hangar de Textiles — hoja de estilos
   ========================================================================== */

:root {
  --granate: #7A2530;
  --granate-hover: #8f2c39;
  --dorado: #C9A227;
  --dorado-hover: #d9b53c;
  --hueso: #F5EFE6;
  --grafito: #3A3532;

  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 92px;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes headerDrop {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0.5) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-left {
  transform: translateX(-32px);
}
.reveal-right {
  transform: translateX(32px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .hero-circle,
  .float-whatsapp {
    animation: none !important;
  }
  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--hueso);
  color: var(--grafito);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--granate);
  text-decoration: none;
}

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--grafito);
  color: var(--hueso);
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-weight: 700;
  font-size: 15px;
  border-radius: 2px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-small {
  padding: 10px 20px;
  font-size: 14px;
}
.btn-primary {
  background: var(--granate);
  color: var(--hueso);
}
.btn-primary:hover {
  background: var(--granate-hover);
  color: var(--hueso);
}
.btn-gold {
  background: var(--dorado);
  color: var(--grafito);
  box-shadow: 0 0 0 rgba(201, 162, 39, 0);
}
.btn-gold:hover {
  background: var(--dorado-hover);
  box-shadow: 0 8px 20px rgba(201, 162, 39, 0.35);
}
.btn-outline {
  border-color: rgba(245, 239, 230, 0.5);
  color: var(--hueso);
}
.btn-outline:hover {
  border-color: var(--dorado);
  color: var(--dorado);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--granate);
  font-weight: 600;
}
.eyebrow-gold {
  color: var(--dorado);
}
.eyebrow .line {
  width: 34px;
  height: 1px;
  background: var(--dorado);
}
.eyebrow-hero {
  color: var(--dorado);
  margin-bottom: 28px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(58, 53, 50, 0.12);
  animation: headerDrop 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(58, 53, 50, 0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  transition: padding 0.3s ease;
}
.site-header.is-scrolled .header-inner {
  padding: 10px 24px;
}
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--granate), var(--dorado));
  transition: width 0.1s linear;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--granate);
  transition: opacity 0.2s ease;
}
.logo:hover {
  opacity: 0.8;
}
.logo span {
  color: var(--grafito);
}
.nav-desktop {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-desktop a:not(.btn):not(.icon-link) {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--grafito);
}
.nav-desktop a:not(.btn):not(.icon-link)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--dorado);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}
.nav-desktop a:not(.btn):not(.icon-link):hover {
  color: var(--dorado);
}
.nav-desktop a:not(.btn):not(.icon-link):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-desktop a:not(.btn):not(.icon-link).is-active {
  color: var(--dorado);
}
.nav-desktop a:not(.btn):not(.icon-link).is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(122, 37, 48, 0.3);
  color: var(--granate);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.icon-link:hover {
  background: var(--granate);
  border-color: var(--granate);
  color: var(--hueso);
  transform: translateY(-2px) rotate(8deg);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--granate);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  gap: 16px;
  border-top: 1px solid rgba(58, 53, 50, 0.1);
}
.nav-mobile.is-open {
  display: flex;
}
.nav-mobile a:not(.btn) {
  font-size: 16px;
  font-weight: 500;
  color: var(--grafito);
}
.nav-mobile .btn {
  text-align: center;
}
.nav-mobile-instagram {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: var(--granate) !important;
}
.nav-mobile.is-open > a {
  animation: fadeSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.nav-mobile.is-open > a:nth-child(1) { animation-delay: 0.04s; }
.nav-mobile.is-open > a:nth-child(2) { animation-delay: 0.08s; }
.nav-mobile.is-open > a:nth-child(3) { animation-delay: 0.12s; }
.nav-mobile.is-open > a:nth-child(4) { animation-delay: 0.16s; }
.nav-mobile.is-open > a:nth-child(5) { animation-delay: 0.2s; }
.nav-mobile.is-open > a:nth-child(6) { animation-delay: 0.24s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--granate);
  color: var(--hueso);
  padding: 120px 24px 100px;
  overflow: hidden;
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.35);
  animation: spinSlow 90s linear infinite;
}
.hero-circle-1 {
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
}
.hero-circle-2 {
  bottom: -160px;
  left: -80px;
  width: 320px;
  height: 320px;
  border-color: rgba(201, 162, 39, 0.2);
  animation-duration: 70s;
  animation-direction: reverse;
}
.hero-inner {
  position: relative;
  max-width: 900px;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  margin: 0 0 26px;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(245, 239, 230, 0.85);
  max-width: 640px;
  margin: 0 auto 44px;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.eyebrow-hero {
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 56px;
  margin-top: 72px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--dorado);
}
.stat-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.75);
  margin-top: 6px;
}

/* Estadística destacada: años de trayectoria */
.stat.stat-featured {
  position: relative;
  padding: 10px 32px 14px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  border-radius: 100px;
  background: rgba(201, 162, 39, 0.08);
}
.stat.stat-featured .stat-num {
  font-size: clamp(56px, 9vw, 88px);
  line-height: 1;
  text-shadow: 0 0 28px rgba(201, 162, 39, 0.5);
}
.stat.stat-featured .stat-label {
  color: var(--dorado);
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ---------- Sello 40 años ---------- */
@keyframes sealSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes trustGlow {
  0%, 100% { text-shadow: 0 0 18px rgba(201, 162, 39, 0.45); }
  50%       { text-shadow: 0 0 40px rgba(201, 162, 39, 0.85), 0 0 80px rgba(201, 162, 39, 0.3); }
}
.seal-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 48px auto 0;
}
.seal-ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 162, 39, 0.55);
}
.seal-ring-inner {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 162, 39, 0.3);
  animation: sealSpin 60s linear infinite;
}
.seal-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.seal-since {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(201, 162, 39, 0.75);
  font-weight: 600;
  margin-bottom: 2px;
}
.seal-num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 800;
  color: var(--dorado);
  line-height: 0.88;
  letter-spacing: -0.03em;
  animation: trustGlow 3.5s ease-in-out infinite;
}
.seal-num sup {
  font-size: 0.38em;
  vertical-align: super;
  line-height: 0;
}
.seal-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.85);
  font-weight: 600;
  margin-top: 8px;
}
.seal-dots {
  display: flex;
  gap: 5px;
  margin-top: 9px;
}
.seal-dots span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.5);
}
.hero-stats-secondary {
  display: flex;
  justify-content: center;
  gap: 52px;
  flex-wrap: wrap;
}
.hero-stats-secondary .stat-num {
  font-size: 36px;
}

/* ---------- Section base ---------- */
.section {
  padding: 120px 24px;
}
.section-light {
  background: var(--hueso);
}
.section-dark {
  background: var(--grafito);
}
.section-brand {
  background: var(--granate);
  color: var(--hueso);
}
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 44px);
  margin: 16px 0 0;
  color: var(--grafito);
}
.section h2.on-dark {
  color: var(--hueso);
}

/* ---------- Nosotros ---------- */
.nosotros-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 72px;
  align-items: center;
}
.nosotros-media {
  aspect-ratio: 4 / 5;
  background: repeating-linear-gradient(135deg, rgba(122, 37, 48, 0.12) 0 18px, rgba(201, 162, 39, 0.1) 18px 36px);
  border: 1px solid rgba(58, 53, 50, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  text-align: center;
}
.nosotros-media span {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--grafito);
  opacity: 0.55;
  padding: 0 20px;
}
.nosotros-grid h2 {
  margin-top: 16px;
  margin-bottom: 24px;
}
.nosotros-grid p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--grafito);
  opacity: 0.85;
  margin: 0 0 20px;
}
.nosotros-tags {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.tag {
  border-left: 2px solid var(--dorado);
  padding-left: 16px;
}
.tag-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--granate);
}
.tag-sub {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 4px;
}

/* ---------- Catálogo ---------- */
.fabric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  perspective: 1000px;
}
.fabric-card {
  background: var(--hueso);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(0) rotateX(0deg) rotateY(0deg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  will-change: transform;
}
.fabric-card:hover {
  transform: translateY(-8px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
}
.fabric-swatch {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(58, 53, 50, 0.15);
  overflow: hidden;
}
.fabric-swatch span {
  transition: transform 0.4s ease;
}
.fabric-card:hover .fabric-swatch span {
  transform: scale(1.08);
}
.fabric-swatch span {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: var(--grafito);
  opacity: 0.5;
}
.fabric-swatch-a {
  background: repeating-linear-gradient(45deg, rgba(122, 37, 48, 0.16) 0 14px, rgba(201, 162, 39, 0.14) 14px 28px);
}
.fabric-swatch-b {
  background: repeating-linear-gradient(-45deg, rgba(58, 53, 50, 0.14) 0 14px, rgba(122, 37, 48, 0.12) 14px 28px);
}
.fabric-body {
  padding: 22px 22px 26px;
}
.fabric-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--dorado);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.fabric-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--granate);
}
.fabric-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--grafito);
  opacity: 0.8;
  margin: 0 0 14px;
}
.fabric-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--granate);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.2s ease;
}
.fabric-card:hover .fabric-cta {
  opacity: 1;
  transform: translateY(0);
}
.fabric-cta:hover {
  color: var(--dorado-hover);
}
.fabric-cta svg {
  transition: transform 0.25s ease;
}
.fabric-cta:hover svg {
  transform: translateX(3px);
}

/* ---------- Valores ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(58, 53, 50, 0.15);
  border: 1px solid rgba(58, 53, 50, 0.15);
}
.value-card {
  background: var(--hueso);
  padding: 36px 28px;
  transition: background 0.3s ease, transform 0.3s ease;
  position: relative;
  z-index: 1;
}
.value-card:hover {
  background: #fff;
  transform: translateY(-4px);
}
.value-num {
  width: 44px;
  height: 44px;
  border: 1px solid var(--dorado);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--dorado);
  font-size: 18px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.value-card:hover .value-num {
  background: var(--dorado);
  color: var(--grafito);
  transform: rotate(-8deg) scale(1.08);
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--granate);
}
.value-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--grafito);
  opacity: 0.8;
  margin: 0;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: start;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(245, 239, 230, 0.15);
  border-radius: 2px;
  color: var(--hueso);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.contact-row-highlight {
  background: rgba(245, 239, 230, 0.06);
  border-color: rgba(201, 162, 39, 0.3);
}
.contact-row:hover {
  border-color: var(--dorado);
  transform: translateX(6px);
}
.contact-label {
  font-family: var(--font-display);
  color: var(--dorado);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}
.contact-value {
  font-size: 15px;
  margin-left: auto;
  text-align: right;
}
.hours-card {
  padding: 24px 22px;
  border: 1px solid rgba(245, 239, 230, 0.15);
  border-radius: 2px;
}
.hours-title {
  font-family: var(--font-display);
  color: var(--dorado);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 14.5px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(245, 239, 230, 0.08);
}
.hours-row span:first-child {
  opacity: 0.85;
}
.hours-row span:last-child {
  font-weight: 500;
}
.map-wrap {
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 2px;
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--grafito);
  color: var(--hueso);
  padding: 56px 24px 32px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245, 239, 230, 0.12);
}
.footer-brand .logo {
  font-size: 20px;
  color: var(--hueso);
}
.footer-brand .logo span {
  color: var(--dorado);
}
.footer-brand p {
  font-size: 13.5px;
  opacity: 0.6;
  margin-top: 10px;
  max-width: 280px;
  line-height: 1.6;
}
.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col-title {
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dorado);
  margin-bottom: 6px;
}
.footer-col a,
.footer-col span {
  color: rgba(245, 239, 230, 0.75);
  font-size: 14.5px;
}
.footer-bottom {
  padding-top: 24px;
  font-size: 13px;
  opacity: 0.5;
  text-align: center;
}

/* ---------- Botones flotantes ---------- */
.social-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.float-btn {
  display: flex;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.float-btn:hover {
  transform: translateY(-4px) scale(1.06);
}
.float-whatsapp {
  width: 56px;
  height: 56px;
  background: #25D366;
  position: relative;
  animation-delay: 0.15s;
  animation-name: popIn;
  animation-duration: 0.5s;
  animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1);
  animation-iteration-count: 1;
  animation-fill-mode: both;
}
.float-whatsapp::before,
.float-whatsapp::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.55);
  z-index: -1;
  animation: waRing 2.4s ease-out infinite;
}
.float-whatsapp::after {
  animation-delay: 1.2s;
}
@keyframes waRing {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}
.float-whatsapp:hover {
  background: #1ebe5a;
}
.float-instagram {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b 55%, #6228d7);
}

.back-to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 60;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--grafito);
  color: var(--hueso);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--granate);
}
.back-to-top svg {
  transition: transform 0.25s ease;
}
.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 880px) {
  .nav-desktop {
    display: none;
  }
  .burger {
    display: flex;
  }
}
@media (min-width: 881px) {
  .social-float .float-instagram {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 96px 20px 72px;
  }
  .section {
    padding: 80px 20px;
  }
  .hero-stats {
    gap: 32px;
  }
  .contact-value {
    text-align: left;
  }
  .contact-row {
    flex-wrap: wrap;
  }
}
