/* === VARIABLES === */
:root {
  --background: #ffffff;
  --foreground: #0f172a;
  --primary: #1e3a8a;
  --primary-foreground: #ffffff;
  --accent: #e8510a;
  --accent-foreground: #ffffff;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 0.75rem;
  --whatsapp: #25D366;
  --green: #10b981;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "DM Sans", sans-serif;
  background: var(--background);
  color: var(--foreground);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 600; }
p { max-width: 65ch; line-height: 1.7; }

/* === UTILITIES === */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.text-center { text-align: center; }
.text-accent { color: var(--accent); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
  font-family: inherit;
}
.btn:active { transform: scale(0.98); }

.btn-accent {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 0 14px 3px #E8510A55;
  animation: cta-pulse 2s ease-in-out infinite;
}
.btn-accent:hover { background: #cf4709; }

.btn-outline-white {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.2); color: #fff; }

.btn-phone {
  background: var(--green);
  color: #fff;
  width: 3.5rem; height: 3.5rem;
  border-radius: 50%;
  box-shadow: 0 0 20px 6px #10b98144;
  animation: phone-pulse 2s ease-in-out infinite;
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  width: 4rem; height: 4rem;
  border-radius: 50%;
  box-shadow: 0 0 20px 6px #25D36644;
  animation: whatsapp-pulse 2s ease-in-out infinite;
}
.btn-phone:hover { background: #059669; }
.btn-whatsapp:hover { background: #20ba5a; }

/* === ANIMATIONS === */
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 0 20px 6px #25D366, 0 0 40px 10px #25D36644; transform: scale(1); }
  50%       { box-shadow: 0 0 30px 12px #25D366, 0 0 60px 20px #25D36666; transform: scale(1.07); }
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 14px 3px #E8510A55; transform: scale(1); }
  50%       { box-shadow: 0 0 22px 6px #E8510A77; transform: scale(1.03); }
}
@keyframes phone-pulse {
  0%, 100% { box-shadow: 0 0 20px 6px #10b981, 0 0 40px 10px #10b98144; transform: scale(1); }
  50%       { box-shadow: 0 0 30px 12px #10b981, 0 0 60px 20px #10b98166; transform: scale(1.07); }
}
@keyframes scroll-banner {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInCard {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === HEADER === */
.site-header { position: sticky; top: 0; z-index: 50; width: 100%; }

.header-urgency {
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  padding: 0.375rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.pulse-dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.header-main {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.site-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.site-logo .accent { color: var(--accent); }

.nav-desktop { display: flex; align-items: center; gap: 0.25rem; }
.nav-desktop a {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-desktop a:hover { color: var(--primary); background: var(--muted); }
.nav-cta {
  margin-left: 1rem;
  padding: 0.5rem 1.25rem !important;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #cf4709 !important; }

.nav-mobile { display: none; align-items: center; gap: 0.5rem; }
.btn-call-mobile {
  background: var(--accent);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.hamburger {
  background: none; border: none; cursor: pointer;
  padding: 0.4rem; border-radius: 0.5rem;
}
.hamburger:hover { background: var(--muted); }
.hamburger svg { display: block; }

.mobile-menu {
  display: none;
  position: fixed; inset: 0; z-index: 100;
}
.mobile-menu.open { display: block; }
.mobile-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
}
.mobile-drawer {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 300px;
  background: #fff;
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}
.mobile-drawer a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  color: var(--foreground);
  transition: background 0.2s;
}
.mobile-drawer a:hover { background: var(--muted); color: var(--primary); }
.mobile-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; cursor: pointer; font-size: 1.5rem;
  color: var(--muted-foreground);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1607472586893-edb57bdc0e39?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.15), rgba(0,0,0,0.5));
}
.hero-content {
  position: relative; z-index: 10;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease forwards;
}
.hero-content h1 { color: #fff; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.25rem; color: #ffffff; font-weight: 600; margin-bottom: 2rem; text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 1px 3px rgba(0,0,0,0.9); }
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* === BANNER === */
.scrolling-banner {
  background: var(--primary);
  padding: 1rem 0;
  overflow: hidden;
}
.banner-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: scroll-banner 40s linear infinite;
}
.banner-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  flex-shrink: 0;
}
.banner-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}
.banner-item svg { color: var(--accent); flex-shrink: 0; }
.banner-dot { color: rgba(255,255,255,0.3); font-size: 1.2rem; }

/* === SECTIONS === */
.section { padding: 5rem 0; }
.section-alt { background: var(--muted); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { color: var(--foreground); margin-bottom: 1rem; }
.section-header p { color: var(--muted-foreground); font-size: 1.125rem; max-width: 42rem; margin: 0 auto; }

/* === SERVICE CARDS === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--card);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
  opacity: 0;
  animation: fadeInCard 0.5s ease forwards;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-4px); }

.service-icon {
  width: 4rem; height: 4rem;
  background: rgba(232,81,10,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  transition: background 0.3s;
}
.service-card:hover .service-icon { background: rgba(232,81,10,0.2); }
.service-icon svg { width: 2rem; height: 2rem; color: var(--accent); }
.service-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.875rem; color: var(--muted-foreground); max-width: 100%; }

/* === ADVANTAGE BOXES === */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.advantage-box {
  background: var(--muted);
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  text-align: center;
  opacity: 0;
  animation: fadeInCard 0.5s ease forwards;
}
.advantage-icon {
  width: 4rem; height: 4rem;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.advantage-icon svg { width: 2rem; height: 2rem; color: #fff; }
.advantage-box h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }
.advantage-box p { font-size: 0.875rem; color: var(--muted-foreground); max-width: 100%; }

/* === COVERAGE === */
.coverage-inner { text-align: center; max-width: 52rem; margin: 0 auto; }
.coverage-icon-wrap {
  width: 5rem; height: 5rem;
  background: rgba(232,81,10,0.1);
  border-radius: calc(var(--radius) + 4px);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.coverage-icon-wrap svg { width: 2.5rem; height: 2.5rem; color: var(--accent); }
.coverage-inner h2 { margin-bottom: 1rem; }
.coverage-inner .lead { font-size: 1.125rem; color: var(--muted-foreground); margin: 0 auto 1.5rem; max-width: 52rem; }
.coverage-inner .lead strong { font-weight: 600; color: var(--accent); }
.coverage-zones { font-size: 1rem; font-weight: 500; color: var(--foreground); }

/* === CONTACT FORM === */
.contact-form-wrap { max-width: 42rem; margin: 0 auto; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group-full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
}
.form-group input,
.form-group textarea {
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--foreground);
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}
.form-group textarea { resize: none; }
.form-error { font-size: 0.8rem; color: #ef4444; margin-top: 0.2rem; }
.btn-submit {
  width: 100%;
  padding: 0.85rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.1s;
  margin-top: 1.5rem;
}
.btn-submit:hover { background: #cf4709; }
.btn-submit:active { transform: scale(0.98); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.form-toast {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
}
.form-toast.success { background: #d1fae5; color: #065f46; display: block; }
.form-toast.error   { background: #fee2e2; color: #991b1b; display: block; }

/* === FOOTER === */
.site-footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.footer-logo-icon {
  width: 2.5rem; height: 2.5rem;
  background: var(--accent);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem; color: #fff;
}
.footer-brand-name { font-size: 1.1rem; font-weight: 700; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 100%; }

.footer-col h4 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact-list li a,
.footer-contact-list li span {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.footer-contact-list li a:hover { color: var(--accent); }
.footer-contact-list svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

.footer-services-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-services-list li { font-size: 0.875rem; color: rgba(255,255,255,0.75); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* === FLOATING BUTTONS === */
.floating-buttons {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
.floating-buttons a {
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s;
}
.floating-buttons a:hover { transform: scale(1.05); }

/* ══════════════════════════════════
   BLOG — ARCHIVE
══════════════════════════════════ */
.blog-hero {
  background: var(--primary);
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.blog-hero h1 { color: #fff; margin-bottom: 0.75rem; }
.blog-hero p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin: 0 auto; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }

.blog-card-img-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img { transform: scale(1.04); }

.blog-card-img-placeholder {
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.blog-card-meta { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.blog-card-date {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
}
.blog-card-cat {
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(232,81,10,0.1);
  color: var(--accent);
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
}

.blog-card-title { font-size: 1.1rem; font-weight: 600; line-height: 1.4; }
.blog-card-title a { color: var(--foreground); transition: color 0.2s; }
.blog-card-title a:hover { color: var(--accent); }

.blog-card-excerpt { font-size: 0.875rem; color: var(--muted-foreground); max-width: 100%; flex: 1; }

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.2s;
  margin-top: auto;
}
.blog-card-link:hover { gap: 0.6rem; color: var(--accent); }

/* Pagination */
.blog-pagination { display: flex; justify-content: center; margin-top: 2rem; }
.blog-pagination .page-numbers {
  display: inline-flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.blog-pagination .page-numbers li a,
.blog-pagination .page-numbers li span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  transition: all 0.2s;
}
.blog-pagination .page-numbers li a:hover { border-color: var(--accent); color: var(--accent); }
.blog-pagination .page-numbers li span.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Empty state */
.blog-empty {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--muted-foreground);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.blog-empty h3 { color: var(--foreground); }
.blog-empty p  { max-width: 36ch; margin: 0 auto; }

/* ══════════════════════════════════
   ARTICLE — SINGLE
══════════════════════════════════ */
.article-hero {
  background: var(--primary);
  color: #fff;
  padding: 3.5rem 0 3rem;
}
.article-hero-inner { max-width: 780px; }

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.article-breadcrumb a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.article-breadcrumb a:hover { color: var(--accent); }

.article-cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}

.article-hero h1 { color: #fff; font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1rem; }

.article-meta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

/* Layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

/* Article body */
.article-featured-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.article-img { width: 100%; height: auto; display: block; }

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--foreground);
}
.article-content p     { margin-bottom: 1.25rem; max-width: 100%; }
.article-content h2    { font-size: 1.5rem; margin: 2rem 0 0.75rem; color: var(--primary); }
.article-content h3    { font-size: 1.2rem; margin: 1.75rem 0 0.5rem; color: var(--primary); }
.article-content ul,
.article-content ol    { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-content li    { margin-bottom: 0.4rem; }
.article-content a     { color: var(--accent); text-decoration: underline; }
.article-content img   { border-radius: var(--radius); max-width: 100%; margin: 1.5rem 0; }
.article-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 0.75rem 1.25rem;
  background: var(--muted);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--muted-foreground);
}
.article-content strong { color: var(--foreground); font-weight: 600; }

/* Tags */
.article-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.article-tag {
  background: var(--muted);
  color: var(--foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.2s;
}
.article-tag:hover { background: rgba(232,81,10,0.1); color: var(--accent); }

/* Prev/Next nav */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.article-nav-next { text-align: right; }
.article-nav-label { display: block; font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 0.25rem; }
.article-nav-prev a,
.article-nav-next a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s;
}
.article-nav-prev a:hover,
.article-nav-next a:hover { color: var(--accent); }

/* Sidebar */
.article-sidebar { position: sticky; top: 5.5rem; display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-cta {
  background: var(--primary);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.sidebar-cta-icon {
  width: 3.5rem; height: 3.5rem;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.25rem;
}
.sidebar-cta h3 { color: #fff; font-size: 1.1rem; }
.sidebar-cta p  { color: rgba(255,255,255,0.75); font-size: 0.875rem; max-width: 100%; }
.sidebar-cta-btn { width: 100%; justify-content: center; }
.sidebar-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #25D366;
  font-size: 0.875rem;
  font-weight: 600;
  transition: opacity 0.2s;
}
.sidebar-whatsapp:hover { opacity: 0.85; color: #25D366; }

.sidebar-recent {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.5rem;
}
.sidebar-recent h4 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.sidebar-recent-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.sidebar-recent-list li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity 0.2s;
}
.sidebar-recent-list li a:hover { opacity: 0.8; }
.sidebar-recent-img {
  width: 3.5rem; height: 3.5rem;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}
.sidebar-recent-img-placeholder {
  width: 3.5rem; height: 3.5rem;
  background: var(--muted);
  border-radius: 0.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}
.sidebar-recent-title { display: block; font-size: 0.85rem; font-weight: 500; color: var(--foreground); line-height: 1.4; }
.sidebar-recent-date  { display: block; font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.2rem; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: flex; }

  .form-grid { grid-template-columns: 1fr; }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; max-width: 320px; }

  .services-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr 1fr; }

  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-next { text-align: left; }

  .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .advantages-grid { grid-template-columns: 1fr; }
}
