/* Studio Connects — Refined UI/UX pass */

:root {
  --green: #1B4D3E;
  --green-dark: #143829;
  --coral: #FF8B6A;
  --coral-hover: #e67a5a;
  --charcoal: #2C2C2C;
  --off-white: #F8F6F3;
  --gold: #D4AF37;
  --gray: #5a5a5a;
  --gray-light: #888;
  --white: #fff;
  --bg-page: #fafaf9;
  --red: #d94040;
  --max-width: 1120px;
  --line-height: 1.65;
  --font-heading: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.06);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.25s var(--ease);
}

html {
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: var(--line-height);
  color: var(--charcoal);
  background: var(--white);
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44, 44, 44, 0.06);
  padding: 1rem 1.5rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green);
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--green-dark);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.95rem;
  color: var(--charcoal);
  font-weight: 500;
  position: relative;
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--coral);
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 0.25s var(--ease);
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta):focus::after {
  width: 100%;
}

.nav-cta {
  background: var(--coral);
  color: var(--white) !important;
  padding: 0.5rem 1.15rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem !important;
  transition: background 0.2s var(--ease);
}

.nav-cta:hover,
.nav-cta:focus {
  background: var(--coral-hover);
  color: var(--white) !important;
}

@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .main-nav { display: flex; }
}

.main-nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(44, 44, 44, 0.08);
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
}

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  min-height: 44px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  border-radius: 4px;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--coral-hover);
  border-color: var(--coral-hover);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--coral);
  border-color: var(--coral);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: rgba(255, 139, 106, 0.08);
  color: var(--coral);
}

.btn-pricing,
.btn-final {
  background: var(--white);
  color: var(--green);
  border: 2px solid var(--white);
}

.btn-pricing:hover,
.btn-final:hover,
.btn-pricing:focus,
.btn-final:focus {
  background: var(--off-white);
  color: var(--green);
  border-color: var(--off-white);
}

.btn-submit {
  background: var(--coral);
  color: var(--white);
  border: 2px solid var(--coral);
  border-radius: 4px;
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
}

.btn-submit:hover,
.btn-submit:focus {
  background: var(--coral-hover);
  border-color: var(--coral-hover);
  color: var(--white);
}

/* ----- Hero ----- */
.hero {
  min-height: 90vh;
  background: linear-gradient(165deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  padding: 5rem 1.5rem 6rem;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 3rem;
}

.hero-content {
  max-width: 600px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero-audience {
  margin: 0 0 1.25rem;
}

.audience-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.hero-subhead {
  font-size: clamp(1.1rem, 1.9vw, 1.25rem);
  line-height: 1.7;
  margin: 0 0 2rem;
  opacity: 0.92;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-trust {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

.hero-visual {
  display: none;
}

.hero-svg {
  width: 100%;
  height: auto;
  max-height: 260px;
  color: var(--coral);
  opacity: 0.9;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 3rem;
  }

  .hero-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-left: 2rem;
  }

  .hero-svg {
    max-width: 360px;
    max-height: 280px;
  }
}

/* ----- Stats ----- */
.stats-bar {
  padding: 0 1.5rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.stat-hero,
.stat {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}

.stat-hero:hover,
.stat:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.stat-hero {
  text-align: left;
  grid-column: 1 / -1;
}

.stat-hero .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.75rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.4rem;
}

.stat-hero .stat-label {
  font-size: 1.05rem;
  color: var(--charcoal);
  font-weight: 500;
}

.stat-group {
  display: contents;
}

.stat {
  text-align: left;
}

.stat .stat-number {
  font-family: var(--font-heading);
  display: block;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.25rem;
}

.stat .stat-label {
  font-size: 0.9rem;
  color: var(--gray);
}

@media (min-width: 768px) {
  .stats-inner {
    grid-template-columns: 1.2fr repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }

  .stat-hero {
    grid-column: auto;
  }
}

/* ----- Problem ----- */
.problem {
  padding: 6rem 1.5rem 5rem;
}

.problem-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.problem-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 2.5rem;
  line-height: 1.25;
  max-width: 540px;
}

.problem-grid {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.problem-card {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green);
  transition: box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}

.problem-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.problem-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  color: var(--green);
  background: rgba(27, 77, 62, 0.08);
  border-radius: var(--radius-sm);
}

.problem-icon svg {
  width: 20px;
  height: 20px;
}

.problem-icon-alert {
  color: var(--coral);
  background: rgba(255, 139, 106, 0.1);
}

.problem-card-wide {
  border-left-color: var(--coral);
}

.problem-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--charcoal);
}

.problem-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

.problem-cta {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  margin: 0;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .problem-card-wide {
    grid-column: 1 / -1;
  }
}

/* ----- Solution (2×2 grid) ----- */
.solution {
  background: var(--bg-page);
  padding: 1rem 0 2rem;
}

.solution-intro {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 2.5rem;
  text-align: left;
}

.solution-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.2vw, 2.15rem);
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
}

.solution-proof {
  font-size: 1.05rem;
  color: var(--gray);
  margin: 0 0 0.75rem;
  max-width: 600px;
  line-height: 1.65;
}

.solution-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0;
  max-width: 560px;
  line-height: 1.5;
}

.solution-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.solution-card {
  padding: 2rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), transform 0.2s var(--ease);
}

.solution-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.solution-card-dark {
  background: var(--charcoal);
  color: var(--white);
}

.solution-card-dark h3,
.solution-card-dark .solution-list li {
  color: var(--white);
}

.solution-card-dark p {
  color: rgba(255, 255, 255, 0.8);
}

.solution-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1.25rem;
  color: var(--coral);
  background: rgba(255, 139, 106, 0.12);
  border-radius: var(--radius-md);
}

.solution-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.solution-icon-light {
  color: var(--coral);
  background: rgba(255, 139, 106, 0.2);
}

.solution-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: var(--charcoal);
}

.solution-card p {
  margin: 0 0 1rem;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.solution-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
  font-size: 0.95rem;
}

.solution-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 1px;
}

.solution-card-dark .solution-list li::before {
  background: var(--coral);
}

@media (min-width: 768px) {
  .solution-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* ----- How It Works ----- */
.how-it-works {
  padding: 5rem 1.5rem;
}

.how-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.how-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 1.5rem;
  text-transform: lowercase;
  letter-spacing: -0.01em;
}

.how-pilot-box {
  background: rgba(27, 77, 62, 0.06);
  border-left: 3px solid var(--green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.85rem 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.how-pilot {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  line-height: 1.5;
}

.steps {
  display: grid;
  gap: 1.25rem;
}

.step {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid rgba(27, 77, 62, 0.2);
  transition: box-shadow 0.25s var(--ease);
}

.step:hover {
  box-shadow: var(--shadow-md);
}

.step-emphasis {
  border-left-color: var(--coral);
  background: linear-gradient(135deg, rgba(255, 139, 106, 0.06) 0%, transparent 100%);
}

.step-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--coral);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.step h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--charcoal);
}

.step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .step {
    padding: 2rem 1.75rem;
  }
}

/* ----- Testimonials ----- */
.testimonials {
  padding: 5rem 1.5rem;
  background: var(--bg-page);
}

.testimonials-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.testimonial-featured {
  padding: 2.25rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green);
  transition: box-shadow 0.25s var(--ease);
}

.testimonial-featured:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-featured blockquote {
  margin: 0;
}

.testimonial-featured p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin: 0 0 1rem;
}

.testimonial-featured footer {
  font-size: 0.9rem;
  color: var(--gray);
}

.testimonial-secondary {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--coral);
  max-width: 520px;
  transition: box-shadow 0.25s var(--ease);
}

.testimonial-secondary:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-secondary blockquote {
  margin: 0;
}

.testimonial-secondary p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
}

.testimonial-secondary footer {
  font-size: 0.85rem;
  color: var(--gray);
}

@media (min-width: 768px) {
  .testimonials-inner {
    grid-template-columns: 1fr 0.85fr;
    align-items: start;
  }
}

/* ----- Pricing ----- */
.pricing-preview {
  background: linear-gradient(165deg, var(--coral) 0%, #e67a5a 100%);
  color: var(--white);
  padding: 5rem 1.5rem;
  text-align: center;
}

.pricing-inner {
  max-width: 520px;
  margin: 0 auto;
}

.pricing-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 1.5rem;
  text-transform: lowercase;
}

.pricing-card {
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-card .pricing-amount {
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.pricing-card .pricing-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  display: block;
  margin: 0.25rem 0;
  line-height: 1;
}

.pricing-card .pricing-per {
  font-size: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.pricing-features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  text-align: left;
}

.pricing-features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--white);
}

/* ----- Final CTA + Form ----- */
.final-cta {
  background: var(--green);
  color: var(--white);
  padding: 4rem 1.5rem;
  text-align: center;
}

.final-inner {
  max-width: 560px;
  margin: 0 auto;
}

.final-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 0.75rem;
  text-transform: lowercase;
}

.final-lead {
  font-size: 1.05rem;
  margin: 0 0 1rem;
  line-height: 1.6;
  opacity: 0.92;
}

.final-contact {
  margin: 0 0 2.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

.final-contact a {
  color: var(--coral);
  text-decoration: underline;
  font-weight: 600;
}

.final-contact a:hover {
  color: var(--off-white);
}

.contact-form-wrapper {
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.contact-form-wrapper h3 {
  font-family: var(--font-heading);
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
  color: var(--white);
  text-align: center;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.required {
  color: var(--coral);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.95);
  color: var(--charcoal);
  border-radius: 6px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5a5a' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 139, 106, 0.25);
}

.form-group input.is-invalid,
.form-group textarea.is-invalid {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 64, 64, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: #ff9e9e;
  margin-top: 0.3rem;
  font-weight: 500;
}

.form-group input.is-invalid ~ .form-error,
.form-group textarea.is-invalid ~ .form-error {
  display: block;
}

.form-success {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.success-icon {
  width: 48px;
  height: 48px;
  color: var(--coral);
  margin-bottom: 1rem;
}

.form-success p {
  margin: 0;
  color: var(--white);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ----- Footer ----- */
.site-footer {
  background: var(--charcoal);
  color: var(--gray-light);
  padding: 3rem 1.5rem 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto 1.5rem;
  display: grid;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-brand p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-links a,
.footer-legal a {
  color: var(--gray-light);
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--coral);
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-copy {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-light);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
  }
}

/* ----- Focus (accessibility) ----- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}
