:root {
  --primary-color: #8B2252;
  --primary-rgb: 139, 34, 82;
  --secondary-color: #5C1530;
  --accent-color: #F2D4C9;
  --light-color: #FDF5F3;
  --dark-color: #3A0F1E;
  --gradient-primary: linear-gradient(135deg, #A63268 0%, #8B2252 100%);
  --gradient-accent: linear-gradient(45deg, #F2D4C9, #F79C92);
  --hover-color: #741D46;
  --background-color: #FEFAF9;
  --text-color: #3D2428;
  --text-color-secondary: #6B4450;
  --border-color: rgba(139, 34, 82, 0.16);
  --divider-color: rgba(92, 21, 48, 0.1);
  --shadow-color: rgba(92, 21, 48, 0.1);
  --highlight-color: #2ECC71;
  --main-font: 'Lora', serif;
  --alt-font: 'Inter', sans-serif;
}

/* ━━━ Mobile Menu ━━━ */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.hamburger .line {
  width: 28px;
  height: 3px;
  background-color: var(--light-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked ~ .mobile-nav {
  max-height: 400px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--secondary-color);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 1rem 0;
}

.mobile-nav a {
  display: block;
  padding: 1.2rem 1.8rem;
  color: var(--light-color);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  border: 2px solid transparent;
}

.mobile-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

/* ━━━ FEATURE CARDS — Style B Magnetic Hover ━━━ */
.feature-card {
  transition: all 0.35s ease;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: visible;
  background: white;
  border-radius: 22px;
  padding: 2.6rem 1.8rem 2rem;
  box-shadow: 0 3px 14px var(--shadow-color);
  text-align: center;
  z-index: 1;
}

/* magnetic glow layer */
.feature-card::after {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--gradient-primary);
  border-radius: 24px;
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.4s ease;
}

.feature-card:hover::after {
  opacity: 0.45;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 34px rgba(139, 34, 82, 0.22);
  border-color: var(--accent-color);
}

/* feature-icon centered */
.feature-icon {
  font-size: 1.7rem;
  margin: 0 auto 1.4rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #FBF0EE 0%, #F5DDD8 100%);
  border-radius: 50%;
  color: var(--primary-color);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  z-index: 2;
}

.feature-card:hover .feature-icon {
  transform: scale(1.18) rotate(360deg);
  background: linear-gradient(135deg, #F5DDD8 0%, #EECCCC 100%);
}

/* ━━━ Testimonials — Style C Horizontal Slider ━━━ */
.testimonials-slider {
  overflow-x: auto;
  padding: 1.5rem 0 2.5rem;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) transparent;
}

.testimonials-slider::-webkit-scrollbar {
  height: 6px;
}

.testimonials-slider::-webkit-scrollbar-track {
  background: rgba(139, 34, 82, 0.06);
  border-radius: 3px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 3px;
}

.testimonials-slider .testimonial-row {
  display: flex;
  gap: 1.8rem;
}

.testimonial {
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  position: relative;
  background: white;
  padding: 2.4rem 2rem;
  border-radius: 18px;
  box-shadow: 0 2px 12px var(--shadow-color);
  flex-shrink: 0;
  width: 340px;
  scroll-snap-align: start;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(139, 34, 82, 0.18);
}

.testimonial .quote-mark {
  position: absolute;
  top: 10px;
  right: 22px;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: var(--main-font), serif;
}

/* ━━━ FAQ — Variant A Accordion with Q circle ━━━ */
.faq-item {
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 10px var(--shadow-color);
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: 0 6px 22px rgba(139, 34, 82, 0.18);
  border-color: var(--accent-color);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.6rem 1.8rem;
}

.faq-icon-circle {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--main-font), serif;
  box-shadow: 0 3px 8px rgba(139, 34, 82, 0.3);
}

.faq-answer {
  padding: 0 1.8rem 1.6rem 3.8rem;
}

/* top border animation on hover */
.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.faq-item:hover::before {
  transform: scaleX(1);
}

/* ━━━ Form ━━━ */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 1.2rem;
  background-color: white;
  color: var(--text-color);
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(139, 34, 82, 0.1);
  transform: translateY(-2px);
}

input:hover,
textarea:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 2px 8px var(--shadow-color);
}

/* ━━━ Buttons — Style A Gradient Shine ━━━ */
button,
.btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 3px 12px rgba(139, 34, 82, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* shine sweep layer */
button::before,
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

button:hover::before,
.btn:hover::before {
  transform: translateX(100%);
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 34, 82, 0.4);
  background: linear-gradient(135deg, #741D46 0%, #5C1530 100%);
}

html {
  scroll-behavior: smooth;
}

/* ━━━ Typography ━━━ */
h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 600;
  line-height: 1.3;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

/* ━━━ Header / Footer ━━━ */
header {
  background: var(--secondary-color);
  color: var(--light-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(92, 21, 48, 0.25);
}

footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 2rem 0 1rem;
}

header img[alt="logo"],
footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

/* ━━━ Focus ━━━ */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--highlight-color);
  outline-offset: 2px;
}

/* ━━━ PATTERN: radial dots grid ━━━ */
.pattern-bg {
  background-image: radial-gradient(circle, rgba(139, 34, 82, 0.1) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
}

/* ━━━ Hero — Style A Diagonal Split ━━━ */
.hero-diagonal {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* left gradient panel via clip-path */
.hero-diagonal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gradient-primary);
  clip-path: polygon(0 0, 56% 0, 44% 100%, 0 100%);
  z-index: 1;
}

/* full bg image */
.hero-diagonal .hero-bg-img {
  position: absolute;
  inset: 0;
  background: url('./img/bg.jpg') center / cover no-repeat;
  z-index: 0;
}

.hero-diagonal .hero-bg-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(58, 15, 30, 0.5) 0%, transparent 55%);
}

/* text content left */
.hero-diagonal .hero-content {
  position: relative;
  z-index: 3;
  padding: 0 3rem;
  max-width: 520px;
  margin-left: 5vw;
}

/* image right — decorative rotated frame */
.hero-diagonal .hero-img-frame {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%) rotate(3deg);
  width: 370px;
  height: 420px;
  z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(58, 15, 30, 0.35);
}

.hero-diagonal .hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* floating deco badge */
.hero-diagonal .hero-badge {
  position: absolute;
  right: calc(6vw + 300px);
  top: calc(50% - 240px);
  z-index: 4;
  background: white;
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 8px 28px rgba(58, 15, 30, 0.2);
  text-align: center;
  animation: float-badge 4s ease-in-out infinite;
}

.hero-badge .badge-number {
  font-family: var(--main-font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.hero-badge .badge-label {
  font-size: 0.78rem;
  color: var(--text-color-secondary);
  margin-top: 0.3rem;
  max-width: 110px;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ━━━ Split Info Cards (Random Block) ━━━ */
.split-cards-wrap {
  display: flex;
  gap: 0;
  justify-content: center;
  align-items: stretch;
}

.split-card {
  flex: 1;
  max-width: 420px;
  border-radius: 0;
  padding: 2.8rem 2.2rem;
}

.split-card-left {
  background: linear-gradient(135deg, #5C1530 0%, #3A0F1E 100%);
  border-radius: 24px 0 0 24px;
}

.split-card-right {
  background: linear-gradient(135deg, #8B2252 0%, #A63268 100%);
  border-radius: 0 24px 24px 0;
}

.split-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #5C1530 0%, #8B2252 100%);
  padding: 0 1rem;
  position: relative;
  z-index: 2;
}

.split-divider .arrow-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(58, 15, 30, 0.3);
  font-weight: 700;
}

.split-card h3 {
  color: #FFFFFF;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  text-align: center;
}

.split-card .split-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.split-card .split-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}

.split-card .split-list .icon-mark {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 1px;
}

.split-card-left .icon-mark {
  background: rgba(255,255,255,0.15);
  color: #F79C92;
}

.split-card-right .icon-mark {
  background: rgba(255,255,255,0.2);
  color: #FFFFFF;
}

/* ━━━ Contact width ━━━ */
#contact > div {
  width: 100%;
}

@media (min-width: 768px) {
  #contact > div {
    width: 80%;
    margin: 0 auto;
  }
}

/* ━━━ Responsive ━━━ */
@media (max-width: 900px) {
  .hero-diagonal .hero-img-frame {
    display: none;
  }

  .hero-diagonal .hero-badge {
    display: none;
  }

  .hero-diagonal::before {
    clip-path: none;
  }

  .hero-diagonal .hero-bg-img::after {
    background: linear-gradient(to top, rgba(58, 15, 30, 0.75) 0%, rgba(58, 15, 30, 0.55) 100%);
  }

  .hero-diagonal .hero-content {
    margin-left: 0;
    max-width: 100%;
    text-align: center;
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navigation {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .split-cards-wrap {
    flex-direction: column;
    align-items: center;
  }

  .split-card {
    max-width: 100%;
    width: 100%;
  }

  .split-card-left {
    border-radius: 20px 20px 0 0;
  }

  .split-card-right {
    border-radius: 0 0 20px 20px;
  }

  .split-divider {
    padding: 0.8rem 0;
  }

  .testimonials-slider .testimonial-row {
    flex-direction: row;
  }

  .testimonial {
    width: 300px;
  }

  .feature-card,
  .testimonial {
    padding: 1.8rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .faq-answer {
    padding-left: 1.8rem;
  }
}

@media (max-width: 480px) {
  .testimonial {
    width: 260px;
  }

  .feature-card {
    padding: 1.5rem;
  }

  #contact > div {
    width: 100%;
  }
}