:root {
  --primary-bg: #ffffff;
  --corporate-red: #940000;
  --accent-soft-red: #fff5f5;
  --header-gradient: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --font-century: "Century Gothic", "CenturyGothic", "Apple Gothic", "Trebuchet MS", sans-serif;
  --bs-font-sans-serif: var(--font-century);
}

html,
body,
button,
input,
select,
textarea,
.btn,
.form-control,
.form-select,
.nav-link,
.dropdown-item,
.accordion-button {
  font-family: var(--font-century);
}

body {
  background: var(--primary-bg);
  color: var(--text-dark);
}

.btn {
  background: var(--corporate-red);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 500;
  transition: 0.3s;
}

.btn:hover {
  background: #7a0000;
  color: #ffffff;
  transform: translateY(-2px);
}

.main-nav {
  transition: 0.3s ease;
  background: transparent;
}

.main-nav.scrolled {
  background: var(--header-gradient);
  border-bottom: 1px solid rgba(148, 0, 0, 0.12);
  box-shadow: 0 8px 25px rgba(148, 0, 0, 0.06);
}

.navbar-toggler {
  border: none;
  color: var(--corporate-red) !important;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.nav-link {
  color: var(--corporate-red) !important;
  font-weight: 500;
}

.nav-link:hover {
  color: #7a0000 !important;
}

.brand-logo-img {
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-logo-text,
.Logo {
  color: var(--corporate-red) !important;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
}

.main-nav:not(.scrolled) .nav-link,
.main-nav:not(.scrolled) .brand-logo-text {
  color: #ffffff !important;
}

.main-nav:not(.scrolled) .brand-logo-img {
  filter: brightness(0) invert(1);
}

.main-nav:not(.scrolled) .nav-link:hover {
  color: var(--accent-soft-red) !important;
}

.main-nav:not(.scrolled) .btn {
  background: #ffffff;
  color: var(--corporate-red);
}

.main-nav:not(.scrolled) .btn:hover {
  background: var(--accent-soft-red);
  color: var(--corporate-red);
}

.main-nav:not(.scrolled) .navbar-toggler {
  color: #ffffff !important;
}

#mobileMenu.offcanvas {
  background: var(--header-gradient);
}

#mobileMenu .nav-link,
#mobileMenu .brand-logo-text {
  color: var(--corporate-red) !important;
}

.hero-modern {
  padding: 120px 0 90px;
  background: linear-gradient(
    180deg,
    #940000 0%,
    #b33333 25%,
    #e8cccc 55%,
    #fff5f5 80%,
    #ffffff 100%
  );
  border-radius: 0 0 35px 35px;
  color: #fff;
  overflow: hidden;
}

.hero-row {
  align-items: stretch;
  min-height: min(420px, auto);
}

.hero-col-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0;
}

.hero-col-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.hero-visual {
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.hero-title {
  font-weight: 800;
  font-size: 38px;
  line-height: 1.2;
}

.hero-desc {
  margin-top: 10px;
  max-width: 480px;
  opacity: 0.95;
  color: #ffffff;
}

.hero-btn {
  background: #ffffff;
  color: var(--corporate-red);
  border-radius: 12px;
  font-weight: 600;
}

.hero-btn:hover {
  background: var(--accent-soft-red);
  color: var(--corporate-red);
}

.hero-btn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  background: transparent;
  border-radius: 12px;
  font-weight: 600;
}

.hero-btn-outline:hover {
  background: #ffffff;
  color: var(--corporate-red);
}

.hero-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 16px;
}

.hero-rating {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 10px 18px;
  width: max-content;
  margin-top: 12px;
  backdrop-filter: blur(6px);
}

.rating-value {
  font-weight: 800;
  font-size: 20px;
}

.rating-text {
  opacity: 0.95;
  margin-left: 6px;
}

.appointment-bar {
  background: var(--primary-bg);
  border: 1px solid rgba(148, 0, 0, 0.12);
  border-radius: 15px;
  padding: 18px 20px;
  margin-top: -50px;
  box-shadow: 0 20px 35px rgba(148, 0, 0, 0.08);
  position: relative;
}

.form-field {
  border-radius: 15px;
  height: 40px;
  border-color: rgba(148, 0, 0, 0.2);
}

.form-field:focus {
  border-color: var(--corporate-red);
  box-shadow: 0 0 0 0.2rem rgba(148, 0, 0, 0.15);
}

.make-btn {
  background: var(--corporate-red);
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  transition: 0.2s;
}

.make-btn:hover {
  background: #7a0000;
  color: #fff;
  transform: translateY(-2px);
}

.feature-item {
  text-align: center;
}

.feature-card,
.module-card,
.blog-card {
  background: var(--primary-bg);
  border: 1px solid rgba(148, 0, 0, 0.1);
  border-radius: 16px;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.feature-card {
  padding: 24px 16px;
}

.feature-card:hover,
.module-card:hover,
.blog-card:hover {
  background: var(--accent-soft-red);
  box-shadow: 0 8px 24px rgba(148, 0, 0, 0.08);
}

.feature-icon,
.module-icon {
  font-size: 42px;
  color: var(--corporate-red);
  margin-bottom: 6px;
}

.module-card {
  padding: 20px;
}

.module-icon {
  font-size: 32px;
  display: block;
  margin-bottom: 10px;
}

.feature-item h5 {
  font-weight: 700;
}

.feature-item p {
  color: var(--text-muted);
}

.stats-box {
  background: var(--header-gradient);
  border: 1px solid rgba(148, 0, 0, 0.12);
  padding: 28px 35px;
  border-radius: 18px;
  color: var(--corporate-red);
  gap: 15px;
}

.stats-icon {
  font-size: 36px;
  color: var(--corporate-red);
  margin-bottom: 8px;
}

.counter {
  font-size: 32px;
  font-weight: 800;
  color: var(--corporate-red);
}

.stats-label {
  color: var(--text-muted);
  font-size: 14px;
}

.testimonial-box {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 0, 0, 0.1);
  background: var(--primary-bg);
}

.testimonial-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.testimonial-content {
  padding: 35px;
  text-align: center;
  background: var(--accent-soft-red);
}

.tag,
.blog-tag,
.faq-tag {
  color: var(--corporate-red);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.quote-icon {
  font-size: 32px;
  color: var(--corporate-red);
  margin: 10px 0;
}

.testimonial-text {
  color: var(--text-muted);
  font-style: italic;
  max-width: 420px;
  margin: auto;
}

.review-person {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--corporate-red);
}

.blog-card {
  padding: 12px;
  gap: 12px;
}

.blog-img {
  width: 150px;
  height: 150px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-content p {
  color: var(--text-muted);
  margin: 6px 0;
}

.read-link {
  color: var(--corporate-red);
  font-weight: 600;
  text-decoration: none;
}

.read-link:hover {
  text-decoration: underline;
  color: #7a0000;
}

.accordion-button {
  font-weight: 600;
  background: var(--accent-soft-red);
  color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
  color: var(--corporate-red);
  background: var(--header-gradient);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: rgba(148, 0, 0, 0.25);
  box-shadow: 0 0 0 0.2rem rgba(148, 0, 0, 0.15);
}

.accordion-item {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid rgba(148, 0, 0, 0.12);
  background: var(--primary-bg);
}

.cta-box {
  background: var(--header-gradient);
  border: 1px solid rgba(148, 0, 0, 0.15);
  padding: 28px 35px;
  border-radius: 18px;
  color: var(--corporate-red);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.cta-desc {
  color: var(--text-muted);
}

.cta-btn {
  background: var(--corporate-red);
  color: #ffffff;
  font-weight: 700;
  padding: 10px 26px;
  border-radius: 25px;
  transition: 0.2s;
  white-space: nowrap;
}

.cta-btn:hover {
  background: #7a0000;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cta-box {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-col-media {
    min-height: 220px;
  }

  .hero-visual {
    min-height: 220px;
    max-height: 300px;
  }

  .blog-card {
    flex-direction: column;
  }

  .blog-img {
    width: 100%;
    height: 180px;
  }
}

.footer-section {
  background: var(--primary-bg);
  border-top: 1px solid rgba(148, 0, 0, 0.1);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
  color: #555;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--corporate-red);
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #444;
}

.footer-contact i {
  color: var(--corporate-red);
  margin-right: 6px;
}

.newsletter-box input {
  border-radius: 8px;
  border-color: rgba(148, 0, 0, 0.2);
}

.newsletter-box .btn-primary {
  border-radius: 8px;
  background: var(--corporate-red);
  border-color: var(--corporate-red);
}

.newsletter-box .btn-primary:hover {
  background: #7a0000;
  border-color: #7a0000;
}

.social-icons i {
  font-size: 18px;
  cursor: pointer;
  color: var(--corporate-red);
}

.social-icons i:hover {
  color: #7a0000;
}

.logo {
  color: var(--corporate-red) !important;
}

.logo i {
  color: var(--corporate-red);
}

html {
  scroll-behavior: smooth;
}

body.page-inner main {
  padding-top: 88px;
}

body.page-home main {
  padding-top: 0;
}

body.page-inner .main-nav {
  background: var(--header-gradient);
  border-bottom: 1px solid rgba(148, 0, 0, 0.12);
  box-shadow: 0 8px 25px rgba(148, 0, 0, 0.06);
}

body.page-inner .main-nav .nav-link,
body.page-inner .main-nav .brand-logo-text,
body.page-inner .main-nav .navbar-toggler {
  color: #940000 !important;
}

body.page-inner .main-nav .brand-logo-img {
  filter: none;
}

body.page-inner .main-nav .nav-link:hover {
  color: #7a0000 !important;
}

body.page-inner .main-nav .btn-login {
  background: #940000;
  color: #ffffff !important;
}

body.page-inner .main-nav .btn-login:hover {
  background: #7a0000;
  color: #ffffff !important;
}

.page-hero {
  padding: 48px 0 40px;
  background: var(--header-gradient);
  border-bottom: 1px solid rgba(148, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.page-hero-title {
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--corporate-red);
  margin-bottom: 0.75rem;
}

.page-hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto;
}

.page-content {
  padding-bottom: 2rem;
}

.page-intro {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.05rem;
}

.demo-on-home {
  margin-top: -50px;
}

.contact-form-card textarea.form-field {
  height: auto;
  min-height: 140px;
}

.nav-link.active {
  font-weight: 700;
}

body.page-inner .main-nav .nav-link.active,
.main-nav.scrolled .nav-link.active,
#mobileMenu .nav-link.active {
  color: #940000 !important;
}

body.page-home .main-nav:not(.scrolled) .nav-link.active {
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .page-hero-title {
    font-size: 1.75rem;
  }
}

.header-actions {
  flex-shrink: 0;
}

.lang-switcher .btn-lang {
  background: transparent;
  color: #940000;
  border: 1px solid rgba(148, 0, 0, 0.35);
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.875rem;
}

.lang-switcher .btn-lang:hover,
.lang-switcher .btn-lang:focus,
.lang-switcher .btn-lang.show {
  background: var(--accent-soft-red);
  color: #940000;
  border-color: rgba(148, 0, 0, 0.45);
}

.main-nav.scrolled .lang-switcher .btn-lang,
.main-nav:not(.scrolled) .lang-switcher .btn-lang,
#mobileMenu .lang-switcher .btn-lang {
  color: #940000;
  border-color: rgba(148, 0, 0, 0.35);
}

.main-nav:not(.scrolled) .lang-switcher .btn-lang:hover,
.main-nav:not(.scrolled) .lang-switcher .btn-lang.show,
.main-nav.scrolled .lang-switcher .btn-lang:hover,
.main-nav.scrolled .lang-switcher .btn-lang.show {
  background: var(--accent-soft-red);
  color: #940000;
}

.lang-switcher .dropdown-item.active {
  background: var(--accent-soft-red);
  color: var(--corporate-red);
  font-weight: 600;
}

.btn-login {
  white-space: nowrap;
}

#mobileMenu .header-actions .btn-login {
  background: var(--corporate-red);
  color: #ffffff;
}

#mobileMenu .header-actions .btn-login:hover {
  background: #7a0000;
  color: #ffffff;
}
