/* ============================================================
   DepilConcept Zlin — Landing Page Stylesheet
   ============================================================ */

/* ------------------------------------------------------------
   CSS Custom Properties
   ------------------------------------------------------------ */
:root {
  --primary: #00AAC9;
  --primary-glow: #4DC4DB;
  --primary-soft: #C2E5ED;
  --foreground: #374151;
  --background: #FFFFFF;
  --muted-foreground: #6B7A8D;
  --border: #E8E2DA;
  --input: #ECEAE5;
  --surface-soft: #FAF8F4;
  --success: #22C55E;
  --destructive: #EF4444;
  --warm-gray: #7B6E66;
  --yellow-400: #FACC15;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --gradient-hero: linear-gradient(135deg, #00AAC9 0%, #4DC4DB 100%);
  --gradient-soft: linear-gradient(180deg, #FFFFFF 0%, #F5F0E8 100%);
  --gradient-glow: radial-gradient(circle at 50% 50%, rgba(0, 170, 201, 0.1) 0%, transparent 70%);
  --shadow-soft: 0 2px 20px rgba(0, 170, 201, 0.08);
  --shadow-medium: 0 8px 40px rgba(0, 170, 201, 0.12);
  --shadow-luxury: 0 20px 60px rgba(55, 65, 81, 0.08);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ------------------------------------------------------------
   @font-face — Luengo (3 weights)
   ------------------------------------------------------------ */
@font-face {
  font-family: 'Luengo';
  src: url('../fonts/luengo-light.woff2') format('woff2'),
       url('../fonts/luengo-light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Luengo';
  src: url('../fonts/luengo-regular.woff2') format('woff2'),
       url('../fonts/luengo-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Luengo';
  src: url('../fonts/luengo-bold.woff2') format('woff2'),
       url('../fonts/luengo-bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

/* ------------------------------------------------------------
   Reset / Base
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Luengo', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ------------------------------------------------------------
   Keyframe Animations
   ------------------------------------------------------------ */
@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gentle-glow {
  0%, 100% {
    box-shadow: 0 10px 30px -10px rgba(0, 170, 201, 0.3);
  }
  50% {
    box-shadow: 0 15px 40px -5px rgba(0, 170, 201, 0.4);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.5;
  }
}

@keyframes toast-slide-in {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toast-slide-out {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes toast-slide-down-in {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes toast-slide-down-out {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* ------------------------------------------------------------
   Animation Utility Classes
   ------------------------------------------------------------ */
.animate-fade-in {
  animation: fade-in 0.8s ease-out forwards;
}

.animate-fade-in.delay-300 {
  opacity: 0;
  animation-delay: 0.3s;
}

.animate-fade-in.delay-500 {
  opacity: 0;
  animation-delay: 0.5s;
}

.animate-scale-in {
  animation: scale-in 0.6s ease-out forwards;
}

.animate-scale-in.delay-500 {
  opacity: 0;
  animation-delay: 0.5s;
}

.animate-gentle-glow {
  animation: gentle-glow .5s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-pulse.delay-500 {
  animation-delay: 0.5s;
}

.animate-pulse.delay-1000 {
  animation-delay: 1s;
}

/* ------------------------------------------------------------
   Layout
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ------------------------------------------------------------
   Utility Classes
   ------------------------------------------------------------ */
.text-primary {
  color: var(--primary);
}

.text-white {
  color: white;
}

.text-success {
  color: var(--success);
}

.font-bold {
  font-weight: 700;
}

.font-extrabold {
  font-weight: 800;
}

.brightness-125 {
  filter: brightness(1.25);
}

/* ============================================================
   SECTION 1: BANNER
   ============================================================ */
.banner {
  background: var(--primary);
  color: white;
  padding: 0.75rem 0;
  text-align: center;
}

.banner p {
  font-size: 1rem;
  font-weight: 600;
}

/* ============================================================
   SECTION 1: HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-soft);
}

.hero > .banner {
  position: relative;
  z-index: 10;
  width: 100%;
  align-self: stretch;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero__overlay-soft {
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0.3;
}

.hero__overlay-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-glow);
  opacity: 0.2;
}

.hero__decor-circle {
  position: absolute;
  border-radius: 9999px;
  filter: blur(24px);
}

.hero__decor-circle--1 {
  top: 25%;
  left: 2.5rem;
  width: 5rem;
  height: 5rem;
  background: rgba(0, 170, 201, 0.1);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.hero__decor-circle--2 {
  bottom: 33%;
  right: 2.5rem;
  width: 4rem;
  height: 4rem;
  background: rgba(77, 196, 219, 0.2);
  filter: blur(16px);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  animation-delay: 1s;
}

.hero__content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 56rem;
  margin: auto;
  padding: 0 1.5rem;
}

.hero__content::before {
  content: '';
  position: absolute;
  inset: -4rem -6rem;
  background: rgb(255 255 255 / 50%);
  filter: blur(30px);
  z-index: -1;
  pointer-events: none;
}

.hero__title {
  font-size: 3.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* --- Trust Bar --- */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 170, 201, 0.15);
}

.trust-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
}

.trust-bar__number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.trust-bar__label {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.trust-bar__divider {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
}

/* --- Certificate Detail --- */
.certificate__detail {
  font-size: 0.9375rem;
  color: #9CA3AF;
  line-height: 1.65;
  margin-top: 1rem;
  font-style: italic;
}

/* --- Form: next step & consent link --- */
.form__next-step {
  font-size: 0.8125rem;
  color: #6EE7B7;
  text-align: center;
  margin-top: 0.75rem;
  font-weight: 500;
}

.form__consent-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.3s;
}

.form__consent-link:hover {
  opacity: 0.75;
}

/* ============================================================
   SECTION 2: BENEFITS
   ============================================================ */
.benefits {
  padding: 5rem 0;
  background: var(--background);
}

.benefits__heading {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 4rem;
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.benefits__text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefits__text p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--muted-foreground);
}

.benefits__text p:first-child {
  font-weight: 500;
  color: var(--foreground);
}

.benefits__callout {
  background: rgba(0, 170, 201, 0.05);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border-left: 4px solid var(--primary);
}

.benefits__callout p {
  font-size: 1.125rem;
  line-height: 1.75;
  font-weight: 500;
  color: var(--foreground);
}

.benefits__bold {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.benefits__image-wrapper {
  position: relative;
}

.benefits__image-card {
  background: var(--gradient-soft);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-luxury);
  overflow: hidden;
}

.benefits__image-card img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  object-fit: cover;
}

.benefits__decor-circle {
  position: absolute;
  border-radius: 9999px;
}

.benefits__decor-circle--1 {
  top: -1.5rem;
  right: -1.5rem;
  width: 3rem;
  height: 3rem;
  background: rgba(0, 170, 201, 0.1);
  filter: blur(4px);
}

.benefits__decor-circle--2 {
  bottom: -1rem;
  left: -1rem;
  width: 2rem;
  height: 2rem;
  background: rgba(77, 196, 219, 0.2);
  filter: blur(4px);
}

/* ============================================================
   SECTION 3: DARK SECTION (Certificate + Map + Form)
   ============================================================ */
.dark-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, #1e293b, #0f172a, #1e293b);
  position: relative;
  overflow: hidden;
}

.dark-section__decor-circle {
  position: absolute;
  border-radius: 9999px;
}

.dark-section__decor-circle--1 {
  top: 2.5rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
  background: rgba(0, 170, 201, 0.2);
  filter: blur(40px);
}

.dark-section__decor-circle--2 {
  bottom: 5rem;
  right: 5rem;
  width: 6rem;
  height: 6rem;
  background: rgba(77, 196, 219, 0.3);
  filter: blur(24px);
}

.dark-section__content {
  position: relative;
  z-index: 10;
}

.dark-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.dark-section__left {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* --- Glass Card (shared) --- */
.glass-card {
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  box-shadow: var(--shadow-luxury);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-card {
  position: sticky;
}

/* --- Certificate Card --- */
.certificate {
  text-align: center;
}

.certificate__logo-wrapper {
  margin-bottom: 1.5rem;
}

.certificate__logo {
  width: 8rem;
  height: 8rem;
  margin: 0 auto;
  object-fit: contain;
}

.certificate__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

.certificate__text {
  font-size: 1.125rem;
  color: #D1D5DB;
  line-height: 1.75;
}

/* --- Map Card --- */
.map__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  text-align: center;
}

.map__iframe-wrapper {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.map__iframe-wrapper iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

.map__footer {
  margin-top: 1.5rem;
  text-align: center;
}

.map__footer p {
  color: #D1D5DB;
  font-size: 0.875rem;
}

.map__phone-link {
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.map__phone-link:hover {
  color: var(--primary);
}

/* --- Form Card --- */
.form__header {
  margin-bottom: 1.5rem;
}

.form__title {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form__price-banner {
  background: var(--gradient-hero);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  color: white;
}

.form__price-banner-label {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.form__price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.form__price-new {
  font-size: 2.25rem;
  font-weight: 700;
  white-space: nowrap;
}

.form__price-old-wrapper {
  text-align: right;
}

.form__price-old-label {
  display: block;
  font-size: 0.75rem;
  opacity: 0.75;
}

.form__price-old {
  display: block;
  font-size: 1.125rem;
  text-decoration: line-through;
  opacity: 0.6;
  white-space: nowrap;
}

.form__limited-text {
  font-size: 0.875rem;
  color: #6EE7B7;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.5rem;
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  color: white;
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form__input,
.form__textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: var(--radius);
  padding: 0.625rem 0.75rem;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 170, 201, 0.3);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #9CA3AF;
}

.form__textarea {
  resize: none;
  min-height: 6rem;
}

.form__submit {
  background: var(--gradient-hero);
  width: 100%;
  padding: 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-radius: 0.75rem;
  color: white;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: box-shadow 0.3s;
}

.form__submit:hover {
  box-shadow: var(--shadow-medium);
}

.sending-dots {
  display: inline-flex;
  gap: 0.3em;
  margin-left: 0.5em;
  vertical-align: middle;
}

.sending-dots i {
  width: 0.4em;
  height: 0.4em;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  animation: sending-dot 1.2s ease-in-out infinite;
}

.sending-dots i:nth-child(1) {
  animation-delay: 0.3s;
}

.sending-dots i:nth-child(2) {
  animation-delay: 0.15s;
}

@keyframes sending-dot {
  0%, 60%, 100% {
    opacity: 0.4;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-0.3em);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sending-dots i {
    animation: none;
    opacity: 0.7;
  }
}

.form__error {
  display: none;
  font-size: 0.8rem;
  color: var(--destructive);
  margin-top: 0.25rem;
}

.form__consent {
  font-size: 0.875rem;
  color: #9CA3AF;
  text-align: center;
  margin-top: 1rem;
}

/* ============================================================
   SECTION 4: FAQ
   ============================================================ */
.faq {
  padding: 5rem 0;
  background: linear-gradient(to bottom right, rgba(0, 170, 201, 0.1), var(--background), rgba(77, 196, 219, 0.1));
  position: relative;
  overflow: hidden;
}

.faq__decor-circle {
  position: absolute;
  border-radius: 9999px;
}

.faq__decor-circle--1 {
  top: 2.5rem;
  right: 2.5rem;
  width: 10rem;
  height: 10rem;
  background: rgba(0, 170, 201, 0.05);
  filter: blur(48px);
}

.faq__decor-circle--2 {
  bottom: 5rem;
  left: 2.5rem;
  width: 8rem;
  height: 8rem;
  background: rgba(77, 196, 219, 0.1);
  filter: blur(40px);
}

.faq__content {
  position: relative;
  z-index: 10;
}

.faq__inner {
  max-width: 64rem;
  margin: 0 auto;
}

.faq__heading {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.faq__subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.faq__list {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.faq-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  border: 1px solid rgba(0, 170, 201, 0.1);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.faq-card:hover {
  box-shadow: var(--shadow-medium);
  border-color: rgba(0, 170, 201, 0.2);
}

.faq-card__question {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.faq-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  background: rgba(0, 170, 201, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.faq-card:hover .faq-card__icon {
  background: rgba(0, 170, 201, 0.2);
}

.faq-card__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.faq-card__q {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.3s;
}

.faq-card:hover .faq-card__q {
  color: var(--primary);
}

.faq-card__answer {
  padding-left: 3.5rem;
}

.faq-card__a {
  color: var(--muted-foreground);
  line-height: 1.75;
  font-size: 1.125rem;
}

/* ============================================================
   SECTION 5: TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 5rem 0;
  background: var(--background);
}

.testimonials__heading {
  text-align: center;
  font-size: 3rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.testimonials__subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto 3rem;
}

/* --- Reviews Grid --- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto 2rem;
}

[hidden] {
  display: none !important;
}

/* ============================================================
   FORM SUCCESS BLOCK
   ============================================================
   Shown after a successful submit by main.js, which swaps the
   form for #reservation-success inside .form-card. h1.css
   redefines this class for the hubhigh layout (left-aligned,
   bigger summary list) — load order means h1's wins there.
   ============================================================ */
.form__success {
  width: 100%;
  background-color: #FFFFFF;
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.form__success h4 {
  color: var(--primary);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.form__success p {
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
  max-width: 32rem;
}

/* --- Summary Bar --- */
.testimonials__summary {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.5rem;
}

.testimonials__early-note {
  text-align: center;
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--muted-foreground);
  margin: -1.5rem auto 2.5rem;
  max-width: 36rem;
}

.testimonials__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: inherit;
  text-decoration: none;
}

.testimonials__google-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.testimonials__rating-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
}

.testimonials__rating-stars {
  display: flex;
  gap: 0.125rem;
}

.testimonials__rating-stars svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--yellow-400);
}

.testimonials__rating-count {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* --- Google CTA --- */
.testimonials__cta {
  text-align: center;
  margin-top: 1rem;
}

.testimonials__google-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}

.testimonials__google-btn:hover {
  box-shadow: var(--shadow-medium);
  border-color: rgba(0, 170, 201, 0.3);
}

.testimonials__google-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* --- Review Card --- */
.review-card {
  background: linear-gradient(to bottom right, white, rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(0, 170, 201, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.review-card:hover {
  box-shadow: var(--shadow-medium);
  border-color: rgba(0, 170, 201, 0.2);
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  padding-right: 2.25rem;
}

.review-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  background: linear-gradient(to bottom right, var(--primary), rgba(0, 170, 201, 0.8));
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-card__avatar span {
  color: white;
  font-weight: 700;
  font-size: 0.75rem;
}

.review-card__info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.review-card__name {
  display: block;
  font-weight: 700;
  color: var(--foreground);
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

.review-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  line-height: 0.875rem;
  color: var(--muted-foreground);
}

.review-card__stars {
  display: flex;
  gap: 0.0625rem;
  transform: translateY(1px);
}

.review-card__stars svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #FBBC05;
}

.review-card__stars svg.is-empty {
  color: #DADCE0;
}

.review-card__text {
  font-size: 0.9375rem;
  color: var(--foreground);
  margin: 0;
  line-height: 1.65;
}

.review-card__source {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.review-card__source-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
  flex-shrink: 0;
}

.review-card__source-tooltip {
  background: white;
  color: var(--foreground);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  transform: translateX(4px);
  transition: opacity 0.15s ease, visibility 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}

.review-card__source:hover .review-card__source-tooltip,
.review-card__source:focus-visible .review-card__source-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ============================================================
   PRICING CARD COMPONENT
   ============================================================ */
.pricing-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pricing-card {
  position: relative;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  background: none;
  padding: 0;
  outline: none;
  border-radius: 1rem;
}

.pricing-card:hover {
  transform: scale(1.05);
}

.pricing-card:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 170, 201, 0.3);
}

.pricing-card__inner {
  position: relative;
  background: white;
  border: 4px solid var(--primary);
  border-radius: 1rem;
  padding: 1.5rem;
}

.pricing-card:hover .pricing-card__inner {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.pricing-card__badge {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  background: var(--destructive);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  transform: rotate(12deg);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.pricing-card:hover .pricing-card__badge {
  transform: rotate(6deg);
}

.pricing-card__title {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.pricing-card__label {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.pricing-card__intro {
  color: var(--foreground);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-card__price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.pricing-card__price {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--primary);
  white-space: nowrap;
  transition: color 0.3s;
}

.pricing-card:hover .pricing-card__price {
  color: var(--primary-glow);
}

.pricing-card__old {
  text-align: right;
}

.pricing-card__old-price {
  display: block;
  text-decoration: line-through;
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

.pricing-card__savings {
  display: block;
  color: var(--success);
  font-size: 0.875rem;
  font-weight: 700;
}

.pricing-card__disclaimer {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-style: italic;
}

.pricing-card__hint {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
  opacity: 0.75;
  transition: opacity 0.3s;
}

.pricing-card:hover .pricing-card__hint {
  opacity: 1;
}

/* --- Hero Pricing Card Size Modifier --- */
.pricing-card--hero .pricing-card__price {
  font-size: 3rem;
}

.pricing-card--hero .pricing-card__title {
  font-size: 1.5rem;
}

.pricing-card--hero .pricing-card__intro {
  font-size: 1.25rem;
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 24rem;
  z-index: 9999;
  animation: toast-slide-in 0.3s ease-out;
}

.toast.hiding {
  animation: toast-slide-out 0.3s ease-in forwards;
}

@media (max-width: 767px) {
  .toast {
    top: 1rem;
    bottom: auto;
    left: 1rem;
    right: 1rem;
    max-width: none;
    animation: toast-slide-down-in 0.3s ease-out;
  }
  .toast.hiding {
    animation: toast-slide-down-out 0.3s ease-in forwards;
  }
}

.toast__content {
  flex: 1;
}

.toast__title {
  font-weight: 700;
  color: var(--foreground);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.toast__description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.toast__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--muted-foreground);
}

.toast__close:hover {
  color: var(--foreground);
}

.toast__close svg {
  width: 1rem;
  height: 1rem;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
/* --- Bottom stack: shared fixed bottom edge, members can't overlap --- */
.bottom-stack {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
}

.consent-banner {
  background: rgba(55, 65, 81, 0.97);
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.consent-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.consent-banner__btn {
  min-width: 7.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.consent-banner__btn--accept {
  background: var(--primary);
  color: white;
}

.consent-banner__btn--accept:hover {
  background: var(--primary-glow);
}

.consent-banner__btn--reject {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.consent-banner__btn--reject:hover {
  background: rgba(255, 255, 255, 0.1);
}

.consent-banner__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   RESPONSIVE: lg (max-width: 1023px) — tablet
   ============================================================ */
@media (max-width: 1023px) {
  .benefits__grid,
  .dark-section__grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    position: static;
  }

  .hero__title {
    font-size: 3rem;
  }

  .benefits__heading,
  .faq__heading,
  .testimonials__heading {
    font-size: 2.5rem;
  }

  .certificate__title {
    font-size: 2rem;
  }

  .map__title,
  .form__title {
    font-size: 1.75rem;
  }

  .form__price-new {
    font-size: 2rem;
  }

  .pricing-card__price {
    font-size: 2rem;
  }

  .pricing-card--hero .pricing-card__price {
    font-size: 2.5rem;
  }
}

/* ============================================================
   RESPONSIVE: md (max-width: 767px) — mobile
   ============================================================ */
@media (max-width: 767px) {
  .banner p {
    font-size: 0.875rem;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__subtitle {
    font-size: 1.125rem;
  }

  .benefits__heading,
  .faq__heading,
  .testimonials__heading {
    font-size: 2.25rem;
  }

  .certificate__title {
    font-size: 1.875rem;
  }

  .map__title,
  .form__title {
    font-size: 1.5rem;
  }

  .form__price-new {
    font-size: 1.875rem;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .faq-card__q {
    font-size: 1.125rem;
  }

  .pricing-card__price {
    font-size: 1.875rem;
  }

  .pricing-card--hero .pricing-card__price {
    font-size: 2.25rem;
  }

  .pricing-card--hero .pricing-card__title {
    font-size: 1.25rem;
  }

  .pricing-card--hero .pricing-card__intro {
    font-size: 1.125rem;
  }

  .consent-banner {
    flex-direction: column;
    text-align: center;
  }

  .trust-bar {
    gap: 1rem;
    padding: 0.75rem 1rem;
  }

  .trust-bar__number {
    font-size: 1.25rem;
  }

  .trust-bar__label {
    font-size: 0.75rem;
  }
}

/* ============================================================
   RESPONSIVE: sm (max-width: 479px) — narrow mobile
   ============================================================ */
@media (max-width: 479px) {
  .benefits,
  .dark-section,
  .faq,
  .testimonials {
    padding: 3rem 0;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    margin-bottom: 1.25rem;
  }

  .benefits__heading,
  .faq__heading,
  .testimonials__heading {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .pricing-card__price {
    font-size: 1.75rem;
  }

  .pricing-card__old-price {
    font-size: 1rem;
  }

  .pricing-card--hero .pricing-card__price {
    font-size: 2rem;
  }

  .form__price-row {
    gap: 0.75rem;
  }

  .faq__subtitle {
    margin-bottom: 1.5rem;
  }

  .faq__list {
    margin-bottom: 2rem;
  }

  .testimonials__rating-value {
    font-size: 1.5rem;
  }

  .testimonials__summary {
    margin-bottom: 1.5rem;
  }
}

/* ============================================================
   V3 TEMPLATE — conversion-optimized CTAs
   ============================================================ */

/* --- Price sticker (non-clickable visual) --- */
.price-sticker {
  position: relative;
  display: inline-block;
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  padding: 1.25rem 2rem;
  background: white;
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.price-sticker__badge {
  position: absolute;
  top: -0.75rem;
  right: -0.75rem;
  background: var(--destructive);
  color: white;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  transform: rotate(10deg);
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.2);
}

.price-sticker__intro {
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.price-sticker__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.price-sticker__price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  white-space: nowrap;
  line-height: 1;
}

.price-sticker__old {
  text-align: left;
}

.price-sticker__old-price {
  display: block;
  text-decoration: line-through;
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.15;
}

.price-sticker__savings {
  display: block;
  color: var(--success);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.15;
}

.price-sticker__disclaimer {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-style: italic;
  margin-top: 0.25rem;
}

/* --- CTA button group in hero --- */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: stretch;
  max-width: 42rem;
  margin: 0 auto;
}

/* --- CTA button (base) --- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  min-height: 3.75rem;
  max-width: 100%;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: normal;
  overflow-wrap: break-word;
}

.cta-button__label {
  display: inline-block;
  line-height: 1.2;
}

.cta-button__arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* --- Primary CTA button --- */
.cta-button--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 20px -6px rgba(0, 170, 201, 0.45), 0 4px 10px -3px rgba(0, 170, 201, 0.3);
}

.cta-button--primary:hover,
.cta-button--primary:focus-visible {
  background: var(--primary-glow);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -8px rgba(0, 170, 201, 0.55), 0 6px 14px -4px rgba(0, 170, 201, 0.35);
  outline: none;
}

.cta-button--primary:hover .cta-button__arrow,
.cta-button--primary:focus-visible .cta-button__arrow {
  transform: translateX(4px);
}

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

/* --- Full-width variant (used in mid-page cta-block) --- */
.cta-button--full {
  width: 100%;
}

/* --- CTA block (mid-page + end-of-FAQ) --- */
.cta-block {
  margin: 2rem 0;
  padding: 1.5rem;
  background: white;
  border: 2px solid var(--primary-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-block--center {
  max-width: 40rem;
  margin: 2.5rem auto 0;
}

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

.cta-block__price-label {
  display: block;
  font-size: 0.9375rem;
  color: var(--foreground);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.cta-block__price-row {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-block__price-new {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  white-space: nowrap;
}

.cta-block__price-old {
  font-size: 1.0625rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
  white-space: nowrap;
}

.cta-block__price-badge {
  font-size: 0.8125rem;
  font-weight: 700;
  color: white;
  background: var(--destructive);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

/* --- Form reassurance line (shared consent partial) --- */
.form__reassurance {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.75rem;
  font-weight: 500;
}

/* --- Sticky mobile CTA bar (inside .bottom-stack) --- */
.sticky-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0));
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -8px rgba(0, 0, 0, 0.12);
}

@keyframes stack-rise {
  from { opacity: 0; transform: translateY(0.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.sticky-cta__price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  padding-left: 0.25rem;
}

.sticky-cta__price-new {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--primary);
  white-space: nowrap;
}

.sticky-cta__price-old {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
  white-space: nowrap;
}

.sticky-cta__btn {
  flex: 1;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.sticky-cta__btn:hover,
.sticky-cta__btn:focus-visible {
  background: var(--primary-glow);
  outline: none;
}

@media (max-width: 767px) {
  .sticky-cta--visible {
    display: flex;
    animation: stack-rise 0.25s ease;
  }
  .tpl-v3.has-sticky-cta {
    padding-bottom: 4.75rem;
  }
}

/* --- V3 page-level safety: prevent horizontal overflow (CTA / decor bleed) --- */
body.tpl-v3 {
  overflow-x: hidden;
}

.tpl-v3 .hero__title {
  font-size: 3rem;
}

.tpl-v3 .trust-bar--top {
  margin-bottom: 1.5rem;
  margin-top: 0;
}

@media (max-width: 767px) {
  .tpl-v3 .hero__title {
    font-size: 2rem;
  }
  .cta-button {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
    min-height: 3.25rem;
  }
  .cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .cta-button--full {
    width: 100%;
  }
  .price-sticker {
    padding: 1rem 1.25rem;
  }
  .price-sticker__price {
    font-size: 2rem;
  }
  .cta-block {
    padding: 1.25rem;
  }
  .cta-block__price-new {
    font-size: 1.75rem;
  }
}

@media (max-width: 479px) {
  .tpl-v3 .hero__title {
    font-size: 1.625rem;
  }
  .price-sticker__row {
    gap: 0.75rem;
  }
}

/* ============================================================
   D1 TEMPLATE — direct-response style (variants: d1, d2)
   ============================================================ */

/* --- Stacked CTA (two-line pill button) --- */
.cta-button--stacked {
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 2rem;
  min-height: 4.5rem;
  max-width: 36rem;
  width: 100%;
  text-align: center;
}

.cta-button--stacked .cta-button__top {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.25;
}

.cta-button--stacked .cta-button__bottom {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
  opacity: 0.95;
}

.cta-button--stacked s {
  opacity: 0.75;
}

/* --- Hero (d1) --- */
.tpl-d1 .hero--d1 {
  min-height: auto;
  padding: 3rem 0 3.5rem;
}

.tpl-d1 .hero--d1 .hero__bg-img {
  opacity: 0.6;
  object-position: left center;
}

.tpl-d1 .hero--d1__inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.tpl-d1 .hero--d1 .hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
  color: var(--foreground);
}

.tpl-d1 .hero--d1 .hero__subtitle {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

/* --- Benefits (d1) — image left / text right --- */
.tpl-d1 .benefits--d1 {
  padding: 3.5rem 0;
}

.tpl-d1 .benefits--d1__grid {
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.tpl-d1 .benefits--d1__heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.tpl-d1 .benefits--d1 .benefits__text p {
  font-size: 1rem;
  line-height: 1.65;
}

.tpl-d1 .benefits--d1 .benefits__text > .cta-button {
  margin-top: 1rem;
  align-self: center;
}

.tpl-d1 .benefits--d1 .benefits__image-card {
  padding: 0;
  background: transparent;
  box-shadow: var(--shadow-luxury);
}

/* --- Dark section (d1) --- */
.tpl-d1 .dark-section--d1 {
  background: linear-gradient(135deg, #4a5e6b 0%, #2d3e4a 100%);
  padding: 4rem 0;
}

.tpl-d1 .dark-section--d1__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.tpl-d1 .dark-section--d1__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.35;
}

.tpl-d1 .dark-section--d1 .dark-section__content {
  z-index: 10;
}

.tpl-d1 .dark-section--d1 .dark-section__grid {
  gap: 3rem;
  align-items: start;
}

.tpl-d1 .certificate--d1 {
  text-align: center;
  color: white;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

.tpl-d1 .certificate--d1__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.tpl-d1 .certificate--d1__text {
  font-size: 0.9375rem;
  color: #D1D5DB;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 1rem;
}

.tpl-d1 .certificate--d1 .certificate__logo {
  width: 7rem;
  height: 7rem;
}

.tpl-d1 .map--d1 {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  text-align: center;
}

.tpl-d1 .map--d1__title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.tpl-d1 .map--d1 .map__iframe-wrapper iframe {
  height: 280px;
}

.tpl-d1 .form-card--d1 {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  position: static;
}

.tpl-d1 .form--d1__title {
  font-size: 1.5rem;
  line-height: 1.3;
  text-align: left;
  margin-bottom: 1.25rem;
}

.tpl-d1 .form--d1__title s {
  color: var(--destructive);
  opacity: 0.9;
}

.tpl-d1 .form-card--d1 .form__input,
.tpl-d1 .form-card--d1 .form__textarea {
  background: rgba(255, 255, 255, 0.9);
  color: var(--foreground);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.tpl-d1 .form-card--d1 .form__input::placeholder,
.tpl-d1 .form-card--d1 .form__textarea::placeholder {
  color: var(--muted-foreground);
}

.tpl-d1 .form-card--d1 .form__submit {
  background: var(--primary);
  border-radius: 9999px;
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 1.0625rem;
}

.tpl-d1 .form-card--d1 .form__submit:hover {
  background: var(--primary-glow);
}

/* --- Concerns grid --- */
.tpl-d1 .concerns {
  padding: 4rem 0;
  background: var(--background);
}

.tpl-d1 .concerns__heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 3rem;
}

.tpl-d1 .concerns__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 64rem;
  margin: 0 auto 2.5rem;
}

.tpl-d1 .concerns__item {
  text-align: center;
  padding: 0 0.5rem;
}

.tpl-d1 .concerns__icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tpl-d1 .concerns__icon svg,
.tpl-d1 .concerns__icon img {
  width: 100%;
  height: 100%;
}

.tpl-d1 .concerns__title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.tpl-d1 .concerns__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--muted-foreground);
}

.tpl-d1 .concerns__cta {
  display: flex;
  justify-content: center;
}

.tpl-d1 .concerns__cta .cta-button {
  max-width: 36rem;
  width: 100%;
}

/* --- Reviews (d1) --- */
.tpl-d1 .reviews--d1 {
  position: relative;
  padding: 4rem 0 5rem;
  background: var(--background);
  overflow: hidden;
}

.tpl-d1 .reviews--d1__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.tpl-d1 .reviews--d1__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.tpl-d1 .reviews--d1__content {
  position: relative;
  z-index: 2;
}

.tpl-d1 .reviews--d1__heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.25;
}

.tpl-d1 .reviews__screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
  align-items: start;
}

.tpl-d1 .reviews__screenshots img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-luxury);
}

/* --- Branded footer --- */
.tpl-d1 .brand-footer {
  padding: 2.5rem 0 2rem;
  background: var(--surface-soft);
  text-align: center;
  border-top: 1px solid var(--border);
}

.tpl-d1 .brand-footer__logo {
  max-height: 3.5rem;
  width: auto;
  margin: 0 auto 1rem;
}

.tpl-d1 .brand-footer__text-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.tpl-d1 .brand-footer__copyright {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

/* --- D1 Responsive --- */
@media (max-width: 1023px) {
  .tpl-d1 .benefits--d1__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tpl-d1 .hero--d1 .hero__title {
    font-size: 2.125rem;
  }

  .tpl-d1 .benefits--d1__heading,
  .tpl-d1 .concerns__heading,
  .tpl-d1 .reviews--d1__heading {
    font-size: 1.75rem;
  }

  .tpl-d1 .dark-section--d1__bg img {
    opacity: 0.2;
  }
}

@media (max-width: 767px) {
  .tpl-d1 .hero--d1 {
    padding: 2rem 0 2.5rem;
  }

  .tpl-d1 .hero--d1 .hero__title {
    font-size: 1.625rem;
  }

  .tpl-d1 .hero--d1 .hero__subtitle {
    font-size: 1rem;
  }

  .cta-button--stacked {
    padding: 0.875rem 1.25rem;
    min-height: 4rem;
  }

  .cta-button--stacked .cta-button__top {
    font-size: 0.9375rem;
  }

  .cta-button--stacked .cta-button__bottom {
    font-size: 0.8125rem;
  }

  .tpl-d1 .concerns__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tpl-d1 .reviews__screenshots {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tpl-d1 .benefits--d1 .benefits__text > .cta-button {
    align-self: center;
  }

  .tpl-d1 .form--d1__title {
    font-size: 1.25rem;
  }
}

@media (max-width: 479px) {
  .tpl-d1 .concerns,
  .tpl-d1 .benefits--d1,
  .tpl-d1 .reviews--d1 {
    padding: 2.5rem 0;
  }

  .tpl-d1 .concerns__heading,
  .tpl-d1 .reviews--d1__heading,
  .tpl-d1 .benefits--d1__heading {
    font-size: 1.5rem;
  }

  .tpl-d1 .hero--d1 .hero__title {
    font-size: 1.5rem;
  }
}

.tpl-t1 .hero__content {
  max-width: 84rem;
  margin: auto;
  padding: 3.5rem 1.5rem 4.5rem;
}

.tpl-t1 .hero__title {
  font-size: 2.5rem;
}

.tpl-t1 .topic-hero__intro {
  max-width: 60rem;
  margin: 0 auto 3.5rem;
}

.tpl-t1 .topic-hero__intro .hero__subtitle {
  margin-bottom: 0;
}

.tpl-t1 .topic-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
  text-align: left;
}

.tpl-t1 .topic-hero__image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 28px 60px -16px rgba(15, 23, 42, 0.38), 0 10px 24px -10px rgba(0, 170, 201, 0.25);
}

.tpl-t1 .topic-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tpl-t1 .topic-hero__heading {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
}

.tpl-t1 .topic-hero__copy p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--foreground);
}

.tpl-t1 .topic-hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  margin-top: 0.5rem;
}

.tpl-t1 .topic-hero__copy .cta-button--stacked {
  width: auto;
}

.tpl-d1 .hero--d1 .cta-disclaimer,
.tpl-t1 .topic-hero__cta .cta-disclaimer {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  font-style: italic;
  line-height: 1.4;
  text-align: center;
}

.tpl-d1 .hero--d1 .cta-disclaimer {
  margin-top: -0.5rem;
}

@media (max-width: 1023px) {
  .tpl-t1 .topic-hero__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .tpl-t1 .topic-hero__image {
    max-width: 36rem;
    margin: 0 auto;
    width: 100%;
  }

  .tpl-t1 .topic-hero__copy {
    max-width: 40rem;
    margin: 0 auto;
    align-items: center;
  }

  .tpl-t1 .topic-hero__cta {
    align-self: center;
  }
}

@media (max-width: 767px) {
  .tpl-t1 .hero__content {
    padding: 2.5rem 1.5rem 3rem;
  }

  .tpl-t1 .hero__title {
    font-size: 2rem;
  }

  .tpl-t1 .topic-hero__intro {
    margin-bottom: 2rem;
  }

  .tpl-t1 .topic-hero__heading {
    font-size: 1.5rem;
  }

  .tpl-t1 .topic-hero__copy p {
    font-size: 1rem;
  }

  .tpl-t1 .topic-hero__cta {
    align-self: stretch;
  }

  .tpl-t1 .topic-hero__copy .cta-button--stacked {
    width: 100%;
  }
}

@media (max-width: 479px) {
  .tpl-t1 .hero__title {
    font-size: 1.625rem;
  }
}
