/* Corsa Coaching — marketing site styles */
:root {
  --orange: #E85D04;
  --orange-dark: #C24A02;
  --orange-light: #FFE0CC;
  --orange-bg: #FFF3EC;
  --ink: #1A1A1A;
  --ink-soft: #4A4A4A;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --gray-bg: #F9FAFB;
  --white: #FFFFFF;
  --green: #10B981;
  --max-w: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 18px 40px rgba(232, 93, 4, 0.18);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--orange);
  text-decoration: none;
}
a:hover { color: var(--orange-dark); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-light);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--orange);
  letter-spacing: -0.015em;
}
.brand img { height: 36px; }
.site-footer .brand { color: var(--white); font-size: 1.35rem; }
.nav-links {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--orange); }
.nav-cta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--gray-light);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.02rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse at top right, var(--orange-bg) 0%, var(--white) 60%);
  padding: 5rem 0 4rem;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin: 0 0 1.2rem;
  letter-spacing: -0.025em;
  font-weight: 800;
}
.hero h1 .accent { color: var(--orange); }
.hero p.lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  margin: 0 0 1.8rem;
  max-width: 36rem;
}
.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.hero-meta {
  margin-top: 1.6rem;
  color: var(--gray);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-meta span::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  margin-right: 0.4rem;
}
.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--orange) 0%, #FF8A3D 100%);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
}
.hero-art img { width: 65%; opacity: 0.9; }

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
section.tight { padding: 3rem 0; }
section.alt { background: var(--gray-bg); }
.section-head { text-align: center; margin-bottom: 3rem; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 0.9rem;
  letter-spacing: -0.02em;
  font-weight: 800;
}
h3 {
  font-size: 1.25rem;
  margin: 0 0 0.6rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 52rem;
  margin: 0 auto;
  text-wrap: pretty;
}
.section-head h2 { text-wrap: balance; }

/* ---------- Card grid ---------- */
.grid {
  display: grid;
  gap: 1.4rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-light);
}
.card .icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange-bg);
  color: var(--orange);
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
/* Effort-emoji icon: a horizontal row of 5 emojis above the text */
.card .icon-emojis {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.35rem;
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 0.9rem;
}
.card p { color: var(--ink-soft); margin: 0; font-size: 0.96rem; }

/* ---------- Sport pills ---------- */
.pills {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  justify-content: center;
}
.pill {
  background: var(--orange-bg);
  color: var(--orange-dark);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.6rem;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px; left: 1.4rem;
  background: var(--orange);
  color: var(--white);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* ---------- Compare table ---------- */
.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare th, .compare td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.95rem;
}
.compare th {
  background: var(--gray-bg);
  font-weight: 700;
  color: var(--ink);
}
.compare td.center { text-align: center; }
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: var(--gray); }
.compare .corsa-col { background: var(--orange-bg); font-weight: 700; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, #FF8A3D 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 1.08rem; max-width: 38rem; margin: 0 auto 1.6rem; }
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--orange);
}
.cta-banner .btn-primary:hover { background: var(--ink); color: var(--white); }

/* ---------- Quote ---------- */
.quote {
  border-left: 4px solid var(--orange);
  padding: 0.4rem 0 0.4rem 1.4rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
  font-style: italic;
  margin: 1.6rem 0;
}
.quote cite { display: block; margin-top: 0.5rem; font-size: 0.9rem; color: var(--gray); font-style: normal; }

/* ---------- Blog ---------- */
.blog-list {
  display: grid;
  gap: 1.6rem;
}
.blog-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.6rem;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card .thumb {
  background: linear-gradient(135deg, var(--orange) 0%, #FF8A3D 100%);
  display: flex; align-items: center; justify-content: center;
  min-height: 180px;
}
.blog-card .thumb svg { width: 70px; height: 70px; opacity: 0.85; }
.blog-card .body { padding: 1.4rem 1.6rem 1.4rem 0; }
.blog-meta { color: var(--gray); font-size: 0.85rem; margin-bottom: 0.4rem; }
.blog-card h3 { margin-bottom: 0.5rem; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--orange); }
.blog-card p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

article.post {
  max-width: 720px;
  margin: 0 auto;
}
article.post h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}
article.post .meta { color: var(--gray); margin-bottom: 2rem; font-size: 0.95rem; }
article.post p { font-size: 1.08rem; color: var(--ink); margin: 0 0 1.2rem; }
article.post h2 { font-size: 1.55rem; margin-top: 2.4rem; }
article.post h3 { margin-top: 1.8rem; }
article.post ul, article.post ol { padding-left: 1.4rem; margin: 0 0 1.2rem; color: var(--ink); font-size: 1.05rem; }
article.post li { margin-bottom: 0.5rem; }

/* ---------- Forms ---------- */
.form {
  display: grid;
  gap: 1rem;
  max-width: 520px;
}
.form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.form input, .form textarea, .form select {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 0;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-bg);
}
.form textarea { min-height: 130px; resize: vertical; }
.form-status {
  margin-top: 0.6rem;
  padding: 0.7rem 0.95rem;
  border-radius: 10px;
  font-size: 0.92rem;
}
.form-status.success { background: #ECFDF5; color: #047857; }
.form-status.error { background: #FEF2F2; color: #B91C1C; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 { margin-top: 1.2rem; }
.contact-info p { color: var(--ink-soft); margin: 0.2rem 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--orange); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 { color: var(--white); margin: 0 0 0.8rem; font-size: 0.92rem; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.45rem; font-size: 0.95rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 22rem; }
.footer-brand .brand { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-art { max-width: 380px; margin: 0 auto; aspect-ratio: 5/4; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card .body { padding: 0 1.4rem 1.4rem; }
}

@media (max-width: 640px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 1rem 1.5rem 1.4rem;
    border-bottom: 1px solid var(--gray-light);
    gap: 1rem;
  }
  .grid-3, .grid-4, .grid-2, .steps { grid-template-columns: 1fr; }
  section { padding: 3.2rem 0; }
  .hero { padding: 3.4rem 0 2.6rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Marketing-site supplements ---------- */
:root { --text-muted: #6b6f76; }

.page-hero {
  padding: 4rem 0 2.4rem;
  background: linear-gradient(180deg, var(--orange-bg) 0%, transparent 100%);
}
.page-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.8rem;
  text-wrap: balance;
}
.page-hero .lead {
  max-width: 52rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
  text-wrap: pretty;
}

/* Steps as <ol> with <li> children */
ol.steps { padding: 0; list-style: none; counter-reset: step; }
ol.steps li {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem 4.2rem;
  position: relative;
  margin-bottom: 1.2rem;
}
ol.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 1.4rem; left: 1.2rem;
  background: var(--orange);
  color: var(--white);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
ol.steps li h3 { margin: 0 0 0.3rem; }
ol.steps li p { margin: 0; color: var(--ink-soft); }

/* Blog cards (text-only variant) */
.blog-card { display: block; padding: 1.6rem 1.8rem; text-decoration: none; }
.blog-card .tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-bg);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.blog-card h2 {
  font-size: 1.3rem;
  margin: 0 0 0.4rem;
  color: var(--ink);
  line-height: 1.3;
}
.blog-card p { color: var(--ink-soft); margin: 0 0 0.6rem; font-size: 0.98rem; }
.blog-card .meta { color: var(--gray); font-size: 0.85rem; }
.blog-card.placeholder { background: var(--gray-bg); cursor: default; opacity: 0.85; }
.blog-card.placeholder:hover { transform: none; box-shadow: none; }
a.blog-card:hover h2 { color: var(--orange); }

/* Article post tweaks */
.post-container { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
article.post { padding: 3rem 0 4rem; }
article.post .post-meta { color: var(--gray); margin: 0 0 2rem; font-size: 0.95rem; }
article.post .post-lead {
  font-size: 1.18rem;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 1.6rem;
  padding-left: 1rem;
  border-left: 3px solid var(--orange);
}
article.post .post-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2.4rem 0 0;
  padding: 1.6rem;
  background: var(--orange-bg);
  border-radius: var(--radius);
}

/* Contact form (alias for existing .form, used as .contact-form on the page) */
.contact-form {
  display: grid;
  gap: 1rem;
  max-width: 560px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.contact-form input, .contact-form textarea, .contact-form select {
  font: inherit;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: 0;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-bg);
}
.contact-form textarea { min-height: 130px; resize: vertical; }

/* ---------- Phone mockup pairs ---------- */
.hero-art.phones {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin-left: auto;
}
.hero-art.phones .phone {
  position: absolute;
  height: 92%;
  width: auto;
  filter: drop-shadow(0 24px 40px rgba(20, 20, 30, 0.18));
  border-radius: 36px;
}
.hero-art.phones .phone-front {
  right: 6%;
  bottom: 0;
  z-index: 2;
  transform: rotate(-3deg);
}
.hero-art.phones .phone-back {
  left: 0;
  top: 0;
  z-index: 1;
  transform: rotate(7deg) scale(0.9);
  opacity: 0.95;
}

.screen-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2rem;
}
.screen-strip figure {
  margin: 0;
  text-align: center;
}
.screen-strip figure img {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: drop-shadow(0 18px 32px rgba(20, 20, 30, 0.12));
  border-radius: 32px;
}
.screen-strip figcaption {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.screen-strip figcaption strong { display: block; color: var(--ink); margin-bottom: 0.2rem; font-size: 1rem; }

@media (max-width: 920px) {
  .hero-art.phones { aspect-ratio: 5/4; }
  .screen-strip { grid-template-columns: 1fr; }
  .screen-strip figure img { max-width: 240px; }
}

/* ---------- Coming-soon modal ---------- */
.coming-soon-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 30, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.5rem;
  animation: cs-fade-in 0.18s ease-out;
}
.coming-soon-overlay[hidden] { display: none; }
.coming-soon-modal {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2rem 1.8rem;
  max-width: 28rem;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  animation: cs-pop-in 0.2s ease-out;
}
.coming-soon-modal h2 {
  font-size: 1.5rem;
  margin: 0 0 0.6rem;
  color: var(--orange);
}
.coming-soon-modal p {
  margin: 0 0 0.8rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.coming-soon-modal a {
  color: var(--orange);
  font-weight: 600;
}
.coming-soon-modal .btn {
  margin-top: 1rem;
  min-width: 8rem;
}
.coming-soon-close {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.coming-soon-close:hover { color: var(--ink); background: var(--gray-bg); }

@keyframes cs-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes cs-pop-in {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
