/* palette: crimson-gold */
:root {
  --primary-color: #B22B5B;
  --secondary-color: #1D2A3C;
  --accent-color: #D4AC0D;
  --background-color: #FDF8EC;
  --dark-color: #111111;
  --text-color: #333333;
  --text-light-color: #F5F5F5;
  --border-color: rgba(0,0,0,0.1);
  --gradient-primary: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
  --gradient-soft: linear-gradient(145deg, var(--background-color) 0%, #FAF5E8 100%);
  
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Lato', sans-serif;

  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-btn: 0px;
  
  --shadow-card: 0 24px 64px rgba(0,0,0,0.22);
  --shadow-hover: 0 32px 72px rgba(0,0,0,0.28);
}

/* Base Styles & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--dark-color);
}

h1 { font-size: clamp(2.25rem, 6vw, 4rem); line-height: 1.1; }
h2 { font-size: clamp(1.75rem, 4vw, 2.625rem); line-height: 1.2; }
h3 { font-size: clamp(1.25rem, 2.8vw, 1.75rem); font-weight: 600; line-height: 1.3; }
p { font-size: clamp(0.9rem, 1.6vw, 1.0625rem); }

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover {
  color: var(--accent-color);
}

/* Animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fade-up 0.6s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

/* Layout & Reusable Components */
.container {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  .container {
    max-width: 1200px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.section-padding {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
@media (min-width: 768px) {
  .section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}
.section-subtitle {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
}
.section-title.text-left { text-align: left; }

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: var(--main-font);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-btn);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
}
.btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

/* Header & Navigation */
.header {
  background-color: var(--secondary-color);
  position: relative;
  width: 100%;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo img {
  height: 40px;
  width: auto;
}
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}
.burger-btn .bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-light-color);
  transition: all 0.28s ease-in-out;
}
.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--secondary-color);
  padding: 1rem 0;
}
#menu-toggle:checked ~ .site-nav {
  display: block;
}
.site-nav ul { list-style: none; }
.nav-link {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--text-light-color);
  font-family: var(--main-font);
  font-weight: 600;
  text-align: center;
}
#menu-toggle:checked + .burger-btn .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle:checked + .burger-btn .bar:nth-child(2) { opacity: 0; }
#menu-toggle:checked + .burger-btn .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) {
  .burger-btn { display: none; }
  .site-nav {
    display: flex !important;
    position: static;
    background: none;
    padding: 0;
  }
  .site-nav ul {
    flex-direction: row;
    gap: 1.75rem;
  }
  .nav-link { padding: 0.5rem 0; }
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  padding: 3rem 1rem;
  background: var(--gradient-soft);
}
.hero-title {
    font-weight: 700;
    color: var(--dark-color);
}
.hero-subtitle {
  max-width: 650px;
  margin: 1.5rem auto 2.5rem;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-color);
}

/* Features Section */
#features { background: var(--background-color); }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.feature-number {
  font-family: var(--main-font);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-color);
  opacity: 0.5;
}
.feature-title { margin-bottom: 0.5rem; color: var(--dark-color); }

/* About Section */
.about-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}

/* Stats Bar Section */
.stats-bar-section {
  background: var(--secondary-color);
  padding: 4rem 1rem;
}
.stat-number {
  font-family: var(--main-font);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
}
.stat-label {
  font-size: clamp(1rem, 2vw, 1.1rem);
  margin-top: 0.5rem;
  color: var(--text-light-color);
}

/* Testimonials Section */
#testimonials { background: var(--gradient-soft); }
.testimonial-item {
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
}
.testimonial-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-style: italic;
  color: var(--text-color);
}
.testimonial-author {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--dark-color);
}

/* Contact Section */
.contact-form-wrapper {
  padding: 2rem;
  background: white;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.3s ease;
}
.contact-form-wrapper:hover {
    box-shadow: var(--shadow-hover);
}
.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary-color);
}
.contact-info a {
    font-weight: 600;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  background-color: #f9f9f9;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 44px;
}
.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(178, 43, 91, 0.2);
}

/* FAQ Section */
#faq { background: var(--gradient-soft); }
.faq-question {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-size: clamp(1.1rem, 2.2vw, 1.25rem);
}
.faq-answer {
  color: var(--text-color);
}

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: var(--text-light-color);
  padding: 3rem 1rem 1.5rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-nav a {
  color: var(--text-light-color);
  opacity: 0.8;
}
.footer-nav a:hover {
  opacity: 1;
  color: var(--accent-color);
}
.copyright p {
  font-size: 0.9rem;
  opacity: 0.7;
}
.footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
  .footer-nav ul {
    flex-direction: row;
    gap: 2rem;
  }
}