/* 6 Strings Guitar School — Coastal light brand
   Palette: shell #FAF7F1 · sand #E6D9C3 · ocean #2C5F7C · driftwood amber #C77B3F · ink #22303A
   Fonts: Fraunces (display) + Nunito Sans (body) */

:root {
  --shell: #FAF7F1;
  --sand: #E6D9C3;
  --sand-light: #F3EDE1;
  --ocean: #2C5F7C;
  --ocean-dark: #1F4459;
  --ocean-tint: #E4EDF2;
  --amber: #C77B3F;
  --amber-dark: #9A5C2C;
  --ink: #22303A;
  --muted: #5C6670;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 2px 16px rgba(34, 48, 58, 0.08);
  --font-display: "DM Serif Display", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--shell);
}

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

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin-bottom: 1rem; }
a { color: var(--ocean); }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { height: 44px; width: auto; }

.main-nav ul { display: flex; gap: 18px; list-style: none; align-items: center; }

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.main-nav a:hover { color: var(--ocean); }
.main-nav a.active { color: var(--ocean); border-bottom-color: var(--amber); }

.nav-cta {
  background: var(--ocean);
  color: var(--white) !important;
  padding: 10px 18px !important;
  white-space: nowrap;
  border-radius: 999px;
  border-bottom: none !important;
}
.nav-cta:hover { background: var(--ocean-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.btn-primary { background: var(--ocean); color: var(--white); }
.btn-primary:hover { background: var(--ocean-dark); transform: translateY(-1px); }

.btn-amber { background: var(--amber); color: var(--white); }
.btn-amber:hover { background: var(--amber-dark); transform: translateY(-1px); }

.btn-outline { background: transparent; color: var(--ocean); border-color: var(--ocean); }
.btn-outline:hover { background: var(--ocean-tint); }

.btn-light { background: var(--white); color: var(--ocean); }
.btn-light:hover { background: var(--sand-light); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero h1 em { font-style: italic; color: var(--ocean); }

.hero-sub { font-size: 1.2rem; color: var(--muted); max-width: 34em; margin: 1.25rem 0 2rem; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

.hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ocean);
  margin-bottom: 1.5rem;
}

/* ============ Sections ============ */
.section { padding: 84px 0; }
.section-sand { background: var(--sand-light); }
.section-ocean { background: var(--ocean); color: var(--white); }
.section-ocean h2, .section-ocean h3 { color: var(--white); }
.section-ocean p { color: rgba(255, 255, 255, 0.85); }

.section-head { max-width: 620px; margin-bottom: 3rem; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ============ Cards ============ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card-body { padding: 28px; flex: 1; }
.card-body h3 { margin-bottom: 0.6rem; }
.card-body p { color: var(--muted); font-size: 0.98rem; margin-bottom: 0; }

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ocean-tint);
  color: var(--ocean);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

/* ============ Pricing ============ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }

.price-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.price-card.featured { border: 2px solid var(--ocean); position: relative; }

.price-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-amount { font-family: var(--font-display); font-size: 3rem; color: var(--ocean); margin: 0.5rem 0 0.2rem; }
.price-amount span { font-size: 1.1rem; color: var(--muted); font-family: var(--font-body); }
.price-duration { color: var(--muted); font-weight: 700; margin-bottom: 1.4rem; }

.price-card ul { list-style: none; text-align: left; margin: 0 0 1.8rem; flex: 1; }
.price-card li { padding: 8px 0 8px 30px; position: relative; color: var(--muted); font-size: 0.96rem; border-bottom: 1px dashed var(--sand); }
.price-card li::before { content: "✓"; position: absolute; left: 4px; color: var(--amber); font-weight: 800; }

/* ============ Testimonials ============ */
.quote-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.stars { color: var(--amber); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 1rem; }
.quote-card blockquote { font-size: 0.99rem; color: var(--ink); flex: 1; margin-bottom: 1.2rem; }
.quote-attrib { font-weight: 700; color: var(--ocean); font-size: 0.92rem; }

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 0 auto; }

.faq-list details {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  margin-bottom: 14px;
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 20px 52px 20px 24px;
  list-style: none;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--amber);
  transition: transform 0.2s;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-body { padding: 0 24px 22px; color: var(--muted); }

/* ============ Forms ============ */
.form-grid { display: grid; gap: 18px; }

.form-grid label { font-weight: 700; font-size: 0.92rem; display: block; margin-bottom: 6px; }

.form-grid input, .form-grid select, .form-grid textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--sand);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}

.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus {
  outline: none;
  border-color: var(--ocean);
  box-shadow: 0 0 0 3px var(--ocean-tint);
}

/* ============ CTA band ============ */
.cta-band { text-align: center; padding: 84px 0; }
.cta-band h2 { margin-bottom: 0.8rem; }
.cta-band p { max-width: 36em; margin: 0 auto 2rem; }

/* ============ Footer ============ */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 24px; font-size: 0.88rem; text-align: center; }

/* ============ Misc ============ */
.video-wrap { position: relative; padding-bottom: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

.notice {
  background: var(--ocean-tint);
  border-left: 4px solid var(--ocean);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.book-cover {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px 22px;
  color: var(--white);
  font-family: var(--font-display);
  box-shadow: var(--shadow);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .card-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .card-grid, .card-grid.two, .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 64px; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--shell);
    border-bottom: 1px solid var(--sand);
    padding: 12px 24px 24px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 6px; align-items: stretch; }
  .main-nav a { display: block; padding: 12px 4px; font-size: 1.05rem; }
  .nav-cta { text-align: center; margin-top: 8px; }
}
