:root {
  --wine: #e11d48;
  --wine-dark: #881337;
  --rose: #fb7185;
  --rose-soft: #ffe4e6;
  --blush: #fff1f2;
  --gold: #f59e0b;
  --ink: #4c0519;
  --muted: #9f576a;
  --line: #fecdd3;
  --white: #fff;
  --green: #23765a;
  --amber: #a76720;
  --blue: #365e91;
  --shadow: 0 18px 50px rgba(225, 29, 72, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--blush); font-family: "Plus Jakarta Sans", sans-serif; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .display { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; }
svg { width: 19px; height: 19px; stroke-width: 1.8; }

.app-view { display: none; min-height: 100vh; }
.app-view.active { display: block; }
.public-header {
  position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; min-height: 78px; padding: 0 5vw; background: rgba(255,255,255,.93);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px;
  color: white; background: linear-gradient(145deg, var(--wine-dark), var(--rose)); font-family: "Plus Jakarta Sans";
  font-size: 21px; box-shadow: 0 8px 20px rgba(102,31,54,.2);
}
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: .12em; font-size: 13px; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .04em; }
.public-nav { display: flex; gap: 7px; }
.public-nav button {
  padding: 10px 12px; color: var(--muted); border: 0; background: transparent; border-radius: 10px; font-weight: 600;
}
.public-nav button:hover, .public-nav button.active { color: var(--wine); background: var(--rose-soft); }
.public-header > .button { justify-self: end; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px;
  padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font-weight: 700; transition: .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--wine), #8d3d55); box-shadow: 0 10px 24px rgba(102,31,54,.22); }
.button-dark { color: white; background: var(--ink); }
.button-light { color: var(--wine); background: white; }
.button-outline { color: var(--wine); background: transparent; border-color: #cfb7bf; }
.button-soft { color: var(--wine); background: var(--rose-soft); }
.button-block { width: 100%; }
.icon-button {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
  color: var(--wine); background: white; border: 1px solid var(--line); border-radius: 12px;
}

.hero {
  position: relative; overflow: hidden; min-height: 680px; display: grid; grid-template-columns: 1.1fr .9fr;
  align-items: center; gap: 6vw; padding: 85px 7vw; background: linear-gradient(125deg, #fff 15%, #f9edf0 100%);
}
.hero::before {
  content: ""; position: absolute; width: 540px; height: 540px; border-radius: 50%; right: -180px; top: -180px;
  border: 90px solid rgba(189,109,129,.08);
}
.hero-copy { position: relative; z-index: 2; max-width: 730px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--wine);
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; }
.eyebrow.light { color: #efcbd4; }
.hero h1 { margin-bottom: 22px; color: var(--wine-dark); font-size: clamp(48px, 6vw, 78px); line-height: 1.03; letter-spacing: -.045em; }
.hero h1 em { color: var(--rose); font-style: normal; }
.hero-copy > p { max-width: 620px; color: var(--muted); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; gap: 34px; margin-top: 50px; }
.hero-proof strong { display: block; color: var(--wine); font-family: "Plus Jakarta Sans"; font-size: 25px; font-weight: 800; }
.hero-proof span { color: var(--muted); font-size: 12px; }
.hero-visual { position: relative; z-index: 2; min-height: 480px; }
.hero-card-main {
  position: absolute; inset: 15px 40px 35px 20px; display: flex; flex-direction: column; justify-content: end;
  overflow: hidden; padding: 36px; color: white; border-radius: 160px 160px 28px 28px;
  background: linear-gradient(160deg, rgba(136,19,55,.02), rgba(136,19,55,.68)), url("../assets/images/hero-armonia.png") center/cover;
  box-shadow: var(--shadow);
}
.hero-card-main span { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.hero-card-main h3 { margin: 7px 0 0; font-size: 28px; }
.floating-card {
  position: absolute; right: 0; top: 75px; width: 190px; padding: 18px; background: white; border: 1px solid var(--line);
  border-radius: 18px; box-shadow: var(--shadow);
}
.floating-card i { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; color: var(--wine); background: var(--rose-soft); border-radius: 12px; }
.floating-card strong, .floating-card small { display: block; }
.floating-card small { margin-top: 4px; color: var(--muted); }

.section { padding: 88px 7vw; }
.section-alt { background: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading > div { max-width: 680px; }
.section-heading h2 { margin-bottom: 10px; color: var(--wine-dark); font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
.section-heading p { margin-bottom: 0; color: var(--muted); line-height: 1.7; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.program-card, .event-card, .feature-card, .news-card {
  overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 30px rgba(73,29,44,.045);
  transition: .25s ease;
}
.program-card:hover, .event-card:hover, .news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-image { position: relative; height: 210px; background-position: center; background-size: cover; }
.card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(39,14,22,.6)); }
.card-badge { position: absolute; z-index: 2; left: 18px; top: 18px; padding: 7px 11px; color: var(--wine); background: rgba(255,255,255,.93); border-radius: 20px; font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.card-body { padding: 23px; }
.card-body h3 { margin-bottom: 9px; color: var(--wine-dark); font-size: 20px; }
.card-body p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.program-card .card-body > p {
  display: -webkit-box;
  overflow: hidden;
  min-height: 69px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.card-meta { display: flex; flex-wrap: wrap; gap: 13px; margin: 17px 0; color: var(--muted); font-size: 12px; }
.card-meta span { display: flex; align-items: center; gap: 6px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--wine); border: 0; background: transparent; padding: 0; font-weight: 700; }
.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.category-tabs button { padding: 10px 16px; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 20px; font-weight: 700; }
.category-tabs button.active { color: white; background: var(--wine); border-color: var(--wine); }
.feature-card { padding: 28px; }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; color: var(--wine); background: var(--rose-soft); border-radius: 15px; }
.feature-card h3 { font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.65; font-size: 14px; }
.membership-banner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; padding: 55px; color: white;
  background: linear-gradient(135deg, #881337, #e11d48); border-radius: 30px; box-shadow: var(--shadow);
}
.membership-banner h2 { font-size: 42px; }
.membership-banner p { color: #e8ccd4; line-height: 1.7; }
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit-list span { display: flex; gap: 9px; align-items: center; }
.footer {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; padding: 60px 7vw; color: #d6bec5; background: #29141b;
}
.footer > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 13px; }
.footer > div:first-child p { max-width: 390px; margin-top: 15px; line-height: 1.7; }
.footer strong { color: white; }
.brand-light strong { color: white; }
.brand-light small { color: #cbb2ba; }

.login-shell.active { display: grid; grid-template-columns: 1.05fr .95fr; position: relative; }
.back-button {
  position: absolute; z-index: 4; left: 28px; top: 26px; display: inline-flex; align-items: center; gap: 7px;
  color: white; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; padding: 10px 14px;
}
.login-story {
  display: grid; place-items: center; padding: 10vw; color: white;
  background: linear-gradient(140deg, rgba(136,19,55,.92), rgba(225,29,72,.72)), url("../assets/images/hero-armonia.png") center/cover;
}
.story-content { max-width: 600px; }
.story-content h1 { font-size: clamp(45px, 5vw, 70px); line-height: 1.05; }
.story-content > p { color: #ead7dc; font-size: 18px; line-height: 1.75; }
.trust-list { display: flex; flex-direction: column; gap: 16px; margin-top: 35px; }
.trust-list span { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.login-panel { display: grid; place-items: center; padding: 60px 8vw; background: white; }
.login-card { width: 100%; max-width: 440px; }
.login-card h2 { margin-bottom: 10px; color: var(--wine-dark); font-size: 40px; }
.login-card > p { color: var(--muted); margin-bottom: 30px; }
label { display: block; margin-bottom: 17px; color: #55484d; font-size: 13px; font-weight: 700; }
input, select, textarea {
  width: 100%; margin-top: 8px; padding: 13px 14px; color: var(--ink); background: #fff;
  border: 1px solid #ddcfd4; border-radius: 11px; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(189,109,129,.1); }
textarea { min-height: 105px; resize: vertical; }
.login-note { display: block; margin-top: 16px; text-align: center; color: var(--muted); }
