:root {
  --primary-color: #9C1C66;
  --secondary-color: #6E1247;
  --accent-color: #C0607A;
  --light-color: #FAF0F4;
  --dark-color: #2D0A1C;
  --gradient-primary: linear-gradient(135deg, #9C1C66 0%, #C0607A 100%);
  --hover-color: #7A1450;
  --background-color: #FDF6F9;
  --text-color: #2E1A22;
  --border-color: rgba(156, 28, 102, 0.18);
  --divider-color: rgba(110, 18, 71, 0.13);
  --shadow-color: rgba(156, 28, 102, 0.10);
  --highlight-color: #F7DC6F;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.65;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 320px;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 1rem 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  line-height: 1.3;
}

h3 {
  font-size: clamp(1.1rem, 3vw, 1.35rem);
  line-height: 1.4;
}

p {
  margin: 0 0 1rem 0;
  font-size: clamp(0.97rem, 2vw, 1.08rem);
}

/* ── Header ── */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.hamburger .line {
  width: 22px;
  height: 2px;
  background: var(--primary-color);
  margin: 2px 0;
  transition: 0.3s;
  border-radius: 1px;
}

#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: rgba(255, 255, 255, 0.98);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
  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: 0.8rem 0;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.mobile-nav a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

header {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-color);
  padding: 1.4rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 18px var(--shadow-color);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 3rem;
  width: auto;
}

.navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.navigation a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.navigation a:hover {
  color: var(--primary-color);
}

/* ── Layout ── */
.grid {
  display: grid;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(270px, 1fr));
  gap: 1.6rem;
  width: 100%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  width: 100%;
}

/* ── Feature cards — numbered with left border accent ── */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.8rem 1.6rem 1.8rem 4.2rem;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: attr(data-num);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.2rem;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--main-font);
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  writing-mode: horizontal-tb;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 26px var(--shadow-color);
  border-color: var(--accent-color);
}

/* icon hidden in this style — number replaces it */
.feature-icon {
  display: none;
}

.testimonial {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.8rem;
  left: 1.2rem;
  font-size: 3.5rem;
  font-family: var(--main-font);
  color: var(--border-color);
  line-height: 1;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 22px var(--shadow-color);
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 1.6rem 1.8rem;
  width: 100%;
}

.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 18px var(--shadow-color);
}

input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(156, 28, 102, 0.10);
  background: white;
}

.btn,
button {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2rem;
  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 4px 18px rgba(156, 28, 102, 0.28);
}

.btn:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 28px rgba(156, 28, 102, 0.38);
}

/* ── Random block: before/after comparison ── */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.compare-col {
  border-radius: 12px;
  overflow: hidden;
}

.compare-header {
  padding: 1rem 1.4rem;
  font-family: var(--main-font);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
}

.compare-header.bad {
  background: rgba(0,0,0,0.35);
  color: #ffd0d0;
}

.compare-header.good {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 1.2rem 1.4rem;
}

.compare-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  font-size: 0.97rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255,255,255,0.9);
}

.compare-list li:last-child {
  border-bottom: none;
}

.compare-list li .icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 0.05rem;
}

.compare-col.bad-col {
  background: rgba(0,0,0,0.22);
}

.compare-col.good-col {
  background: rgba(255,255,255,0.15);
}

/* ── Pattern ── */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 15% 25%, rgba(156, 28, 102, 0.07) 3px, transparent 3px),
    radial-gradient(ellipse at 80% 15%, rgba(192, 96, 122, 0.06) 2px, transparent 2px),
    radial-gradient(ellipse at 45% 75%, rgba(110, 18, 71, 0.05) 4px, transparent 4px),
    radial-gradient(ellipse at 90% 65%, rgba(156, 28, 102, 0.04) 3px, transparent 3px);
  background-size: 55px 55px, 42px 42px, 70px 70px, 85px 85px;
}

/* ── Footer ── */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navigation {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 1.6rem 1.2rem 1.6rem 4rem;
  }

  .testimonial,
  .faq-item {
    padding: 1.6rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .feature-card {
    padding: 1.4rem 0.9rem 1.4rem 3.6rem;
  }

  .testimonial,
  .faq-item {
    padding: 1.3rem 0.9rem;
  }
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

#contact > div > div {
  width: 80%;
}

@media (max-width: 768px) {
  #contact > div > div {
    width: 100%;
  }
}