/* =============================================
   NEXA CLEANING — SHARED STYLESHEET
   ============================================= */

/* 1. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text); background: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* 2. TOKENS */
:root {
  --navy:    #0B1D3A;
  --navy-lt: #162E5C;
  --teal:    #0CC5C5;
  --teal-dk: #0AA8A8;
  --white:   #FFFFFF;
  --cream:   #F7F9FC;
  --border:  #E2E8F0;
  --bord-dk: #CBD5E1;
  --text:    #0F172A;
  --sub:     #475569;
  --muted:   #94A3B8;

  --sans:    'Plus Jakarta Sans', system-ui, sans-serif;
  --serif:   'Cormorant Garamond', Georgia, serif;

  --r-sm: 6px;   --r: 10px;   --r-lg: 16px;   --r-xl: 24px;

  --sh-sm: 0 2px 10px rgba(15,23,42,.07);
  --sh:    0 6px 28px rgba(15,23,42,.09);
  --sh-lg: 0 20px 56px rgba(15,23,42,.14);

  --nav-h: 72px;
  --max-w: 1200px;
  --tr:    0.22s cubic-bezier(.4,0,.2,1);
}

/* 3. TYPOGRAPHY */
h1,h2,h3,h4,h5 { color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(34px,4vw,52px); font-weight: 800; }
h2 { font-size: clamp(26px,3vw,38px); font-weight: 700; }
h3 { font-size: clamp(17px,2vw,22px); font-weight: 700; }

.eyebrow {
  display: block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--teal-dk); margin-bottom: 12px;
}

/* 4. LAYOUT */
.container {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 40px;
}
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* 5. NAVIGATION
   Background full-width; content constrained to container */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--tr);
}
.nav.scrolled { box-shadow: var(--sh-sm); }

/* ↓ THIS is the container-constrained inner */
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 36px; width: auto; display: block; }
.logo-img-footer { height: 36px; }
.logo-text strong {
  display: block;
  font-size: 17px; font-weight: 800;
  letter-spacing: 2.5px; color: var(--navy); line-height: 1;
}
.logo-text span {
  display: block;
  font-size: 8px; font-weight: 700;
  letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--teal-dk); margin-top: 2px;
}
.footer-logo .logo-text strong { color: white; }
.footer-logo .logo-text span   { color: var(--teal); }

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 2px;
  flex: 1; justify-content: center;
}
.nav-link {
  padding: 7px 13px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500;
  color: var(--sub); transition: var(--tr);
}
.nav-link:hover { color: var(--text); background: var(--cream); }
.nav-link.active { color: var(--navy); font-weight: 600; }

/* Nav right */
.nav-right {
  display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600;
  color: var(--sub); transition: var(--tr); white-space: nowrap;
}
.nav-phone i { color: var(--teal); font-size: 11px; }
.nav-phone:hover { color: var(--navy); }

/* Language switcher */
.lang-sw {
  display: flex; align-items: center; gap: 1px;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 3px 4px;
  flex-shrink: 0;
}
.lang-opt {
  padding: 3px 9px;
  border-radius: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--muted); transition: var(--tr);
  cursor: pointer;
}
.lang-opt:hover { color: var(--navy); }
.lang-opt.active {
  background: var(--navy);
  color: white;
}
@media (max-width: 768px) { .lang-sw { display: none; } }

/* Hamburger */
.hbg { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hbg span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: var(--tr);
}

/* Mobile menu */
.mob-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--border);
  padding: 16px 20px; flex-direction: column; gap: 4px;
  z-index: 99; box-shadow: var(--sh);
}
.mob-menu.open { display: flex; }
.mob-menu a {
  padding: 10px 14px; border-radius: var(--r-sm);
  font-size: 15px; font-weight: 500;
  color: var(--sub); transition: var(--tr);
}
.mob-menu a:hover { background: var(--cream); color: var(--navy); }
.mob-menu a.active { color: var(--navy); font-weight: 600; background: var(--cream); }
.mob-menu .mob-cta {
  margin-top: 6px; background: var(--navy); color: white;
  border-radius: var(--r); padding: 12px 16px;
  font-weight: 600; text-align: center;
}

/* 6. BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--r);
  font-size: 14px; font-weight: 600;
  cursor: pointer; border: none; transition: var(--tr);
  white-space: nowrap;
}
.btn-sm  { padding: 8px 16px; font-size: 13px; }
.btn-lg  { padding: 14px 28px; font-size: 15px; }

.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--navy-lt); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(11,29,58,.24); }

.btn-teal { background: var(--teal); color: white; }
.btn-teal:hover { background: var(--teal-dk); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(12,197,197,.3); }

.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--bord-dk); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: white; }

.btn-white { background: white; color: var(--navy); }
.btn-white:hover { background: var(--cream); transform: translateY(-1px); }

/* 7. INNER PAGE HERO */
.pg-hero {
  padding-top: calc(var(--nav-h) + 64px);
  padding-bottom: 64px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.pg-hero h1 { margin-top: 12px; margin-bottom: 14px; }
.pg-hero p  { font-size: 16px; color: var(--sub); max-width: 520px; line-height: 1.75; }

/* 8. FOOTER */
.footer { background: var(--navy); padding: 64px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 28px;
}
.footer-logo .logo-img-footer { filter: brightness(0) invert(1); }
.footer-desc {
  margin-top: 16px; font-size: 14px;
  color: rgba(255,255,255,.4); line-height: 1.8; max-width: 240px;
}
.footer-socials { display: flex; gap: 8px; margin-top: 22px; }
.footer-socials a {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); font-size: 13px; transition: var(--tr);
}
.footer-socials a:hover { background: var(--teal); color: white; }
.footer-col h5 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 18px;
}
.footer-col li { margin-bottom: 6px; }
.footer-col li a,
.footer-col li span { font-size: 14px; color: rgba(255,255,255,.5); transition: var(--tr); }
.footer-col li a:hover { color: white; }
.footer-phone-row { display: flex; align-items: center; gap: 8px; }
.lang-tag { font-size: 10px; font-weight: 800; letter-spacing: .8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 4px; padding: 2px 6px; color: rgba(255,255,255,.45) !important; flex-shrink: 0; line-height: 1; }
.lang-tag-es { background: rgba(12,197,197,.12); border-color: rgba(12,197,197,.3); color: var(--teal) !important; }
.footer-areas {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  padding: 14px 0 16px; border-top: 1px solid rgba(255,255,255,.08);
  margin-bottom: 16px;
}
.footer-areas span { font-size: 11px; font-weight: 700; letter-spacing: .5px; color: rgba(255,255,255,.3); display: flex; align-items: center; gap: 5px; }
.footer-areas span i { color: var(--teal); font-size: 10px; }
.footer-areas a { font-size: 12px; color: rgba(255,255,255,.42); text-decoration: none; transition: var(--tr); }
.footer-areas a:hover { color: var(--teal); }
.footer-areas-all { font-weight: 700 !important; color: rgba(12,197,197,.7) !important; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,.25); }
.footer-tagline {
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.18);
}

/* 8b. BINK SIGNATURE */
.bink-signature {
  display: inline-block;
  text-decoration: none;
  transition: all 0.4s ease;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.bink-signature span {
  display: inline-block;
  font-weight: 800;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,.45) 0%,
    rgba(255,255,255,.7)  22%,
    var(--teal)           45%,
    #ffffff               50%,
    var(--teal)           55%,
    rgba(255,255,255,.7)  78%,
    rgba(255,255,255,.45) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: binkShine 3s linear infinite;
  filter: drop-shadow(0 0 8px rgba(12,197,197,.4));
}
.bink-signature:hover span { transform: scale(1.18); }
@keyframes binkShine {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

/* 9. FLOAT CALL */
.float-call {
  position: fixed; bottom: 28px; right: 28px; z-index: 99;
  width: 52px; height: 52px;
  background: var(--teal); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 19px;
  box-shadow: 0 6px 20px rgba(12,197,197,.38);
  transition: var(--tr);
}
.float-call:hover { transform: scale(1.1); }
.float-call::before {
  content: ''; position: absolute;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal);
  animation: ring 2.4s ease-out infinite; z-index: -1;
}
@keyframes ring {
  0%   { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.85); opacity: 0; }
}

/* 10. REVEAL */
[data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-reveal="fade"] { transform: none; }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }

/* 11. FORM BASE */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 600;
  color: var(--navy); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: 14px; color: var(--text);
  background: white; transition: border-color var(--tr), box-shadow var(--tr);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(12,197,197,.1);
}
.form-group select {
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center white;
  background-size: 16px;
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* 12. RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .container  { padding: 0 20px; }
  .nav-inner  { padding: 0 20px; }
  .section    { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .nav-links, .nav-right { display: none; }
  .hbg { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}
