:root {
  --navy: #161853;
  --navy-2: #0f1140;
  --cyan: #32D9F6;
  --text: #212529;
  --muted: #5b6270;
  --bg: #ffffff;
  --bg-soft: #f3f7fb;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(22, 24, 83, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Raleway', system-ui, sans-serif; color: var(--text); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.eyebrow { color: #0ba8c6; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: .5rem; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 1rem; }
section { padding: 80px 0; }
.soft { background: var(--bg-soft); }

/* Botones */
.btn { display: inline-block; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.btn-cyan { background: var(--cyan); color: var(--navy); }
.btn-ghost { border: 2px solid #fff; color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 #e7ebf0; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav img { height: 50px; width: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; }
.nav ul a { text-decoration: none; font-weight: 600; color: var(--navy); }
.nav ul a:hover { color: #0ba8c6; }
.menu-btn { display: none; background: none; border: 0; font-size: 1.8rem; color: var(--navy); cursor: pointer; }

/* Hero */
.hero { position: relative; color: #fff; padding: 120px 0 110px;
  background: linear-gradient(100deg, rgba(22,24,83,.95) 0%, rgba(22,24,83,.82) 50%, rgba(22,24,83,.45) 100%), url('img/hero.webp') center/cover; }
.hero h1 { font-family: 'Poppins', sans-serif; color: #fff; font-size: clamp(2rem, 5vw, 3.3rem); max-width: 720px; margin-bottom: 1.2rem; }
.hero h1 span { color: var(--cyan); }
.hero p { max-width: 620px; font-size: 1.15rem; opacity: .92; margin-bottom: 2rem; }
.hero .ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Nosotros */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.two img { border-radius: var(--radius); box-shadow: var(--shadow); }
.mvv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { font-size: 1.05rem; letter-spacing: .06em; margin-bottom: .6rem; }
.card h3::before { content: ''; display: block; width: 36px; height: 4px; background: var(--cyan); border-radius: 2px; margin-bottom: 14px; }

/* Pilares */
.pilares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.pilar { text-align: center; }
.pilar img { width: 84px; height: 84px; margin: 0 auto 16px; object-fit: contain; }
.pilar h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.center { text-align: center; max-width: 760px; margin: 0 auto; }
.center p { color: var(--muted); }

/* Productos */
.productos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 44px; }
.prod { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.prod img { width: 100%; aspect-ratio: 16/10; object-fit: contain; background: #fff; }
.prod div { padding: 24px 26px 28px; }
.prod h3 { margin-bottom: .5rem; }
.prod p { color: var(--muted); }
.prod p + p { margin-top: .4rem; }

/* Industria */
.industria { color: #fff; background: linear-gradient(321deg, #fff 0%, #32D9F6 7%, #3398F6 14%, #3348F6 30%, #000 60%); }
.industria h2 { color: #fff; }
.industria .center p { color: #c9cde6; }
.checks { display: flex; justify-content: center; gap: 12px 28px; flex-wrap: wrap; margin: 22px 0 44px; list-style: none; }
.checks li::before { content: '✓ '; color: var(--cyan); font-weight: 800; }
.servicios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.serv { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 26px 20px; text-align: center; }
.serv img { width: 64px; height: 64px; margin: 0 auto 14px; object-fit: contain; background: #fff; border-radius: 50%; padding: 10px; }
.serv h3 { color: var(--cyan); font-size: 1.05rem; margin-bottom: .3rem; }
.serv p { color: #d5d8ee; font-size: .95rem; }

/* Fondos difuminados (reproducen los del sitio original) */
.grad { color: #fff; }
.grad h2, .grad h3 { color: #fff; }
.grad .eyebrow { color: var(--cyan); }
.grad p, .grad .center p { color: #e6e9f7; }
.grad-nosotros { background: linear-gradient(320deg, #fff 0%, #32D9F6 7%, #3398F6 15%, #3348F6 32%, #000205 75%); }
.grad-pilares { background: linear-gradient(325deg, #fff 0%, #32D9F6 6%, #3398F6 12%, #3348F6 27%, #000 62%); }
.grad-pilares .pilar img { background: #fff; border-radius: 50%; padding: 12px; }
.grad p, .industria p, .industria h2 { text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.two img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* Contacto */
.contacto-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; margin-top: 36px; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list a, .contact-list span { display: flex; gap: 14px; align-items: center; text-decoration: none; background: #fff; padding: 18px 20px; border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 600; color: var(--navy); }
.contact-list a:hover { outline: 2px solid var(--cyan); }
.contact-list i { font-style: normal; font-size: 1.4rem; width: 32px; text-align: center; }
.contact-list small { display: block; font-weight: 500; color: var(--muted); }
.cta-box { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.cta-box h3 { color: #fff; font-size: 1.5rem; }
.cta-box p { color: #c9cde6; }

/* Redes */
.redes { text-align: center; }

/* Footer */
footer { background: var(--navy-2); color: #b8bcd9; padding: 48px 0 28px; font-size: .95rem; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.foot img { height: 70px; width: auto; margin-bottom: 12px; }
.foot h4 { color: #fff; margin-bottom: 10px; }
.foot ul { list-style: none; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--cyan); }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; font-size: .85rem; text-align: center; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* Blog */
.page-head { color: #fff; padding: 70px 0 60px; background: linear-gradient(313deg, #fff 0%, #32D9F6 6%, #3398F6 12%, #161853 36%, #101214 85%); }
.page-head h1 { color: #fff; font-family: 'Poppins', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-head p { color: #c9cde6; margin-top: .6rem; }
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.post-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); text-decoration: none; display: block; transition: transform .15s; }
.post-card:hover { transform: translateY(-3px); }
.post-card { padding: 0 0 28px; overflow: hidden; }
.post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 20px; }
.post-card .tag, .post-card h2, .post-card p, .post-card .more { margin-left: 28px; margin-right: 28px; }
.post-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin-bottom: 24px; box-shadow: var(--shadow); }
.tag { display: inline-block; background: #e3f9fd; color: #087f97; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.post-card h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.post-card p { color: var(--muted); }
.post-card .more { color: #0ba8c6; font-weight: 700; margin-top: 12px; display: inline-block; }
article.post { max-width: 760px; margin: 0 auto; }
article.post .meta { color: var(--muted); font-size: .9rem; margin-bottom: 24px; }
article.post .lead { font-size: 1.15rem; margin-bottom: 28px; }
article.post h3 { margin: 28px 0 10px; }
article.post ul { padding-left: 1.3rem; display: grid; gap: 6px; }
article.post .callout { background: var(--bg-soft); border-left: 4px solid var(--cyan); padding: 18px 22px; border-radius: 8px; margin-top: 32px; }
article.post .back { display: inline-block; margin-top: 36px; color: #0ba8c6; font-weight: 700; text-decoration: none; }

/* Responsive */
@media (max-width: 900px) {
  .servicios { grid-template-columns: repeat(2, 1fr); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 56px 0; }
  .menu-btn { display: block; }
  .nav ul { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; box-shadow: 0 8px 16px rgba(0,0,0,.08); }
  .nav ul.open { display: flex; }
  .nav ul a { display: block; padding: 14px 20px; border-top: 1px solid #eef1f5; }
  .two, .contacto-grid, .productos, .posts { grid-template-columns: 1fr; }
  .mvv, .pilares { grid-template-columns: 1fr; }
  .servicios { grid-template-columns: 1fr 1fr; }
  .foot { grid-template-columns: 1fr; }
  .hero { padding: 80px 0; }
}
