/* Unique live-page layouts. Type and spacing come from site-type.css */

.about-hero {
  background: #bb9c5e;
}

.privacy-hero,
.services-hero,
.contact-hero,
.partners-hero {
  background: linear-gradient(135deg, #254b43 0%, #1d3a34 45%, #d68d60 100%);
}

.products-hero {
  background: #bb9c5e;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: center;
}

.about-grid:has(.about-content:only-child) {
  grid-template-columns: 1fr;
}

.about-content p {
  color: #182b27;
  margin-bottom: 16px;
}

.about-card {
  position: relative;
  background: #666666;
  border-radius: 28px;
  padding: 40px;
  min-height: 420px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 22px 55px rgba(24, 68, 78, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-card h3,
.about-card p {
  position: relative;
  z-index: 2;
  color: #fff;
}

.about-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.about-points {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 14px;
}

.about-point {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 14px 16px;
  backdrop-filter: blur(10px);
}

.about-point strong {
  display: block;
  margin-bottom: 5px;
}

.about-point span {
  color: rgba(255, 255, 255, 0.85);
}

.mv-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  padding: 34px 30px;
  box-shadow: 0 16px 40px rgba(17, 57, 67, 0.08);
  transition: 0.3s ease;
}

.mv-card-full {
  width: 100%;
}

.mv-full-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.mv-full-block + .mv-full-block {
  border-left: 1px solid rgba(20, 52, 59, 0.12);
  padding-left: 36px;
}

.mv-card:hover {
  transform: translateY(-6px);
}

.mv-icon {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: #bb9c5e;
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 15px 30px rgba(31, 111, 120, 0.18);
}

.mv-card h3 {
  margin-bottom: 12px;
  color: #14343b;
}

.mv-card p,
.mv-list {
  color: #61737a;
  line-height: 1.7;
}

.mv-list {
  margin: 0;
  padding-left: 18px;
}

.mv-list li {
  margin-bottom: 12px;
}

.mv-list li:last-child {
  margin-bottom: 0;
}

.values-grid,
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card,
.why-choose-item {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(17, 57, 67, 0.08);
  transition: 0.3s ease;
}

.value-card:hover,
.why-choose-item:hover {
  transform: translateY(-5px);
}

.value-card h4 {
  margin-bottom: 10px;
  color: #14343b;
}

.value-card p {
  margin: 0;
  color: #61737a;
  line-height: 1.6;
}

.why-choose-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.why-choose-num {
  flex-shrink: 0;
  font-size: 18px;
  font-weight: 800;
  color: #bb9c5e;
  line-height: 1.4;
}

.why-choose-item p {
  margin: 0;
  color: #14343b;
  font-weight: 600;
  line-height: 1.5;
}

.cta-label {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #bb9c5e;
  margin-bottom: 10px;
}

.cta-support-text {
  margin-bottom: 18px !important;
  max-width: 760px;
}

.why-wrap {
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 53, 61, 0.15);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.why-content {
  padding: 55px 45px;
  color: #fff;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.why-item {
  background: #666666;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 18px;
}

.why-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 26px;
  box-shadow: 0 16px 40px rgba(19, 61, 72, 0.08);
  transition: 0.35s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(19, 61, 72, 0.13);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58, 166, 185, 0.1), rgba(255, 255, 255, 0.03));
  pointer-events: none;
}

.service-icon,
.service-number {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #bb9c5e;
  color: #fff;
  font-size: 28px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.service-card h3,
.service-card p {
  position: relative;
  z-index: 2;
}

.service-card h3 {
  font-weight: 700;
  color: #163038;
  margin-bottom: 14px;
}

.service-card p {
  color: #22453e;
  margin-bottom: 0;
}

.services-section {
  position: relative;
  margin-top: -45px;
  z-index: 5;
  padding-bottom: var(--space-section-y);
}

.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 42px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(23, 63, 73, 0.18);
  background: linear-gradient(135deg, #fbfefd, #f2f1ec, #f9e4d6);
}

.cta-content h3 {
  color: #222524;
}

.cta-content p {
  color: #222524;
  max-width: 760px;
}

.services-cta .cta-box {
  background: #666;
}

.services-cta .cta-content h3,
.services-cta .cta-content p {
  color: #fff;
}

.contact-cta .cta-box {
  background: linear-gradient(135deg, #b6815b, #d9a679, #f3d1a3, #c28a63);
}

.contact-cta .cta-box h3,
.contact-cta .cta-box p {
  color: #fff;
}

.cta-btn {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 14px;
  background: #bb9c5e;
  color: #fff;
  font-weight: 800;
  white-space: nowrap;
  transition: 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.services-cta .cta-btn,
.contact-cta .cta-btn {
  background: #fff;
  color: #254b43;
}

.contact-info-wrap {
  margin-top: -45px;
  position: relative;
  z-index: 5;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 14px 35px rgba(18, 38, 63, 0.08);
  text-align: center;
  transition: 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
}

.contact-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 16px;
  border-radius: 18px;
  background: #666666;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.contact-card h3 {
  margin-bottom: 8px;
  color: #111827;
}

.contact-card p,
.contact-card a {
  color: #20413a;
}

.contact-main-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.contact-form-box,
.map-box {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(18, 38, 63, 0.08);
  overflow: hidden;
}

.contact-form-box {
  padding: 35px;
}

.contact-form-box h2,
.map-header h2 {
  color: #111827;
}

.contact-form-box p,
.map-header p {
  color: #6b7280;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dbe1e8;
  border-radius: 14px;
  outline: none;
  background: #fcfcfd;
}

.form-control:focus {
  border-color: #254b43;
  box-shadow: 0 0 0 4px rgba(37, 75, 67, 0.08);
  background: #fff;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.submit-btn {
  display: inline-block;
  border: none;
  padding: 14px 28px;
  border-radius: 14px;
  background: #bb9c5e;
  color: #fff;
  font-size: var(--type-body);
  font-weight: 700;
  cursor: pointer;
}

.map-header {
  padding: 30px 30px 20px;
}

.map-frame iframe {
  width: 100%;
  height: 470px;
  border: 0;
  display: block;
}

.partner-flow {
  position: relative;
  background: linear-gradient(135deg, #fbfefd, #f2f1ec, #f9e4d6);
  border-radius: 34px;
  padding: 45px;
  box-shadow: 0 24px 60px rgba(18, 53, 61, 0.12);
  overflow: hidden;
}

.top-partner-card,
.partner-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 28px;
  padding: 34px 30px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(17, 57, 67, 0.08);
}

.top-partner-card {
  max-width: 520px;
  margin: 0 auto;
  background: #666;
  color: #fff;
}

.top-partner-card h3 {
  color: #fff;
}

.top-partner-card p {
  color: rgba(255, 255, 255, 0.88);
}

.partner-card h3 {
  color: #123038;
}

.partner-card p {
  color: #61757c;
}

.top-partner-card span,
.partner-card span {
  display: inline-block;
  font-size: var(--type-meta);
  font-weight: 700;
  color: #d68d60;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.partner-card:hover {
  transform: translateY(-8px);
}

.partner-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 22px;
  background: #bb9c5e;
  color: #fff;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-line {
  width: 2px;
  height: 70px;
  background: linear-gradient(to bottom, #254b43, #d68d60);
  margin: 0 auto;
  position: relative;
}

.flow-line::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  border-right: 3px solid #d68d60;
  border-bottom: 3px solid #d68d60;
}

.middle-title {
  text-align: center;
  margin: 25px auto 35px;
  max-width: 620px;
}

.middle-title h4 {
  color: #123038;
  margin-bottom: 8px;
}

.middle-title p {
  color: #60737a;
}

.dual-partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  position: relative;
}

.ecosystem-box {
  background: #bb9c5e;
  border-radius: 34px;
  padding: 50px 42px;
  color: #fff;
}

.ecosystem-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 36px;
}

.ecosystem-content h2 {
  color: #fff;
}

.ecosystem-content p {
  color: rgba(255, 255, 255, 0.88);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.eco-item {
  background: #666666;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  text-align: center;
}

.eco-item i {
  font-size: 30px;
  margin-bottom: 12px;
  color: #d68d60;
}

.eco-item h4 {
  color: #fff;
  margin: 0;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #666666;
  color: #fff;
  font-weight: 600;
}

.partner-link:hover {
  color: #fff;
}

.privacy-content ul,
.about-content ul {
  margin: 0 0 16px 18px;
  color: #182b27;
  font-size: var(--type-body);
  line-height: 1.7;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  cursor: zoom-in;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.05));
  pointer-events: none;
}

.product-body {
  padding: var(--space-card);
}

.product-category {
  display: inline-block;
  font-weight: 600;
  color: #b67b35;
  background: #fff4e8;
  padding: 6px 12px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.product-title {
  margin-bottom: 15px;
}

.quick-btn,
.submit-enquiry-btn {
  border: none;
  background: #bb9c5e;
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.category-intro {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: #fff8ef;
  border: 1px solid rgba(187, 156, 94, 0.28);
  border-radius: 16px;
  padding: 18px 22px;
  color: #444;
  line-height: 1.7;
  display: none;
}

.category-intro.is-visible {
  display: block;
}

.filter-btn {
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  background: #bb9c5e;
  color: #fff;
  border: 0;
}

.filter-btn.active,
.filter-btn:hover {
  box-shadow: 0 6px 12px rgba(221, 155, 107, 0.5);
  color: #666;
}

.enquiry-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  padding: 20px;
  align-items: center;
  justify-content: center;
}

.enquiry-modal-content {
  background: #fff;
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  padding: 30px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 15px;
  border: none;
  background: none;
  font-size: 30px;
  cursor: pointer;
}

.product-image::after {
  content: "View";
  position: absolute;
  right: 12px;
  top: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: var(--type-meta);
  padding: 6px 10px;
  border-radius: 30px;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.fancybox__nav,
.fancybox__carousel .f-button.is-prev,
.fancybox__carousel .f-button.is-next,
.fancybox__carousel .carousel__button.is-prev,
.fancybox__carousel .carousel__button.is-next,
.fancybox__footer .carousel__dots,
.f-thumbs {
  display: none !important;
}

@media (max-width: 1100px) {
  .about-grid,
  .values-grid,
  .why-choose-grid,
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mv-full-grid {
    grid-template-columns: 1fr;
  }

  .mv-full-block + .mv-full-block {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(20, 52, 59, 0.12);
    padding-top: 28px;
  }
}

@media (max-width: 991px) {
  .contact-info-grid,
  .dual-partners,
  .ecosystem-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-main-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .ecosystem-grid .eco-item:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .about-grid,
  .services-grid,
  .values-grid,
  .why-choose-grid,
  .contact-info-grid,
  .dual-partners,
  .ecosystem-grid,
  .form-grid,
  .why-list {
    grid-template-columns: 1fr;
  }

  .about-card {
    min-height: auto;
  }

  .ecosystem-grid .eco-item:last-child {
    grid-column: span 1;
  }

  .partner-flow,
  .ecosystem-box,
  .cta-box {
    padding: 30px 22px;
  }

  .contact-form-box,
  .map-header {
    padding-left: 20px;
    padding-right: 20px;
  }

  .map-frame iframe {
    height: 320px;
  }
}
