/* =========================================================
   CYDERSOFT — Estilos globales
   ========================================================= */

:root {
  --black: #0d0d0d;
  --black-light: #1a1a1a;
  --black-card: #161616;
  --white: #ffffff;
  --gray-50: #f7f7f8;
  --gray-100: #efefef;
  --gray-400: #8a8a8a;
  --gray-600: #555555;
  --orange: #ff6a00;
  --orange-light: #ffb347;
  --orange-dark: #e85d00;
  --gradient-orange: linear-gradient(135deg, #ffd27a 0%, #ff8a1e 50%, #e85d00 100%);
  --gradient-dark: linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
  --gradient-hero: linear-gradient(180deg, #ffffff 0%, #fff4e9 100%);
  --gradient-cta: linear-gradient(135deg, #ff9a3d 0%, #ff6a00 55%, #d94e00 100%);
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 45px rgba(0, 0, 0, 0.12);
  --shadow-strong: 0 25px 60px rgba(0, 0, 0, 0.25);
  --shadow-orange: 0 15px 35px rgba(255, 106, 0, 0.25);
  --container: 1200px;
  --transition: 0.35s cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--black);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { color: var(--gray-600); }

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

.section { padding: 110px 0; }
.section-dark { background: var(--gradient-dark); color: var(--white); }
.section-dark p { color: #c9c9c9; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-gray { background: var(--gray-50); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--gradient-orange);
  display: inline-block;
}

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-orange);
  color: var(--black);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 45px rgba(255,106,0,0.35); }
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover { background: var(--orange); color: var(--black); transform: translateY(-3px); }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-outline-dark {
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.2);
  color: var(--black);
}
.btn-outline-dark:hover { border-color: var(--orange); color: var(--orange-dark); }
.btn-block { width: 100%; justify-content: center; }
.btn svg { width: 18px; height: 18px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 22px 0;
  transition: var(--transition);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; max-width: 1360px; gap: 18px; }
.nav-cta .btn { padding: 12px 22px; font-size: 0.85rem; }
.site-header.scrolled {
  background: rgba(13,13,13,0.9);
  backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 42px; height: 42px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-heading); font-size: 1.15rem; color: var(--white); letter-spacing: 0.5px; }
.brand-text strong span { color: var(--orange); }
.brand-text small { color: var(--gray-400); font-size: 0.62rem; letter-spacing: 1px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: #e8e8e8;
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gradient-orange);
  transition: var(--transition);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--orange); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.mail-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; min-width: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  transition: var(--transition);
}
.mail-icon-btn:hover { background: var(--gradient-orange); border-color: transparent; color: var(--black); }
.mail-icon-btn svg { width: 16px; height: 16px; }

.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 140%; left: 50%;
  transform: translate(-50%, 10px);
  background: var(--black-light);
  min-width: 250px;
  border-radius: var(--radius-sm);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255,255,255,0.06);
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown-menu a { display: block; padding: 10px 12px; font-size: 0.86rem; border-radius: 8px; }
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: rgba(255,106,0,0.12); color: var(--orange); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--white); transition: var(--transition); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 190px 0 120px;
  background: var(--gradient-hero);
  overflow: hidden;
  border-bottom: 1px solid var(--gray-100);
}
.hero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 0;
}
.hero .blob-1 { width: 480px; height: 480px; background: var(--orange); top: -160px; right: -120px; opacity: 0.16; }
.hero .blob-2 { width: 340px; height: 340px; background: var(--orange-light); bottom: -140px; left: -100px; opacity: 0.12; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero h1, .hero h2, .hero h3,
.page-hero h1, .page-hero h2, .page-hero h3 { color: var(--black); }
.cta-band h1, .cta-band h2, .cta-band h3,
.card-dark h3, .card-dark h4 { color: var(--white); }
.hero p, .page-hero p { color: var(--gray-600); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,106,0,0.08);
  border: 1px solid rgba(255,106,0,0.22);
  color: var(--black);
  padding: 8px 18px; border-radius: 100px;
  font-size: 0.82rem; font-weight: 600; margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,106,0,0.25); }
.page-hero {
  padding: 170px 0 90px;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-100);
}
.page-hero .blob-1 { position:absolute; width:420px; height:420px; background:var(--orange); border-radius:50%; filter: blur(90px); opacity:0.15; top:-180px; left:50%; transform: translateX(-50%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero p { max-width: 620px; margin: 14px auto 0; }
.breadcrumb { color: var(--gray-400); font-size: 0.85rem; margin-top: 18px; }
.breadcrumb a { color: var(--gray-600); }
.breadcrumb a:hover { color: var(--orange); }

/* ---------- Mockup screen (hero illustration) ---------- */
.mockup {
  position: relative;
  background: var(--black-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255,255,255,0.08);
  transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
}
.mockup-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.mockup-body { display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px; }
.mockup-side { background: rgba(255,255,255,0.04); border-radius: var(--radius-sm); padding: 14px; display:flex; flex-direction:column; gap:10px; }
.mockup-side .line { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.1); }
.mockup-side .line.active { background: var(--gradient-orange); width: 70%; }
.mockup-main { display: flex; flex-direction: column; gap: 12px; }
.mockup-stat-row { display: flex; gap: 10px; }
.mockup-stat { flex: 1; background: rgba(255,255,255,0.05); border-radius: var(--radius-sm); padding: 12px; }
.mockup-stat b { display:block; font-size:1.3rem; color: var(--orange-light); font-family: var(--font-heading); }
.mockup-stat span { font-size: 0.68rem; color: var(--gray-400); }
.mockup-chart {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 110px;
}
.mockup-chart i { flex:1; background: var(--gradient-orange); border-radius: 4px 4px 0 0; opacity: .85; }
.mockup-float {
  position: absolute;
  background: var(--white);
  color: var(--black);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-strong);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup-float.f1 { top: -20px; left: -30px; }
.mockup-float.f2 { bottom: -18px; right: -20px; }
.mockup-float .ico { width: 26px; height: 26px; border-radius: 50%; background: var(--gradient-orange); display:flex; align-items:center; justify-content:center; font-size: 0.9rem; }

/* ---------- Stats ---------- */
.stats-bar { background: var(--black); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; padding: 60px 0; }
.stat-item .num { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; background: var(--gradient-orange); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-item span { color: var(--gray-400); font-size: 0.9rem; }

/* ---------- Cards / Grid ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); border-color: transparent; }
.card .icon-wrap {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--gradient-orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 16px; font-size: 0.94rem; }
.card-link { color: var(--orange-dark); font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { gap: 10px; }

.card-dark {
  background: var(--black-card);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.06);
}
.card-dark p { color: var(--gray-400); }

/* ---------- Case studies (por rubro) ---------- */
.case-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-bottom: 30px;
}
.case-media { position: relative; min-height: 260px; background-size: cover; background-position: center; }
.case-media .tag {
  position: absolute; top: 20px; left: 20px;
  background: rgba(13,13,13,0.75);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.case-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.case-body h3 { font-size: 1.4rem; margin-bottom: 6px; }
.case-body .client { color: var(--orange-dark); font-weight: 600; font-size: 0.9rem; margin-bottom: 18px; }
.case-row { display: flex; gap: 14px; margin-bottom: 14px; }
.case-row .label { min-width: 100px; font-weight: 700; font-size: 0.82rem; color: var(--black); }
.case-row p { font-size: 0.9rem; margin: 0; }
.case-result {
  margin-top: 10px;
  background: var(--gray-50);
  border-left: 3px solid var(--orange);
  padding: 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 0 10px 10px 0;
}
.illustrative-note {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.82rem;
  font-style: italic;
  margin-top: 10px;
}

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 20px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--orange), transparent);
}
.timeline-item { position: relative; padding-left: 60px; margin-bottom: 44px; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 11px; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--gradient-orange);
  box-shadow: 0 0 0 6px var(--gray-50);
}
.timeline-item .year { color: var(--orange-dark); font-weight: 700; font-family: var(--font-heading); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--gradient-orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--black);
  box-shadow: var(--shadow-orange);
}
.avatar-photo { object-fit: cover; border: 3px solid var(--white); }
.team-card h3 { margin-bottom: 4px; }
.team-card .role { color: var(--orange-dark); font-weight: 600; font-size: 0.88rem; margin-bottom: 8px; }
.team-card .flag { color: var(--gray-400); font-size: 0.82rem; }

/* ---------- Values / Filosofia ---------- */
.value-card { text-align: center; padding: 40px 24px; }
.value-card .icon-wrap { margin: 0 auto 20px; }

/* ---------- Testimonials ---------- */
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}
.testi-card .stars { color: var(--orange); margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { font-style: italic; margin-bottom: 20px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-person .avatar { width: 46px; height: 46px; font-size: 1rem; margin: 0; }
.testi-person strong { display: block; font-size: 0.92rem; }
.testi-person span { font-size: 0.78rem; color: var(--gray-400); }

/* ---------- FAQ Accordion ---------- */
.accordion-item {
  border-bottom: 1px solid var(--gray-100);
}
.accordion-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 24px 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.accordion-q .plus { font-size: 1.4rem; color: var(--orange); transition: var(--transition); }
.accordion-item.open .plus { transform: rotate(45deg); }
.accordion-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-a p { padding-bottom: 22px; max-width: 750px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,13,13,0.85));
  display: flex; align-items: flex-end;
  padding: 18px;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay span { color: var(--white); font-weight: 600; font-size: 0.9rem; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(13,13,13,0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 900px; max-height: 80vh; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 30px; right: 40px;
  color: var(--white); font-size: 2rem;
  background: none; border: none; cursor: pointer;
}

/* ---------- Tech stack ---------- */
.tech-cat { margin-bottom: 50px; }
.tech-cat h3 { color: var(--orange-dark); margin-bottom: 22px; }
.tech-pill-row { display: flex; flex-wrap: wrap; gap: 14px; }
.tech-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 12px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-soft);
}
.tech-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient-orange); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.85rem; font-weight: 600; color: var(--black); }
input, select, textarea {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-100);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--gray-50);
  transition: var(--transition);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}
textarea { resize: vertical; min-height: 130px; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item .ico {
  width: 46px; height: 46px; min-width:46px;
  border-radius: 12px;
  background: var(--gradient-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.contact-info-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.contact-info-item p { font-size: 0.9rem; margin: 0; }
.map-embed { border-radius: var(--radius); overflow: hidden; margin-top: 20px; box-shadow: var(--shadow-soft); }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--gradient-cta);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 24px;
  box-shadow: var(--shadow-orange);
}
.cta-band .blob-1 { position:absolute; width:300px; height:300px; background:#ffffff; border-radius:50%; filter: blur(90px); opacity:0.18; top:-100px; right:-60px; }
.cta-band .container { position: relative; z-index: 1; padding: 0; }
.cta-band p { color: rgba(255,255,255,0.9); }
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { max-width: 500px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--gray-400); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer-grid h4 { color: var(--white); font-size: 0.95rem; margin-bottom: 20px; }
.footer-grid ul li { margin-bottom: 12px; }
.footer-grid ul li a:hover { color: var(--orange); }
.footer-brand p { margin: 16px 0 20px; font-size: 0.88rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--gradient-orange); border-color: transparent; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 15px 35px rgba(37,211,102,0.45);
  z-index: 998;
  animation: pulse 2.4s infinite;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.wa-float.show, .bot-float.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.wa-float svg { width: 30px; height: 30px; fill: white; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Chatbot flotante ---------- */
.bot-float {
  position: fixed;
  bottom: 28px; left: 28px;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--gradient-orange);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-orange);
  z-index: 998;
  cursor: pointer;
  animation: pulse-bot 2.4s infinite;
  padding: 0;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.bot-float svg { width: 30px; height: 30px; }
@keyframes pulse-bot {
  0% { box-shadow: 0 0 0 0 rgba(255,106,0,0.5); }
  70% { box-shadow: 0 0 0 18px rgba(255,106,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,106,0,0); }
}

.bot-window {
  position: fixed;
  bottom: 102px; left: 28px;
  width: 360px;
  max-width: calc(100vw - 40px);
  height: 480px;
  max-height: calc(100vh - 150px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
}
.bot-window.active { display: flex; }
.bot-header {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.bot-header-info { display: flex; align-items: center; gap: 10px; }
.bot-avatar {
  width: 38px; height: 38px; min-width: 38px;
  border-radius: 50%;
  background: var(--gradient-orange);
  display: flex; align-items: center; justify-content: center;
}
.bot-avatar svg { width: 22px; height: 22px; }
.bot-header-info strong { display: block; font-size: 0.9rem; color: var(--white); }
.bot-header-info .status { font-size: 0.72rem; color: #a6f0b4; display: flex; align-items: center; gap: 5px; }
.bot-header-info .status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #25D366; display: inline-block; }
.bot-close { background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; line-height: 1; }

.bot-messages {
  flex: 1;
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--gray-50);
}
.bot-msg { max-width: 82%; padding: 10px 14px; border-radius: 14px; font-size: 0.88rem; line-height: 1.5; white-space: pre-line; }
.bot-msg-bot { background: var(--white); border: 1px solid var(--gray-100); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--black); }
.bot-msg-user { background: var(--gradient-orange); color: var(--black); align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.bot-msg-alert { background: #fff4e5; border: 1px solid #ffcf8f; color: #7a4a00; align-self: flex-start; font-weight: 500; max-width: 92%; }

.bot-wa-handoff {
  display: none;
  width: calc(100% - 28px);
  margin: 0 14px 12px;
  padding: 11px;
  border-radius: 10px;
  background: #25D366;
  color: #fff;
  border: none;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}
.bot-wa-handoff:hover { background: #1fb958; }
.bot-wa-handoff.show { display: block; }

.bot-input-row { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--gray-100); background: var(--white); }
.bot-input-row input { flex: 1; border-radius: 100px; padding: 12px 16px; background: var(--gray-50); margin-bottom: 0; }
.bot-input-row button {
  width: 42px; height: 42px; min-width: 42px;
  border-radius: 50%;
  background: var(--gradient-orange);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--black);
}

@media (max-width: 768px) {
  .bot-window { left: 16px; right: 16px; width: auto; bottom: 94px; }
  .bot-float { left: 20px; bottom: 20px; width: 56px; height: 56px; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.badge-illustrative {
  display: inline-block;
  background: var(--gray-100);
  color: var(--gray-600);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-grid, .grid-3, .grid-4, .contact-wrap, .footer-grid, .case-card { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .case-media { min-height: 200px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.mobile-open {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    width: 78%;
    height: 100vh;
    background: var(--black-light);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 26px;
    z-index: 1000;
  }
  .nav-cta { display: none; }
  .has-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 6px 0 6px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: unset;
  }
  .hero { padding: 150px 0 80px; }
  .cta-band { padding: 40px 24px; margin: 0 16px; }
  .cta-actions { flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
}
