/* GallaDev landing — brand: #C62828 accent, #1F2328 graphite */
:root {
  --accent: #C62828;
  --accent-hover: #A61F1F;
  --graphite: #1F2328;
  --gray-50: #F3F4F6;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(31, 35, 40, 0.08);
  --max: 1080px;
  --font: "Manrope", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--graphite);
  background: var(--white);
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--gray-600); }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--white);
  padding: 0.5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31,35,40,0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; color: var(--graphite); font-weight: 700;
}
.brand:hover { color: var(--graphite); }
.brand-logo {
  width: 44px; height: 44px; object-fit: cover; border-radius: 10px;
  box-shadow: 0 2px 8px rgba(31,35,40,0.12);
}
.brand-name { font-size: 1.1rem; letter-spacing: -0.03em; }
.nav { display: flex; align-items: center; gap: 1.25rem; }
.nav a {
  color: var(--gray-600); text-decoration: none; font-weight: 500; font-size: 0.95rem;
}
.nav a:hover { color: var(--graphite); }
.nav a.btn { color: var(--white); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 0.4rem;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--graphite); border-radius: 1px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.25rem; border-radius: 999px; font-weight: 600;
  font-family: inherit; font-size: 0.95rem; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); color: var(--white); }
.btn-ghost {
  background: transparent; color: var(--graphite); border-color: rgba(31,35,40,0.15);
}
.btn-ghost:hover { border-color: var(--graphite); color: var(--graphite); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.65; cursor: wait; }

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(198,40,40,0.07), transparent 55%),
    linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
}
.hero-grid {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 1.2fr 0.8fr;
}
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}
.lead { font-size: 1.1rem; max-width: 38ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-card {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  box-shadow: var(--shadow); border: 1px solid rgba(31,35,40,0.06);
}
.hero-card-label {
  font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.04em; color: var(--gray-400); margin-bottom: 1rem;
}
.hero-card ul li {
  position: relative; padding: 0.55rem 0 0.55rem 1.5rem;
  color: var(--graphite); font-weight: 500; border-bottom: 1px solid var(--gray-50);
}
.hero-card ul li:last-child { border-bottom: 0; }
.hero-card ul li::before {
  content: ""; position: absolute; left: 0; top: 1rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.hero-card-foot {
  margin: 1.25rem 0 0; font-size: 0.85rem; color: var(--gray-400);
}

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--gray-50); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-intro { font-size: 1.05rem; }

.cards-3 {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--white); border-radius: var(--radius); padding: 1.5rem;
  border: 1px solid rgba(31,35,40,0.06); box-shadow: 0 4px 16px rgba(31,35,40,0.04);
}
.card-num {
  display: block; font-weight: 800; font-size: 0.85rem;
  color: var(--accent); letter-spacing: 0.04em; margin-bottom: 0.75rem;
}
.card p { margin-bottom: 0; font-size: 0.95rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem;
  align-items: start; background: var(--white);
  border: 1px solid rgba(31,35,40,0.06); border-radius: var(--radius);
  padding: 1.35rem 1.5rem; box-shadow: 0 4px 16px rgba(31,35,40,0.04);
}
.step-num {
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem; flex-shrink: 0;
}
.step p { margin-bottom: 0; }

/* Split yes/no */
.split {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr;
}
.split-yes, .split-no {
  border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid rgba(31,35,40,0.06); background: var(--white);
}
.split-yes h3 { color: var(--accent); }
.split-no h3 { color: var(--gray-600); }
.split ul li {
  position: relative; padding: 0.5rem 0 0.5rem 1.6rem;
  color: var(--gray-600); font-size: 0.95rem;
}
.split-yes ul li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.split-no ul li::before { content: "–"; position: absolute; left: 0.15rem; color: var(--gray-400); font-weight: 700; }

/* Contact */
.contact-section {
  background:
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(198,40,40,0.06), transparent 50%),
    var(--white);
}
.contact-grid {
  display: grid; gap: 2.5rem; grid-template-columns: 0.9fr 1.1fr; align-items: start;
}
.contact-meta { margin-top: 1.5rem; }
.contact-meta a { font-weight: 600; text-decoration: none; }
.contact-meta a:hover { text-decoration: underline; }

.lead-form {
  background: var(--white); border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid rgba(31,35,40,0.08); box-shadow: var(--shadow);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label {
  display: block; font-weight: 600; font-size: 0.875rem;
  margin-bottom: 0.4rem; color: var(--graphite);
}
.optional { font-weight: 400; color: var(--gray-400); }
.form-row input[type="text"],
.form-row input[type="email"],
.form-row textarea {
  width: 100%; padding: 0.7rem 0.9rem; border-radius: 8px;
  border: 1px solid rgba(31,35,40,0.15); font-family: inherit; font-size: 1rem;
  color: var(--graphite); background: var(--white); transition: border-color 0.15s;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(198,40,40,0.15);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.check-row {
  display: flex; align-items: flex-start; gap: 0.6rem;
}
.check-row input { margin-top: 0.25rem; accent-color: var(--accent); flex-shrink: 0; }
.check-row label { margin: 0; font-weight: 500; font-size: 0.875rem; color: var(--gray-600); }
.hp {
  position: absolute; left: -9999px; height: 0; overflow: hidden;
}
.form-status {
  margin: 1rem 0 0; padding: 0.75rem 1rem; border-radius: 8px; font-size: 0.9rem; font-weight: 500;
}
.form-status.ok { background: #ECFDF5; color: #065F46; }
.form-status.err { background: #FEF2F2; color: #991B1B; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(31,35,40,0.08);
  background: var(--graphite); color: var(--gray-400); padding: 2.5rem 0;
}
.footer-inner {
  display: grid; gap: 1.5rem;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.75rem;
}
.footer-brand .brand-logo { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand strong { color: var(--white); display: block; }
.footer-brand p { margin: 0; font-size: 0.85rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a { color: var(--gray-400); text-decoration: none; font-size: 0.9rem; }
.footer-nav a:hover { color: var(--white); }
.footer-copy { margin: 0; font-size: 0.8rem; }

/* Legal pages */
.legal-page { padding: 3rem 0 4rem; }
.legal-page h1 { margin-bottom: 0.5rem; }
.legal-meta { color: var(--gray-400); font-size: 0.9rem; margin-bottom: 2rem; }
.legal-page h2 { margin-top: 2rem; font-size: 1.25rem; }
.legal-page p, .legal-page li { color: var(--gray-600); }
.legal-page ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-page li { margin-bottom: 0.35rem; }
.placeholder {
  background: #FEF3C7; color: #92400E; padding: 0.1em 0.35em; border-radius: 4px;
  font-weight: 600; font-size: 0.95em;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid, .cards-3, .split, .contact-grid {
    grid-template-columns: 1fr;
  }
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 1rem; border-bottom: 1px solid rgba(31,35,40,0.08);
    box-shadow: 0 12px 24px rgba(31,35,40,0.08);
  }
  .nav.open { display: flex; }
  .nav a { padding: 0.75rem 0.5rem; }
  .nav a.btn { text-align: center; margin-top: 0.5rem; }
}


.captcha-row {
  margin-top: 0.25rem;
}

.captcha-label {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text, #1f2328);
}

.cf-turnstile {
  min-height: 65px;
}
