:root {
  --primary-color: #3D4F63;
  --secondary-color: #2A3847;
  --accent-color: #E8894A;
  --light-color: #EEF1F5;
  --dark-color: #1A202C;
  --gradient-primary: linear-gradient(135deg, #E8894A 0%, #C96A28 100%);
  --hover-color: #2A3847;
  --background-color: #F7F9FC;
  --text-color: #1E2A35;
  --border-color: rgba(61, 79, 99, 0.18);
  --divider-color: rgba(26, 32, 44, 0.14);
  --shadow-color: rgba(61, 79, 99, 0.11);
  --highlight-color: #F0DB4F;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Lato', sans-serif;
}

/* Base */
* { 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;
}

/* Typography */
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.05rem, 3vw, 1.4rem); line-height: 1.4; }
p { margin: 0 0 1rem 0; font-size: clamp(1rem, 2vw, 1.08rem); line-height: 1.75; }

/* Hamburger */
.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(--accent-color); border-bottom-color: var(--accent-color); }

/* Header */
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 */
.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(--accent-color); }

/* Grid */
.grid { display: grid; width: 100%; }

/* Feature Cards — 2-column grid, icon centered top, horizontal divider, no number */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
}
.feature-card {
  background: #fff;
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 4px 22px var(--shadow-color);
  transition: all 0.35s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(61, 79, 99, 0.2);
  border-color: var(--accent-color);
}
.feature-card-top {
  background: linear-gradient(135deg, #F7F9FC 0%, var(--light-color) 100%);
  padding: 2rem 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.feature-icon {
  font-size: 2.6rem;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  border: 2px solid var(--border-color);
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: all 0.35s ease;
}
.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(232, 137, 74, 0.35);
}
.feature-divider {
  height: 1px;
  background: var(--border-color);
  width: 100%;
}
.feature-card-bottom {
  padding: 1.4rem 1.8rem 1.8rem;
  flex: 1;
}

/* Testimonials — 2-col masonry-like */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  width: 100%;
}
.testimonial {
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 1.8rem 1.6rem;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
  border: 1px solid var(--border-color);
  position: relative;
}
.testimonial::after {
  content: '\201D';
  position: absolute;
  bottom: 0.6rem;
  right: 1.2rem;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent-color);
  opacity: 0.25;
  font-family: var(--main-font);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(61, 79, 99, 0.18);
  border-color: var(--accent-color);
}

/* FAQ */
.faq-item {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 1.8rem 2rem;
  width: 100%;
  border-left: 5px solid var(--accent-color);
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 22px rgba(61, 79, 99, 0.18);
  border-left-color: var(--primary-color);
}

/* Form */
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(--accent-color);
  box-shadow: 0 0 0 3px rgba(232, 137, 74, 0.14); background: white;
}

/* Buttons */
.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(232, 137, 74, 0.35);
}
.btn:hover, button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 137, 74, 0.48);
}

/* Pattern — subtle dot grid */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 12% 28%, rgba(61, 79, 99, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 88% 68%, rgba(232, 137, 74, 0.07) 0%, transparent 52%),
    radial-gradient(circle, rgba(61, 79, 99, 0.06) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px;
}

/* Ring progress visual */
.ring-wrap {
  width: 100px;
  height: 100px;
  position: relative;
  margin: 0 auto 1rem;
}
.ring-wrap svg {
  transform: rotate(-90deg);
  width: 100%; height: 100%;
}
.ring-track { fill: none; stroke: rgba(255,255,255,0.15); stroke-width: 8; }
.ring-fill  { fill: none; stroke: var(--highlight-color); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 0.6s ease; }
.ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--highlight-color);
  font-family: var(--main-font);
}

/* Contact width */
#contact .container > .grid { max-width: 80%; margin: 0 auto; }

/* Responsive */
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .features-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .grid { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .feature-card-top { padding: 1.6rem 1.4rem 1.2rem; }
  .feature-card-bottom { padding: 1.2rem 1.4rem 1.6rem; }
  .faq-item, .testimonial { padding: 1.5rem 1.2rem; }
  #contact .container > .grid { max-width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
  .feature-icon { width: 68px; height: 68px; font-size: 2.2rem; }
}

/* Focus */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--accent-color); outline-offset: 2px;
}