/* ============================================
   ACME CO — STYLESHEET
   File: css/style.css
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0d0d0d;
  --white:   #f5f4f0;
  --accent:  #e8ff47;
  --gray:    #5a5a5a;
  --light:   #f0efe9;
  --radius:  6px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- CONTAINER --- */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAV --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.nav-links a:hover { text-decoration: underline; }

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
}

.btn:hover { background: #2a2a2a; transform: translateY(-1px); }

.btn-light {
  background: var(--accent);
  color: var(--black);
}

.btn-light:hover { background: #d4eb30; }

/* --- HERO --- */
.hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
}

.hero-content {
  max-width: 600px;
  z-index: 2;
  animation: fadeUp 0.7s ease both;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 28px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(245,244,240,0.7);
  margin-bottom: 40px;
  max-width: 440px;
}

/* Decorative circles */
.hero-graphic {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
}

.circle {
  position: absolute;
  border-radius: 50%;
  animation: spin linear infinite;
}

.c1 {
  width: 420px; height: 420px;
  border: 1.5px solid rgba(232,255,71,0.25);
  top: 0; left: 0;
  animation-duration: 28s;
}

.c2 {
  width: 280px; height: 280px;
  border: 1.5px solid rgba(232,255,71,0.4);
  top: 70px; left: 70px;
  animation-duration: 18s;
  animation-direction: reverse;
}

.c3 {
  width: 140px; height: 140px;
  background: var(--accent);
  opacity: 0.12;
  top: 140px; left: 140px;
  animation-duration: 10s;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 0 70px;
  animation: fadeUp 0.6s ease both;
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  margin: 12px 0 20px;
}

/* --- FEATURES --- */
.features {
  padding: 100px 0;
  background: var(--light);
}

.section-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 52px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 36px 32px;
  transition: transform 0.18s, box-shadow 0.18s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.09);
}

.card-icon { font-size: 2rem; display: block; margin-bottom: 16px; }

.card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p { color: var(--gray); font-weight: 300; font-size: 0.97rem; }

/* --- CTA BANNER --- */
.cta-banner {
  background: var(--black);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 32px;
}

/* --- ABOUT --- */
.about-body { padding: 80px 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 14px;
}

.about-text h2:first-child { margin-top: 0; }

.about-text p {
  color: var(--gray);
  margin-bottom: 16px;
  font-weight: 300;
}

.values-list { display: flex; flex-direction: column; gap: 10px; }

.values-list li {
  font-size: 0.95rem;
  color: var(--gray);
  font-weight: 300;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat {
  background: var(--light);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--black);
}

.stat-label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 300;
}

/* --- CONTACT --- */
.contact-section { padding: 80px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }

.form-group label {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--gray);
}

.form-group input,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.15s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--black);
}

.form-feedback {
  margin-top: 16px;
  font-size: 0.9rem;
  color: #2d7a2d;
  font-weight: 400;
  min-height: 1.4em;
}

.contact-info { padding-top: 8px; }

.info-block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.info-block:last-child { border-bottom: none; }

.info-block h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.info-block p { color: var(--gray); font-weight: 300; }

/* --- 404 PAGE --- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 80px 0;
}

.error-code {
  font-family: var(--font-head);
  font-size: 7rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
  -webkit-text-stroke: 2px var(--black);
}

.error-page h1 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.error-page p {
  color: var(--gray);
  margin-bottom: 36px;
}

/* --- FOOTER --- */
.footer {
  padding: 36px 48px;
  border-top: 1px solid rgba(0,0,0,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray);
}

.footer ul {
  display: flex;
  gap: 28px;
}

.footer a:hover { text-decoration: underline; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav { padding: 18px 24px; }
  .hero { padding: 60px 24px; min-height: auto; padding-top: 80px; }
  .hero-graphic { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer { flex-direction: column; gap: 16px; text-align: center; }
}