/*
Theme Name: Кожна жінка має мати план
Author: toBe JunusovyConsulting
Description: Лендінг безкоштовного вебінару. Тексти змінюються в розділі «Тексти лендінгу», заявки з форми надходять на пошту.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kozhna-zhinka-plan
*/

:root {
  --ink: #160a0c;
  --apple: #b42334;
  --cream: #f4ece3;
  --gold: #c6a15a;
  --sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --display: "Cormorant Garamond", "Iowan Old Style", Palatino, serif;
  --radius: 1.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
a.btn {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--apple);
  color: var(--cream);
}

.wrap {
  width: min(100% - 2.5rem, 48rem);
  margin-inline: auto;
}

@media (min-width: 640px) {
  .wrap {
    width: min(100% - 4rem, 48rem);
  }
}

.kicker {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100svh;
}

.hero-photo,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
}

.hero-shade {
  background: linear-gradient(to top, var(--ink), rgb(22 10 12 / 80%), rgb(22 10 12 / 30%));
}

.hero-inner {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 0 5rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  height: 4rem;
  width: auto;
  max-width: 12rem;
  object-fit: contain;
  align-self: flex-start;
  flex: 0 0 auto;
}

.date-chip {
  margin: 0;
  color: rgb(244 236 227 / 80%);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 36rem;
}

.hero .kicker {
  color: var(--gold);
}

.hero h1 {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 500;
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  margin-top: 0.25rem;
  color: var(--gold);
  font-style: italic;
  text-transform: none;
}

.lead {
  max-width: 28rem;
  margin: 1.25rem 0 0;
  color: rgb(244 236 227 / 85%);
  font-size: 1.05rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.when {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.when strong {
  display: block;
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.when span {
  display: block;
  margin-top: 0.25rem;
  color: rgb(244 236 227 / 70%);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.when .rule {
  width: 1px;
  height: 2.5rem;
  margin-bottom: 0.25rem;
  background: rgb(244 236 227 / 30%);
}

.when .time {
  margin-left: auto;
  text-align: right;
}

.when .time span {
  color: var(--gold);
}

.btn {
  display: flex;
  min-height: 3rem;
  width: 100%;
  max-width: 24rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-cream {
  background: var(--cream);
  color: var(--ink);
}

.btn-apple {
  background: var(--apple);
  color: var(--cream);
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

.sheet {
  position: relative;
  z-index: 1;
  margin-top: -2rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--cream);
  color: var(--ink);
  padding: 3.5rem 0;
}

.sheet .kicker,
.speaker .kicker {
  color: var(--apple);
}

.sheet h2,
.speaker h2,
.register h2 {
  max-width: 36rem;
  margin: 0.75rem 0 0;
  font-family: var(--display);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1;
  text-wrap: balance;
}

.sheet .lead,
.register .lead {
  color: rgb(22 10 12 / 70%);
}

.topics {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.topics li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  border-top: 1px solid rgb(22 10 12 / 10%);
  padding: 1rem 0;
}

.topics b {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--apple);
  font-variant-numeric: tabular-nums;
}

.topics p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.quote {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem 0;
}

.quote-mark {
  width: 1px;
  height: 4rem;
  background: var(--gold);
}

.quote blockquote {
  max-width: 42rem;
  margin: 1.5rem 0 0;
}

.quote p {
  margin: 0;
  font-family: var(--display);
  font-size: 2.25rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.2;
  text-wrap: pretty;
}

.quote cite {
  display: block;
  margin-top: 1.5rem;
  color: var(--gold);
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.speaker {
  background: var(--cream);
  color: var(--ink);
  padding: 3.5rem 0;
}

.speaker-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.portrait {
  position: relative;
  width: min(100%, 20rem);
  margin-inline: auto;
}

.portrait-back {
  position: absolute;
  top: 1rem;
  right: -0.75rem;
  bottom: 0;
  left: 1rem;
  border-radius: var(--radius);
  background: var(--apple);
}

.portrait img {
  position: relative;
  aspect-ratio: 3 / 4;
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center 30%;
}

.facts {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.facts i {
  width: 0.375rem;
  height: 0.375rem;
  margin-top: 0.55rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--apple);
}

.register {
  background: var(--cream);
  color: var(--ink);
  padding: 0 0 4rem;
}

.register-card {
  border-top: 1px solid rgb(22 10 12 / 10%);
  padding-top: 3rem;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 28rem;
  margin-top: 2rem;
}

.form label {
  display: block;
}

.form label span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(22 10 12 / 55%);
}

.form input[type="text"],
.form input[type="tel"],
.form input[type="email"] {
  width: 100%;
  margin-top: 0.5rem;
  border: 0;
  border-bottom: 1px solid rgb(22 10 12 / 20%);
  border-radius: 0;
  background: transparent;
  padding: 0.75rem 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.5rem;
}

.form input:focus {
  outline: none;
  border-bottom-color: var(--apple);
}

.form .error {
  display: block;
  margin-top: 0.5rem;
  color: var(--apple);
  font-size: 0.875rem;
}

.form .note,
.success p {
  margin: 0;
  color: rgb(22 10 12 / 65%);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.success h2 {
  margin-top: 0.5rem;
}

.site-footer {
  border-top: 1px solid rgb(244 236 227 / 10%);
  background: var(--ink);
  padding: 2.5rem 0;
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.site-footer p {
  max-width: 28rem;
  margin: 0;
  color: rgb(244 236 227 / 75%);
  font-size: 0.875rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.banner {
  margin: 0 0 1rem;
  color: var(--apple);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .hero h1,
  .quote p {
    font-size: 4.5rem;
  }

  .sheet h2,
  .speaker h2 {
    font-size: 3rem;
  }

  .sheet,
  .speaker {
    padding: 5rem 0;
  }

  .speaker-grid {
    grid-template-columns: 16rem 1fr;
  }

  .portrait {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
