:root {
  --primary-color: #5D6D7E;
  --secondary-color: #3D4E5C;
  --accent-color: #F0A55A;
  --light-color: #F4F6F8;
  --dark-color: #1C2630;
  --gradient-primary: linear-gradient(135deg, #5D6D7E 0%, #3D4E5C 100%);
  --hover-color: #2E3C48;
  --background-color: #F7F9FA;
  --text-color: #263040;
  --border-color: rgba(93, 109, 126, 0.20);
  --divider-color: rgba(61, 78, 92, 0.14);
  --shadow-color: rgba(61, 78, 92, 0.12);
  --highlight-color: #F0A55A;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Inter', 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.7rem);
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  line-height: 1.25;
}

h3 {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.4;
}

p {
  margin: 0 0 1rem 0;
  font-size: clamp(0.97rem, 2vw, 1.07rem);
}

/* ── 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(--accent-color);
}

/* ── Layout ── */
.grid {
  display: grid;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 2rem;
  width: 100%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  width: 100%;
}

/* ── Feature cards: diagonal accent corner + icon top-center ── */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.2rem 1.8rem 1.8rem;
  box-shadow: 0 3px 16px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 52px 52px 0;
  border-color: transparent var(--accent-color) transparent transparent;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-color);
  border-color: var(--accent-color);
}

.feature-card:hover::after {
  border-color: transparent var(--primary-color) transparent transparent;
}

.feature-icon {
  font-size: 2.6rem;
  margin: 0 auto 1.3rem auto;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #F4F6F8 0%, #e8edf2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  border-color: var(--secondary-color);
  transform: scale(1.08) rotate(-5deg);
}

/* ── Testimonials ── */
.testimonial {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.8rem 2rem;
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: all 0.3s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 24px var(--shadow-color);
  border-color: var(--accent-color);
}

.testimonial-stars {
  color: var(--accent-color);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

/* ── FAQ ── */
.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(--accent-color);
  box-shadow: 0 5px 20px var(--shadow-color);
}

.faq-q {
  font-weight: 700;
  font-family: var(--main-font);
  color: var(--secondary-color);
  margin-bottom: 0.7rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}

.faq-q::before {
  content: 'P:';
  color: var(--accent-color);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── Inputs / buttons ── */
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(--accent-color);
  box-shadow: 0 0 0 3px rgba(240, 165, 90, 0.15);
  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: 700;
  font-family: var(--main-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 18px rgba(61, 78, 92, 0.28);
}

.btn:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(61, 78, 92, 0.38);
}

/* ── Random block: checklist cards ── */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.checklist-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  transition: all 0.3s ease;
}

.checklist-card:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-3px);
}

.checklist-card .card-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}

.checklist-card h4 {
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.6rem 0;
}

.checklist-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  margin: 0;
  line-height: 1.5;
}

.checklist-card .badge {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background: rgba(240,165,90,0.28);
  color: #F0A55A;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--main-font);
  letter-spacing: 0.5px;
}

/* ── Pattern ── */
.pattern-bg {
  background-image:
    radial-gradient(circle at 25% 35%, rgba(93, 109, 126, 0.07) 2px, transparent 2px),
    radial-gradient(circle at 75% 20%, rgba(240, 165, 90, 0.05) 3px, transparent 3px),
    radial-gradient(circle at 50% 70%, rgba(61, 78, 92, 0.06) 2.5px, transparent 2.5px),
    radial-gradient(circle at 88% 75%, rgba(93, 109, 126, 0.04) 4px, transparent 4px);
  background-size: 58px 58px, 44px 44px, 72px 72px, 88px 88px;
}

/* ── 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;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .testimonial,
  .faq-item {
    padding: 1.6rem 1.2rem;
  }

  .feature-icon {
    width: 64px;
    height: 64px;
    font-size: 2.1rem;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }

  .feature-card,
  .testimonial,
  .faq-item {
    padding: 1.3rem 0.9rem;
  }

  .feature-icon {
    width: 58px;
    height: 58px;
    font-size: 1.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%;
  }
}