/* Pagina di manutenzione - prontoimpiantook.it */
:root {
  --brand-primary: #0856b6;
  --brand-secondary: #0d8bf2;
  --brand-accent: #f7a800;
  --brand-ok: #1ca658;
  --bg-start: #f3f8fd;
  --bg-end: #e6f0fb;
  --text-main: #0e1b2c;
  --text-muted: #4a5a72;
  --card-bg: #ffffff;
  --shadow: 0 22px 60px rgba(8, 86, 182, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: 'Segoe UI', Roboto, -apple-system, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(247, 168, 0, 0.07), transparent 50%),
    radial-gradient(circle at bottom left, rgba(13, 139, 242, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-start), var(--bg-end));
  background-attachment: fixed;
}

.card {
  width: 100%;
  max-width: 740px;
  background: var(--card-bg);
  border-radius: 20px;
  padding: 56px 50px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid rgba(8, 86, 182, 0.08);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary), var(--brand-accent));
}

.logo {
  width: 300px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 30px;
  display: block;
}

.subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(247, 168, 0, 0.14);
  color: #b87a00;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-accent);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

h1 {
  font-size: 28px;
  color: var(--brand-primary);
  margin-bottom: 16px;
  font-weight: 800;
}

.message {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 auto 28px;
  max-width: 600px;
}

.inline-mail {
  color: var(--brand-secondary);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}
.inline-mail:hover { text-decoration: underline; }

.phones {
  list-style: none;
  margin: 0 auto 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 620px;
}

.phones--single {
  grid-template-columns: 1fr;
  max-width: 420px;
}

.phones li {
  background: linear-gradient(135deg, rgba(13, 139, 242, 0.10), rgba(8, 86, 182, 0.08));
  border: 1.5px solid rgba(8, 86, 182, 0.22);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.phones li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(8, 86, 182, 0.18);
  border-color: var(--brand-primary);
}

.phone-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.phone-number {
  display: inline-block;
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-secondary);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.phone-number::before {
  content: "\260E\FE0E";
  font-size: 18px;
  margin-right: 8px;
  opacity: 0.75;
}

.phone-number:hover { text-decoration: underline; }

.contact {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-primary);
  padding: 24px 18px;
  background: linear-gradient(135deg, rgba(13, 139, 242, 0.08), rgba(28, 166, 88, 0.08));
  border-radius: 14px;
  border: 1.5px dashed rgba(8, 86, 182, 0.3);
  word-break: break-word;
}

.contact a {
  color: var(--brand-secondary);
  text-decoration: none;
  font-weight: 800;
}

.contact a:hover { text-decoration: underline; }

.contact .label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

@media (max-width: 720px) {
  .phones { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 540px) {
  .card { padding: 38px 22px; border-radius: 16px; }
  h1 { font-size: 22px; }
  .message { font-size: 15px; }
  .contact { font-size: 18px; padding: 20px 14px; }
  .logo { width: 260px; margin-bottom: 22px; }
  .phone-number { font-size: 22px; }
}
