/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ===== HEADER ===== */
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 45px; }
.logo span {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #1a3a5c;
}
nav ul { display: flex; gap: 0; }
nav > ul > li { position: relative; }
nav > ul > li > a {
  display: block;
  padding: 10px 14px;
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}
nav > ul > li > a:hover { color: #0066cc; }
nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 0 0 4px 4px;
  z-index: 100;
}
nav .dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: #555;
  transition: background 0.2s, color 0.2s;
}
nav .dropdown li a:hover { background: #f5f5f5; color: #0066cc; }
nav > ul > li:hover .dropdown { display: block; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-social { display: flex; gap: 10px; }
.header-social a { color: #555; font-size: 16px; transition: color 0.3s; }
.header-social a:hover { color: #0066cc; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #333; }

/* ===== PAGE BANNER ===== */
.page-banner {
  position: relative;
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 34, 64, 0.65);
}
.page-banner h1 {
  position: relative;
  z-index: 1;
  font-family: 'Raleway', sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}
.page-banner .breadcrumb {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}
.page-banner .breadcrumb a { color: rgba(255,255,255,0.9); }
.page-banner .breadcrumb a:hover { color: #fff; text-decoration: underline; }

/* ===== PAGE CONTENT ===== */
.page-content {
  padding: 50px 0;
  max-width: 900px;
  margin: 0 auto;
}
.page-content p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}
.page-content h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #1a3a5c;
  margin: 30px 0 15px;
}
.page-content h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #1a3a5c;
  margin: 25px 0 12px;
}
.page-content a { color: #0066cc; }
.page-content a:hover { text-decoration: underline; }
.page-content strong { color: #1a3a5c; }
.page-content em { font-style: italic; }

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0;
}
.gallery-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.gallery-card img { width: 100%; height: 200px; object-fit: cover; }
.gallery-card-body { padding: 18px; }
.gallery-card-body h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
  margin: 0;
}

/* ===== CLIENT LOGOS ===== */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  align-items: center;
}
.logo-item {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.logo-item img { max-height: 55px; max-width: 130px; object-fit: contain; }

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  margin-top: 15px;
  color: #333;
  font-size: 14px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: #0066cc; }
.contact-form textarea { resize: vertical; }
.contact-form input[type="submit"],
.btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background: #1a3a5c;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}
.contact-form input[type="submit"]:hover,
.btn-primary:hover { background: #0d2240; }
.contact-info h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  color: #1a3a5c;
  margin-bottom: 20px;
}
.contact-info p { font-size: 15px; margin-bottom: 10px; color: #444; }
.contact-social { display: flex; gap: 14px; margin-top: 20px; }
.contact-social a { color: #1a3a5c; font-size: 22px; transition: color 0.3s; }
.contact-social a:hover { color: #0066cc; }

/* ===== HERO (homepage) ===== */
.hero {
  position: relative;
  width: 100%;
  height: 764px;
  overflow: hidden;
  background: #111;
}
.hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-fallback {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.company-divider {
  text-align: center;
  padding: 30px 0;
  background: #fff;
}
.company-divider h1 {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 22px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}
.company-divider h1::before,
.company-divider h1::after {
  content: '';
  flex: 1;
  max-width: 300px;
  height: 1px;
  background: #ccc;
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.service-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.service-card img { width: 100%; height: 400px; object-fit: cover; transition: transform 0.4s; }
.service-card:hover img { transform: scale(1.03); }
.service-card .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  text-align: center;
}
.service-card .overlay h3 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Socios */
.socios {
  padding: 60px 0 40px;
  background: #f8f8f8;
  text-align: center;
}
.section-title {
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  color: #333;
  margin-bottom: 40px;
}
.section-title em { font-weight: 300; }
.section-title strong { font-weight: 700; }
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}
.partner-logo {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.partner-logo:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.partner-logo img { max-height: 50px; max-width: 120px; object-fit: contain; }

/* Banner 25 */
.banner-25 {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #1a3a5c 0%, #0d2240 100%);
  text-align: center;
  overflow: hidden;
}
.banner-25::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: #f8f8f8;
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 100%);
}
.banner-25 h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 38px;
  color: #fff;
  position: relative;
  z-index: 1;
}
.banner-25 h2 em { font-weight: 300; font-style: italic; }
.banner-25 h2 strong { font-weight: 700; }

/* Soluciones section */
.soluciones-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0d2240 0%, #1a3a5c 100%);
  text-align: center;
}
.soluciones-title {
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  color: #fff;
  margin-bottom: 50px;
}
.soluciones-title em { font-weight: 300; font-style: italic; }
.soluciones-title strong { font-weight: 700; }
.soluciones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}
.solucion-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}
.solucion-card:hover { transform: translateY(-5px); }
.solucion-card img { width: 100%; height: 250px; object-fit: cover; }
.solucion-card-body { padding: 25px; text-align: left; }
.solucion-card-body p { font-size: 15px; color: #444; margin-bottom: 20px; line-height: 1.6; }
.solucion-card-body strong { color: #1a3a5c; }
.btn-info {
  display: inline-block;
  padding: 10px 28px;
  background: #0066cc;
  color: #fff;
  border-radius: 5px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s;
}
.btn-info:hover { background: #004fa3; }

/* Postventa */
.postventa {
  padding: 80px 0;
  background: linear-gradient(135deg, #e8eef5 0%, #d1dce8 100%);
}
.postventa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.postventa-img img { border-radius: 12px; }
.postventa-text h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #1a3a5c;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.postventa-text p { font-size: 16px; color: #444; margin-bottom: 20px; line-height: 1.8; }
.postventa-text .compromiso {
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a3a5c;
  text-transform: uppercase;
  margin-top: 10px;
}
.postventa-text .mejora { font-size: 15px; color: #555; font-style: italic; }

/* Clientes section */
.clientes-section {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}
.clientes-carousel {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.clientes-carousel .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.clientes-carousel .swiper-slide img {
  max-height: 60px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.8;
  transition: all 0.3s;
}
.clientes-carousel .swiper-slide img:hover { filter: grayscale(0); opacity: 1; }

/* Novedades */
.novedades-section {
  padding: 60px 0;
  background: #f8f8f8;
  text-align: center;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 40px;
  padding: 0 15px;
}
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: left;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-body h3 {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.5;
}
.blog-card-body .date { font-size: 12px; color: #888; margin-top: 8px; }
.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 2px solid #1a3a5c;
  color: #1a3a5c;
  border-radius: 5px;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}
.btn-outline:hover { background: #1a3a5c; color: #fff; }

/* ===== FOOTER ===== */
footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 50px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col p { font-size: 14px; line-height: 1.8; color: #aaa; }
.footer-col a { color: #aaa; font-size: 14px; transition: color 0.3s; }
.footer-col a:hover { color: #fff; }
.footer-nav li { margin-bottom: 8px; }
.footer-contact p { margin-bottom: 8px; font-size: 14px; }
.footer-contact strong { color: #ddd; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { color: #aaa; font-size: 18px; transition: color 0.3s; }
.footer-social a:hover { color: #fff; }
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 40px; }
.footer-afip { display: flex; align-items: center; justify-content: center; }
.footer-afip img { max-height: 60px; }
.sub-footer {
  border-top: 1px solid #333;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #777;
}
.sub-footer a { color: #999; margin: 0 12px; }
.sub-footer a:hover { color: #fff; }

/* ===== WHATSAPP ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  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.3);
  z-index: 999;
  transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float i { color: #fff; font-size: 28px; }

/* ===== VIDEO EMBED ===== */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin: 30px 0;
  border-radius: 8px;
}
.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .postventa-grid { grid-template-columns: 1fr; }
  .postventa-img { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  nav > ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
  }
  nav > ul.active { display: flex; }
  nav > ul > li > a { padding: 14px 20px; border-bottom: 1px solid #eee; }
  nav .dropdown { position: static; box-shadow: none; background: #f8f8f8; }
  .hero { height: 400px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card img { height: 250px; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .soluciones-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .banner-25 h2 { font-size: 26px; }
  .company-divider h1 { font-size: 16px; }
  .page-banner { height: 200px; }
  .page-banner h1 { font-size: 28px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
}
