/* ============================================
   Skyward Highrise — Site Stylesheet
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

:root {
  --navy: #0f172a;
  --navy-soft: #1e293b;
  --slate: #475569;
  --blue: #0369a1;
  --blue-dark: #075985;
  --sky: #e0f2fe;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --maxw: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--navy);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.2;
  color: var(--navy);
}

img { max-width: 100%; display: block; }

a { color: var(--blue); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 0.875rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar a {
  color: #e2e8f0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  transition: color 0.2s;
}
.topbar a:hover { color: #7dd3fc; }
.topbar .topbar-contacts { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.topbar svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  text-decoration: none;
  line-height: 1.1;
}
.brand .brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-transform: uppercase;
  display: block;
}
.brand .brand-name span { color: var(--blue); }
.brand .brand-tag {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--navy-soft);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover { color: var(--blue); background: var(--sky); }
.main-nav a.active { color: var(--blue); }
.main-nav a:focus-visible,
.btn:focus-visible,
.topbar a:focus-visible {
  outline: 3px solid #7dd3fc;
  outline-offset: 2px;
}

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 11px;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn.btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--navy);
}
.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero .container {
  position: relative;
  padding-top: 110px;
  padding-bottom: 110px;
  max-width: 900px;
  text-align: center;
}
.hero .kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 16px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.3rem);
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 640px;
  margin: 0 auto 34px;
}
.hero .hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  background: var(--navy);
  color: var(--white);
}
.page-banner .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.page-banner .container {
  position: relative;
  padding-top: 70px;
  padding-bottom: 70px;
}
.page-banner h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-banner p { color: #cbd5e1; margin-top: 8px; max-width: 620px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--white); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--slate); }

/* ---------- Split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split .split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 16px; }
.split p { color: var(--slate); margin-bottom: 16px; }
.split .kicker {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.checklist { list-style: none; margin: 6px 0 26px; }
.checklist li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 10px;
  color: var(--navy-soft);
  font-weight: 600;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230369a1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.card:hover { box-shadow: var(--shadow); border-color: #bae6fd; }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card .card-body { padding: 24px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 0.95rem; }
.card .card-note {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ---------- Feature tiles (why choose us) ---------- */
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.feature:hover { box-shadow: var(--shadow); border-color: #bae6fd; }
.feature .feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature .feature-icon svg { width: 26px; height: 26px; stroke: var(--blue); }
.feature h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature p { color: var(--slate); font-size: 0.94rem; }

/* ---------- Stats ---------- */
.stats {
  background: var(--navy);
  color: var(--white);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 56px;
  padding-bottom: 56px;
  text-align: center;
}
.stats .stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #7dd3fc;
}
.stats .stat-label { color: #cbd5e1; font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.cta-band .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.cta-band .container {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  max-width: 760px;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: #e2e8f0; margin-bottom: 30px; }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-card h2 { font-size: 1.5rem; margin-bottom: 20px; }
.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-item .contact-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item .contact-icon svg { width: 22px; height: 22px; stroke: var(--blue); }
.contact-item h3 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); margin-bottom: 3px; }
.contact-item p, .contact-item a { font-size: 1.05rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.contact-item a:hover { color: var(--blue); }
.map-frame {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 480px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 0.95rem;
}
.site-footer .footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding: 64px 0 48px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer .footer-brand .brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}
.site-footer .footer-brand .brand-name span { color: #7dd3fc; }
.site-footer .footer-brand p { margin-top: 12px; max-width: 320px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: #cbd5e1; text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: #7dd3fc; }
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; stroke: #7dd3fc; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  font-size: 0.85rem;
  color: #94a3b8;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-main { grid-template-columns: 1fr 1fr; }
  .map-frame { min-height: 360px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero .container { padding-top: 80px; padding-bottom: 80px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .footer-main { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 18px; }
  .main-nav a { padding: 13px 10px; }
  .nav-cta { margin: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
