:root {
  --gray-light: #C8C8C8;
  --gray-dark: #373737;
  --blue-steel: #465573;
  --blue-steel-hover: #3a4860;
  --white: #ffffff;
  --off-white: #F5F5F5;
  --muted: #6b6b6b;
  --border: #e0e0e0;
}
* { box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: var(--gray-dark); background: var(--white); font-size: 15px; line-height: 1.65; }
h1, h2, h3, h4, h5 { font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.01em; }

.topbar { background: var(--gray-dark); color: var(--gray-light); font-size: 12.5px; padding: 7px 0; }
.topbar a { color: var(--gray-light); text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar .sep { color: #666; margin: 0 10px; }

.navbar-main { background: var(--white); border-bottom: 2px solid var(--gray-light); padding: 14px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.brand-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 26px; color: var(--gray-dark); text-decoration: none; letter-spacing: -0.5px; }
.brand-name span { color: var(--blue-steel); }
.nav-link-main { color: var(--gray-dark) !important; font-weight: 500; font-size: 14px; padding: 6px 14px !important; transition: color 0.2s; text-decoration: none; display: inline-block; }
.nav-link-main:hover { color: var(--blue-steel) !important; }
.btn-nav-cta { background: var(--blue-steel); color: var(--white); border: none; padding: 8px 20px; border-radius: 4px; font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background 0.2s; }
.btn-nav-cta:hover { background: var(--blue-steel-hover); color: var(--white); }

.hero { 
  background: linear-gradient(135deg, var(--gray-dark) 0%, #252525 60%, var(--blue-steel) 100%); 
  color: var(--white); 
  padding: 90px 0 80px; 
  position: relative; 
  overflow: hidden; 
}

.hero-bg-img { 
  position: absolute; inset: 0; 
  background-image: url('../images/portada1.png'); 
  background-size: cover; 
  background-position: center 40%; 
  opacity: 0.10; 
  pointer-events: none; 
}

.hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gray-light); margin-bottom: 14px; display: block; }
.hero h1 { font-size: clamp(44px, 6vw, 72px); font-weight: 700; line-height: 1.05; margin-bottom: 22px; }
.hero h1 .accent { color: var(--gray-light); }
.hero p { font-size: 16.5px; color: rgba(255,255,255,0.78); max-width: 500px; margin-bottom: 36px; line-height: 1.7; }
.btn-hero-primary { background: var(--blue-steel); color: var(--white); border: none; padding: 13px 30px; border-radius: 4px; font-size: 14.5px; font-weight: 600; text-decoration: none; margin-right: 12px; transition: background 0.2s; display: inline-block; }
.btn-hero-primary:hover { background: var(--blue-steel-hover); color: var(--white); }
.btn-hero-secondary { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.38); padding: 12px 28px; border-radius: 4px; font-size: 14.5px; font-weight: 500; text-decoration: none; transition: border-color 0.2s; display: inline-block; }
.btn-hero-secondary:hover { border-color: var(--white); color: var(--white); }
.hero-stats { margin-top: 52px; display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat-num { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 700; color: var(--white); line-height: 1; }
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 3px; text-transform: uppercase; letter-spacing: 1px; }
.hero-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.13); border-radius: 10px; padding: 28px 24px; color: var(--white); width: 100%; max-width: 340px; }
.hero-card-icon { font-size: 32px; margin-bottom: 10px; color: var(--gray-light); }
.hero-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.hero-card p { font-size: 13px; color: rgba(255,255,255,0.6); margin: 0; }
.hero-card-list { list-style: none; padding: 0; margin: 16px 0 0; }
.hero-card-list li { font-size: 13px; color: rgba(255,255,255,0.75); padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 8px; }
.hero-card-list li:last-child { border-bottom: none; }
.hero-card-list li i { color: var(--gray-light); font-size: 13px; }

.logos-band { background: var(--off-white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.logos-band p { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1.8px; color: var(--muted); margin: 0; font-weight: 600; }
.logo-pill { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 8px 20px; font-size: 13.5px; font-weight: 700; color: var(--gray-dark); letter-spacing: 0.5px; opacity: 0.7; }

.section-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue-steel); margin-bottom: 10px; display: block; }
.section-title { font-size: clamp(30px, 4vw, 46px); font-weight: 700; color: var(--gray-dark); line-height: 1.1; margin-bottom: 14px; }
.section-subtitle { font-size: 15.5px; color: var(--muted); max-width: 560px; }
.divider-line { width: 48px; height: 3px; background: var(--blue-steel); margin-bottom: 24px; border-radius: 2px; }

.service-card { border: 1px solid var(--border); border-radius: 8px; background: var(--white); height: 100%; transition: box-shadow 0.22s, border-color 0.22s, transform 0.22s; overflow: hidden; }
.service-card:hover { box-shadow: 0 6px 28px rgba(70,85,115,0.12); border-color: var(--blue-steel); transform: translateY(-3px); }
.service-card-img { width: 100%; height: 160px; object-fit: cover; display: block; filter: grayscale(18%); }
.service-card-inner { padding: 22px 24px 24px; }
.service-icon { width: 52px; height: 52px; background: var(--off-white); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--blue-steel); margin-bottom: 14px; transition: background 0.2s; }
.service-card:hover .service-icon { background: var(--blue-steel); color: var(--white); }
.service-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.service-link { font-size: 13px; font-weight: 600; color: var(--blue-steel); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
.service-link:hover { color: var(--blue-steel-hover); }

.why-us { background: var(--gray-dark); color: var(--white); }
.why-image-block { background: linear-gradient(145deg, var(--blue-steel) 0%, #2e3a52 100%); border-radius: 12px; color: var(--white); height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.why-photo { width: 100%; height: 240px; object-fit: cover; filter: grayscale(20%) brightness(0.7); }
.why-inner { padding: 32px 28px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.why-big-stat { font-family: 'Barlow Condensed', sans-serif; font-size: 68px; font-weight: 700; line-height: 1; color: var(--white); }
.why-big-label { font-size: 15px; color: rgba(255,255,255,0.65); margin-top: 8px; }
.why-quote { font-size: 15px; font-style: italic; color: rgba(255,255,255,0.7); line-height: 1.6; margin-top: 24px; border-left: 3px solid var(--gray-light); padding-left: 16px; }
.why-card { padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.why-card:last-child { border-bottom: none; }
.why-num { font-family: 'Barlow Condensed', sans-serif; font-size: 13px; font-weight: 700; color: var(--blue-steel); letter-spacing: 1px; margin-bottom: 8px; }
.why-card h4 { font-size: 21px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.why-card p { font-size: 14px; color: rgba(255,255,255,0.60); margin: 0; }

.product-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; height: 100%; }
.product-card:hover { box-shadow: 0 6px 22px rgba(0,0,0,0.09); transform: translateY(-2px); }
.product-card-img { width: 100%; height: 168px; object-fit: cover; display: block; filter: grayscale(10%); transition: filter 0.3s; }
.product-card:hover .product-card-img { filter: grayscale(0%); }
.product-card-body { padding: 18px 20px; }
.product-card-body h5 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.product-card-body p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.btn-product { font-size: 13px; font-weight: 600; color: var(--blue-steel); text-decoration: none; border: 1.5px solid var(--blue-steel); padding: 6px 16px; border-radius: 4px; transition: background 0.2s, color 0.2s; display: inline-block; }
.btn-product:hover { background: var(--blue-steel); color: var(--white); }

.process-section { background: var(--off-white); }
.process-step { display: flex; gap: 20px; margin-bottom: 32px; }
.step-num { width: 40px; height: 40px; flex-shrink: 0; background: var(--blue-steel); color: var(--white); border-radius: 50%; font-family: 'Barlow Condensed', sans-serif; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-content h5 { font-size: 18px; font-weight: 700; margin-bottom: 5px; }
.step-content p { font-size: 14px; color: var(--muted); margin: 0; }

.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; padding: 28px 24px; height: 100%; }
.testimonial-stars { color: #c9a227; font-size: 14px; margin-bottom: 14px; }
.testimonial-text { font-size: 14.5px; color: var(--gray-dark); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { font-size: 13px; font-weight: 700; color: var(--gray-dark); }
.testimonial-role { font-size: 12px; color: var(--muted); }

.cta-banner { background: linear-gradient(100deg, var(--blue-steel) 0%, #2e3a52 100%); color: var(--white); padding: 64px 0; }
.cta-banner h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.72); font-size: 15.5px; max-width: 440px; }
.btn-cta-white { background: var(--white); color: var(--blue-steel); border: none; padding: 13px 32px; border-radius: 4px; font-size: 14.5px; font-weight: 700; text-decoration: none; transition: background 0.2s; display: inline-block; }
.btn-cta-white:hover { background: var(--off-white); color: var(--blue-steel); }

.contact-section { background: var(--white); }
.form-label-custom { font-size: 13px; font-weight: 600; color: var(--gray-dark); margin-bottom: 5px; display: block; }
.form-control-custom { border: 1.5px solid var(--border); border-radius: 5px; padding: 10px 14px; font-size: 14px; color: var(--gray-dark); width: 100%; font-family: 'Inter', sans-serif; transition: border-color 0.2s; background: var(--white); }
.form-control-custom:focus { outline: none; border-color: var(--blue-steel); box-shadow: 0 0 0 3px rgba(70,85,115,0.10); }
.form-control-custom::placeholder { color: #aaa; }
.btn-submit { background: var(--blue-steel); color: var(--white); border: none; padding: 12px 32px; border-radius: 5px; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: background 0.2s; font-family: 'Inter', sans-serif; width: 100%; }
.btn-submit:hover { background: var(--blue-steel-hover); }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-info-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--off-white); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--blue-steel); font-size: 17px; }
.contact-info-label { font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-info-value { font-size: 15px; font-weight: 600; color: var(--gray-dark); }

footer { background: var(--gray-dark); color: rgba(255,255,255,0.7); padding: 54px 0 28px; font-size: 13.5px; }
.footer-brand { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.footer-brand span { color: var(--gray-light); }
.footer-desc { color: rgba(255,255,255,0.52); font-size: 13.5px; line-height: 1.65; }
.footer-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,0.62); text-decoration: none; transition: color 0.2s; font-size: 13.5px; }
.footer-links a:hover { color: var(--white); }
.footer-divider { border-color: rgba(255,255,255,0.1); margin: 36px 0 18px; }
.footer-bottom { font-size: 12.5px; color: rgba(255,255,255,0.35); }
.social-link { color: rgba(255,255,255,0.5); font-size: 18px; text-decoration: none; margin-right: 14px; transition: color 0.2s; }
.social-link:hover { color: var(--white); }

.py-section { padding: 80px 0; }

@media (max-width: 767px) {
  .hero { padding: 60px 0 50px; }
  .hero-stats { gap: 24px; }
  .py-section { padding: 54px 0; }
}

#response {
  margin-top: 12px;
  font-weight: 600;
}

input.error, textarea.error {
    border-color: #e74c3c;
    background: #fff5f5;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    min-height: 18px;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s ease-in-out infinite;
}

.response-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.response-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#form-response { margin-top: 15px; padding: 10px; display: none; border-radius: 4px; }
.success { background-color: #d4edda; color: #155724; }
.error { background-color: #f8d7da; color: #721c24; }
