/* Marketer webinar landing page (/webinar/<username>) — additions on top of the Turie template (assets/landing/turie). */

:root {
  --lp-red: #E52700;
  --lp-red-dark: #c42100;
  --lp-ink: #071516;
  --lp-muted: #5f556a;
  --lp-line: #e3e6e6;
}

body.lp-webinar {
  background: #fff;
  color: var(--lp-muted);
}

/* Layout rhythm
   - Container: the template's 1630px container leaves only 16px gutters between 1400px and ~1700px;
     keep at least 64px on each side there (unchanged on wider screens, where 1630px fits).
   - Sections: one vertical scale for every content section (.lp-section). --lp-trail subtracts the
     bottom margin the template puts on a section's last row of cards, so visible gaps stay equal. */
@media (min-width: 1400px) {
  .lp-webinar .container { max-width: min(1630px, calc(100% - 128px)); }
}
:root { --lp-space: 120px; }
@media (max-width: 1199.98px) { :root { --lp-space: 100px; } }
@media (max-width: 991.98px) { :root { --lp-space: 88px; } }
@media (max-width: 767.98px) { :root { --lp-space: 72px; } }
.lp-section {
  padding-top: var(--lp-space);
  padding-bottom: calc(var(--lp-space) - var(--lp-trail, 0px));
}
.lp-section--compact {
  padding-top: calc(var(--lp-space) * .75);
  padding-bottom: calc(var(--lp-space) * .75);
}
.lp-steps { --lp-trail: 40px; }
.lp-categories { --lp-trail: 30px; }
.lp-guarantee { --lp-trail: 40px; }
.lp-faq { --lp-trail: 14px; }
/* Two white sections in a row: the first one's bottom padding is the whole gap */
.lp-categories + .lp-guarantee { padding-top: 0; }

/* Accessibility: visible keyboard focus; no motion for visitors who ask for less */
.lp-webinar a:focus-visible,
.lp-webinar button:focus-visible,
.lp-webinar .lp-select:focus-visible {
  outline: 2px solid var(--lp-red);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .lp-webinar .wow { visibility: visible !important; animation: none !important; }
  .lp-webinar .rotate-infinite { animation: none !important; }
  .lp-webinar * { scroll-behavior: auto !important; }
}

/* Buttons */
.lp-btn-red,
.tp-btn.lp-btn-red {
  background: var(--lp-red);
  border: 0;
  cursor: pointer;
}
.lp-btn-red:hover,
.tp-btn.lp-btn-red:hover {
  background: var(--lp-red-dark);
  color: #fff;
}

/* Header: logo + "Webinar" button only */
body.lp-webinar > header {
  position: sticky;
  top: 0;
  z-index: 50;
}
.lp-header {
  background: #fff;
  padding-top: 14px;
  padding-bottom: 14px;
  transition: box-shadow .3s ease;
}
.lp-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(7, 21, 22, .08);
}
.lp-header-logo img {
  height: 44px;
  width: auto;
  max-width: 100%;
}
@media (max-width: 575.98px) {
  .lp-header-logo img { height: 32px; }
  .lp-header .tp-btn { padding: 12px 18px; font-size: 15px; }
}

/* Hero (sections 1 + 9) */
.lp-hero {
  padding-top: 130px;
  padding-bottom: 150px;
  background-size: cover;
  background-position: center 20%;
}
@media (max-width: 991.98px) {
  .lp-hero { padding-top: 70px; padding-bottom: 110px; background-position: 30% center; }
}
.lp-hero-title {
  font-size: 64px;
}
@media (max-width: 1199.98px) {
  .lp-hero-title { font-size: 48px; }
}
@media (max-width: 575.98px) {
  .lp-hero-title { font-size: 36px; }
  .lp-hero-dec br { display: none; }
}
.lp-hero-dec {
  font-size: 19px;
  line-height: 1.55;
  color: #f1f1f1;
}
/* Desktop: bigger title + paragraph, the paragraph flows as wide as the title (phones/tablets unchanged) */
@media (min-width: 992px) {
  .lp-hero-dec { font-size: 22px; max-width: 600px; }
  .lp-hero-dec br { display: none; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .lp-hero-title { font-size: 54px; }
}
@media (min-width: 1400px) {
  .lp-hero-title { font-size: 76px; }
  .lp-hero-dec { font-size: 24px; max-width: 690px; }
}

/* Registration form (hero + popup) */
.lp-form-card {
  padding: 36px 34px 30px;
  margin-left: 40px;
  margin-right: 0;
}
@media (max-width: 1199.98px) {
  .lp-form-card { margin-left: 0; }
}
@media (max-width: 575.98px) {
  .lp-form-card { padding: 28px 20px 22px; }
}
.lp-form-title {
  font-size: 26px;
  font-weight: 600;
  color: var(--lp-ink);
  margin-bottom: 10px;
}
.lp-form-intro {
  font-size: 14px;
  line-height: 1.5;
  color: var(--lp-muted);
  margin-bottom: 18px;
}
.lp-field {
  margin-bottom: 14px;
}
.lp-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--lp-ink);
  margin-bottom: 6px;
}
.lp-register-form input[type=text],
.lp-register-form input[type=email],
.lp-register-form input[type=tel],
.lp-select {
  height: 50px;
  line-height: 50px;
  width: 100%;
  padding: 0 18px;
  font-size: 15px;
  color: var(--lp-ink);
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
}
.lp-select {
  -webkit-appearance: none;
  appearance: none;
  line-height: normal;
  cursor: pointer;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23071516' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}
.lp-select:invalid { color: var(--lp-muted); }
.lp-select option { color: var(--lp-ink); }
.lp-register-form input:focus,
.lp-select:focus {
  outline: none;
  border-color: var(--lp-ink);
}
.lp-field.has-error input,
.lp-field.has-error .lp-select {
  border-color: var(--lp-red);
}
.lp-field-error {
  display: none;
  margin-top: 5px;
  font-size: 13px;
  color: var(--lp-red);
}
.lp-field.has-error .lp-field-error { display: block; }

/* Consent checkboxes (registration + newsletter) */
.lp-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 10px;
  align-items: start;
  text-align: left;
}
.lp-check input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--lp-red);
  cursor: pointer;
}
.lp-check label,
.lp-field.lp-check label {
  display: block;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--lp-muted);
  cursor: pointer;
}
.lp-check label a { color: var(--lp-ink); font-weight: 500; text-decoration: underline; }
.lp-check .lp-field-error { grid-column: 2; }
.lp-check.has-error input[type=checkbox] { outline: 2px solid var(--lp-red); outline-offset: 1px; }
.lp-check--newsletter { margin-top: 14px; }
/* The template centers the envelope on the whole form; with the consent row below the field,
   pin it to the middle of the 60px field instead */
.lp-footer-newsletter .tp-footer-subscribe-icon { top: 30px; }
.lp-footer-newsletter .tp-footer-subscribe-form p.lp-recaptcha-note { font-size: 12px; margin: 0 0 16px; }
.lp-register-form.is-done .lp-check { display: none; }

/* intl-tel-input */
.lp-register-form .iti { width: 100%; display: block; }
.lp-register-form .iti__country-container { padding: 1px; }
.lp-register-form .iti__selected-country { border-radius: 12px 0 0 12px; }
.lp-register-form .iti__selected-country-primary { padding: 0 8px 0 16px; }
.iti--container { z-index: 1100; }
.iti__dropdown-content { border-radius: 10px; }

.lp-submit {
  width: 100%;
  height: 54px;
  margin-top: 6px;
  border: 0;
  border-radius: 50px;
  background: var(--lp-red);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  transition: background .3s ease;
}
.lp-submit:hover { background: var(--lp-red-dark); }
.lp-submit[disabled] { opacity: .7; cursor: wait; }
.lp-form-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--lp-muted);
}
.lp-form-alert {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.45;
}
.lp-form-alert.is-error { background: #fdecea; color: #a11d00; }
.lp-form-alert.is-success { background: #e7f6ec; color: #135c2c; }
.lp-register-form.is-done .lp-field,
.lp-register-form.is-done .lp-submit,
.lp-register-form.is-done .lp-form-intro { display: none; }
.lp-register-form.is-done .lp-form-alert { margin-top: 4px; font-size: 16px; padding: 18px; }

/* reCAPTCHA: the floating badge is replaced by the attribution text under each form (allowed by Google) */
.grecaptcha-badge { visibility: hidden !important; }
.lp-recaptcha-holder { position: absolute; left: -10000px; top: 0; }
.lp-recaptcha-note {
  margin: 6px 0 0;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--lp-muted);
}
.lp-recaptcha-note a { color: inherit; text-decoration: underline; }
.lp-register-form.is-done .lp-recaptcha-note { display: none; }

/* Honeypot */
.lp-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Popup */
.lp-modal .modal-dialog { max-width: 470px; }
.lp-modal .modal-content {
  border: 0;
  border-radius: 18px;
  position: relative;
}
.lp-modal .modal-body { padding: 36px 30px 26px; }
@media (max-width: 575.98px) {
  .lp-modal .modal-body { padding: 32px 18px 20px; }
}
.lp-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f2f5f5;
  color: var(--lp-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.lp-modal-close:hover { background: #e3e8e8; }
.lp-modal .lp-form-title { padding-right: 36px; }

/* Section headings: the desktop line breaks from the brief would leave orphan words on phones */
@media (max-width: 575.98px) {
  .lp-webinar .tp-section-title br { display: none; }
}

/* Section 2: 5 steps */
@media (min-width: 1200px) {
  .lp-sticky-title { position: sticky; top: 110px; }
}
.lp-step .tp-chose-dec { font-size: 15px; line-height: 1.55; }
.lp-step .tp-chose-thumb img {
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}
/* Photo fills the card height on tablet too (the template centers the row below 1200px) */
@media (min-width: 768px) {
  .lp-step .row { align-items: stretch; }
}
@media (max-width: 767.98px) {
  .lp-step .tp-chose-thumb { margin-left: 0; }
  .lp-step .tp-chose-thumb img { min-height: 0; }
}

/* Section 3: testimonials */
.lp-testimonial-item p { font-size: 15.5px; line-height: 1.6; }
.lp-testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.lp-testimonial-initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #6265ad;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
}
/* Cards carry a 15px side margin (shadow room) — offset the slider so card edges align with the container */
@media (min-width: 992px) {
  .lp-testimonial-slide { margin-left: -15px; margin-right: -15px; }
}
.lp-testimonial-slide .swiper-slide { height: auto; }
/* 11 testimonials: keep the template's bar bullets on one line on small screens */
@media (max-width: 767.98px) {
  .lp-testimonial-pagination span { width: 20px; margin: 0 3px !important; }
}
.lp-testimonial-slide .tp-testimonial-item { height: calc(100% - 20px); }

/* Section 4: categories */
.lp-categories .tp-destination-one-thumb img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.lp-categories .tp-destination-title { color: #fff; font-size: 26px; }
@media (max-width: 1199.98px) {
  .lp-categories .tp-destination-title { font-size: 21px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .lp-categories .tp-destination-title { font-size: 18px; }
}
.lp-categories-list { font-size: 16px; line-height: 1.5; color: var(--lp-ink); }
@media (min-width: 992px) {
  .lp-categories-list { font-size: 20px; }
}

/* Section 5: guarantee circle */
.lp-circle {
  width: 190px;
  height: 190px;
}
.lp-circle .tp-about-circale-title { font-size: 44px; }
.lp-circle-text {
  width: 176px;
  height: 176px;
  overflow: visible;
}
.lp-circle-text text {
  fill: #fff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .5px;
}
@media (max-width: 575.98px) {
  .lp-circle { width: 150px; height: 150px; top: -60px; left: 20px; }
  .lp-circle .tp-about-circale-title { font-size: 34px; }
  .lp-circle-text { width: 140px; height: 140px; }
}
.lp-guarantee .tp-about-left-thumb img { aspect-ratio: 3 / 2; object-fit: cover; }
.lp-guarantee-text {
  font-size: 20px;
  line-height: 1.6;
  color: var(--lp-ink);
}
.lp-guarantee-text p { font-size: inherit; line-height: inherit; color: inherit; margin-bottom: 16px; }
.lp-guarantee-text p:last-child { margin-bottom: 0; }
@media (min-width: 992px) {
  .lp-guarantee-text { font-size: 22px; }
}
@media (min-width: 1400px) {
  .lp-guarantee-text { font-size: 24px; }
}
.lp-guarantee-actions { gap: 16px 28px; }
.lp-whatsapp-contact { color: var(--lp-ink); text-decoration: none; }
.lp-whatsapp-contact:hover { color: var(--lp-ink); }
.lp-whatsapp-contact .tp-about-help-text span { display: block; font-size: 14px; color: var(--lp-muted); }
.lp-whatsapp-contact .tp-about-help-text strong { display: block; font-size: 16px; color: var(--lp-ink); }
@media (max-width: 991.98px) {
  .lp-guarantee .tp-about-right-content { margin-left: 0; }
  /* The heading runs full width here, the decorative tent would sit on top of it */
  .lp-guarantee .tp-about-shape { display: none !important; }
}

/* Section 6: gallery (horizontal) */
/* No captions here, so no caption fade at the bottom of the photos */
.lp-gallery-item::before { display: none; }
.lp-gallery-item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}
.lp-gallery-nav { gap: 18px; }
.lp-gallery-prev,
.lp-gallery-next {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--lp-line);
  background: #fff;
  color: var(--lp-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-gallery-prev svg { transform: rotate(180deg); }
.lp-gallery-prev:hover,
.lp-gallery-next:hover { background: var(--lp-red); border-color: var(--lp-red); color: #fff; }
.lp-gallery-pagination { position: static !important; width: auto !important; }
.lp-gallery-pagination .swiper-pagination-bullet { width: 8px; height: 8px; }
.lp-gallery-pagination .swiper-pagination-bullet-active { background: var(--lp-red); }

/* Sections 7 + 10: banners */
.lp-banner { background-size: cover; background-position: center; }
.lp-banner-title { font-size: 44px; line-height: 1.2; }
@media (max-width: 767.98px) {
  .lp-banner-title { font-size: 32px; }
}

/* Section 7 on phones: the heading spans the whole photo, so shade it evenly (the template's
   left-to-right fade leaves the right half of the text on a bright background) */
@media (max-width: 767.98px) {
  .lp-banner:not(.lp-banner-cta).tp-offer-banner-overly::before {
    background: linear-gradient(90deg, rgba(7, 21, 22, .78) 0%, rgba(7, 21, 22, .6) 100%);
  }
}

/* Section 10: text stepped around the hat in photo 21 (line breaks in _banner_cta.php) */
.lp-banner-cta { background-position: 62% 15%; }
.lp-banner-cta.tp-offer-banner-overly::before {
  background: linear-gradient(90deg, rgba(7, 21, 22, .6) 0%, rgba(7, 21, 22, .3) 40%, rgba(7, 21, 22, 0) 65%);
}
.lp-hat-text { text-shadow: 0 2px 12px rgba(7, 21, 22, .35); }
@media (max-width: 767.98px) {
  .lp-banner-cta { background-position: 66% 15%; }
  .lp-hat-text { font-size: 26px; line-height: 1.3; }
}

/* Section 8: FAQ */
.lp-faq .accordion-item { margin-bottom: 14px; }
.lp-faq .tp-faq-details-para p { font-size: 16px; line-height: 1.6; }
@media (min-width: 992px) {
  .lp-faq .tp-faq-btn { font-size: 24px; }
  .lp-faq .tp-faq-details-para p { font-size: 19px; }
}
@media (min-width: 1200px) {
  .lp-faq .tp-faq-btn { font-size: 27px; }
}

/* Newsletter band (above section 10) + section 11 footer: green marketer band, dark copyright bar */
.lp-footer-newsletter { background: #fff; }
.lp-footer-newsletter .tp-footer-subscribe-wrap { border: 0; padding-bottom: 0; }
.lp-footer-newsletter .tp-footer-subscribe-form .tp-input {
  background: #e2eedf;
  border-color: #e2eedf;
  box-shadow: none;
}
.lp-footer-newsletter .tp-footer-subscribe-form .tp-input:focus { border-color: #b9cdb3; }
.lp-copyright { background: #073a4e; padding-top: 22px; padding-bottom: 22px; }
.lp-copyright .tp-copyright-text p { margin: 0; }
.lp-copyright .tp-copyright-text p { color: #e6eef1; }
.lp-footer-newsletter .tp-footer-subscribe-form p { font-size: 16px; }
.lp-footer-newsletter .tp-footer-subscribe-btn { text-transform: uppercase; }
/* "ABONEAZĂ-TE" is wider than the template's "SUBSCRIBE": reserve room so the placeholder isn't covered */
.lp-footer-newsletter .tp-footer-subscribe-form .tp-input { padding-right: 175px; }
@media (max-width: 575.98px) {
  .lp-footer-newsletter .tp-footer-subscribe-form .tp-input { padding-left: 48px; padding-right: 128px; font-size: 13px; }
  .lp-footer-newsletter .tp-footer-subscribe-form .tp-input::placeholder { font-size: 13px; }
  .lp-footer-newsletter .tp-footer-subscribe-btn { font-size: 13px; padding: 0 16px; }
}
/* Desktop: one-line title, consent + reCAPTCHA note read as one block, bigger "follow us" text */
@media (min-width: 992px) {
  .lp-footer-newsletter .tp-footer-subscribe-title { font-size: 28px; }
  /* The column is wide enough for the one-line title; the form keeps its previous width */
  .lp-footer-newsletter .tp-footer-subscribe-form { max-width: 780px; margin-left: auto; margin-right: auto; }
  .lp-footer-newsletter .lp-check--newsletter label { font-size: 14px; }
  .lp-footer-newsletter .tp-footer-subscribe-form p.lp-recaptcha-note {
    margin: -14px 0 22px 28px;
    font-size: 13px;
    text-align: left;
  }
  .lp-footer-newsletter .tp-footer-subscribe-form p.lp-newsletter-follow { font-size: 21px; line-height: 1.45; }
}

/* Section 11: marketer photo + testimonial (stacked and centered on phones, side by side from 768px) */
.lp-marketer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}
.lp-marketer-photo { flex: 0 0 auto; }
.lp-marketer-photo img,
.lp-marketer-initials {
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(7, 21, 22, .12);
}
.lp-marketer-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--lp-ink);
  color: #fff;
  font-size: 54px;
  font-weight: 600;
}
.lp-marketer-testimonial {
  font-size: 17px;
  line-height: 1.6;
  color: var(--lp-ink);
  margin-bottom: 14px;
}
.lp-marketer-socials { justify-content: center; }
@media (min-width: 768px) {
  .lp-marketer-card { flex-direction: row; align-items: center; gap: 40px; text-align: left; }
  .lp-marketer-photo img,
  .lp-marketer-initials { width: 170px; height: 170px; }
  .lp-marketer-socials { justify-content: flex-start; }
}
@media (min-width: 992px) {
  .lp-marketer-testimonial { font-size: 19px; }
}
.lp-copyright-text { text-align: center; }
.lp-copyright-text p { margin: 0; font-size: 14px; line-height: 1.5; }
.lp-copyright-text .lp-copyright-note { margin-top: 6px; opacity: .85; }
@media (min-width: 992px) {
  .lp-copyright-text { display: flex; justify-content: center; align-items: baseline; gap: 6px 24px; flex-wrap: wrap; }
  .lp-copyright-text .lp-copyright-note { margin-top: 0; }
}
.lp-marketer-name { font-weight: 600; color: var(--lp-ink); font-size: 17px; }
.lp-social-icons { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-social-icons a { display: inline-flex; transition: transform .2s ease; }
.lp-social-icons a:hover { transform: translateY(-2px); }
.lp-subscribe-alert {
  margin: -6px 0 16px;
  font-size: 14px;
}
.lp-subscribe-alert.is-error { color: #a11d00; }
.lp-subscribe-alert.is-success { color: #135c2c; }

/* Newsletter result page */
.lp-result {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: #EBF8EB;
}
.lp-result-card {
  background: #fff;
  border-radius: 18px;
  padding: 44px 32px;
  max-width: 540px;
  width: 100%;
}
.lp-result-logo { width: 220px; max-width: 100%; }
.lp-result-icon { color: #1e9e4a; }
.lp-result-title { font-size: 30px; color: var(--lp-ink); }
