/* palette: midnight-rose */
:root {
  --primary-color: #0C0F24;      /* Navy - buttons, accents, headings */
  --secondary-color: #B22B5B;    /* Deep rose - hero bg, dark sections, footer */
  --accent-color: #F39C12;       /* Warm amber - icons, hover, highlights */
  --background-color: #F5F5F5;   /* Light gray - light sections background */
  --dark-color: #111111;
  --text-color: #333333;
  --light-text: #F5F5F5;
  --border-color: rgba(0,0,0,0.15);
  --shadow-color: rgba(12, 15, 36, 0.22);
  --gradient-primary: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  --main-font: 'Lora', serif;
  --alt-font: 'Poppins', sans-serif;

  /* border-style: rounded */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-btn: 8px;

  /* shadow-style: dramatic */
  --shadow-card: 0 24px 64px rgba(12, 15, 36, 0.18);
  --shadow-hover: 0 32px 72px rgba(12, 15, 36, 0.25);
}

/* Base Styles & Typography (bold-editorial) */
body {
  font-family: var(--alt-font);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--main-font);
  font-weight: 700;
}

h1 {
  font-size: clamp(42px, 7vw, 54px);
  line-height: 1.1;
}

h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  line-height: 1.2;
}

h3 {
  font-size: clamp(20px, 3vw, 32px);
}

p {
  font-size: clamp(14px, 1.6vw, 17px);
}

/* Animations */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Header & Mobile Navigation */
header {
  background: var(--secondary-color);
  position: relative;
  width: 100%;
  z-index: 1000;
}

.header-inner {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-height: 40px;
  width: auto;
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 44px;
  height: 44px;
  padding: 13px 10px;
  cursor: pointer;
}

.burger-btn .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #f0f0f0;
  transition: transform 0.28s, opacity 0.28s;
}

#menu-toggle:checked + .burger-btn .bar:first-child {
  transform: translateY(8px) rotate(45deg);
}

#menu-toggle:checked + .burger-btn .bar:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .burger-btn .bar:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--secondary-color);
  z-index: 999;
  box-shadow: var(--shadow-card);
}

#menu-toggle:checked ~ .site-nav {
  display: block;
}

.site-nav ul {
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  gap: 16px;
}

.site-nav a {
  color: #f0f0f0;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--accent-color);
}

@media (min-width: 768px) {
  .burger-btn {
    display: none;
  }
  .site-nav {
    display: flex !important;
    position: static;
    box-shadow: none;
    background: transparent;
  }
  .site-nav ul {
    flex-direction: row;
    padding: 0;
    gap: 28px;
  }
}

/* Hero Section (asymmetric) */
.hero-section {
  background-color: var(--secondary-color);
  color: var(--light-text);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 79vh;
  padding: 48px 16px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.hero-content {
  max-width: 100%;
  z-index: 2;
}

.hero-image-wrapper {
  width: 100%;
  height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 0;
  }
  .hero-container {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
  }
  .hero-content {
    max-width: 580px;
  }
  .hero-image-wrapper {
    height: 550px;
    margin-right: -150px;
    width: calc(100% + 150px);
  }
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  transition: background-color 0.2s, transform 0.2s;
  box-shadow: var(--shadow-card);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-accent {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--primary-color);
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-accent:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
}

/* Features Section (features-icon-row) */
.features-section {
  background-color: var(--background-color);
  padding: 64px 16px;
}

.max-width-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  color: var(--primary-color);
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.feature-icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-icon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-emoji {
  font-size: 64px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
}

/* About Section (img-right) */
.about-section {
  background-color: var(--primary-color);
  color: var(--light-text);
  padding: 80px 16px;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
}

.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Stats Bar (stats-bar) */
.stats-section {
  background-color: var(--background-color);
  padding: 64px 16px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  padding: 16px;
}

.stat-number {
  font-family: var(--main-font);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 15px;
  color: var(--text-color);
  font-weight: 500;
  line-height: 1.5;
}

/* Testimonials (testimonials-quotes) */
.testimonials-section {
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 80px 16px;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.testimonial-quote-block {
  position: relative;
  padding-left: 28px;
  border-left: 4px solid var(--accent-color);
}

.testimonial-text {
  font-family: var(--main-font);
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
}

.testimonial-author {
  font-family: var(--alt-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--accent-color);
}

/* Contact Section */
.contact-section {
  background-color: var(--background-color);
  padding: 80px 16px;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
  }
}

.contact-info-box {
  background: #ffffff;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .contact-info-box {
    padding: 48px;
  }
}

.contact-form-box {
  background: #ffffff;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

@media (min-width: 768px) {
  .contact-form-box {
    padding: 48px;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--alt-font);
  font-size: 15px;
  background: #fafafa;
  transition: border-color 0.2s, background-color 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: #ffffff;
}

.btn-submit {
  width: 100%;
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  border: none;
}

.btn-submit:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
  background-color: #ffffff;
  padding: 80px 16px;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

.faq-item {
  background: var(--background-color);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.faq-question {
  font-family: var(--main-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.faq-answer {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: var(--light-text);
  padding: 48px 16px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

footer img[alt="logo"] {
  filter: brightness(0) invert(1);
  max-height: 40px;
  width: auto;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 768px) {
  .footer-links {
    flex-direction: row;
    gap: 24px;
  }
}

.footer-links a {
  color: var(--light-text);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.copyright {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 24px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  width: 100%;
}