/* ==================================================
PÁGINA EN CONSTRUCCIÓN
================================================== */

:root {
  --primary: #0b2d5c;
  --secondary: #1f4d94;
  --accent: #d62828;
  --dark: #081a35;
  --light: #f4f7fb;
  --gray: #6b7280;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background:
    linear-gradient(rgba(8, 26, 53, 0.82), rgba(8, 26, 53, 0.9)),
    url("../img/fondo-subestacion.webp") center/cover no-repeat;
  color: #1f2937;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* =========================
LAYOUT
========================= */

.construction {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.construction-card {
  width: 100%;
  max-width: 760px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 34px;
  padding: 54px;
  box-shadow: var(--shadow);
  text-align: center;
}

/* =========================
BRANDING
========================= */

.brand {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.brand img {
  width: 280px;
  height: auto;
}

.status {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  background: #e8eef8;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

h1 {
  color: var(--primary);
  font-size: 48px;
  line-height: 1.08;
  font-weight: 900;
  margin-bottom: 24px;
}

h1::after {
  content: "";
  display: block;
  width: 86px;
  height: 5px;
  background: var(--accent);
  border-radius: 999px;
  margin: 24px auto 0;
}

.intro {
  max-width: 620px;
  margin: 0 auto 34px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.75;
}

/* =========================
CONTACTO
========================= */

.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 34px 0;
}

.contact-item {
  background: var(--light);
  border-radius: 18px;
  padding: 20px;
  text-align: left;
  transition: 0.25s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  background: #e8eef8;
}

.contact-item span {
  display: block;
  color: var(--gray);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.contact-item strong {
  display: block;
  color: var(--primary);
  font-size: 16px;
  line-height: 1.4;
}

/* =========================
BOTONES
========================= */

.actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* =========================
FOOTER
========================= */

footer {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid #dbe3ef;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--gray);
  font-size: 14px;
}

footer span {
  font-weight: 800;
  color: var(--primary);
}

/* =========================
RESPONSIVE TABLET
========================= */

@media (max-width: 820px) {
  .construction {
    padding: 22px;
  }

  .construction-card {
    padding: 42px;
    border-radius: 28px;
  }

  .brand img {
    width: 240px;
  }

  h1 {
    font-size: 40px;
  }

  .intro {
    font-size: 17px;
  }
}

/* =========================
RESPONSIVE MOBILE
========================= */

@media (max-width: 600px) {
  body {
    background-position: center;
  }

  .construction {
    padding: 14px;
    align-items: flex-start;
  }

  .construction-card {
    margin-top: 14px;
    padding: 30px 22px;
    border-radius: 24px;
  }

  .brand img {
    width: 210px;
  }

  .status {
    font-size: 11px;
    padding: 8px 14px;
  }

  h1 {
    font-size: 32px;
  }

  .intro {
    font-size: 16px;
    line-height: 1.65;
  }

  .contact-box {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-item {
    padding: 18px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  footer {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* =========================
RESPONSIVE VERY SMALL
========================= */

@media (max-width: 380px) {
  .brand img {
    width: 180px;
  }

  h1 {
    font-size: 28px;
  }

  .construction-card {
    padding: 26px 18px;
  }
}
