:root {
  --primary-color: #7A2D5E;
  --secondary-color: #521A3E;
  --accent-color: #B5698A;
  --light-color: #F9EEF4;
  --dark-color: #220D1A;
  --gradient-primary: linear-gradient(135deg, #B5698A 0%, #7A2D5E 100%);
  --hover-color: #521A3E;
  --background-color: #FDF7FA;
  --text-color: #2A1020;
  --border-color: rgba(122, 45, 94, 0.18);
  --divider-color: rgba(34, 13, 26, 0.14);
  --shadow-color: rgba(122, 45, 94, 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.7;
  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(1.9rem, 5vw, 3.5rem); line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 4vw, 2.4rem); line-height: 1.3; }
h3 { font-size: clamp(1.1rem, 3vw, 1.45rem); line-height: 1.4; }
p { margin: 0 0 1rem 0; font-size: clamp(1rem, 2vw, 1.1rem); line-height: 1.75; }

.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);
  backdrop-filter: blur(5px);
}
.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;
  backdrop-filter: blur(10px);
  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.97);
  color: var(--text-color); padding: 1.2rem 0;
  position: relative; z-index: 1000;
  box-shadow: 0 2px 18px var(--shadow-color);
  backdrop-filter: blur(10px);
}
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: 600; transition: all 0.3s ease; }
.navigation a:hover { color: var(--primary-color); }

.grid { display: grid; width: 100%; }

/* Feature cards — pill/tag style, 3-col auto, icon left inside pill header */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem; width: 100%;
}
.feature-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 22px var(--shadow-color);
  transition: all 0.35s ease;
  width: 100%;
  border: 1px solid var(--border-color);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(122, 45, 94, 0.2);
}
.feature-card-header {
  background: var(--gradient-primary);
  padding: 1.4rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feature-icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.3);
}
.feature-card-header h3 {
  color: white !important;
  margin: 0;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
}
.feature-card-body {
  padding: 1.6rem 1.8rem;
}
.feature-card-body p { color: var(--text-color); margin: 0; }

/* Testimonials — staggered quote blocks */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; width: 100%;
}
.testimonial {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 18px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
  border-bottom: 4px solid var(--primary-color);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(122,45,94,0.18); }

.faq-item {
  background: white;
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: 0 2px 12px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 1.8rem 2rem;
  width: 100%;
  position: relative;
  padding-left: 3rem;
}
.faq-item::before {
  content: '?';
  position: absolute;
  left: 1rem; top: 1.6rem;
  font-family: var(--main-font);
  font-size: 1.3rem; font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(122,45,94,0.18);
  border-left: 3px solid var(--primary-color);
  padding-left: calc(3rem - 3px);
}

input, textarea {
  transition: all 0.3s ease; font-family: var(--alt-font);
  border: 2px solid var(--border-color); border-radius: 8px;
  padding: 1rem 1.2rem; background: rgba(255,255,255,0.92);
  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(122,45,94,0.11); background: white;
}

.btn, button[type="submit"] {
  transition: all 0.3s ease;
  background: var(--gradient-primary); color: white;
  border: none; padding: 1rem 2rem; border-radius: 8px;
  font-weight: 700; font-family: var(--alt-font);
  cursor: pointer; font-size: 1rem;
  text-decoration: none; display: inline-block;
  text-align: center; box-shadow: 0 3px 14px rgba(122,45,94,0.28);
}
.btn:hover, button[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(122,45,94,0.38); }

footer { background: var(--dark-color); color: var(--light-color); padding: 3rem 0 1rem; }
footer img[alt="logo"] { filter: brightness(0) invert(1); }

/* Pattern — fine dot grid */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 30% 10%, rgba(122, 45, 94, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 90%, rgba(181, 105, 138, 0.06) 0%, transparent 50%),
    radial-gradient(circle, rgba(122,45,94,0.06) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px;
}

#contact .container > .grid { max-width: 80%; margin: 0 auto; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .feature-card-header { padding: 1.2rem 1.4rem; }
  .feature-card-body { padding: 1.4rem; }
  .feature-icon { width: 48px; height: 48px; font-size: 1.7rem; }
  .testimonial, .faq-item { padding: 1.6rem 1.4rem; }
  .faq-item { padding-left: 2.6rem; }
  .faq-item::before { left: 0.8rem; }
  #contact .container > .grid { max-width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .feature-card-body { padding: 1.2rem; }
  .testimonial, .faq-item { padding: 1.4rem 1.2rem; }
  .faq-item { padding-left: 2.4rem; }
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--accent-color); outline-offset: 2px;
}