/* ============================================================
   HIRE THE WEB TEAM — the flat design years, c. 2015
   Full-bleed heroes. Ghost buttons. Words like "delightful".
   ============================================================ */

:root {
  --flat-turquoise: #1abc9c;
  --flat-midnight: #2c3e50;
  --flat-clouds: #ecf0f1;
  --flat-asphalt: #34495e;
  --flat-alizarin: #e74c3c;
  --flat-peter-river: #3498db;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
  font-weight: 300; /* everything was thin in 2015 */
  font-size: 17px;
  line-height: 1.7;
  color: var(--flat-asphalt);
  background: #fff;
}

.skip-link {
  position: absolute; left: -9999px;
  background: #fff; color: #000; padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-weight: 200; letter-spacing: 1px; }

/* ---- Sticky flat navbar ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--flat-midnight);
  color: #fff;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
}
.brand span { color: var(--flat-turquoise); }
.navbar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.navbar a { color: #bdc3c7; text-decoration: none; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; }
.navbar a:hover, .navbar a[aria-current="page"] { color: var(--flat-turquoise); }

/* ---- HERO. Full-bleed. Inevitable. ---- */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(44, 62, 80, 0.82), rgba(26, 188, 156, 0.65)),
    radial-gradient(circle at 30% 20%, #3498db, #2c3e50 70%);
  padding: 80px 24px;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin: 0 0 12px;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2.5vw, 1.4rem);
  max-width: 640px;
  margin: 0 auto 36px;
  color: #ecf0f1;
}

/* ---- Ghost button: the era's signature move ---- */
.btn-ghost {
  display: inline-block;
  padding: 14px 42px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  transition: all 0.3s ease;
  margin: 6px;
}
.btn-ghost:hover { background: #fff; color: var(--flat-midnight); }
.btn-solid {
  display: inline-block;
  padding: 14px 42px;
  background: var(--flat-turquoise);
  border: 2px solid var(--flat-turquoise);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  transition: all 0.3s ease;
  margin: 6px;
}
.btn-solid:hover { background: #16a085; border-color: #16a085; }

.scroll-hint {
  margin-top: 40px;
  font-size: 26px;
  opacity: 0.7;
  animation: hint-bob 1.6s ease-in-out infinite;
}
@keyframes hint-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ---- Sections ---- */
section.block { padding: 80px 0; }
section.block.alt { background: var(--flat-clouds); }
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin: 0 0 8px;
  color: var(--flat-midnight);
}
.section-sub {
  text-align: center;
  color: #7f8c8d;
  max-width: 560px;
  margin: 0 auto 48px;
}

/* ---- Icon circles in a grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.services-grid li { text-align: center; }
.icon-circle {
  width: 86px; height: 86px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  background: var(--flat-turquoise);
  color: #fff;
}
.services-grid li:nth-child(2) .icon-circle { background: var(--flat-peter-river); }
.services-grid li:nth-child(3) .icon-circle { background: var(--flat-alizarin); }
.services-grid li:nth-child(4) .icon-circle { background: #9b59b6; }
.services-grid h3 {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
  color: var(--flat-midnight);
}
.services-grid p { font-size: 15px; color: #7f8c8d; margin: 0; }

/* ---- Big number stats, semi-mandatory in 2015 ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.stats .number {
  font-size: 3rem;
  font-weight: 200;
  color: var(--flat-turquoise);
  display: block;
}
.stats .label { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: #95a5a6; }

/* ---- Testimonial ---- */
.testimonial {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.testimonial blockquote {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--flat-midnight);
  margin: 0 0 16px;
}
.testimonial cite { color: #7f8c8d; font-style: normal; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--flat-turquoise);
  color: #fff;
  text-align: center;
  padding: 70px 24px;
}
.cta-band h2 { font-size: 2rem; margin: 0 0 24px; }

/* ---- Footer ---- */
.site-footer {
  background: var(--flat-midnight);
  color: #95a5a6;
  text-align: center;
  padding: 36px 24px;
  font-size: 14px;
}
.site-footer a { color: var(--flat-turquoise); text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .scroll-hint { animation: none; }
  .btn-ghost, .btn-solid { transition: none; }
}
