:root {
  /* Clean Deco — hilo conductor */
  --hub-black: #272727;
  --hub-gray: #d9d9d9;
  --hub-white: #ffffff;
  --hub-bg: #fafafa;
  --text-primary: #272727;
  --text-secondary: #6b6b6b;
  --border: #e3e3e3;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0,0,0,0.08);
  --container: 1180px;

  /* Clean-It */
  --cleanit-navy: #042C53;
  --cleanit-blue: #0C447C;
  --cleanit-accent: #378ADD;
  --cleanit-soft: #85B7EB;
  --cleanit-bg: #F4F8FD;

  /* Roll-Ux */
  --rollux-primary: #8B5A2B;
  --rollux-dark: #5c3a1e;
  --rollux-cream: #F5EFE3;
  --rollux-green: #4a5d34;

  /* Host-Pro */
  --hostpro-dark: #1a1615;
  --hostpro-cream: #fff9e3;
  --hostpro-orange: #e85924;
  --hostpro-purple: #5b4099;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-primary);
  background: var(--hub-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3 { font-family: 'Quicksand', sans-serif; font-weight: 700; line-height: 1.2; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Header (siempre monocromo) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; }
.brand-logo { height: 26px; width: auto; object-fit: contain; }

.nav ul { display: flex; gap: 28px; }
.nav-link {
  font-family: 'Quicksand', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--text-primary); position: relative; padding: 6px 0 10px;
  border-bottom: 3px solid transparent; transition: color .2s ease, border-color .2s ease;
}
.nav-link:hover { color: var(--hub-black); }
.nav-link.active[data-brand="cleanit"] { border-color: var(--cleanit-accent); color: var(--cleanit-navy); }
.nav-link.active[data-brand="rollux"] { border-color: var(--rollux-primary); color: var(--rollux-dark); }
.nav-link.active[data-brand="hostpro"] { border-color: var(--hostpro-orange); color: var(--hostpro-dark); }
.nav-link.active[data-brand="hub"] { border-color: var(--hub-black); }

.menu-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--hub-black); cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 15px;
  padding: 13px 26px; border-radius: 10px; border: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-brand { background: var(--hub-white); color: var(--hub-black); box-shadow: var(--shadow); }

/* ---------- Hub hero ---------- */
.hub-hero { background: var(--hub-bg); padding: 90px 0 100px; text-align: center; }
.hub-hero-text { max-width: 640px; margin: 0 auto 50px; }
.eyebrow {
  display: inline-block; font-family: 'Quicksand', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; color: var(--text-secondary); margin-bottom: 14px; text-transform: uppercase;
}
.hub-hero h1 { font-size: clamp(32px, 4.5vw, 46px); margin-bottom: 18px; color: var(--hub-black); }
.hub-hero-text p { color: var(--text-secondary); font-size: 16.5px; }

.brand-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.brand-card {
  background: var(--hub-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px; text-align: center; transition: transform .25s ease, box-shadow .25s ease;
  border-top: 4px solid var(--hub-gray);
}
.brand-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.brand-card[data-brand="cleanit"] { border-top-color: var(--cleanit-accent); }
.brand-card[data-brand="rollux"] { border-top-color: var(--rollux-primary); }
.brand-card[data-brand="hostpro"] { border-top-color: var(--hostpro-orange); }

.brand-card-logo {
  display: block; height: 68px; max-height: 68px; width: auto; max-width: 210px;
  margin: 0 auto 22px; object-fit: contain;
}
.brand-card-logo-hostpro { height: 76px; max-height: 76px; }
.brand-card p { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 18px; min-height: 42px; }
.brand-card-link { font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 14px; color: var(--hub-black); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Brand sections (cambia paleta) ---------- */
.brand-section { padding: 90px 0 100px; }
.brand-hero { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.brand-hero-logo {
  display: block; height: 92px; max-height: 92px; width: auto; max-width: 380px;
  margin: 0 auto; object-fit: contain;
}
.logo-chip {
  display: inline-block; background: #fff; padding: 18px 32px; border-radius: 16px;
  margin: 0 auto 30px; box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}
.brand-hero h2 { font-size: clamp(26px, 3.8vw, 36px); margin-bottom: 16px; }
.brand-hero p { font-size: 16px; margin-bottom: 30px; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  border-radius: var(--radius); padding: 30px 26px; transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-5px); }
.service-icon {
  width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 24px;
}
.service-card h3 { font-size: 17px; margin-bottom: 8px; font-family: 'Nunito', sans-serif; font-weight: 700; }
.service-card p { font-size: 14px; }

/* Clean-It theme */
.section-cleanit { background: var(--cleanit-navy); }
.section-cleanit .brand-hero h2, .section-cleanit .brand-hero p { color: #fff; }
.section-cleanit .brand-hero p { color: #B9D3EE; }
.section-cleanit .btn-brand { color: var(--cleanit-navy); }
.section-cleanit .service-card { background: var(--cleanit-bg); border: 1px solid rgba(255,255,255,0.08); }
.section-cleanit .service-icon { background: #fff; color: var(--cleanit-accent); }
.section-cleanit .service-card h3 { color: var(--cleanit-navy); }
.section-cleanit .service-card p { color: var(--cleanit-blue); }

/* Roll-Ux theme */
.section-rollux { background: linear-gradient(135deg, var(--rollux-primary), var(--rollux-dark)); }
.section-rollux .brand-hero h2 { color: #fff; font-style: italic; }
.section-rollux .brand-hero p { color: #EAD9C4; }
.section-rollux .btn-brand { color: var(--rollux-dark); }
.section-rollux .service-card { background: var(--rollux-cream); border: 1px solid rgba(255,255,255,0.15); }
.section-rollux .service-icon { background: #fff; color: var(--rollux-primary); }
.section-rollux .service-card h3 { color: var(--rollux-dark); }
.section-rollux .service-card p { color: #6b533c; }

/* Host-Pro theme */
.section-hostpro { background: var(--hostpro-dark); }
.section-hostpro .brand-hero h2 { color: var(--hostpro-cream); font-family: 'Montserrat', sans-serif; font-weight: 800; }
.section-hostpro .brand-hero p { color: #C9BFB0; font-family: 'Montserrat', sans-serif; }
.section-hostpro .btn-brand { background: var(--hostpro-orange); color: #fff; }
.section-hostpro .services-grid { grid-template-columns: repeat(3, 1fr); }
.section-hostpro .service-card { background: #241f1d; border: 1px solid #3a332f; }
.section-hostpro .service-icon { background: var(--hostpro-orange); color: #fff; }
.section-hostpro .service-card h3 { color: var(--hostpro-cream); font-family: 'Montserrat', sans-serif; font-weight: 700; }
.section-hostpro .service-card p { color: #A79E8E; font-family: 'Montserrat', sans-serif; }
.section-hostpro .service-card:nth-child(2) .service-icon { background: var(--hostpro-purple); }

/* ---------- Contact (hub, monocromo) ---------- */
.contact-section { background: var(--hub-white); padding: 90px 0; }
.section-title { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.section-title h2 { font-size: clamp(26px, 3.5vw, 34px); color: var(--hub-black); margin: 10px 0; }
.section-title p { color: var(--text-secondary); }

.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.contact-card {
  background: var(--hub-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 20px; text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card i { font-size: 26px; color: var(--hub-black); margin-bottom: 12px; }
.contact-card h3 { font-family: 'Quicksand', sans-serif; font-size: 15px; margin-bottom: 6px; color: var(--hub-black); }
.contact-card p { font-size: 13.5px; color: var(--text-secondary); }
.contact-note { text-align: center; margin-top: 30px; color: var(--text-secondary); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--hub-black); padding: 60px 0 0; color: #cfcfcf; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #3d3d3d; }
.footer-logo { height: 24px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { margin-top: 14px; font-size: 13.5px; color: #9c9c9c; max-width: 280px; }
.footer-heading { display: block; font-family: 'Quicksand', sans-serif; font-weight: 700; color: #fff; font-size: 13px; letter-spacing: 1px; margin-bottom: 14px; text-transform: uppercase; }
.footer-links a { display: block; font-size: 14px; margin-bottom: 10px; color: #cfcfcf; transition: color .2s ease; }
.footer-links a:hover { color: #fff; }
.footer-contact p { font-size: 13.5px; margin-bottom: 10px; display: flex; gap: 8px; color: #b5b5b5; }
.footer-bottom { padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 12.5px; color: #8a8a8a; }

/* ---------- Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed; bottom: 26px; right: 26px; width: 58px; height: 58px;
  background: #25D366; color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 28px;
  box-shadow: 0 10px 26px rgba(37,211,102,0.45); z-index: 999;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 10px 26px rgba(37,211,102,0.45); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 10px 26px rgba(37,211,102,0.45); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 26px rgba(37,211,102,0.45); }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .brand-cards, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { margin: 14px auto 0; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 320px; }
  .nav ul { flex-direction: column; padding: 20px 24px; gap: 16px; }
  .brand-cards, .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .brand-section { padding: 64px 0 72px; }
  .whatsapp-float { width: 52px; height: 52px; font-size: 24px; bottom: 18px; right: 18px; }
  .brand-hero-logo { height: 72px; max-height: 72px; }
  .logo-chip { padding: 14px 22px; }
}
