/* =============================================
   SMART IOTRACE — Global Stylesheet
   Versión: 2.0 | Optimizado para S3 static hosting
============================================= */

/* --- Variables --- */
:root {
  --orange:       #FF5C00;
  --orange-light: #FF7A2F;
  --orange-glow:  rgba(255,92,0,0.16);
  --blue:         #0A2E5C;
  --blue-mid:     #0D3B72;
  --blue-light:   #1A5DA0;
  --blue-glow:    rgba(10,46,92,0.10);
  --white:        #FFFFFF;
  --off-white:    #F5F7FA;
  --text:         #1A1A2E;
  --text-muted:   #6B7280;
  --border:       rgba(10,46,92,0.10);
  --radius:       14px;
  --shadow:       0 8px 40px rgba(10,46,92,0.12);
  --shadow-lg:    0 20px 60px rgba(10,46,92,0.18);
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --nav-h:        72px;
  --transition:   0.35s cubic-bezier(0.4,0,0.2,1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Layout --- */
.container { width: min(1160px, 94%); margin-inline: auto; }

/* --- Section helpers --- */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-glow);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--blue);
}
.section-title span { color: var(--orange); }
.section-sub {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  font-weight: 300;
  line-height: 1.7;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-inline: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 28px rgba(255,92,0,0.35);
}
.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(255,92,0,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}
.btn-outline-dark {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline-dark:hover {
  background: var(--blue);
  color: var(--white);
}
.btn-wa {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 6px 28px rgba(37,211,102,0.35);
}
.btn-wa:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.45);
}
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* --- Navbar --- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  background: rgba(10,46,92,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
}
#navbar.transparent {
  background: transparent;
  box-shadow: none;
}
#navbar.scrolled {
  background: rgba(10,46,92,0.98);
  box-shadow: 0 2px 24px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.01em;
}
.logo-dot {
  width: 10px; height: 10px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,92,0,0.6); }
  50%      { box-shadow: 0 0 0 8px rgba(255,92,0,0); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 14px;
  padding: 10px;
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--orange);
}
.nav-dropdown-menu a::after { display: none; }
.nav-cta { padding: 10px 22px; font-size: 0.88rem; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,46,92,0.98);
  backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  z-index: 999;
  padding: 16px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  overflow-y: auto;
  max-height: calc(100vh - var(--nav-h));
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  font-weight: 400;
  padding: 14px 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .btn { margin-top: 18px; }
.mobile-menu-section {
  width: 100%;
  text-align: center;
  padding: 8px 0 4px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* --- Breadcrumbs --- */
.breadcrumb {
  padding: calc(var(--nav-h) + 18px) 0 0;
  background: var(--blue);
}
.breadcrumb-inner {
  padding-bottom: 14px;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}
.breadcrumb-list li a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.breadcrumb-list li a:hover { color: var(--orange); }
.breadcrumb-list li:last-child { color: rgba(255,255,255,0.9); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* --- Page Header (inner pages) --- */
.page-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 60%, #0F3D6B 100%);
  padding: 50px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-header::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,92,0,0.15) 0%, transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
  pointer-events: none;
}
.page-header-content {
  position: relative;
  z-index: 2;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}
.page-header h1 span { color: var(--orange); }
.page-header p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* --- Main content sections --- */
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.bg-off { background: var(--off-white); }
.bg-blue { background: var(--blue); }
.bg-white { background: var(--white); }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(255,92,0,0.2);
}
.card-icon {
  width: 60px; height: 60px;
  background: var(--orange-glow);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  transition: var(--transition);
}
.card:hover .card-icon { background: var(--orange); }
.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 10px;
}
.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.75;
}

/* --- Feature list --- */
.feature-list { display: grid; gap: 16px; }
.feature-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.feature-item:hover {
  border-color: var(--orange);
  background: rgba(255,92,0,0.02);
}
.feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--orange-glow);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.feature-title {
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 3px;
  font-size: 0.97rem;
}
.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* --- CTA band --- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, #0F3D6B 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,92,0,0.13) 0%, transparent 60%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-radius: 50%;
}
.cta-band-content { position: relative; z-index: 2; }
.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}
.cta-band h2 span { color: var(--orange); }
.cta-band p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.cta-band-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}
.cta-note {
  margin-top: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
}
.step-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,92,0,0.4);
  transform: translateY(-5px);
}
.step-num {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 800;
  color: var(--white);
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(255,92,0,0.4);
}
.step-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  line-height: 1.7;
}

/* --- Video section --- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blue);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.video-wrap:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.video-wrap video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #000;
}
.video-info {
  padding: 20px 22px;
  background: var(--white);
}
.video-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}
.video-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}
.video-transcript {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- FAQ --- */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--blue);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--off-white); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--orange-glow);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--orange);
  font-weight: 700;
  transition: var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--orange); color: white; }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: var(--white);
  font-size: 0.93rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.75;
}
.faq-item.open .faq-answer { display: block; }

/* --- Tags --- */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--blue-glow);
  color: var(--blue-light);
  border: 1px solid rgba(10,46,92,0.12);
}
.tag-orange {
  background: var(--orange-glow);
  color: var(--orange);
  border-color: rgba(255,92,0,0.2);
}

/* --- Services grid (home) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 38px 30px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card .card-icon { margin-bottom: 22px; }
.service-card:hover .card-icon { background: var(--orange); }

/* --- Testimonials --- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-quote { font-size: 2.8rem; line-height: 1; color: var(--orange); font-family: Georgia, serif; margin-bottom: 12px; opacity: 0.45; }
.testi-text { font-size: 0.93rem; color: var(--text-muted); line-height: 1.8; font-weight: 300; font-style: italic; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: white;
  flex-shrink: 0;
}
.testi-name { font-family: var(--font-display); font-size: 0.92rem; font-weight: 700; color: var(--blue); }
.testi-role { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.testi-note { font-size: 0.72rem; color: var(--text-muted); margin-top: 14px; font-style: italic; opacity: 0.7; }

/* --- Blog cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card-body { padding: 24px 22px; }
.blog-category {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.blog-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.35;
  margin-bottom: 10px;
}
.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 18px;
}
.blog-read-more {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.blog-card:hover .blog-read-more { gap: 10px; }

/* --- Article layout --- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 50px;
  align-items: start;
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--blue);
  margin: 36px 0 14px;
  line-height: 1.25;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
  margin: 28px 0 10px;
}
.article-body p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 18px;
  font-weight: 300;
}
.article-body ul, .article-body ol {
  margin: 14px 0 18px 22px;
}
.article-body li {
  font-size: 0.97rem;
  color: var(--text);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 6px;
  list-style: disc;
}
.article-body ol li { list-style: decimal; }
.article-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.sidebar-card {
  background: var(--off-white);
  border-radius: var(--radius);
  padding: 26px 22px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}
.sidebar-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
}
.sidebar-links { display: flex; flex-direction: column; gap: 8px; }
.sidebar-links a {
  font-size: 0.88rem;
  color: var(--blue-light);
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.sidebar-links a:hover { background: var(--white); color: var(--orange); }

/* --- Contact section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  margin-bottom: 16px;
}
.contact-method:hover {
  border-color: var(--orange);
  background: rgba(255,92,0,0.02);
}
.contact-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.ci-wa { background: rgba(37,211,102,0.12); }
.ci-fb { background: rgba(24,119,242,0.12); }
.ci-mail { background: var(--orange-glow); }
.contact-method-title { font-weight: 600; color: var(--blue); margin-bottom: 3px; }
.contact-method-val { font-size: 0.92rem; color: var(--text-muted); font-weight: 300; }
.contact-method-val a { color: var(--blue-light); transition: color var(--transition); }
.contact-method-val a:hover { color: var(--orange); }

/* --- Footer --- */
footer {
  background: #060F1E;
  color: rgba(255,255,255,0.7);
  padding: 65px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { font-size: 1.25rem; margin-bottom: 14px; display: inline-flex; }
.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.48);
  max-width: 280px;
}
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.92rem;
  transition: var(--transition);
  color: rgba(255,255,255,0.7);
  font-weight: 700;
}
.social-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
  transform: translateY(-3px);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.48);
  transition: color var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer-links a:hover { color: var(--orange); }
.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.48);
  margin-bottom: 12px;
}
.footer-contact-item a { color: inherit; transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--orange); }
.footer-icon {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.06);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.32); }
.footer-copy span { color: var(--orange); }

/* --- WhatsApp Float --- */
#wa-float {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-bubble {
  background: var(--white);
  border-radius: 12px;
  padding: 9px 15px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.15);
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  display: none;
  animation: fade-up 0.3s ease both;
  pointer-events: none;
}
#wa-float:hover .wa-bubble { display: block; }
.wa-btn {
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
  transition: var(--transition);
  cursor: pointer;
}
.wa-btn:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(37,211,102,0.6); }

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s 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; }

/* --- Animations --- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-header { padding: 36px 0 52px; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .btn { padding: 13px 24px; font-size: 0.95rem; }
}
