:root {
  --primary-color: #C0392B;
  --secondary-color: #922B21;
  --accent-color: #F7DC6F;
  --light-color: #FFF5F5;
  --dark-color: #1A0A08;
  --gradient-primary: linear-gradient(135deg, #C0392B 0%, #922B21 100%);
  --hover-color: #7B241C;
  --background-color: #FFFAFA;
  --text-color: #2C1810;
  --border-color: rgba(192, 57, 43, 0.18);
  --divider-color: rgba(146, 43, 33, 0.12);
  --shadow-color: rgba(192, 57, 43, 0.12);
  --highlight-color: #F7DC6F;
  --main-font: 'Merriweather', serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.13);
  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.1rem 1.6rem;
  color: var(--light-color); text-decoration: none;
  border-radius: 10px; transition: all 0.3s ease;
  font-size: 1.05rem; font-weight: 500; border: 2px solid transparent;
}
.mobile-nav a:hover {
  background-color: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.25);
  transform: translateX(5px);
}

/* Feature Cards — diamond icon, clipped corner design */
.feature-card {
  transition: all 0.35s ease;
  background: white;
  border-radius: 0 18px 18px 18px;
  padding: 2rem 1.8rem 1.8rem 1.8rem;
  box-shadow: 0 4px 18px var(--shadow-color);
  border: 1px solid var(--border-color);
  text-align: center;
  overflow: hidden;
  position: relative;
  clip-path: polygon(28px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 28px);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 36px 36px 0 0;
  border-color: var(--primary-color) transparent transparent transparent;
}
.feature-card:nth-child(2)::before { border-color: #D4564A transparent transparent transparent; }
.feature-card:nth-child(3)::before { border-color: #922B21 transparent transparent transparent; }
.feature-card:nth-child(4)::before { border-color: #E05747 transparent transparent transparent; }
.feature-card:nth-child(5)::before { border-color: #7B241C transparent transparent transparent; }
.feature-card:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 16px 36px rgba(192,57,43,0.22);
  border-color: var(--primary-color);
}
.feature-icon {
  font-size: 2.4rem;
  width: 70px; height: 70px;
  display: flex; justify-content: center; align-items: center;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, #FFF5F5 0%, #FDDCDA 100%);
  border-radius: 18px;
  transform: rotate(45deg);
  border: 2px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}
.feature-icon-inner {
  transform: rotate(-45deg);
  display: flex; align-items: center; justify-content: center;
}
.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  border-color: var(--highlight-color);
  box-shadow: 0 6px 20px rgba(192,57,43,0.38);
  transform: rotate(45deg) scale(1.12);
}

/* Testimonials */
.testimonial {
  transition: all 0.3s ease;
  background: white;
  padding: 2.2rem;
  border-radius: 16px;
  box-shadow: 0 4px 14px var(--shadow-color);
  border: 1px solid var(--border-color);
  position: relative;
}
.testimonial::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 0 0 16px 16px;
}
.testimonial:nth-child(2)::after { background: linear-gradient(90deg, #F7DC6F, #E0B800); }
.testimonial:nth-child(3)::after { background: linear-gradient(90deg, #922B21, #C0392B); }
.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(192,57,43,0.20);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 14px;
  padding: 1.8rem 2rem 1.8rem 2rem;
  margin: 1.2rem 0;
  box-shadow: 0 2px 12px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.faq-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0;
  background: linear-gradient(to bottom, #FFF5F5, #FDDCDA);
  transition: width 0.4s ease;
  z-index: 0;
}
.faq-item:hover::before { width: 100%; }
.faq-item > * { position: relative; z-index: 1; }
.faq-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(192,57,43,0.18);
}

/* Form */
input, textarea {
  transition: all 0.3s ease; font-family: var(--alt-font);
  border: 1px solid var(--border-color); border-radius: 10px;
  padding: 1.1rem; 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 3px rgba(192,57,43,0.10); transform: scale(1.01);
}
input:hover, textarea:hover { border-color: var(--secondary-color); }

/* Buttons */
button, .btn {
  transition: all 0.3s ease; position: relative; overflow: hidden;
  background: var(--gradient-primary); color: white; border: none;
  padding: 1.2rem 2.8rem; border-radius: 8px; font-weight: 700;
  font-family: var(--alt-font); cursor: pointer; font-size: 0.95rem;
  text-decoration: none; display: inline-block; text-align: center;
  box-shadow: 0 6px 18px rgba(192,57,43,0.35);
  letter-spacing: 0.5px;
}
button::after, .btn::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}
button:hover::after, .btn:hover::after { width: 300px; height: 300px; }
button:hover, .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(192,57,43,0.42);
}

html { scroll-behavior: smooth; }
.hero { position: relative; }
h1, h2, h3 { font-family: var(--main-font); font-weight: 700; line-height: 1.3; }
body { font-family: var(--alt-font); color: var(--text-color); background-color: var(--background-color); line-height: 1.7; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2rem; }
  .container { padding: 0 1.5rem; }
  .feature-card { clip-path: none; border-radius: 16px; }
  .feature-card::before { display: none; }
  .feature-icon { transform: none; width: 58px; height: 58px; font-size: 2rem; }
  .feature-card:hover .feature-icon { transform: scale(1.1); }
  .testimonial, .faq-item { padding: 1.5rem; }
  #contact .grid { max-width: 100% !important; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
}
@media (min-width: 768px) {
  #contact .grid { max-width: 80% !important; }
}

header {
  background: var(--primary-color); color: var(--light-color);
  padding: 1.4rem 0; position: relative; z-index: 1000;
  box-shadow: 0 3px 14px rgba(192,57,43,0.35);
}
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); }

a:focus, button:focus, input:focus, textarea:focus {
  outline: 3px solid var(--highlight-color); outline-offset: 2px;
}
.active-link { position: relative; font-weight: 600; }
.active-link::after {
  content: '';
  position: absolute; bottom: -5px; left: 0; right: 0;
  height: 3px; background: var(--highlight-color); border-radius: 2px;
}

/* Warm rose subtle pattern */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 10% 20%, rgba(192,57,43,0.05) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 75%, rgba(247,220,111,0.07) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(146,43,33,0.03) 0%, transparent 50%);
  background-size: 750px 750px, 850px 850px, 700px 700px;
}

.info-banner {
  background: linear-gradient(135deg, #FFF5F5 0%, #FDDCDA 100%);
  color: var(--text-color); text-align: center;
  border-top: 4px solid var(--primary-color);
  border-bottom: 4px solid var(--primary-color);
}
.info-banner h2 { color: var(--primary-color); margin-bottom: 1.5rem; }
.info-banner p { color: var(--text-color); font-size: 1.1rem; max-width: 800px; margin: 0 auto; line-height: 1.8; }

/* Comparison table random block */
.compare-col {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-color);
}
.compare-header {
  padding: 1.5rem 2rem;
  text-align: center;
}
.compare-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1rem 1.8rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: 0.93rem;
}
.compare-row:last-child { border-bottom: none; }

/* About: joint type cards */
.joint-card {
  background: white;
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.joint-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(192,57,43,0.18);
  border-color: var(--primary-color);
}
.joint-icon {
  flex-shrink: 0;
  font-size: 2.2rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #FFF5F5, #FDDCDA);
  border-radius: 12px;
  border: 2px solid var(--border-color);
}

/* Benefits: Q&A style */
.qa-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 2px solid var(--border-color);
}
.qa-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.qa-question {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--main-font);
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}
.qa-answer {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}