
:root {
  --teal: #42a8c0;
  --teal-dark: #2d7788;
  --teal-deep: #1f5d6c;
  --ink: #293941;
  --muted: #6a7a82;
  --page: #eef2f3;
  --panel: #ffffff;
  --soft: #f4f7f8;
  --line: #dce5e7;
  --green: #69aa50;
  --shadow: 0 14px 38px rgba(27, 65, 76, 0.11);
  --shadow-small: 0 7px 18px rgba(27, 65, 76, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, a { -webkit-tap-highlight-color: transparent; }
a {
  color: var(--teal-dark);
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 0.2em;
}
a:hover { color: var(--teal-deep); text-decoration: underline; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(45, 119, 136, 0.38);
  outline-offset: 4px;
}

.page-shell { min-height: 100vh; padding: 46px 22px 34px; }
.site-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  width: min(1080px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.main-content { grid-column: 1; grid-row: 1; padding: 58px 54px 52px; }
.desktop-sidebar {
  grid-column: 2;
  grid-row: 1;
  min-height: 100%;
  background: var(--teal);
  color: #fff;
}
.desktop-profile {
  padding: 34px 28px 31px;
  background: rgba(0, 0, 0, 0.17);
  text-align: center;
}
.profile-photo {
  display: block;
  width: 112px;
  height: 112px;
  margin: 0 auto 17px;
  border: 5px solid rgba(255, 255, 255, 0.93);
  border-radius: 50%;
  object-fit: cover;
}
.desktop-profile h1, .mobile-profile h1 {
  margin: 0;
  font-size: 31px;
  font-weight: 800;
  line-height: 1.12;
}
.desktop-profile p, .mobile-profile p { margin: 9px 0 0; font-size: 16px; font-weight: 400; }
.desktop-profile p { color: rgba(255, 255, 255, 0.66); }

.call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--teal-dark);
  color: #fff;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  box-shadow: var(--shadow-small);
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}
.call-button:hover { background: var(--teal-deep); transform: translateY(-1px); }
.call-button:active { transform: translateY(0); }
.call-button:disabled { cursor: wait; opacity: 0.72; }
.call-button svg { width: 20px; height: 20px; fill: currentColor; }
.call-sidebar { width: 100%; margin-top: 22px; padding: 0 18px; background: #fff; color: var(--teal-dark); }
.call-sidebar:hover { background: #f3fbfc; }

.desktop-sidebar-section { padding: 27px 24px 0; }
.desktop-sidebar-section h2 { margin: 0 0 14px; font-size: 16px; text-transform: uppercase; }
.desktop-link-list, .desktop-interest-list, .link-list { margin: 0; padding: 0; list-style: none; }
.desktop-link-list li + li, .desktop-interest-list li + li { margin-top: 5px; }
.desktop-link-list a, .desktop-interest-list a {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  color: #fff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 550;
}
.desktop-link-list a:hover, .desktop-interest-list a:hover { background: rgba(255, 255, 255, 0.1); text-decoration: none; }
.desktop-sidebar .link-badge {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 800;
}
.link-arrow { font-size: 27px; font-weight: 400; line-height: 1; }
.interests-sidebar { padding-top: 35px; padding-bottom: 30px; }
.mobile-profile, .mobile-interests, .sticky-call { display: none; }

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 23px;
  color: var(--teal-dark);
  font-size: 24px;
  font-weight: 750;
  line-height: 1.2;
  text-transform: uppercase;
}
.section-title-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: #fff;
  font-size: 10px;
}
.welcome-lead { margin: 0 0 15px; font-size: 17px; font-weight: 750; }
.welcome-intro { margin: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.quick-links { display: none; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.content-column { display: flex; flex-direction: column; gap: 16px; }
.info-card, .text-card { border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.info-card { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 20px; }
.text-card { padding: 20px; }
.info-card p, .text-card p { margin: 0; font-size: 14px; line-height: 1.55; }
.info-card p + a, .sober-card p + p { display: inline-block; margin-top: 10px; }
.card-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--teal-dark);
  font-weight: 800;
}
.text-badge { font-size: 12px; }
.compact-card { align-items: start; }
.nature-dot { width: 14px; height: 14px; margin: 5px 0 0 9px; border-radius: 50%; background: var(--green); }
.additional-content { margin-top: 27px; color: #516169; font-size: 14px; line-height: 1.6; }
.additional-content p { margin: 0 0 15px; }
.additional-content ul { margin: -3px 0 19px; padding-left: 25px; }
.site-footer { padding: 28px 20px 0; text-align: center; font-size: 13px; }
.site-footer a { color: var(--muted); font-weight: 500; }
.call-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 767px) {
  body { background: #f5f7f8; }
  .page-shell { padding: 14px 14px calc(112px + env(safe-area-inset-bottom)); }
  .site-card { display: block; width: 100%; overflow: visible; background: transparent; border-radius: 0; box-shadow: none; }
  .desktop-sidebar { display: none; }
  .main-content { padding: 0; }
  .mobile-profile {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 54px;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-small);
  }
  .mobile-profile .profile-photo { width: 76px; height: 76px; margin: 0; border-width: 0; }
  .mobile-profile h1 { font-size: clamp(22px, 6vw, 28px); }
  .mobile-profile p { margin-top: 5px; color: var(--muted); font-size: 15px; }
  .call-round { width: 52px; min-height: 52px; padding: 0; }
  .call-round .call-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .welcome-section { padding-top: 34px; }
  .section-title { gap: 10px; margin-bottom: 20px; font-size: clamp(21px, 5.7vw, 26px); }
  .section-title-icon { width: 32px; height: 32px; }
  .welcome-lead { font-size: 18px; line-height: 1.4; }
  .welcome-intro { margin-bottom: 26px; font-size: 16px; }
  .quick-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 28px; }
  .quick-links a {
    display: grid;
    place-items: center;
    min-height: 50px;
    padding: 8px 7px;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-small);
    font-size: clamp(11px, 3.2vw, 14px);
    text-align: center;
  }
  .quick-links a:hover { text-decoration: none; }
  .content-grid { display: block; }
  .content-column { gap: 14px; }
  .content-column + .content-column { margin-top: 14px; }
  .info-card, .text-card { border: 0; border-radius: 22px; box-shadow: var(--shadow-small); }
  .info-card { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 20px 18px; }
  .text-card { padding: 21px 20px; }
  .info-card p, .text-card p { font-size: 16px; line-height: 1.5; }
  .compact-card { grid-template-columns: 28px minmax(0, 1fr); }
  .nature-dot { margin-left: 3px; }
  .mobile-interests { display: block; margin-top: 32px; }
  .mobile-interests h2 { margin: 0 0 15px; color: var(--teal-dark); font-size: 20px; text-transform: uppercase; }
  .link-list { display: flex; flex-direction: column; gap: 10px; }
  .link-list a {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 8px 14px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-small);
    color: var(--ink);
  }
  .link-list a:hover { color: var(--teal-dark); text-decoration: none; }
  .link-list .link-badge {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #edf7f8;
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 800;
  }
  .additional-content {
    margin-top: 33px;
    padding: 22px 20px;
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-small);
    font-size: 16px;
  }
  .site-footer { padding-top: 28px; }
  .sticky-call {
    position: fixed;
    z-index: 20;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 14px;
    display: flex;
    width: auto;
    min-height: 58px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(24px);
    transition: opacity 180ms ease, transform 180ms ease;
  }
  .sticky-call.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
}

@media (max-width: 370px) {
  .page-shell { padding-right: 10px; padding-left: 10px; }
  .mobile-profile { grid-template-columns: 64px minmax(0, 1fr) 48px; gap: 10px; padding: 13px; }
  .mobile-profile .profile-photo { width: 64px; height: 64px; }
  .mobile-profile h1 { font-size: 21px; }
  .mobile-profile p { font-size: 13px; }
  .call-round { width: 46px; min-height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
