/*
Theme Name: Bioethics Landing
Theme URI: https://bioethics.kz/
Author: Bioethics Kazakhstan
Description: Лаконичная главная страница Ассоциации биоэтики и медицинского права.
Version: 1.0.1
Text Domain: bioethics-landing
*/

:root {
  --paper: #fbfaf7;
  --ink: #142f45;
  --teal: #147f89;
  --teal-dark: #0d6b74;
  --line: #e2e7e8;
  --form-bg: #eff5f6;
  --muted: #687d89;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.site-shell { width: min(100% - 48px, 960px); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { width: 44px; height: 48px; flex: none; color: var(--teal); }
.brand-name { font-size: 15px; line-height: 1.33; letter-spacing: .01em; font-weight: 600; }
.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 23px;
  border: 1px solid var(--teal);
  border-radius: 6px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover, .header-cta:focus-visible { background: #eaf3f3; }

.hero { padding-top: 58px; text-align: center; }
.hero-kicker { margin: 0 0 18px; color: var(--teal-dark); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.hero-title {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(43px, 4.9vw, 62px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.12;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--teal); white-space: nowrap; }

.video-section { margin-top: 46px; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 16px;
  background: #173a4b;
  box-shadow: 0 16px 34px rgba(17, 47, 69, .13);
  color: #fff;
}
.video-poster, .video-tint { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-poster { object-fit: cover; object-position: center; }
.video-tint { background: rgba(9, 35, 54, .68); }
.video-content { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 35px 40px 28px; }
.video-brand { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; font-size: 11px; line-height: 1.25; font-weight: 600; letter-spacing: .01em; }
.video-brand .brand-mark { width: 27px; height: 30px; color: #d6eeee; }
.video-question { max-width: 530px; margin: auto 0; font: 400 clamp(30px, 3.6vw, 48px)/1.14 Georgia, 'Times New Roman', serif; letter-spacing: -.025em; }
.video-play {
  position: absolute;
  left: 69%; top: 47%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 8px 24px rgba(0,0,0,.13);
  cursor: not-allowed;
}
.video-play svg { width: 25px; height: 25px; margin-left: 5px; fill: var(--teal); }
.video-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; color: #e7f0f0; font-size: 12px; }
.video-status-text { margin: 0; }
.video-duration { white-space: nowrap; }
.video-track { height: 3px; margin-top: 10px; border-radius: 2px; background: rgba(255,255,255,.42); }
.video-track::before { content: ''; display: block; width: 0; height: 100%; background: #fff; }
.actual-video { display: block; width: 100%; height: 100%; object-fit: cover; }

.contact-section { padding-top: 46px; }
.contact-card { padding: 49px 74px 42px; border-radius: 17px; background: var(--form-bg); text-align: center; }
.contact-card h2 { margin: 0; font: 400 clamp(33px, 4vw, 44px)/1.15 Georgia, 'Times New Roman', serif; letter-spacing: -.03em; }
.contact-intro { margin: 14px 0 34px; font-size: 16px; line-height: 1.5; color: #526b79; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; text-align: left; }
.field-label { display: block; margin-bottom: 9px; font-size: 14px; font-weight: 600; }
.field-input { display: block; width: 100%; height: 56px; padding: 0 16px; border: 1px solid #d8e2e5; border-radius: 7px; outline: none; background: #fff; color: var(--ink); font-size: 15px; }
.field-input::placeholder { color: #a1afb5; opacity: 1; }
.field-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(20, 127, 137, .12); }
.form-submit { width: 100%; min-height: 57px; margin-top: 23px; border: 0; border-radius: 7px; background: var(--teal); color: #fff; font-size: 16px; font-weight: 700; opacity: 1; cursor: not-allowed; }
.consent { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; color: #627783; font-size: 12px; line-height: 1.4; cursor: pointer; }
.consent input { width: 15px; height: 15px; margin: 0; accent-color: var(--teal); }

.site-footer { margin-top: 75px; border-top: 1px solid var(--line); padding: 30px 0 37px; text-align: center; color: #667b86; font-size: 13px; line-height: 1.6; }
.site-footer p { margin: 0; }

@media (max-width: 700px) {
  .site-shell { width: min(100% - 32px, 960px); }
  .header-inner { min-height: 72px; gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 31px; height: 35px; }
  .brand-name { font-size: 11px; }
  .header-cta { min-height: 42px; padding-inline: 11px; font-size: 12px; }
  .hero { padding-top: 34px; }
  .hero-kicker { margin-bottom: 14px; font-size: 11px; letter-spacing: .04em; }
  .hero-title { font-size: clamp(30px, 7.8vw, 46px); line-height: 1.13; }
  .hero-title .line { display: inline; }
  .hero-title .line::after { content: ' '; }
  .video-section { margin-top: 26px; }
  .video-frame { aspect-ratio: 1.28 / 1; border-radius: 12px; }
  .video-content { padding: 20px 19px 18px; }
  .video-brand { font-size: 9px; }
  .video-brand .brand-mark { width: 23px; height: 26px; }
  .video-question { max-width: 75%; font-size: clamp(23px, 5vw, 35px); }
  .video-play { width: 62px; height: 62px; left: 76%; top: 49%; }
  .video-play svg { width: 20px; height: 20px; }
  .video-status { font-size: 10px; }
  .contact-section { padding-top: 30px; }
  .contact-card { padding: 28px 22px 25px; }
  .contact-intro { margin: 10px 0 21px; font-size: 14px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-submit { margin-top: 18px; }
  .consent { margin-top: 16px; }
  .site-footer { margin-top: 56px; }
}

@media (max-width: 380px) {
  .header-cta { padding-inline: 8px; font-size: 11px; }
  .brand-name { font-size: 10px; }
  .hero-title { font-size: 30px; }
  .video-question { max-width: 76%; font-size: 22px; }
  .video-play { width: 54px; height: 54px; }
}
