/* ═══════════════════════════════════════════════════════════
   CREATEWITHCARLOS — Brand CSS
   Warm Intelligence palette · Space Grotesk · DM Sans
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap');

/* ─── Tokens ──────────────────────────────────────────────── */
:root {
  --navy:        #0F2547;
  --navy-dark:   #0C1E3D;
  --navy-deep:   #080F1E;
  --amber:       #F5A623;
  --amber-light: #F7BB55;
  --warm-white:  #FAFAF7;
  --sand:        #E8E5E0;
  --carbon:      #2C2C2C;
  --carbon-soft: #4A4A4A;
  --white:       #FFFFFF;

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  --radius:    8px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.18);
}

/* ─── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 19px; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--carbon);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── Layout ──────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 32px; }

/* ─── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; }
h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(24px, 3.5vw, 40px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); font-weight: 600; }
p  { line-height: 1.75; }

.label-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.amber-rule {
  display: block;
  width: 48px;
  height: 3px;
  background: var(--amber);
  border-radius: 2px;
  margin: 0 auto 24px;
}
.amber-rule--left { margin-left: 0; }
/* Legacy alias */
.teal-rule { display: block; width: 48px; height: 3px; background: var(--amber); border-radius: 2px; margin: 0 auto 24px; }
.teal-rule--left { margin-left: 0; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 15px 36px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn--amber {
  background: var(--amber);
  color: var(--navy-deep);
}
.btn--amber:hover {
  background: #e09520;
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,166,35,0.38);
}
.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.38);
}
.btn--outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.btn--outline-amber {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
}
.btn--outline-amber:hover {
  background: var(--amber);
  color: var(--white);
}

/* ─── Navigation ──────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy);
  border-bottom: 1px solid rgba(245,166,35,0.2);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav__logo span { color: var(--amber); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--white); }
.nav__links .nav-cta a {
  color: var(--amber);
  border: 1.5px solid rgba(245,166,35,0.55);
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: all 0.2s;
  font-weight: 600;
}
.nav__links .nav-cta a:hover {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}

/* ─── Section Headers ─────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { color: var(--white); }
.section-header h2.on-light { color: var(--navy); }
.section-header p {
  font-size: 20px;
  color: rgba(255,255,255,0.62);
  margin-top: 12px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.section-header p.on-light { color: var(--carbon-soft); }

/* ─── Testimonial Card ────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 36px 32px 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testimonial-card::before {
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 80px;
  color: var(--navy);
  opacity: 0.18;
  line-height: 1;
  position: absolute;
  top: 12px;
  left: 20px;
}
.testimonial-card__body {
  font-size: 16px;
  line-height: 1.78;
  color: var(--carbon);
  font-style: italic;
  margin-bottom: 24px;
  padding-top: 20px;
}
.testimonial-card__author { display: flex; align-items: center; gap: 14px; }
.testimonial-card__name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  display: block;
}
.testimonial-card__title {
  font-size: 13px;
  color: var(--carbon-soft);
  font-weight: 500;
}

/* ─── CTA Section ─────────────────────────────────────────── */
.cta-section {
  background: var(--navy);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(245,166,35,0.12) 0%, transparent 65%);
  padding: 88px 0;
  text-align: center;
}
.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-section .btn { margin: 0 6px; }

/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 52px 0 36px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer__logo {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
}
.footer__logo span { color: rgba(245,166,35,0.6); }
.footer__social { display: flex; gap: 12px; }
.social-icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-head);
  transition: border-color 0.2s, color 0.2s;
}
.social-icon:hover { border-color: var(--amber); color: var(--amber); }
.footer__links { display: flex; gap: 28px; }
.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  font-weight: 500;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--amber); }
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.22); }

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .container--narrow { padding: 0 24px; }
}
@media (max-width: 768px) {
  .nav__links { gap: 16px; }
  .nav__links a { font-size: 12px; }
}
@media (max-width: 640px) {
  .nav__links { display: none; }
  .container { padding: 0 16px; }
}
