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

:root {
  --accent: #e74c3c;
  --accent-hover: #c0392b;
  --topbar: #28cca5;
  --dark: #2b2b2b;
  --dark-2: #2d2d2d;
  --dark-3: #1a1a1a;
  --header-bg: #ffffff;
  --body-text: #454545;
  --headings: #2b2b2b;
  --link: #999999;
  --menu-text: #444444;
  --border: #e2e2e2;
  --bg-light: #f9f9f9;
  --white: #fff;
  --btn-hover: #2b2b2b;
  --container: 1060px;
  --row-inner: 1010px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.6;
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--link); transition: color 0.3s; }
a:hover { color: var(--accent); }
h1,h2,h3,h4,h5,h6 { color: var(--headings); }
h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 13px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.row-inner {
  max-width: var(--row-inner);
  margin: 0 auto;
}
.text-center { text-align: center; }
.clearfix::after { content: ''; display: table; clear: both; }

/* ===== Buttons (Craftsman style) ===== */
.btn {
  display: inline-block;
  padding: 12px 35px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  text-align: center;
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: var(--btn-hover);
  color: var(--white);
}
.btn-sand {
  background: #a38671;
  color: var(--white);
}
.btn-sand:hover {
  background: var(--accent);
  color: var(--white);
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--accent);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--topbar);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { opacity: 0.8; color: var(--white); }
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-right { display: flex; gap: 15px; align-items: center; }
.top-bar-right a { font-size: 15px; }

/* ===== Header ===== */
.header {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.logo {
  flex-shrink: 0;
}
.logo img {
  max-height: 50px;
  width: auto;
}

/* Navigation */
.nav {
  display: flex;
  align-items: stretch;
  height: 70px;
}
.nav-link {
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--menu-text);
  white-space: nowrap;
  transition: color 0.3s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}
/* Dropdown containers */
.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}
.nav-item > .nav-link {
  padding-right: 20px;
}
.nav-item > .nav-link::after {
  content: '\f107';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 9px;
  margin-left: 5px;
}
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 260px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
  border-top: 2px solid var(--accent);
}
.nav-item:hover > .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--menu-text);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.4;
}
.dropdown a:hover {
  color: var(--accent);
  background: #fafafa;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
}

/* ===== Hero / Slider ===== */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E7E7E7 url('../img/2a.png') center center / cover no-repeat;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}
.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  z-index: 2;
  padding: 0 20px;
}
.hero h1 {
  font-size: 42px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}
.hero-subtitle {
  font-size: 20px;
  font-weight: 300;
  margin-bottom: 35px;
  opacity: 0.9;
}
.hero-btn {
  display: inline-block;
  padding: 12px 35px;
  font-size: 17px;
  font-weight: 500;
  background: rgba(0, 110, 229, 0.57);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-btn:hover {
  background: var(--white);
  color: #000;
}
.hero-btn-green {
  background: rgba(30, 126, 52, 0.57);
}
.hero-btn-green:hover {
  background: rgba(30, 126, 52, 0.85);
  color: var(--white);
}
.hero-separator {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  margin: 12px 0;
  font-style: italic;
}

/* ===== Section Basics ===== */
.section {
  padding: 100px 0;
}
.section-separator {
  border-top: 1px solid var(--border);
}
.section-shadow-separator {
  box-shadow: inset 0 5px 5px -5px rgba(0,0,0,0.05);
}
.section-bg-light {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 {
  font-size: 28px;
  font-weight: 300;
  color: var(--headings);
  margin-bottom: 10px;
}
.section-header .subtitle {
  font-size: 16px;
  color: var(--link);
  font-weight: 300;
}

/* ===== Features Grid (6 boxes with borders) ===== */
.features-section {
  padding: 100px 0;
  background: var(--bg-light);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--row-inner);
  margin: 0 auto;
}
.feature-card {
  padding: 40px;
  text-align: center;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.feature-card:nth-child(3n) { border-right: none; }
.feature-card:nth-child(n+4) { border-bottom: none; padding-top: 40px; }

.feature-icon {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-card h5 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--headings);
}
.feature-card p {
  font-size: 14px;
  color: var(--body-text);
  line-height: 1.6;
}

/* ===== Product Section (3 image cards - Craftsman colored_box) ===== */
.product-section {
  padding: 60px 0 50px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--row-inner);
  margin: 0 auto;
}
.product-card {
  position: relative;
  overflow: hidden;
}
.product-card img {
  width: 100%;
  height: auto;
  display: block;
}
.product-card-overlay {
  padding: 25px 20px;
}
.product-card:nth-child(1) .product-card-overlay { background: #2d2d2d; }
.product-card:nth-child(2) .product-card-overlay { background: #e74c3c; }
.product-card:nth-child(3) .product-card-overlay { background: #2d2d2d; }

.product-card-overlay p {
  color: var(--white);
  font-size: 14px;
  line-height: 1.7;
}

/* ===== Horizontal Timeline ===== */
.timeline-section {
  padding: 50px 0 150px;
  overflow: hidden;
}
.htimeline {
  position: relative;
  padding: 0 20px;
  margin-top: 80px;
}
.htimeline-bar {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  background: linear-gradient(to right, #f2f2f2, #cecece);
  border-radius: 2px;
  transform: translateY(-50%);
}
.htimeline-items {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 220px;
}
.htimeline-item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.htimeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.htimeline-dot {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
  z-index: 2;
  flex-shrink: 0;
}
.htimeline-content {
  position: absolute;
  top: calc(50% + 22px);
  text-align: center;
  width: 130px;
  padding-top: 8px;
}
.htimeline-content.above {
  top: auto;
  bottom: calc(50% + 22px);
  padding-top: 0;
  padding-bottom: 8px;
}
.htimeline-year {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.htimeline-text {
  font-size: 12px;
  color: var(--body-text);
  line-height: 1.4;
}

/* ===== CTA / Parallax Section ===== */
.cta-section {
  padding: 120px 0;
  background: var(--dark-3);
  background-image: url('../img/tools.jpg');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  position: relative;
  color: var(--white);
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(58,40,28,0.8);
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-section h2 {
  font-size: 30px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 60px;
  line-height: 1.4;
}
.cta-section h2 a {
  color: #0f0;
}
.cta-section h2 a:hover {
  color: #0f0;
  text-decoration: underline;
}
.cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Contact Bar ===== */
.contact-bar {
  background: #d1b7a3;
  color: var(--white);
  padding: 30px 0;
  display: flex;
  align-items: center;
}
.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.contact-bar-text {
  flex: 1;
  padding-right: 60px;
}
.contact-bar-text h3 {
  font-size: 24px;
  color: var(--white);
  margin-bottom: 5px;
  font-weight: 400;
}
.contact-bar-text p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.6;
}
.contact-bar-text a { color: var(--white); }
.contact-bar-img {
  flex-shrink: 0;
}
.contact-bar-img img {
  max-height: 80px;
}

/* ===== Footer (3 columns like Craftsman) ===== */
.footer {
  background: var(--dark-3);
  color: rgba(255,255,255,0.6);
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 40px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col p, .footer-col li {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 4px;
}
.footer-col ul {
  list-style: none;
}
.footer-col a {
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.footer-social a {
  font-size: 18px;
  color: #bcbcbc;
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--accent); }

.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: 15px 20px;
  text-align: center;
  font-size: 13px;
}
.footer-bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom-nav {
  display: flex;
  gap: 20px;
}
.footer-bottom-nav a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
}
.footer-bottom-nav a:hover { color: var(--accent); }

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 9999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float i {
  font-size: 28px;
  color: var(--white);
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: #4f0000;
  color: var(--white);
  padding: 80px 0 40px;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
}
.page-hero h1 {
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}
.page-hero .breadcrumbs {
  font-size: 13px;
  color: #efefef;
}
.page-hero .breadcrumbs a { color: #efefef; }
.page-hero .breadcrumbs a:hover { color: var(--white); }

/* ===== Module Cards (modulos page) ===== */
.modules-intro {
  background: var(--accent);
  color: var(--white);
  border-radius: 4px;
  padding: 25px 30px;
  margin-bottom: 40px;
  font-size: 15px;
  line-height: 1.7;
}
.modules-section-title {
  font-size: 20px;
  color: var(--headings);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}
.module-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.module-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.module-card-header {
  background: var(--dark);
  color: var(--white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.module-card-header i { color: var(--accent); font-size: 18px; width: 22px; text-align: center; }
.module-card-header h3 { font-size: 14px; font-weight: 600; color: var(--white); flex: 1; text-transform: uppercase; letter-spacing: 0.5px; }
.module-card-header .toggle-icon { transition: transform 0.3s; font-size: 11px; opacity: 0.5; }
.module-card.open .toggle-icon { transform: rotate(180deg); }
.module-card-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.module-card.open .module-card-body { padding: 18px 20px; max-height: 800px; }
.module-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
  font-size: 14px;
  color: var(--body-text);
}
.module-feature i { color: var(--accent); margin-top: 5px; font-size: 8px; flex-shrink: 0; }

/* ===== About Page ===== */
.about-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-content h4 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--body-text);
  margin-bottom: 16px;
}
.about-content p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--body-text);
  margin-bottom: 14px;
}
.about-separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 30px 0;
}
.about-highlight {
  background: #f0f0f0;
  border-left: 4px solid var(--accent);
  padding: 20px 28px;
  margin: 25px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}
.stat-card {
  text-align: center;
  padding: 30px 15px;
  border: 1px solid var(--border);
  background: var(--white);
}
.stat-number { font-size: 42px; font-weight: 700; color: var(--accent); margin-bottom: 5px; }
.stat-label { font-size: 14px; color: var(--body-text); text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}
.contact-info-card {
  margin-bottom: 30px;
}
.contact-info-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--headings);
  margin-bottom: 12px;
}
.contact-info-card h3 i { color: var(--accent); }
.contact-info-card p {
  color: var(--body-text);
  line-height: 1.8;
  font-size: 14px;
}
.contact-info-card a { color: var(--accent); }
.contact-map {
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* ===== Noticias (layout 2 columnas) ===== */
.noticias-layout {
  display: flex;
  gap: 40px;
}
.noticias-main {
  flex: 1;
  min-width: 0;
}
.noticias-sidebar {
  width: 280px;
  flex-shrink: 0;
}

/* Cards de noticia */
.noticia-card {
  display: flex;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid #e8e8e8;
}
.noticia-card:first-child { padding-top: 0; }
.noticia-fecha {
  flex-shrink: 0;
  width: 65px;
  text-align: center;
  background: var(--accent);
  color: var(--white);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: flex-start;
}
.noticia-dia { font-size: 26px; font-weight: 700; line-height: 1; }
.noticia-mes { font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.noticia-anio { font-size: 11px; opacity: 0.8; }
.noticia-body { flex: 1; min-width: 0; }
.noticia-titulo {
  font-size: 20px;
  font-weight: 600;
  color: var(--headings);
  margin-bottom: 6px;
  line-height: 1.3;
}
.noticia-titulo a { color: var(--headings); }
.noticia-titulo a:hover { color: var(--accent); }
.noticia-meta {
  font-size: 12px;
  color: var(--link);
  margin-bottom: 12px;
}
.noticia-meta i { margin-right: 4px; }
.noticia-extracto {
  font-size: 14px;
  line-height: 1.7;
  color: var(--body-text);
  margin-bottom: 10px;
}
.noticia-leer-mas {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.noticia-leer-mas:hover { color: var(--btn-hover); }

/* Noticia completa */
.noticia-completa .noticia-contenido {
  font-size: 15px;
  line-height: 1.8;
  color: var(--body-text);
}
.noticia-completa .noticia-contenido p { margin-bottom: 12px; }
.noticia-completa .noticia-contenido img { max-width: 100%; height: auto; margin: 10px 0; }

.noticia-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}
.noticia-nav a { color: var(--accent); }
.noticia-nav a:hover { color: var(--btn-hover); }
.noticia-nav-prev { text-align: left; flex: 1; }
.noticia-nav-next { text-align: right; flex: 1; }

/* Sidebar widgets */
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.sidebar-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 18px;
  margin: 0;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
  color: var(--headings);
}
.archivo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.archivo-anio-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--headings);
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.2s;
}
.archivo-anio-link:hover { background: #fafafa; color: var(--headings); }
.archivo-arrow {
  font-size: 11px;
  color: var(--accent);
  transition: transform 0.2s;
  width: 10px;
}
.archivo-count {
  font-weight: 400;
  color: var(--link);
  font-size: 12px;
  margin-left: auto;
}
.archivo-meses {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fafafa;
}
.archivo-meses li a {
  display: flex;
  justify-content: space-between;
  padding: 7px 18px 7px 38px;
  font-size: 13px;
  color: var(--body-text);
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s;
}
.archivo-meses li a:hover { color: var(--accent); background: #f4f4f4; }
.archivo-meses li a.archivo-active {
  color: var(--accent);
  font-weight: 600;
}

/* Paginacion */
.paginacion {
  display: flex;
  gap: 5px;
  justify-content: center;
  margin-top: 35px;
}
.pag-link {
  display: inline-block;
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--menu-text);
  font-size: 13px;
  transition: all 0.3s;
}
.pag-link:hover { background: #f0f0f0; color: var(--menu-text); }
.pag-active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.pag-active:hover { background: var(--accent); color: var(--white); }

@media (max-width: 768px) {
  .noticias-layout { flex-direction: column; }
  .noticias-sidebar { width: 100%; }
  .noticia-card { flex-direction: column; gap: 15px; }
  .noticia-fecha { flex-direction: row; width: auto; gap: 6px; padding: 8px 14px; }
  .noticia-nav { flex-direction: column; gap: 10px; }
  .noticia-nav-next { text-align: left; }
}

/* Fiscal */
.fiscal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.fiscal-item {
  padding: 20px;
  border: 1px solid var(--border);
  background: var(--white);
}
.fiscal-item h4 { color: var(--headings); margin-bottom: 10px; font-size: 15px; }
.fiscal-item ul { list-style: none; }
.fiscal-item li { padding: 3px 0; color: var(--body-text); font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.fiscal-item li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent); font-size: 10px; margin-top: 4px; flex-shrink: 0; }

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card:nth-child(2n) { border-right: none; }
  .feature-card:nth-child(3) { border-right: 1px solid var(--border); }
  .product-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .htimeline-items { flex-wrap: wrap; gap: 20px; min-height: auto; }
  .htimeline-item { flex: 0 0 45%; }
  .htimeline-content, .htimeline-content.above { position: static; width: auto; padding: 5px 0 0; }
  .htimeline-bar { display: none; }
  .contact-bar-inner { flex-direction: column; text-align: center; }
  .contact-bar-text { padding-right: 0; margin-bottom: 15px; }
}

@media (max-width: 768px) {
  .top-bar-inner { flex-direction: column; gap: 5px; text-align: center; }
  .menu-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    z-index: 999;
  }
  .nav.open { display: flex; }
  .nav-link {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-item {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-item > .nav-link {
    padding-right: 20px;
  }
  .nav-item .dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    min-width: auto;
  }
  .nav-item .dropdown a {
    padding-left: 35px;
  }
  .hero { height: 450px; }
  .hero h1 { font-size: 28px; }
  .hero-subtitle { font-size: 16px; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { border-right: none !important; }
  .modules-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cta-section { padding: 80px 0; background-attachment: scroll; }
  .footer-bottom-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 22px; letter-spacing: 1px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
}

/* Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');
