/* Modern global styles for Paurelectro
   Based on corporate palette: #0069BC (primary), #012060 (dark), #006600 (accent)
*/
:root {
  --brand-primary: #0069BC;
  --brand-dark: #012060;
  --brand-accent: #006600;
  --bg: #ffffff;
  --text: #1f2b3a;
  --muted: #5a6c7d;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0,0,0,.12);
  --max-width: 1100px;
}

/* Global reset */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  border-style: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
}

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 18px;
}

header {
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo img {
  width: 180px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.header-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.header-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 160ms ease, transform 160ms ease;
  color: var(--brand-dark);
  background: rgba(0,0,0,0.04);
}

.header-nav a:hover {
  background: rgba(0,0,0,0.12);
  transform: translateY(-1px);
}

.header-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 120ms ease, box-shadow 120ms ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-primary);
  color: white;
  box-shadow: 0 9px 18px rgba(0, 105, 188, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0, 105, 188, 0.33);
}

.btn-secondary {
  background: var(--brand-primary);
  color: white;
  box-shadow: 0 9px 18px rgba(0, 105, 188, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(0, 105, 188, 0.33);
}
}
  align-items: center;
  padding: 48px 0;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.08;
}

.hero p {
  margin: 0 0 20px;
  max-width: 560px;
  color: var(--muted);
  font-size: 1.05rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.08);
  background: white;
  box-shadow: 0 8px 18px rgba(0,0,0,0.04);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--brand-dark);
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.section-title {
  text-align: center;
  margin: 0 0 18px;
  font-size: 1.75rem;
  color: var(--brand-dark);
}

footer {
  background: #f8f9fb;
  padding: 30px 0;
  color: var(--muted);
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-logo img {
  width: 240px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  background: white;
  padding: 12px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  align-items: start;
}

.footer a {
  color: var(--brand-primary);
}

.footer small {
  display: block;
  margin-top: 20px;
  color: rgba(0,0,0,0.55);
}

@media (min-width: 820px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
  }
}

@media (max-width: 520px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Ocultar navegación de galería / montajes realizados */
.header-nav a[href="./5701.html"],
a[href="./5701.html"] {
  display: none !important;
}

/* Oculta el menú de navegación legacy generado por el sistema anterior */
img[src*="/navi/"] {
  display: none !important;
}
