/* Sitio comercial de CampusTotal — reutiliza los tokens de marca
   (tokens-campustotal.css) y solo agrega los componentes propios
   del sitio (nav, hero, feature grid, footer). */

:root {
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(36, 26, 18, .07);
  --shadow-md: 0 12px 32px rgba(36, 26, 18, .12);
  --max-w: 1160px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- nav ---------- */

.site-nav {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.site-nav .wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-brand img { width: 30px; height: 30px; }

.nav-brand span {
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.nav-links a:hover { color: var(--color-text); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); }

.btn-outline {
  border: 1px solid var(--color-text);
  color: var(--color-text);
}
.btn-outline:hover { background: var(--color-surface-alt); }

/* ---------- hero ---------- */

.hero .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  padding: 96px 24px;
}

.hero-copy { max-width: 540px; }

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.hero h1 {
  font-family: var(--font-headings);
  font-size: 44px;
  line-height: 1.15;
  margin-top: 20px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-top: 20px;
}

.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-note { font-size: 13px; color: var(--color-text-faint); margin-top: 28px; }

.hero-art {
  width: 420px;
  height: 340px;
  flex-shrink: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.hero-art span {
  position: absolute;
  border-radius: 16px;
}

.hero-art .s1 { left: 40px; top: 60px; width: 130px; height: 130px; background: var(--terracotta); }
.hero-art .s2 { left: 170px; top: 110px; width: 110px; height: 110px; background: var(--coral); }
.hero-art .s3 { left: 230px; top: 40px; width: 78px; height: 78px; background: var(--clay-light); border: 2px solid var(--terracotta); }
.hero-art .s4 { left: 70px; top: 210px; width: 90px; height: 90px; background: var(--sage); opacity: .55; }

/* ---------- features ---------- */

.features { background: var(--color-surface); padding: 100px 24px; }

.section-head { max-width: 560px; margin: 0 auto; text-align: center; }
.section-head .eyebrow { display: block; }
.section-head h2 {
  font-family: var(--font-headings);
  font-size: 32px;
  margin-top: 14px;
}

.feature-grid {
  max-width: var(--max-w);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.feature-card svg { width: 28px; height: 28px; color: var(--color-primary); }

.feature-card h3 { font-size: 16px; margin-top: 18px; }
.feature-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.5; margin-top: 8px; }

/* ---------- testimonial placeholder ---------- */

.testimonial { padding: 100px 24px; text-align: center; }
.testimonial-mark { font-family: var(--font-headings); font-size: 56px; color: var(--color-border); line-height: 1; }
.testimonial blockquote {
  font-family: var(--font-headings);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--color-text);
  max-width: 640px;
  margin: 8px auto 0;
}
.testimonial cite { display: block; font-style: normal; font-size: 13px; color: var(--color-text-muted); margin-top: 20px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 44px 24px;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 10px; opacity: .9; font-size: 13px; }
.footer-brand img { width: 20px; height: 20px; }
.footer-links { display: flex; gap: 24px; font-size: 13px; opacity: .7; }

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero .wrap { flex-direction: column; padding-top: 56px; }
  .hero-copy { max-width: 100%; }
  .hero-art { width: 100%; max-width: 420px; height: 280px; }
  .hero h1 { font-size: 34px; }
}
