/* Homepage sections — Paraflex-inspired, SIRCAA brand */

:root {
  --surface-soft: #f4f6f9;
  --surface-warm: #faf8f5;
  --surface-white: #FFFEF7;
  --accent-line: #1F5EA8;
  --accent-red: #c62828;
  --accent-maroon: #5c2148;
  --text-body: #4a5568;
}

.section-soft { background: var(--surface-soft); }
.section-warm { background: var(--surface-warm); }
.section-white { background: var(--surface-white); }

/* —— Hero tucked overlap (Paraflex) —— */
.hero-tucked {
  background: var(--surface-white);
  margin-bottom: 0;
  padding-bottom: 0;
}
.hero-tucked .hero-swiper {
  position: relative;
  z-index: 1;
}
.hero-tucked .hero-pagination {
  bottom: 28px !important;
}
@media (min-width: 768px) {
  .hero-tucked .hero-pagination {
    bottom: 130px !important;
  }
}
.hero-overlap-cards {
  position: relative;
  z-index: 12;
  margin-top: -105px;
  padding: 0 0 2.5rem;
  background: transparent;
}
@media (min-width: 992px) {
  .hero-overlap-cards { margin-top: -120px; padding-bottom: 3rem; }
}
.page-home .hero-feature-card {
  min-height: 300px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
  border: none;
}
.page-home .hero-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
}
.page-home .hfc-default {
  position: absolute;
  inset: 0;
  padding: 2.25rem 1.5rem 2rem;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  background: var(--brand-white);
}
.page-home .hfc-default .hfc-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-red);
  color: var(--brand-white);
  font-size: 1.85rem;
  margin-bottom: 0.15rem;
  transition: background 0.4s ease, color 0.4s ease;
}
.page-home .hfc-default h3 {
  font-size: 1.12rem;
  margin: 1rem 0 0.75rem;
  color: #1a2a3a;
  font-weight: 700;
}
.page-home .hfc-default p {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0;
}
.page-home .hfc-hover::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(26, 42, 58, 0.82) 100%);
  backdrop-filter: blur(2px);
}
.page-home .hfc-hover-inner .hfc-icon {
  background: var(--brand-white);
  color: var(--accent-red);
  width: 72px;
  height: 72px;
  font-size: 1.85rem;
}
.page-home .hfc-hover-inner h3,
.page-home .hfc-hover-inner p {
  color: var(--brand-white);
}
.page-home .hfc-btn {
  border-radius: 3px;
  padding: 0.45rem 1.15rem;
  font-size: 0.78rem;
  background: var(--brand-white);
  color: #333;
  font-weight: 600;
}

/* —— Who We Are (Paraflex layout) —— */
.section-who-we {
  padding: 1rem 0 2.25rem;
  background: var(--surface-white);
  position: relative;
  overflow: hidden;
}
@media (min-width: 992px) {
  .section-who-we { padding-top: 0.5rem; }
}
.section-who-we::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  background:
    linear-gradient(135deg, transparent 40%, rgba(198, 40, 40, 0.03) 40%),
    linear-gradient(225deg, transparent 50%, rgba(31, 94, 168, 0.04) 50%);
  opacity: 0.9;
  pointer-events: none;
}
.who-image-wrap {
  position: relative;
  margin-bottom: 2.5rem;
}
@media (min-width: 992px) {
  .who-image-wrap { margin-bottom: 0; }
}
.who-main-photo {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  display: block;
}
.who-badge-pf {
  position: absolute;
  background: var(--brand-white);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}
.who-badge-pf.top-right {
  top: 14px;
  right: -8px;
}
.who-badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-red);
  color: var(--brand-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.who-badge-text strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a2a3a;
  line-height: 1.1;
}
.who-badge-text span {
  font-size: 0.8rem;
  color: var(--text-body);
  font-weight: 500;
}
.who-golden-years {
  position: absolute;
  left: 0;
  bottom: -12px;
  display: flex;
  align-items: flex-end;
  gap: 0;
  z-index: 2;
}
.who-triangle-num {
  background: var(--accent-red);
  color: var(--brand-white);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.65rem 1.1rem 0.85rem;
  clip-path: polygon(0 0, 100% 0, 78% 100%, 0 100%);
  min-width: 88px;
  text-align: center;
}
.who-golden-caption {
  margin: 0;
  padding: 0.75rem 1rem 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1a2a3a;
  max-width: 200px;
  line-height: 1.3;
  background: var(--surface-white);
}
.who-tag-pf {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent-red);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}
.who-tag-bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}
.who-tag-bars span {
  display: block;
  height: 3px;
  background: var(--accent-red);
  border-radius: 1px;
}
.who-tag-bars span:nth-child(1) { width: 20px; }
.who-tag-bars span:nth-child(2) { width: 12px; }
.who-tag-bars span:nth-child(3) { width: 18px; }
.section-who-we .section-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 1.25rem;
  color: #1a2a3a;
}
.section-who-we p {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.btn-know-more {
  background: var(--accent-maroon);
  color: white;
  border-radius: 6px;
  padding: 0.7rem 1.85rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
  transition: 0.3s;
  box-shadow: 0 6px 20px rgba(92, 33, 72, 0.25);
}
.btn-know-more:hover {
  background: #4a1a3a;
  color: white;
  transform: translateY(-2px);
}

/* —— Why Choose —— */
.section-why-choose {
  padding: 2.25rem 0;
  background:
    linear-gradient(165deg, #0f2848 0%, #1a4d8c 42%, #2d6eb5 100%);
  position: relative;
  overflow: hidden;
}
.section-why-choose::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 199, 163, 0.12), transparent 70%);
  top: -120px;
  right: -80px;
  pointer-events: none;
}
.section-why-choose::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.why-card-pf {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 2rem 1.65rem;
  height: 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.why-card-pf:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}
.why-card-pf .card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(216, 199, 163, 0.95) !important;
  color: #1a2a3a !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.why-card-pf h3 {
  color: white;
  font-size: 1.1rem;
  margin: 1rem 0 0.75rem;
}
.why-card-pf p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}

/* —— Products Paraflex —— */
.section-products-paraflex {
  position: relative;
  padding: 2.25rem 0 3rem;
  overflow: visible;
}
.products-paraflex-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(15, 40, 72, 0.88), rgba(21, 62, 115, 0.92)),
    url('https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?w=1920&q=70') center/cover;
  z-index: 0;
}
.products-paraflex-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(95, 169, 221, 0.15) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.5;
}
.products-header-pf {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 2.5rem;
}
.products-header-pf .pf-sub {
  color: #f4a9a9;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.products-header-pf .pf-sub::before,
.products-header-pf .pf-sub::after {
  content: '|';
  margin: 0 0.5rem;
  opacity: 0.7;
}
.products-header-pf h2 {
  color: white;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.product-card-pf {
  display: block;
  position: relative;
  aspect-ratio: 1;
  background: #f2f4f7;
  border: 2px solid #d0d8e4;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.product-card-pf:hover,
.product-card-pf.is-active {
  border-color: var(--brand-light);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 2;
}
.pcpf-img {
  position: absolute;
  inset: 8px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f7;
}
.pcpf-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-card-pf:hover .pcpf-img,
.product-card-pf.is-active .pcpf-img {
  transform: scale(0.88);
}
.pcpf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(88, 28, 135, 0.85) 0%, rgba(21, 62, 115, 0.95) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.product-card-pf:hover .pcpf-overlay,
.product-card-pf.is-active .pcpf-overlay {
  opacity: 1;
}
.pcpf-overlay h3 {
  color: white;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}
.pcpf-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pcpf-read {
  background: var(--surface-white, #FFFEF7);
  color: #333;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 2px;
}

/* Products bottom CTA — red arch, worker tucked up */
.products-bottom-cta {
  position: relative;
  z-index: 3;
  margin-top: 2.5rem;
  padding: 0 0 0;
  overflow: visible;
}
.products-cta-arch {
  position: relative;
  background: var(--accent-red);
  border-radius: 50% 50% 0 0 / 28% 28% 0 0;
  padding: 3.5rem 1.5rem 2.5rem;
  margin: 0 auto;
  max-width: 1000px;
  text-align: center;
  box-shadow: 0 -8px 40px rgba(198, 40, 40, 0.35);
}
@media (min-width: 768px) {
  .products-cta-arch {
    border-radius: 50% 50% 0 0 / 22% 22% 0 0;
    padding: 3.75rem 2.5rem 2.75rem 280px;
    text-align: left;
    min-height: 220px;
  }
}
.products-cta-figure {
  margin: 0;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  line-height: 0;
}
@media (min-width: 768px) {
  .products-cta-figure {
    left: 0;
    transform: none;
    max-width: 42%;
  }
}
.products-cta-figure img {
  max-height: 280px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.25));
  transform: translateY(-35%);
}
@media (min-width: 768px) {
  .products-cta-figure img {
    max-height: 340px;
    transform: translateY(-42%);
  }
}
.products-cta-inner {
  position: relative;
  z-index: 2;
}
.products-cta-inner .cta-small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}
.products-cta-inner h3 {
  color: var(--brand-white);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}
.btn-cta-quote {
  border: 2px solid var(--brand-white);
  color: var(--brand-white);
  background: transparent;
  padding: 0.55rem 1.65rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}
.btn-cta-quote:hover {
  background: var(--brand-white);
  color: var(--accent-red);
}

/* —— Certifications framed —— */
.section-certs-framed {
  padding: 2.25rem 0;
  background: var(--surface-warm);
}
.cert-frame {
  border: 3px solid #c9a227;
  padding: 8px;
  background: linear-gradient(145deg, #f5e6c8, #e8d4a8);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-radius: 2px;
}
.cert-frame img {
  width: 100%;
  display: block;
  background: var(--surface-white, #FFFEF7);
}
.cert-frame-lg {
  max-width: 100%;
}
.cert-frame-sm {
  height: 100%;
  min-height: 120px;
}
.cert-frame-sm img {
  height: 120px;
  object-fit: cover;
}
.certs-trust-line {
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 0.5rem 0 1rem;
}
.certs-trust-line strong {
  color: var(--brand-dark);
}

/* —— Contact + Map —— */
.section-contact-map {
  padding: 2.25rem 0;
  background: var(--surface-soft);
  position: relative;
}
.section-contact-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?w=1600&q=50') center/cover;
  opacity: 0.04;
}
.tag-with-line {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent-red);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.tag-with-line::after {
  content: '';
  width: 50px;
  height: 2px;
  background: var(--accent-red);
}
.contact-map-form .form-control {
  border-radius: 4px;
  border: 1px solid #d0dae8;
  font-size: 0.9rem;
}
.btn-submit-pf {
  background: var(--accent-red);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 0.75rem 2.5rem;
  font-weight: 600;
  width: 100%;
  max-width: 200px;
  margin: 0;
  display: block;
}
.btn-submit-pf:hover {
  background: #a82020;
  color: white;
}
.map-presence-wrap {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--gray-200);
  background: #eef2f6;
}
.map-presence-wrap.map-static .map-presence-img {
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 360px;
  object-fit: cover;
  display: block;
}
.map-legend-pf {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1rem;
  padding: 1rem;
  background: var(--surface-white, #FFFEF7);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  font-size: 0.8rem;
}
.map-legend-pf span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--brand-dark);
}
.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.legend-dot.hq { background: #00bcd4; }
.legend-dot.depot { background: #e53935; }
.legend-dot.supply { background: #7b1fa2; }
.legend-dot.plant { background: #ab47bc; }

/* —— FAQ premium —— */
.section-faq-premium {
  padding: 2.25rem 0;
  background: var(--surface-white);
}
.faq-list-premium {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item-pf {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: var(--surface-white);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.faq-item-pf.active {
  border-color: var(--brand-light);
  box-shadow: 0 4px 20px rgba(31, 94, 168, 0.1);
}
.faq-question-pf {
  width: 100%;
  text-align: left;
  padding: 1.15rem 1.35rem;
  background: none;
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark-charcoal);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}
.faq-question-pf i {
  color: var(--brand-dark);
  font-size: 1rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item-pf.active .faq-question-pf i {
  transform: rotate(180deg);
}
.faq-answer-pf {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item-pf.active .faq-answer-pf {
  max-height: 280px;
}
.faq-answer-pf-inner {
  padding: 0 1.35rem 1.15rem;
  color: var(--text-body);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* Quality pills */
.quality-pill {
  background: var(--surface-white, #FFFEF7);
  border: 1px solid #e2eaf3;
  border-radius: 50px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-dark);
  transition: 0.3s;
}
.quality-pill:hover {
  border-color: var(--brand-light);
  box-shadow: 0 4px 16px rgba(31, 94, 168, 0.1);
}
.quality-pill i {
  color: var(--brand-dark);
  font-size: 1.25rem;
}

/* Stats softer */
.stats-section-balanced {
  background: linear-gradient(135deg, #0f2848 0%, var(--brand-dark) 55%, #3d7fc4 100%) !important;
}

/* Industries softer cards */
.industry-card-soft {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: 0.3s;
}
.industry-card-soft:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
}
.industry-card-soft i {
  color: var(--brand-beige);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}
.industry-card-soft h4 {
  color: white;
  font-size: 0.9rem;
  margin: 0;
}

@media (max-width: 991.98px) {
  .page-home .hero-feature-card { min-height: 260px; }
  .products-cta-arch {
    padding-top: 4.5rem;
    text-align: center;
  }
  .products-cta-inner { text-align: center; }
  .who-badge-pf.top-right { right: 4px; }
  .who-golden-years { bottom: -8px; }
}

@media (max-width: 767.98px) {
  .hero-overlap-cards {
    margin-top: -70px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.5rem;
  }
  .hero-overlap-cards .row {
    flex-wrap: nowrap;
    width: max-content;
    margin: 0;
    padding: 0 0.5rem;
  }
  .hero-overlap-cards .col-md-4 {
    flex: 0 0 85vw;
    max-width: 85vw;
    scroll-snap-align: center;
  }
  .page-home .hero-feature-card { min-height: 300px; }
  .cert-frame-sm { margin-bottom: 0.75rem; }
  .products-cta-figure img {
    max-height: 200px;
    transform: translateY(-28%);
  }
}
