/* =========================================================
   CLEANER AG - STYLE.CSS
   ========================================================= */


/* =========================================================
   1. VARIABLES GLOBALES
   ========================================================= */
:root {
  --primary: #156a94;
  --primary-dark: #0f4f6e;

  --secondary: #f58220;
  --secondary-dark: #de6f14;

  --dark: #111111;
  --dark-2: #0f1720;

  --text-main: #1f2a37;
  --text-strong: #111827;
  --text-soft: #667085;

  --white: #ffffff;

  --bg-soft: #f5f5f7;
  --bg-soft-2: #f7f8fb;
  --bg-why: #f3f6f9;

  --line: #e5e7eb;

  --shadow-soft: 0 10px 30px rgba(17, 17, 17, 0.06);
  --shadow-card: 0 10px 24px rgba(17, 17, 17, 0.05);

  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
}


/* =========================================================
   2. RESET / BASE
   ========================================================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-main);
  background-color: var(--white);
  padding-top: 84px;
}

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

a {
  text-decoration: none;
}

button {
  font-family: inherit;
}

h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

section {
  scroll-margin-top: 90px;
}

.hero-image,
.why-image,
.work-image,
.gallery-image,
.work-modal-image {
  image-rendering: auto;
}


/* =========================================================
   3. UTILIDADES
   ========================================================= */
.section-tag {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.section-title,
.why-title,
.works-title,
.process-title,
.contact-cta-title {
  text-wrap: balance;
}

.section-text,
.why-text,
.works-text,
.process-text,
.contact-cta-text {
  text-wrap: pretty;
}


/* =========================================================
   4. NAVBAR
   ========================================================= */
.cleaner-navbar {
  min-height: 86px;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(17, 17, 17, 0.04);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, min-height 0.25s ease;
}

.cleaner-navbar.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(10px);
}

.brand-logo {
  height: 56px;
  width: auto;
}

.navbar-nav .nav-link {
  color: #2a2f35;
  font-weight: 600;
  margin: 0 12px;
  position: relative;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--primary);
}

.btn-whatsapp-nav {
  background-color: var(--secondary);
  color: var(--white);
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 14px;
  transition: 0.25s ease;
}

.btn-whatsapp-nav:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
}


/* =========================================================
   5. HERO
   ========================================================= */
.hero-banner {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  background-image: url("../assets/img/hero-cleaner-ag.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 16, 33, 0.92) 0%,
    rgba(5, 16, 33, 0.82) 22%,
    rgba(5, 16, 33, 0.58) 42%,
    rgba(5, 16, 33, 0.18) 68%,
    rgba(5, 16, 33, 0.02) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 56px 0;
}

.hero-copy {
  max-width: 600px;
}

.hero-mini {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--secondary);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.hero-heading {
  margin: 0 0 22px 0;
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 100%;
}

.hero-line-white,
.hero-line-orange {
  display: block;
  font-weight: 700;
  font-size: clamp(2.7rem, 5.4vw, 5rem);
}

.hero-line-white {
  color: #ffffff;
  
}

.hero-line-orange {
  color: var(--secondary);
  padding-top: 0.5rem;
}

.hero-description {
  margin: 0 0 6px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.00rem;
  line-height: 1.55;
  font-weight: 500;
}

.hero-description-last {
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-btn-primary,
.hero-btn-secondary {
  min-width: 230px;
  padding: 15px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.hero-btn-primary {
  background-color: var(--secondary);
  color: #ffffff;
  border: none;
}

.hero-btn-primary:hover {
  background-color: var(--secondary-dark);
  color: #ffffff;
}

.hero-btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.hero-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}




/* =========================================================
   13. BOTONES FIJOS
   ========================================================= */
.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-color: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.28);
  z-index: 999;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
  color: var(--white);
}

.floating-whatsapp i {
  font-size: 1.7rem;
  line-height: 1;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 98px;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background-color: #111827;
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.2);
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--secondary);
}

.back-to-top i {
  font-size: 1.2rem;
  line-height: 1;
}



/* =========================================================
   14. ANIMACIONES
   ========================================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}
