/* ==========================================================================
   CARTA HORARIA — style.css
   Design tokens from WordPress/Elementor original
   ========================================================================== */

:root {
  --purple: #977ED9;
  --purple-vivid: #9b51e0;
  --purple-light: #F4F2FB;
  --purple-section: #F8F7FC;
  --text-dark: #131313;
  --text-body: #5A5A5A;
  --text-muted: #6B6B6B;
  --white: #ffffff;
  --border: #e8e6f0;
  --radius: 10px;
  --max-width: 1100px;
  --font-heading: 'Gowun Batang', serif;
  --font-body: 'Space Grotesk', sans-serif;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  position: relative;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-body);
  background: #F7F4FF7A;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(151, 126, 217, 0.9) 1px, transparent 1px),
    radial-gradient(rgba(151, 126, 217, 0.9) 1px, transparent 1px);
  background-size: 8px 8px;
  background-position: 0 0, 4px 4px;
  background-repeat: repeat;
  mask-image: repeating-conic-gradient(from 0deg, transparent, transparent 25%, black 25%, black 50%);
  -webkit-mask-image: repeating-conic-gradient(from 0deg, transparent, transparent 25%, black 25%, black 50%);
  mask-size: 16px 16px;
  -webkit-mask-size: 16px 16px;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.alt-bg {
  background: var(--purple-section);
}

/* Purple solid section (¿Qué es la astrología horaria?) */
.section.purple-solid {
  background-color: var(--purple);
  border-radius: var(--radius);
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 2em;
}

.section.purple-solid .section-title {
  font-family: var(--font-heading);
  color: var(--white);
}

.section.purple-solid .section-title::after {
  display: none;
}

.section.purple-solid .section-text {
  color: var(--white);
  font-weight: 300;
}

.text-center { text-align: center; }

.section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  display: inline-block;
}

/* Center the inline-block title */
.container > .section-title {
  display: block;
}

/* Decorative underline */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -1.125rem;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--purple);
  border-radius: 2px;
}

.section-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-body);
  text-align: center;
  max-width: 700px;
  margin: 1.5rem auto 0;
  line-height: 1.7;
}

.section-text + .section-text {
  margin-top: 1rem;
}

/* ==========================================================================
   WHAT IS SECTION
   ========================================================================== */

.what-section {
  background: var(--white);
}

.what-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr);
  gap: 56px;
  align-items: center;
}

.what-copy .section-title {
  text-align: left;
  display: block;
}

.what-copy .section-title::after {
  left: 0;
  transform: none;
}

.what-copy .section-text {
  max-width: none;
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.what-image {
  display: flex;
  justify-content: flex-end;
}

.what-image .section-image {
  width: 100%;
  max-width: 524px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  text-align: center;
  max-width: 600px;
  margin: 1rem auto 2rem;
  line-height: 1.5;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
  display: none; /* Original WP site has no header bar */
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--purple);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 0;
  background-color: transparent;
  background-image: url('assets/images/hero-imagen.avif');
  background-position: top right;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
}

.hero .container {
  width: 50%;
  max-width: 50%;
  margin: 0 auto 0 0;
  padding-left: 5.2%;
  padding-right: 0;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 24px;
  max-width: 92%;
  text-wrap: balance;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--text-body);
  max-width: 79%;
  margin: 0 0 40px;
  line-height: 1.5;
}

.hero-subtitle strong {
  font-weight: 700;
  color: var(--text-body);
}

/* ==========================================================================
   CTA BUTTON WITH STARS
   ========================================================================== */

.cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  background: var(--purple);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px !important;
  transition: all 0.3s ease;
  overflow: visible;
}

.cta-btn:hover {
  background: var(--purple-vivid);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(151, 126, 217, 0.28);
}

.cta-btn .btn-text {
  position: relative;
  z-index: 2;
}

.cta-btn-small {
  padding: 10px 24px;
  background: var(--white);
  color: var(--purple);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px !important;
  transition: all 0.2s;
}

.cta-btn-small:hover {
  background: var(--purple-light);
  transform: translateY(-1px);
}

/* Sparkle stars animation */
.cta-with-stars .sparkle {
  position: absolute;
  width: 14px;
  height: 14px;
  color: #f0c040;
  opacity: 0;
  pointer-events: none;
}

.cta-with-stars:hover .sparkle {
  animation: sparkle 0.7s ease-in-out forwards;
}

.sparkle-1 { top: -8px; left: 10%; animation-delay: 0s; }
.sparkle-2 { top: -12px; right: 15%; animation-delay: 0.1s; }
.sparkle-3 { bottom: -8px; left: 20%; animation-delay: 0.2s; }
.sparkle-4 { bottom: -10px; right: 10%; animation-delay: 0.15s; }
.sparkle-5 { top: 50%; left: -12px; animation-delay: 0.25s; }
.sparkle-6 { top: 50%; right: -12px; animation-delay: 0.05s; }

.cta-with-stars:hover .sparkle-1 { animation-delay: 0s; }
.cta-with-stars:hover .sparkle-2 { animation-delay: 0.1s; }
.cta-with-stars:hover .sparkle-3 { animation-delay: 0.2s; }
.cta-with-stars:hover .sparkle-4 { animation-delay: 0.15s; }
.cta-with-stars:hover .sparkle-5 { animation-delay: 0.25s; }
.cta-with-stars:hover .sparkle-6 { animation-delay: 0.05s; }

@keyframes sparkle {
  0% { opacity: 0; transform: scale(0) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(90deg); }
  100% { opacity: 0; transform: scale(0) rotate(180deg); }
}

.cta-section {
  padding: 40px 0;
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */

.marquee-section {
  overflow: hidden;
  padding: 32px 0;
  background: var(--purple-section);
}

.marquee {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.marquee-line {
  display: flex;
  gap: 20px;
  white-space: nowrap;
  will-change: transform;
}

.line-1 {
  animation: scroll-left 40s linear infinite;
}

.line-2 {
  animation: scroll-right 35s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-item {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 500;
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.marquee-item.purple {
  background: var(--purple-light);
  color: var(--purple);
  border-color: rgba(151, 126, 217, 0.3);
}

/* ==========================================================================
   ICON BOXES (Why Choose / What to Know)
   ========================================================================== */

.cards-grid {
  display: grid;
  gap: 28px;
  margin-top: 48px;
}

.cards-grid.three-cols {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.icon-box {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.icon-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(151, 126, 217, 0.15);
}

.icon-box-bg {
  width: 62px;
  height: 62px;
  margin: 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box-bg .icon {
  width: 62px;
  height: 62px;
  color: var(--purple);
}

.icon-box h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.icon-box p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==========================================================================
   HOW WE WORK (Two columns + Steps)
   ========================================================================== */

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 0;
  padding-bottom: 80px;
}

.how-section {
  background: var(--white);
  padding: 80px 0;
}

.how-section .section-title {
  margin-bottom: 64px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.how-steps .step-box {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

.how-steps .step-box h3,
.how-steps .step-box p {
  grid-column: auto;
}

.steps-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.step-box {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
}

.step-icon-bg {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--purple-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  width: 28px;
  height: 28px;
}

.step-box h3 {
  grid-column: 2;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.5;
}

.step-box p {
  grid-column: 2;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.5;
}

.image-col {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.section-image {
  width: 100%;
  max-width: 524px;
  border-radius: 10px;
}

/* ==========================================================================
   BIO SECTION
   ========================================================================== */

.bio-section {
  background: var(--white);
  padding: 80px 0;
}

.bio-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}

.bio-section .section-title {
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: 24px;
  text-align: left;
  display: block;
}

.bio-section .section-title::after {
  display: none;
}

.bio-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.bio-text {
  max-width: 540px;
}

.bio-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 24px;
}

.bio-image {
  display: flex;
  justify-content: center;
}

.bio-image img {
  width: 100%;
  max-width: 560px;
  border-radius: 0;
  box-shadow: none;
}

/* ==========================================================================
   EXAMPLES SECTION
   ========================================================================== */

.examples-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 40px;
  margin-bottom: 32px;
}

.example-card {
  padding: 20px 30px;
  border-radius: var(--radius);
  border: none;
  border-left: 3px solid;
}

.example-card.not-recommended {
  background: #FEF2F2;
  border-color: #F87171;
}

.example-card.recommended {
  background: #F0FDF4;
  border-color: #4ADE80;
}

.example-badge {
  display: none;
}

.example-text {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 10px;
  font-style: normal;
}

.example-card.not-recommended .example-text {
  color: #B91C3E;
}

.example-card.recommended .example-text {
  color: #15803D;
}

.example-reason {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-dark);
}

.tip-box {
  background: var(--purple-light);
  padding: 20px 28px;
  border-radius: var(--radius);
  border-left: 4px solid var(--purple);
}

.tip-box p {
  font-size: 0.9rem;
  color: var(--text-body);
}

/* ==========================================================================
   GUARANTEE / PRICING SECTION
   ========================================================================== */

.guarantee-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  text-align: center;
  margin-bottom: 32px;
  margin-top: 2em;
}

.price-box {
  text-align: center;
  margin-bottom: 48px;
  background: var(--purple-light);
  padding: 10px 30px;
  border-radius: 100px;
  display: inline-block;
}

/* Center the price box */
.section > .container > .price-box {
  display: block;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}

.price-amount {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-body);
}

.price-amount strong {
  font-size: 24px;
  color: var(--purple);
  font-weight: 600;
}

.price-text {
  display: none;
}

.guarantee-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.guarantee-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}

.guarantee-icon {
  width: 62px;
  height: 62px;
  margin: 0 0 30px;
}

.guarantee-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 30px;
}

.guarantee-card p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==========================================================================
   VIDEOS
   ========================================================================== */

.videos-grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}

.videos-grid.four-cols {
  grid-template-columns: repeat(2, 1fr);
}

.video-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.video-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.video-thumbnail {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  background-size: cover;
  background-position: center;
  background-color: #eee;
  position: relative;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: rgba(151, 126, 217, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.video-card:hover .play-button {
  background: var(--purple-vivid);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-widget {
  width: 100%;
  margin-top: 48px;
}

.testimonials-widget iframe {
  display: block;
  width: 100%;
  min-height: 600px;
  border: 0;
  border-radius: 8px;
  background: var(--white);
}

/* ==========================================================================
   STICKY CTA BAR
   ========================================================================== */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--purple);
  padding: 14px 24px;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-cta-text {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 40px 24px;
  font-size: 0.875rem;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

.icon-box,
.step-box,
.example-card,
.guarantee-card,
.video-card,
.price-box {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.icon-box.visible,
.step-box.visible,
.example-card.visible,
.guarantee-card.visible,
.video-card.visible,
.price-box.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for grid items */
.cards-grid .icon-box:nth-child(2),
.cards-grid .guarantee-card:nth-child(2) {
  transition-delay: 0.1s;
}
.cards-grid .icon-box:nth-child(3),
.cards-grid .guarantee-card:nth-child(3) {
  transition-delay: 0.2s;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-dark);
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  list-style: none;
  line-height: 1.4;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--purple);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 0 20px 0;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  .nav { display: none; }

  .hero {
    min-height: auto;
    padding: 70% 0 40px;
    background-position: 100% 0;
    background-size: contain;
  }

  .hero .container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }

  .hero-title {
    font-size: 32px;
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .section { padding: 60px 0; }

  .what-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .what-copy .section-title,
  .what-copy .section-text {
    text-align: center;
  }

  .what-copy .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .what-image {
    justify-content: center;
  }

  .section.purple-solid {
    max-width: 100%;
    border-radius: 0;
    padding: 2em 1.5em;
  }

  .two-cols,
  .bio-two-cols,
  .examples-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .two-cols {
    padding: 0 0 60px;
  }

  .how-section {
    padding: 60px 0;
  }

  .how-section .section-title {
    margin-bottom: 44px;
  }

  .how-steps {
    grid-template-columns: 1fr;
  }

  .step-box {
    padding: 24px;
  }

  .step-box p {
    grid-column: 1 / -1;
  }

  .cards-grid.three-cols {
    grid-template-columns: 1fr;
  }

  .videos-grid.four-cols {
    grid-template-columns: 1fr;
  }

  .bio-image {
    order: -1;
    text-align: center;
  }

  .bio-image img {
    max-width: 100%;
    margin: 0 auto;
  }

  .bio-section .section-title {
    text-align: center;
  }

  .bio-text {
    max-width: none;
    text-align: center;
  }

  .bio-tag {
    text-align: center;
    display: block;
  }

  .sticky-cta-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .cta-btn-small {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .cta-btn {
    padding: 14px 28px;
    font-size: 0.9rem;
  }

  .marquee-item {
    font-size: 0.85rem;
    padding: 6px 14px;
  }
}

/* ==========================================================================
   HORARY QUESTION FORM
   ========================================================================== */

.form-body {
  background: var(--white);
}

.form-page {
  color: var(--text-body);
}

.form-container {
  max-width: 1180px;
}

.form-hero {
  padding: 18px 0 0;
  text-align: center;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--purple);
  font-size: 14px;
  font-weight: 500;
}

.form-title {
  position: relative;
  max-width: 720px;
  margin: 0 auto 58px;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.35;
}

.form-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -28px;
  width: 180px;
  height: 5px;
  border-radius: 999px;
  background: var(--purple);
  transform: translateX(-50%);
}

.form-intro {
  max-width: 820px;
  margin: 0 auto 44px;
  color: var(--text-body);
  font-size: 18px;
  line-height: 1.65;
}

.form-price {
  width: 100%;
  margin: 0 auto;
  padding: 18px 30px;
  border-radius: 999px;
  background: var(--purple-light);
  color: var(--text-body);
  font-size: 24px;
  line-height: 1;
}

.form-price strong {
  color: var(--purple);
  font-weight: 700;
}

.form-section {
  padding: 34px 0 72px;
}

.horary-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--text-body);
  font-size: 18px;
  line-height: 1.25;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #c6c6c6;
  border-radius: 5px;
  background: var(--white);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input,
.field select {
  min-height: 56px;
  padding: 13px 18px;
}

.field textarea {
  min-height: 150px;
  padding: 13px 18px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #aaa;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(151, 126, 217, 0.18);
}

.check-field {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--text-body);
  font-size: 18px;
  line-height: 1.55;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 5px;
  accent-color: var(--purple);
}

.considerations {
  padding-top: 8px;
  color: var(--text-body);
}

.considerations h2 {
  margin: 0 0 20px;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}

.considerations p {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.6;
}

.submit-btn {
  width: 100%;
  min-height: 64px;
  margin-top: 16px;
  border-radius: 14px;
  background: var(--purple);
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.submit-btn:hover {
  background: var(--purple-vivid);
  box-shadow: 0 18px 40px rgba(151, 126, 217, 0.28);
  transform: translateY(-2px);
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: progress;
  transform: none;
  box-shadow: none;
}

.form-success {
  padding: 40px 32px;
  border-radius: 16px;
  background: var(--purple-light);
  border: 1px solid var(--border);
  text-align: center;
}

.form-success h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.form-success p {
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 24px;
}

.form-error {
  padding: 16px 20px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #fdecec;
  border: 1px solid #f0c4c4;
  color: #8a2222;
  font-size: 15px;
}

@media (max-width: 768px) {
  .form-title {
    font-size: 30px;
    margin-bottom: 48px;
  }

  .form-title::after {
    width: 140px;
    height: 4px;
    bottom: -24px;
  }

  .form-intro {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 30px;
  }

  .form-price {
    padding: 16px 20px;
    font-size: 22px;
  }

  .form-grid.two-fields {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .field,
  .check-field,
  .considerations p {
    font-size: 16px;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }

  .field input,
  .field select {
    min-height: 54px;
    padding: 12px 16px;
  }

  .field textarea {
    min-height: 140px;
    padding: 12px 16px;
  }

  .check-field {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .check-field input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
  }

  .considerations h2 {
    font-size: 26px;
  }

  .submit-btn {
    min-height: 62px;
    font-size: 18px;
  }
}
