:root {
  --ink: #251f21;
  --ink-2: #585254;
  --sand: #f4efec;
  --page: #ffffff;
  --teal: #2f6f5f;
  --teal-dark: #26594c;
  --hairline: #eae9ea;
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

h1, h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); margin: 0 0 16px; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0 0 24px; }

a { color: var(--teal); }

/* Header */
.site-header {
  background: var(--page);
  border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 10;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.05rem; }
.nav nav { display: flex; gap: 20px; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--ink); }
.nav-cta {
  color: var(--page) !important;
  background: var(--teal);
  padding: 8px 16px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--teal-dark); }

/* Hero */
.hero { background: var(--page); padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 800px) { .hero-grid { grid-template-columns: 5fr 6fr; } }
.eyebrow { color: var(--teal); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; margin: 0 0 12px; }
.lede { font-size: 1.1rem; color: var(--ink-2); margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-img { margin: 0; }
.hero-img img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.hero-img figcaption { font-size: 0.8rem; color: var(--ink-2); margin-top: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
}
.btn-primary { background: var(--teal); color: var(--page); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--teal); border: 1px solid var(--teal); }
.btn-ghost:hover { background: rgba(47, 111, 95, 0.08); }
.btn-full { width: 100%; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--page); }

.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
.card {
  background: var(--page);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 6px;
}
.section-alt .card, .section .card { box-shadow: 0 1px 2px rgba(37, 31, 33, 0.05); }
.card-label { font-size: 0.8rem; color: var(--ink-2); text-transform: uppercase; letter-spacing: 0.06em; }
.card strong { font-size: 1.1rem; }
.card-note { font-size: 0.9rem; color: var(--ink-2); }
.organiza { margin-top: 24px; color: var(--ink-2); }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { padding-left: 34px; position: relative; font-size: 1.05rem; }
.ticks li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--teal); font-weight: 700;
}

/* Form */
.form-wrap { max-width: 560px; }
form { display: grid; gap: 18px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
label { font-weight: 500; font-size: 0.95rem; }
input, textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--page);
  color: var(--ink);
}
input:focus, textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }
.form-error { color: #c0392b; font-size: 0.9rem; margin: 0; }

/* Footer */
.site-footer { padding: 32px 0; color: var(--ink-2); font-size: 0.95rem; border-top: 1px solid var(--hairline); }
.site-footer p { margin: 4px 0; }

/* Polish */
.hero { background: linear-gradient(180deg, #ffffff 0%, #f8f5f2 100%); }
.btn { transition: background .2s ease, transform .15s ease, box-shadow .2s ease; }
.btn-primary { box-shadow: 0 4px 14px rgba(47, 111, 95, 0.25); }
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.card { border: 1px solid var(--hairline); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 31, 33, 0.08); }
.card strong { font-family: 'Fraunces', Georgia, serif; font-weight: 600; }
.hero-img img { box-shadow: 0 16px 40px rgba(37, 31, 33, 0.15); }
.form-wrap { background: var(--page); border: 1px solid var(--hairline); border-radius: 20px; padding: 36px 32px; box-shadow: 0 10px 30px rgba(37, 31, 33, 0.06); }
#inscripcion { scroll-margin-top: 70px; }
.cupo-pill { display: inline-block; background: #e6f1ed; color: var(--teal-dark); font-weight: 600; font-size: 0.85rem; padding: 4px 14px; border-radius: 999px; margin: 0 0 12px; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 20; background: var(--teal); color: #fff; font-weight: 600; padding: 13px 22px; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
@media (min-width: 800px) { .wa-float { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .card { transition: none; } }
.global { max-width: 760px; text-align: center; }
.global .lede { margin-bottom: 16px; }
.global-note { color: var(--ink-2); margin: 0; }
