:root {
  --bg: #f8f6f3;
  --bg-soft: #fff6f9;
  --card: #ffffff;
  --text: #3a2c2c;
  --primary: #b76e79;
  --secondary: #a67c52;
  --line: #f2e6e6;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shadow-sm: 0 8px 22px rgba(183, 110, 121, 0.1);
  --shadow-xs: 0 4px 10px rgba(183, 110, 121, 0.08);
  --section-pad: clamp(2.2rem, 6vw, 4rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: "Lato", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

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

section {
  border-bottom: 1px solid var(--line);
}

.container {
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

.topbar-premium {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-soft);
  color: var(--primary);
  text-align: center;
  font-size: clamp(0.72rem, 2.5vw, 0.95rem);
  font-weight: 700;
  padding: 0.62rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 76vh, 760px);
  padding: calc(var(--section-pad) + 0.6rem) 0 var(--section-pad);
  background-image: url("IMG/KSL_1983.jpg");
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(42, 24, 24, 0.2) 0%,
    rgba(42, 24, 24, 0.5) 65%,
    rgba(42, 24, 24, 0.6) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 1;
  width: min(980px, 100% - 2rem);
  margin-inline: auto;
  display: flex;
  justify-content: center;
}

.hero-left {
  width: min(780px, 100%);
  min-width: 0;
  text-align: center;
}

.hero-headline {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5.9vw, 3.3rem);
  line-height: 1.14;
  color: #fff;
  font-weight: 900;
  text-shadow: 0 3px 16px rgba(183, 110, 121, 0.24), 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-subheadline {
  margin: 0 auto;
  max-width: 32ch;
  font-size: clamp(1rem, 3.4vw, 1.4rem);
  line-height: 1.35;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 3px 16px rgba(183, 110, 121, 0.2), 0 1px 4px rgba(0, 0, 0, 0.28);
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  margin: 1.2rem auto 0;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  text-align: center;
  font-size: clamp(0.95rem, 3vw, 1.12rem);
  line-height: 1.25;
  min-height: 48px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--primary) 0%, #e7c9a9 100%);
  box-shadow: 0 6px 16px rgba(183, 110, 121, 0.2);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.hero-offer-btn,
.package-cta,
.urgency-cta,
.cta-final-btn {
  margin-left: auto;
  margin-right: auto;
}

@media (hover: hover) {
  .cta-btn:hover,
  .cta-btn:focus {
    transform: translateY(-1px) scale(1.01);
    filter: saturate(1.05);
  }
}

.cta-btn:active {
  transform: translateY(0);
}

.hero-info-section {
  background: var(--bg-soft);
  padding: var(--section-pad) 0;
}

.hero-info-container {
  display: flex;
  justify-content: center;
}

.hero-plan-card {
  width: min(460px, 100%);
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 4vw, 2rem);
  text-align: center;
}

.hero-plan-title {
  font-size: clamp(1.15rem, 4vw, 1.4rem);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.hero-plan-price {
  margin-bottom: 0.9rem;
}

.hero-plan-price-big {
  display: block;
  font-size: clamp(2rem, 7vw, 2.55rem);
  color: var(--secondary);
  font-weight: 900;
  line-height: 1.05;
}

.hero-plan-installment {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(0.95rem, 3.2vw, 1.1rem);
  color: var(--primary);
  font-weight: 700;
}

.hero-plan-features ul {
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.hero-plan-features li {
  list-style: none;
  background: var(--bg-soft);
  color: var(--secondary);
  border-radius: 12px;
  padding: 0.48rem 0.7rem;
  font-size: 0.98rem;
}

.hero-plan-normal {
  font-size: 0.98rem;
  color: var(--secondary);
  margin-bottom: 0.7rem;
}

.hero-plan-urgency {
  font-size: 0.98rem;
  color: var(--primary);
  font-weight: 700;
}

.hero-countdown-section {
  background: #fff;
  padding: var(--section-pad) 0;
}

.hero-countdown-container {
  width: min(760px, 100%);
  margin-inline: auto;
  text-align: center;
}

.hero-countdown-title {
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero-countdown-highlight {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  padding: 0.75rem;
}

.count-item {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.4rem;
  box-shadow: 0 2px 6px rgba(183, 110, 121, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.16rem;
}

.count-number {
  font-size: clamp(1.45rem, 5vw, 2.2rem);
  line-height: 1;
  color: var(--secondary);
  font-weight: 900;
}

.count-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.package-section,
.emotional-section,
.gallery-section,
.urgency-section,
.cta-final-section {
  background: #fff;
  padding: var(--section-pad) 0;
}

.how-section,
.testimonials-section,
.faq-section {
  background: var(--bg-soft);
  padding: var(--section-pad) 0;
}

.package-title,
.emotional-text h2,
.how-grid h2,
.gallery-section h2,
.urgency-block h2,
.faq-section h2,
.cta-final-section h2 {
  margin: 0 0 0.7rem;
  text-align: center;
  font-size: clamp(1.3rem, 4.8vw, 2rem);
  line-height: 1.2;
  color: var(--primary);
}

.package-sub,
.gallery-sub,
.urgency-desc,
.cta-final-sub {
  margin: 0 auto 1.3rem;
  max-width: 62ch;
  text-align: center;
  font-size: clamp(1rem, 2.9vw, 1.12rem);
  color: var(--secondary);
}

.package-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.package-card {
  min-width: 0;
  background: var(--bg-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  padding: 1rem 0.85rem;
  text-align: center;
}

.package-icon {
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 0.55rem;
}

.package-card-title {
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.package-card-desc {
  font-size: 0.95rem;
}

.emotional-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.emotional-text {
  min-width: 0;
  max-width: 840px;
  margin: 0 auto;
}

.emotional-block {
  margin: 0 0 0.9rem;
  font-size: 1.02rem;
}

.emotional-block:last-child {
  margin-bottom: 0;
  color: var(--primary);
  font-weight: 700;
}

.how-grid {
  width: min(900px, 100%);
  margin-inline: auto;
}

.how-grid h2 {
  margin-bottom: 1.15rem;
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
  background: #fff;
  border-radius: 16px;
  padding: 0.92rem 1rem;
  box-shadow: 0 2px 7px rgba(183, 110, 121, 0.08);
}

.how-step:last-child {
  margin-bottom: 0;
}

.how-number {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 1.24rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-desc {
  margin: 0;
  font-size: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  width: min(980px, 100%);
  margin-inline: auto;
}

.gallery-grid img {
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
  object-fit: cover;
  aspect-ratio: 2 / 3;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
  width: min(980px, 100%);
  margin-inline: auto;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  padding: 1rem 0.9rem;
  text-align: center;
  color: var(--secondary);
  font-style: italic;
  font-size: clamp(1rem, 2.8vw, 1.1rem);
}

.testimonial-quote {
  margin: 0;
}

.urgency-block {
  width: min(760px, 100%);
  margin-inline: auto;
  text-align: center;
}

.urgency-icon {
  font-size: 2.1rem;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 0.45rem;
}

.faq-section .container {
  width: min(840px, 100% - 2rem);
}

.faq-section details {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
  padding: 0.92rem 0.92rem 1rem;
  font-size: 1rem;
  color: var(--secondary);
}

.faq-section details + details {
  margin-top: 0.75rem;
}

.faq-section summary {
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.faq-section details[open] {
  border: 1px solid var(--primary);
}

.faq-section details div {
  margin-top: 0.55rem;
  color: var(--text);
}

.cta-final-micro {
  margin-top: 0.62rem;
  text-align: center;
  color: var(--secondary);
  font-size: 0.92rem;
}

.footer-section {
  background: var(--bg-soft);
  color: var(--primary);
  text-align: center;
  padding: 1.15rem 0;
  font-size: 0.95rem;
}

@media (max-width: 620px) {
  .container {
    width: min(1100px, 100% - 1.4rem);
  }

  .hero-section {
    min-height: 460px;
    background-position: center 24%;
  }

  .hero-countdown-highlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-step {
    flex-direction: column;
    padding: 0.9rem;
    gap: 0.55rem;
  }

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

@media (min-width: 760px) {
  .package-cards {
    gap: 1.15rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .package-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
