:root {
  --bg: #F7F9FC;
  --card: #FFFFFF;
  --text: #1F2937;
  --muted: #6B7280;
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --border: #E5E7EB;
  --success: #16A34A;
  --footer: #111827;
  --footer-text: #D1D5DB;
  --soft-blue: #EFF6FF;
  --soft-green: #ECFDF5;
  --danger: #B91C1C;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  width: min(1120px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #FFFFFF;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: 64px 20px 44px;
}

.hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--text);
  font-size: 32px;
  line-height: 1.18;
  font-weight: 700;
}

h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 700;
}

h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

p {
  margin: 0 0 16px;
}

.hero-subtitle {
  margin-top: 18px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
}

.hero-note,
.muted,
.admin-muted {
  color: var(--muted);
}

.button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.button.primary {
  background: var(--primary);
  color: #FFFFFF;
}

.button.primary:hover:not(:disabled) {
  background: var(--primary-hover);
}

.button.secondary {
  background: #FFFFFF;
  color: var(--text);
  border-color: var(--border);
}

.hero-button {
  margin-top: 10px;
}

.hero-media {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 42px 20px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.content-card,
.activity-card,
.process-step,
.contact-card,
.legal-card,
.admin-card,
.admin-panel,
.info-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-card {
  max-width: 760px;
  padding: 28px;
}

.content-card p:last-child,
.info-panel p:last-child,
.activity-card p:last-child,
.process-step p:last-child,
.contact-card p:last-child {
  margin-bottom: 0;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.activity-card {
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.activity-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.activity-card p,
.process-step p {
  color: var(--muted);
  font-size: 15px;
}

.icon-box {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft-blue);
  color: var(--primary);
}

.icon-box svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.split-section {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 34px;
  align-items: start;
}

.check-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 16px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success);
}

.check-list li::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 20px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: rotate(-45deg);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.compact-card,
.info-panel {
  max-width: none;
  padding: 28px;
}

.info-panel {
  background: var(--soft-blue);
  border-color: #BFDBFE;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  position: relative;
  min-height: 210px;
  padding: 24px 20px;
}

.process-step span {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
}

.contact-card {
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

.contact-hint {
  color: var(--muted);
  font-size: 14px;
}

.confirm-box {
  display: grid;
  gap: 18px;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 10px;
}

legend {
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 700;
}

fieldset label,
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  cursor: pointer;
}

input[type="radio"],
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--primary);
}

.consent-row a {
  color: var(--primary);
  font-weight: 600;
}

.whatsapp-button {
  width: fit-content;
  height: 54px;
  padding: 0 28px;
}

.whatsapp-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-message {
  min-height: 24px;
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.status-message.error,
.admin-alert.error {
  color: var(--danger);
}

.status-message.success,
.admin-alert.success {
  color: var(--success);
}

.status-message.info {
  color: var(--muted);
}

.faq-list {
  max-width: 760px;
  display: grid;
  gap: 12px;
}

details {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

summary {
  min-height: 58px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

summary::after {
  content: "+";
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.legal-note {
  padding-top: 10px;
}

.site-footer {
  margin-top: 30px;
  background: var(--footer);
  color: var(--footer-text);
}

.footer-inner {
  width: min(1120px, 100%);
  min-height: 110px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

.footer-inner a {
  color: var(--footer-text);
  text-decoration: none;
}

.footer-inner a:hover {
  color: #FFFFFF;
}

.legal-page {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 54px 20px;
}

.legal-card {
  padding: 32px;
}

.legal-card h1 {
  margin-bottom: 18px;
}

.legal-card h2 {
  margin-top: 28px;
  font-size: 21px;
}

.legal-card a {
  color: var(--primary);
  font-weight: 600;
}

.static-links {
  display: flex;
}

.admin-page {
  min-height: 100vh;
  background: var(--bg);
}

.admin-shell {
  min-height: 100vh;
  padding: 40px 20px;
  display: grid;
  place-items: center;
}

.admin-panel {
  width: min(440px, 100%);
  padding: 30px;
}

.admin-dashboard {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 36px 20px 60px;
}

.admin-header {
  margin-bottom: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.admin-header h1,
.admin-panel h1 {
  font-size: 28px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 18px;
  margin-bottom: 18px;
}

.admin-card {
  padding: 24px;
}

.admin-form {
  display: grid;
  gap: 12px;
}

.admin-form label {
  color: var(--text);
  font-weight: 700;
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form input[type="url"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--text);
}

.admin-form input:focus {
  outline: 3px solid #BFDBFE;
  border-color: var(--primary);
}

.admin-submit {
  margin-top: 8px;
}

.admin-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #FFFFFF;
  font-weight: 600;
}

.admin-small {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.status-pill {
  width: fit-content;
  margin: 16px 0;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--soft-green);
  color: var(--text);
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--success);
}

.switch-row {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.stats-grid div {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #FFFFFF;
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  font-size: 22px;
}

.stats-grid span {
  color: var(--muted);
  font-size: 13px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--text);
}

td {
  color: var(--muted);
}

@media (max-width: 920px) {
  .hero-inner,
  .split-section,
  .two-column,
  .contact-card,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .activity-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-inner {
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    min-height: 68px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: var(--shadow);
  }

  .nav-links.open,
  .static-links {
    display: flex;
  }

  .static-links {
    position: static;
    padding: 0;
    flex-direction: row;
    border: 0;
    box-shadow: none;
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero {
    padding: 42px 16px 28px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 27px;
  }

  h2 {
    font-size: 23px;
  }

  .section {
    padding: 34px 16px;
  }

  .content-card,
  .compact-card,
  .info-panel,
  .contact-card,
  .legal-card,
  .admin-card,
  .admin-panel {
    padding: 22px;
  }

  .activity-grid,
  .process-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: auto;
  }

  .whatsapp-button,
  .hero-button {
    width: 100%;
    max-width: 360px;
  }

  .footer-inner,
  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-page,
  .admin-dashboard {
    padding-left: 16px;
    padding-right: 16px;
  }
}
