/* style.css */
:root {
  --navy: #0d1f3c;
  --navy-mid: #1a3560;
  --navy-light: #2a4a7f;
  --graphite: #3a3f4a;
  --graphite-light: #6b7280;
  --bg: #f4f5f7;
  --bg-card: #ffffff;
  --accent: #c8a96e;
  --text: #1a1d23;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(13,31,60,0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 80%, rgba(26,53,96,0.05) 0%, transparent 50%),
    linear-gradient(135deg, transparent 45%, rgba(13,31,60,0.03) 45%, rgba(13,31,60,0.03) 55%, transparent 55%);
  background-size: 100% 100%, 100% 100%, 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  padding: 2.5rem 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation: fadeDown 0.8s ease both;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-mark::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2.5px solid var(--accent);
  border-radius: 3px;
  transform: rotate(15deg);
}

.logo-mark::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(15deg);
  opacity: 0.4;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.badge {
  background: var(--navy);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
  gap: 3rem;
}

.hero { animation: fadeUp 1s ease 0.2s both; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 1.5rem;
}

.eyebrow::before, .eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent);
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

h1 span {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

h1 span::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0.3;
  border-radius: 2px;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--graphite-light);
  font-weight: 300;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.construction-card {
  background: var(--bg-card);
  border: 1px solid rgba(13,31,60,0.08);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  box-shadow: 0 4px 40px rgba(13,31,60,0.08), 0 1px 3px rgba(13,31,60,0.05);
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 580px;
  width: 100%;
  animation: fadeUp 1s ease 0.4s both;
  position: relative;
  overflow: hidden;
}

.construction-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--navy-light), var(--accent));
}

.gear-wrap { position: relative; flex-shrink: 0; }

.gear {
  width: 64px; height: 64px;
  animation: spin 8s linear infinite;
  color: var(--navy);
}

.gear-small {
  width: 36px; height: 36px;
  position: absolute;
  bottom: -8px; right: -12px;
  animation: spin 5s linear infinite reverse;
  color: var(--accent);
}

.progress-info { flex: 1; text-align: left; }

.progress-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite-light);
  margin-bottom: 0.5rem;
}

.progress-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.progress-bar-wrap {
  background: rgba(13,31,60,0.07);
  border-radius: 100px;
  height: 6px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  border-radius: 100px;
  width: 0%;
  animation: fillBar 2s ease 0.8s forwards;
}

.progress-pct { font-size: 0.8rem; color: var(--graphite-light); }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 680px;
  width: 100%;
  animation: fadeUp 1s ease 0.6s both;
}

.feature {
  background: var(--bg-card);
  border: 1px solid rgba(13,31,60,0.07);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(13,31,60,0.1);
}

.feature-icon {
  width: 36px; height: 36px;
  background: rgba(13,31,60,0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.feature h3 { font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.25rem; }
.feature p { font-size: 0.75rem; color: var(--graphite-light); line-height: 1.5; }

.contact-wrap {
  animation: fadeUp 1s ease 0.8s both;
  width: 100%;
  max-width: 520px;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--graphite-light);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-card);
  border: 1px solid rgba(13,31,60,0.08);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  flex: 1;
  justify-content: center;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,31,60,0.1);
  background: var(--navy);
  color: white;
}

.contact-card:hover svg { stroke: white; }

.contact-card svg {
  width: 18px; height: 18px;
  stroke: var(--navy);
  flex-shrink: 0;
  transition: stroke 0.2s;
}

footer {
  padding: 1.5rem 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(13,31,60,0.07);
  animation: fadeUp 1s ease 1s both;
}

.footer-copy { font-size: 0.78rem; color: var(--graphite-light); }

.footer-links { display: flex; gap: 1.5rem; }

.footer-links a {
  font-size: 0.78rem;
  color: var(--graphite-light);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--navy); }

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes fillBar {
  from { width: 0%; }
  to   { width: 72%; }
}

@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .construction-card { flex-direction: column; text-align: center; padding: 2rem; }
  .progress-info { text-align: center; }
  .contact-cards { flex-direction: column; }
  footer { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { justify-content: center; }
}