:root {
  --primary: #1c2430;
  --primary-light: #2f3d4f;
  --accent: #b8922e;
  --accent-hover: #a07d24;
  --accent-dark: #8a6820;
  --accent-light: #dcc89a;
  --secondary: #6b8f71;
  --text: #2a2f36;
  --text-light: #5c6370;
  --bg-light: #f9f6f1;
  --surface: #f3efe8;
  --white: #ffffff;
  --header-bg: #ffffff;
  --shadow: 0 8px 30px rgba(28, 36, 48, 0.1);
  --radius: 14px;
  --transition: 0.3s ease;
  --header-offset: 130px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Tajawal', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
  padding-top: var(--header-offset);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary);
}

a {
  text-decoration: none;
  transition: var(--transition);
}

/* Site header */
.site-header {
  z-index: 1030;
  box-shadow: 0 2px 16px rgba(28, 36, 48, 0.08);
}

.top-bar {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 2px solid var(--accent);
}

.top-bar-tagline {
  max-width: 55%;
  line-height: 1.4;
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.top-bar-link {
  color: rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  white-space: nowrap;
}

.top-bar-link:hover {
  color: var(--accent);
}

.top-bar-wa:hover {
  color: #25d366;
}

/* Navbar */
.navbar-custom {
  background: var(--header-bg);
  padding: 0.65rem 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(184, 146, 46, 0.2);
}

.navbar-custom.scrolled {
  box-shadow: 0 4px 20px rgba(28, 36, 48, 0.1);
}

.navbar-custom .navbar-brand {
  padding: 0;
  margin-left: 0;
}

.navbar-custom .navbar-brand img {
  height: 58px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: var(--transition);
}

.navbar-custom.scrolled .navbar-brand img {
  height: 50px;
}

.navbar-custom .nav-link {
  color: var(--primary) !important;
  font-weight: 600;
  padding: 0.5rem 0.85rem !important;
  position: relative;
  font-size: 0.95rem;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  width: 60%;
  right: 20%;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--accent-dark) !important;
}

.navbar-custom .dropdown-menu {
  border: none;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 0.5rem;
}

.navbar-custom .dropdown-item {
  border-radius: 8px;
  padding: 0.55rem 1rem;
  font-weight: 500;
}

.navbar-custom .dropdown-item:hover {
  background: var(--bg-light);
  color: var(--accent-dark);
}

.navbar-actions .btn {
  font-weight: 700;
  border-radius: 50px;
  padding: 0.45rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.navbar-custom .btn-quote {
  background: var(--primary);
  color: var(--accent-light);
  border: 1px solid var(--accent);
}

.navbar-custom .btn-quote:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-1px);
}

.navbar-custom .btn-call {
  background: transparent;
  color: var(--primary);
  border: 2px solid rgba(28, 36, 48, 0.15);
}

.navbar-custom .btn-call:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.navbar-custom .btn-wa {
  background: #25d366;
  color: var(--white);
  border: none;
}

.navbar-custom .btn-wa:hover {
  background: #1fb855;
  color: var(--white);
}

.header-phone-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: auto;
  margin-left: 0.75rem;
}

.mobile-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.mobile-call-btn {
  background: rgba(28, 36, 48, 0.08);
  color: var(--primary);
}

.mobile-wa-btn {
  background: #25d366;
  color: var(--white);
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header-phone-mobile a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.header-phone-mobile a:first-child {
  background: rgba(28, 36, 48, 0.08);
  color: var(--primary);
}

.header-phone-mobile a:last-child {
  background: #25d366;
  color: var(--white);
}

.navbar-custom .navbar-toggler {
  border-color: rgba(28, 36, 48, 0.2);
  padding: 0.35rem 0.55rem;
}

.navbar-custom .navbar-toggler-icon {
  filter: none;
}

.btn-wa-outline {
  border: 2px solid #25d366;
  color: #128c3e;
  background: transparent;
  font-weight: 600;
  padding: 0.55rem 1.25rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
}

.btn-wa-outline:hover {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}

/* Hero */
.hero-section {
  min-height: calc(100vh - var(--header-offset));
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #005a87 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-offset));
  padding-top: var(--header-offset);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/og-cover.jpg') center/cover no-repeat;
  opacity: 0.15;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: var(--white);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(184, 146, 46, 0.2);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.hero-title span {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 2rem;
}

.btn-gold {
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-gold:hover {
  background: var(--accent-hover);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(184, 146, 46, 0.4);
}

.btn-outline-light-custom {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  background: transparent;
}

.btn-outline-light-custom:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero-stat h3 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 0;
}

.hero-stat p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

/* Section styling */
.section-padding {
  padding: 5rem 0;
}

.section-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-light);
  max-width: 600px;
}

/* About cards */
.about-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(28, 36, 48, 0.15);
}

.about-card .icon-box {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.about-card .icon-box i {
  font-size: 1.5rem;
  color: var(--accent);
}

/* Product cards */
.product-card {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  background: var(--white);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(28, 36, 48, 0.18);
}

.product-card img {
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card .card-img-wrap {
  overflow: hidden;
}

.product-card .card-body {
  padding: 1.5rem;
}

.product-card .card-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-card .card-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.product-card .card-link:hover {
  color: var(--primary);
}

/* Why us section */
.why-section {
  background: var(--primary);
  color: var(--white);
  position: relative;
}

.why-section .section-title,
.why-section h5 {
  color: var(--white);
}

.why-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  transition: var(--transition);
}

.why-item:hover {
  background: rgba(212, 168, 67, 0.1);
  border-color: var(--accent);
}

.why-item i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.why-item h5 {
  margin-bottom: 0.8rem;
}

.why-item p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  height: 100%;
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: 1rem;
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card .author-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #b8922e 100%);
  padding: 4rem 0;
  position: relative;
}

.cta-section h2 {
  color: var(--primary);
}

.cta-section p {
  color: rgba(28, 36, 48, 0.8);
}

.btn-dark-custom {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: none;
}

.btn-dark-custom:hover {
  background: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #141b24;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 0;
}

.footer-logo {
  max-width: 220px;
  object-fit: contain;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  padding: 0.3rem 0;
}

.footer a:hover {
  color: var(--accent);
}

.footer .social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  transition: var(--transition);
}

.footer .social-links a:hover {
  background: var(--accent);
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Page header (inner pages) */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 3rem 0 3.5rem;
  color: var(--white);
  text-align: center;
  position: relative;
  margin-top: -1px;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: polygon(0 0, 100% 80%, 100% 100%, 0 100%);
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
}

.page-header .breadcrumb {
  justify-content: center;
  margin-top: 1rem;
}

.page-header .breadcrumb-item a {
  color: var(--accent);
}

.page-header .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* Contact form */
.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid #e9ecef;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.2rem rgba(184, 146, 46, 0.15);
}

.contact-info-card {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  height: 100%;
}

.contact-info-card h4 {
  color: var(--white);
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item i {
  color: var(--accent);
  font-size: 1.3rem;
  margin-top: 0.2rem;
}

.contact-info-item a {
  color: rgba(255, 255, 255, 0.9);
}

.contact-info-item a:hover {
  color: var(--accent);
}

/* WhatsApp float + call float */
.float-contact-left,
.float-contact-right {
  position: fixed;
  bottom: 25px;
  z-index: 999;
}

.float-contact-left {
  left: 25px;
}

.float-contact-right {
  right: 25px;
}

.float-contact {
  display: none;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.float-btn svg {
  width: 26px;
  height: 26px;
  display: block;
}

.float-btn:hover {
  color: var(--white);
  transform: scale(1.08);
}

.call-float {
  background: var(--primary);
}

.call-float:hover {
  background: var(--primary-light);
}

.whatsapp-float {
  background: #25d366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
}

.whatsapp-float:hover {
  background: #1fb855;
}

.icon-wa {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.icon-wa svg {
  width: 1.1em;
  height: 1.1em;
}

.phone-number {
  unicode-bidi: embed;
  letter-spacing: 0;
  white-space: nowrap;
}

/* Quote sidebar */
.quote-sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: calc(var(--header-offset) + 1rem);
}

.quote-sidebar-card h4 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.quote-sidebar-card > p {
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.quote-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.quote-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  line-height: 1.6;
}

.quote-features li i {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.quote-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quote-action-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  color: var(--white);
  transition: var(--transition);
}

.quote-action-btn small {
  display: block;
  opacity: 0.9;
  font-size: 0.78rem;
}

.quote-action-btn strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

.quote-action-icon svg {
  width: 24px;
  height: 24px;
}

.quote-call-btn {
  background: var(--primary);
}

.quote-call-btn:hover {
  background: var(--primary-light);
  color: var(--white);
}

.quote-wa-btn {
  background: #25d366;
}

.quote-wa-btn:hover {
  background: #1fb855;
  color: var(--white);
}

.quote-email a {
  color: var(--text);
}

@media (max-width: 991px) {
  .quote-sidebar-card {
    position: static;
    margin-bottom: 1rem;
  }

  .float-contact-left {
    bottom: 18px;
    left: 18px;
  }

  .float-contact-right {
    bottom: 18px;
    right: 18px;
  }

  .float-btn {
    width: 52px;
    height: 52px;
  }
}

/* Map */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* About page timeline */
.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.timeline-year {
  min-width: 80px;
  height: 80px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Quote page */
.quote-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.quote-feature i {
  font-size: 1.5rem;
  color: var(--accent);
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .hero-section {
    min-height: auto;
    padding: 8rem 0 6rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }
}

/* Dropdown */
.navbar-custom .dropdown-menu {
  background: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.navbar-custom .dropdown-item {
  color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  padding: 0.5rem 1rem;
}

.navbar-custom .dropdown-item:hover {
  background: rgba(212, 168, 67, 0.15);
  color: var(--accent);
}

/* Blog */
.blog-content h2 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: var(--primary);
}

.blog-content h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.8rem;
}

.blog-content p {
  margin-bottom: 1rem;
  line-height: 1.9;
}

.blog-content ul, .blog-content ol {
  margin: 1rem 0 1.5rem;
  padding-right: 1.5rem;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content strong {
  color: var(--primary);
}

.blog-meta .badge {
  font-weight: 500;
}

/* Category sidebar */
.cat-sidebar {
  position: sticky;
  top: 100px;
}

.cat-sidebar .list-group-item {
  border: none;
  padding: 0.7rem 1rem;
  border-radius: 8px !important;
  margin-bottom: 0.3rem;
}

.cat-sidebar .list-group-item.active {
  background: var(--primary);
  border-color: var(--primary);
}

.cat-sidebar .list-group-item:hover:not(.active) {
  background: var(--bg-light);
}

@media (max-width: 991px) {
  :root {
    --header-offset: 78px;
  }

  .top-bar {
    display: none;
  }

  .navbar-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .navbar-custom .navbar-brand {
    order: 2;
    margin: 0 auto;
    flex: 1;
    display: flex;
    justify-content: center;
  }

  .mobile-call-btn {
    order: 1;
  }

  .mobile-header-actions {
    order: 3;
  }

  .navbar-custom .navbar-collapse {
    order: 4;
    flex-basis: 100%;
    width: 100%;
    background: var(--white);
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow);
    text-align: right;
  }

  .navbar-custom .navbar-nav {
    align-items: flex-end;
    width: 100%;
  }

  .navbar-custom .navbar-nav .nav-link {
    text-align: right;
    width: 100%;
  }

  .navbar-custom .dropdown-menu {
    right: 0;
    left: auto;
    text-align: right;
  }

  .navbar-custom .navbar-brand img {
    height: 58px;
    max-width: 160px;
  }

  .navbar-actions {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .navbar-actions .btn {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .hero-stat h3 {
    font-size: 1.6rem;
  }

  .hero-section {
    min-height: auto;
    padding: 3rem 0 5rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .page-hero {
    padding-top: calc(var(--header-offset) + 1.5rem);
    padding-bottom: 1.5rem;
  }
}

.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 3rem 0 2.5rem;
  margin-top: calc(-1 * var(--header-offset));
  padding-top: calc(var(--header-offset) + 2rem);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.85); }
.page-hero .breadcrumb-item.active { color: var(--accent); }

.pagination .page-link { color: var(--primary); border-radius: 8px; margin: 0 2px; }
.pagination .page-item.active .page-link { background: var(--accent); border-color: var(--accent); color: var(--primary); }

.hero-section::before {
  background: url('../assets/og-cover.jpg') center/cover no-repeat;
}

.contact-form .form-control, .contact-form .form-select { border-radius: 10px; padding: 0.75rem 1rem; }

.card-img-wrap img { object-fit: cover; width: 100%; }

/* ─── Homepage v2: distinct layout ─── */
.bg-surface { background: var(--surface); }

.section-label {
  display: inline-block;
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
}

.section-heading em {
  color: var(--accent);
  font-style: normal;
}

.section-lead {
  color: var(--text-light);
  max-width: 520px;
}

.link-arrow {
  color: var(--accent-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.link-arrow:hover {
  color: var(--primary);
}

/* Hero split */
.hero-split {
  position: relative;
  min-height: calc(100vh - var(--header-offset));
  display: flex;
  align-items: center;
  margin-top: calc(-1 * var(--header-offset));
  padding: calc(var(--header-offset) + 2rem) 0 4rem;
  overflow: hidden;
  background: var(--primary);
}

.hero-split-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(184, 146, 46, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(107, 143, 113, 0.08) 0%, transparent 40%),
    linear-gradient(160deg, var(--primary) 0%, #141b24 100%);
}

.hero-split-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(184, 146, 46, 0.03) 40px,
    rgba(184, 146, 46, 0.03) 41px
  );
}

.hero-split-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(184, 146, 46, 0.15);
  border: 1px solid rgba(184, 146, 46, 0.45);
  color: var(--accent-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-split-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-split-title em {
  color: var(--accent-light);
  font-style: normal;
}

.hero-split-desc {
  font-size: 1.1rem;
  opacity: 0.88;
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.hero-split-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.btn-outline-gold {
  border: 2px solid rgba(220, 200, 154, 0.6);
  color: var(--accent-light);
  font-weight: 700;
  padding: 0.8rem 1.75rem;
  border-radius: 50px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-gold:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.hero-mini-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-mini-stats div {
  display: flex;
  flex-direction: column;
}

.hero-mini-stats strong {
  font-size: 1.6rem;
  color: var(--accent-light);
  line-height: 1.2;
}

.hero-mini-stats span {
  font-size: 0.82rem;
  opacity: 0.7;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-visual-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid rgba(184, 146, 46, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: rotate(-1.5deg);
}

.hero-visual-frame img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.hero-visual-badge {
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow);
  border-right: 4px solid var(--accent);
}

.hero-visual-badge i {
  font-size: 1.5rem;
  color: var(--accent);
}

.hero-visual-badge strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
}

.hero-visual-badge span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Trust strip */
.trust-strip {
  background: var(--accent);
  padding: 1.1rem 0;
}

.trust-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.trust-strip-item i {
  font-size: 1.2rem;
}

/* Process track */
.process-section {
  background: var(--white);
}

.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-track::before {
  content: '';
  position: absolute;
  top: 28px;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(to left, var(--accent-light), var(--accent), var(--accent-light));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-num {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--primary);
  color: var(--accent-light);
  border: 3px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}

.process-step h5 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--primary);
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* Category bento */
.category-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: 1rem;
}

.bento-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-card:hover img {
  transform: scale(1.06);
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 36, 48, 0.88) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--white);
}

.bento-overlay h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.bento-overlay span {
  font-size: 0.82rem;
  color: var(--accent-light);
  font-weight: 600;
}

.bento-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-featured .bento-overlay h3 {
  font-size: 1.4rem;
}

/* Showcase cards */
.showcase-card {
  display: block;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.04);
  height: 100%;
}

.showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(28, 36, 48, 0.14);
}

.showcase-img {
  height: 180px;
  overflow: hidden;
}

.showcase-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-img img {
  transform: scale(1.05);
}

.showcase-body {
  padding: 1rem;
}

.showcase-body h6 {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.showcase-link {
  font-size: 0.8rem;
  color: var(--accent-dark);
  font-weight: 700;
}

.btn-outline-primary-custom {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  padding: 0.65rem 1.5rem;
  border-radius: 50px;
  background: transparent;
}

.btn-outline-primary-custom:hover {
  background: var(--primary);
  color: var(--white);
}

/* Value section */
.value-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--surface) 100%);
}

.value-intro {
  color: var(--text-light);
  max-width: 400px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-right: 3px solid var(--accent);
  box-shadow: 0 4px 20px rgba(28, 36, 48, 0.06);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.value-icon {
  width: 44px;
  height: 44px;
  background: var(--surface);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--accent-dark);
  font-size: 1.2rem;
}

.value-card h5 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* CTA panel */
.cta-panel {
  padding: 0 0 5rem;
}

.cta-panel-inner {
  background: var(--primary);
  border-radius: calc(var(--radius) + 4px);
  padding: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(184, 146, 46, 0.25);
  box-shadow: 0 20px 50px rgba(28, 36, 48, 0.2);
}

.cta-panel-text h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.cta-panel-text p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 480px;
}

.cta-panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
}

.btn-ghost:hover {
  background: rgba(184, 146, 46, 0.2);
  border-color: var(--accent);
  color: var(--accent-light);
}

.footer-parent-link a {
  color: rgba(255, 255, 255, 0.45) !important;
  display: inline !important;
  padding: 0 !important;
  font-size: 0.82rem;
}

.footer-parent-link a:hover {
  color: var(--accent-light) !important;
}

@media (max-width: 991px) {
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .process-track { grid-template-columns: repeat(2, 1fr); }
  .process-track::before { display: none; }
  .category-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .bento-featured { grid-column: span 2; grid-row: span 1; height: 240px; }
  .bento-card:not(.bento-featured) { height: 160px; }
  .hero-visual-frame { transform: none; }
  .hero-visual-frame img { height: 280px; }
}

@media (max-width: 575px) {
  .trust-strip-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .trust-strip-item { font-size: 0.78rem; }
  .process-track { grid-template-columns: 1fr; }
  .category-bento { grid-template-columns: 1fr; }
  .bento-featured { grid-column: span 1; }
  .value-grid { grid-template-columns: 1fr; }
  .cta-panel-inner { padding: 2rem 1.5rem; }
  .cta-panel-actions { width: 100%; }
  .cta-panel-actions .btn { flex: 1; justify-content: center; }
}

/* ─── Trust & conversion sections ─── */
.hero-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.hero-rating-stars {
  color: var(--accent-light);
  letter-spacing: 1px;
  font-size: 0.75rem;
}

.hero-rating-badge strong {
  color: var(--accent-light);
}

.stats-banner {
  background: var(--primary);
  padding: 2rem 0;
  border-top: 1px solid rgba(184, 146, 46, 0.2);
  border-bottom: 1px solid rgba(184, 146, 46, 0.2);
}

.stats-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stats-banner-item strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--accent-light);
  line-height: 1.2;
}

.stats-banner-item span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.reviews-section {
  background: var(--bg-light);
}

.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(28, 36, 48, 0.08);
  margin-top: 1rem;
}

.rating-stars {
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.rating-score {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
}

.rating-count {
  color: var(--text-light);
  font-size: 0.88rem;
}

.testimonial-card-v2 {
  border-right: 3px solid var(--accent);
  transition: var(--transition);
}

.testimonial-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(28, 36, 48, 0.12);
}

.testimonial-stars {
  color: var(--accent);
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.testimonial-card-v2 .quote {
  font-style: normal;
  line-height: 1.75;
  min-height: 120px;
}

.testimonial-card-v2 .author strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
}

.testimonial-card-v2 .author small {
  color: var(--text-light);
  font-size: 0.78rem;
}

.guarantees-section {
  background: var(--white);
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.guarantee-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.guarantee-card:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.guarantee-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: var(--accent-light);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.guarantee-card h5 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.guarantee-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 0.65rem;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(28, 36, 48, 0.05);
}

.faq-accordion .accordion-button {
  font-weight: 700;
  color: var(--primary);
  background: var(--white);
  padding: 1.1rem 1.25rem;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--primary);
  color: var(--accent-light);
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-accordion .accordion-body {
  color: var(--text-light);
  line-height: 1.75;
  padding: 1.1rem 1.25rem;
}

.quote-trust-mini {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-top: 1.5rem;
  border-right: 3px solid var(--accent);
}

.quote-trust-mini .rating-stars {
  margin-bottom: 0.5rem;
}

@media (max-width: 991px) {
  .stats-banner-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .stats-banner-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .guarantees-grid { grid-template-columns: 1fr; }
  .testimonial-card-v2 .quote { min-height: auto; }
  .hero-rating-badge { flex-wrap: wrap; font-size: 0.78rem; }
}

