:root {
  --navy: #071f45;
  --navy-2: #0b356f;
  --red: #b5121b;
  --red-2: #e21b2d;
  --dark: #101827;
  --text: #4b5563;
  --muted: #f4f7fb;
  --line: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(7, 31, 69, 0.12);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-text span,
.footer-brand span {
  color: #ffffff !important;
  font-weight: 800;
}

.brand-text small {
  display: block;
  font-size: 12px;
  color: var(--text);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 700;
  color: #334155;
  padding: 10px 13px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--navy);
  background: #eef4ff;
}

.nav-menu .nav-cta {
  background: var(--red);
  color: var(--white);
  padding: 11px 18px;
}

.nav-menu .nav-cta:hover {
  background: var(--navy);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--navy);
  border-radius: 99px;
}


.hero-section,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/building.png") center center / cover no-repeat;
  opacity: 0.14;
  pointer-events: none;
}

.hero-grid,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero-section {
  background:
    radial-gradient(circle at top right, rgba(181, 18, 27, 0.18), transparent 30%),
    linear-gradient(135deg, #071f45 0%, #0b356f 50%, #0d1b33 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-grid {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red-2);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

.hero-content .eyebrow,
.cta-box .eyebrow {
  color: #ffb4ba;
}

.hero-content h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-subtitle {
  margin: 24px 0 0;
  max-width: 650px;
  color: #dbeafe;
  font-size: 18px;
}

.hero-actions,
.cta-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
  font-size: 14px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-2);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

.cta-box .btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 44px;
  max-width: 690px;
}

.hero-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats strong {
  display: block;
  font-size: 15px;
  color: var(--white);
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: #bfdbfe;
  font-size: 13px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.panel-header {
  display: flex;
  gap: 8px;
  padding: 8px 6px 18px;
}

.panel-header span {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.hero-panel img {
  width: 100%;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
}

.panel-card {
  margin-top: 16px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
}

.panel-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.panel-card p {
  margin: 0;
  color: #dbeafe;
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2,
.split-content h2,
.cta-box h2,
.info-panel h2,
.about-text h2,
.vision-card h2,
.contact-card h2,
.contact-form h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p,
.split-content p,
.cta-box p,
.info-panel p,
.about-text p,
.vision-card p,
.contact-card p,
.contact-form p {
  color: var(--text);
  margin: 16px 0 0;
}

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

.feature-card,
.value-card,
.vision-card,
.service-card,
.process-step,
.contact-card,
.contact-form,
.info-panel,
.about-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.feature-number {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eef4ff;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 24px;
}

.feature-card h3,
.value-card h3,
.process-step h3,
.category-item span {
  color: var(--navy);
  margin: 0 0 10px;
  font-size: 20px;
}

.feature-card p,
.value-card p,
.process-step p,
.category-item small {
  color: var(--text);
  margin: 0;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 52px;
}

.category-list {
  display: grid;
  gap: 14px;
}

.category-item {
  display: block;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-decoration: none;
  transition: 0.2s ease;
}

.category-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #c7d2fe;
}

.category-item span,
.category-item small {
  display: block;
}

.cta-box {
  background:
    radial-gradient(circle at top right, rgba(226, 27, 45, 0.24), transparent 35%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  border-radius: 32px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  color: var(--white);
}

.cta-box p {
  color: #dbeafe;
  max-width: 750px;
}

.page-hero {
  background:
    radial-gradient(circle at top right, rgba(181, 18, 27, 0.15), transparent 32%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
  padding: 88px 0;
}

.page-hero p:not(.eyebrow) {
  max-width: 780px;
  color: #dbeafe;
  font-size: 18px;
}

.about-grid,
.vision-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 26px;
  color: var(--text);
  border-bottom: 1px solid #edf2f7;
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.values-grid {
  grid-template-columns: repeat(3, 1fr);
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  margin-bottom: 18px;
}

.catalog-toolbar label,
.contact-form label {
  display: block;
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 800;
}

.catalog-toolbar input,
.catalog-toolbar select,
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  outline: none;
  transition: 0.2s ease;
  background: var(--white);
}

.catalog-toolbar input:focus,
.catalog-toolbar select:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--navy-2);
  box-shadow: 0 0 0 4px rgba(11, 53, 111, 0.08);
}

.product-count {
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 700;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

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

.product-media {
  height: 190px;
  background: linear-gradient(135deg, #eef4ff, #ffffff);
  display: grid;
  place-items: center;
  padding: 24px;
}

.product-media img {
  width: 100%;
  max-width: 100%;
  max-height: 156px;
  object-fit: contain;
  border-radius: 14px;
}

.product-body {
  padding: 22px;
}

.product-category,
.product-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.product-category {
  color: var(--navy);
  background: #eef4ff;
}

.product-status {
  color: var(--red);
  background: #fff1f2;
  margin-left: 6px;
}

.product-body h3 {
  margin: 16px 0 8px;
  color: var(--navy);
  font-size: 20px;
}

.product-meta {
  display: grid;
  gap: 4px;
  margin: 0 0 12px;
  color: var(--text);
  font-size: 14px;
}

.product-meta strong {
  color: var(--navy);
}

.product-meta span {
  color: var(--red);
  font-weight: 700;
}

.product-body p {
  margin: 0 0 18px;
  color: var(--text);
}

.product-action {
  display: inline-flex;
  color: var(--red);
  font-weight: 800;
  text-decoration: none;
}

.info-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.info-panel h2 {
  font-size: 34px;
}

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

.service-card span {
  display: inline-flex;
  color: var(--red);
  font-weight: 800;
  margin-bottom: 24px;
}

.service-card h2 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 22px;
}

.service-card p {
  margin: 0;
  color: var(--text);
}

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

.process-step strong {
  color: var(--red);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card,
.contact-form {
  box-shadow: var(--shadow);
}

.contact-item {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item span {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-item strong {
  color: var(--navy);
}

.contact-item a {
  color: var(--navy);
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  color: var(--text);
}

.faq-wrapper {
  max-width: 860px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(7, 31, 69, 0.06);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: var(--white);
  border: 0;
  padding: 20px 22px;
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 18px;
  color: var(--red);
  font-size: 22px;
}

.faq-item.open .faq-question::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 22px 20px;
  color: var(--text);
}

.faq-item.open .faq-answer {
  display: block;
}

.site-footer {
  background: #06152f;
  color: var(--white);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 34px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}

.site-footer h3 {
  margin: 0 0 14px;
}

.site-footer p,
.site-footer a {
  color: #cbd5e1;
}

.site-footer a {
  display: block;
  text-decoration: none;
  margin-bottom: 8px;
}

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

.footer-bottom {
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 20px;
}

.footer-bottom p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: none;
  padding: 11px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  box-shadow: var(--shadow);
}

.back-to-top.show {
  display: inline-flex;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.no-results {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--text);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 14px;
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    border-radius: 12px;
  }

  .hero-grid,
  .split-grid,
  .about-grid,
  .vision-grid,
  .contact-grid,
  .cta-box {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .feature-grid,
  .product-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-toolbar,
  .info-panel,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .info-panel {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 74px;
  }

  .nav-menu {
    top: 74px;
    left: 14px;
    right: 14px;
  }

  .brand-text small {
    display: none;
  }

  .hero-grid {
    padding: 52px 0;
  }

  .hero-stats,
  .feature-grid,
  .product-grid,
  .service-grid,
  .process-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .page-hero {
    padding: 64px 0;
  }

  .cta-box {
    padding: 28px;
    border-radius: 24px;
  }

  .hero-actions,
  .cta-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .product-media {
    height: 165px;
  }
}

.article-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.article-status strong,
.article-status span {
  display: block;
}

.article-status strong {
  color: var(--navy);
  font-size: 20px;
}

.article-status span {
  color: var(--text);
  margin-top: 4px;
}

.article-toolbar {
  margin-top: 24px;
}

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

.article-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 315px;
  transition: 0.2s ease;
}

.article-card:hover {
  transform: translateY(-4px);
}

.article-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.article-category {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  color: var(--navy);
  background: #eef4ff;
}

.article-date {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.article-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.25;
}

.article-card p {
  margin: 0 0 16px;
  color: var(--text);
}

.article-source {
  display: block;
  margin-top: auto;
  color: var(--red);
  font-weight: 800;
  font-size: 13px;
}

.article-action {
  display: inline-flex;
  margin-top: 14px;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.article-action:hover {
  color: var(--red);
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

@media (max-width: 980px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-status {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .article-grid {
    grid-template-columns: 1fr;
  }

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


.footer-grid p { margin: 0 0 8px; }

.product-media {
  background: linear-gradient(135deg, #f8fbff, #ffffff);
}

.product-media img {
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  padding: 10px;
}

.article-source a {
  color: var(--red);
  text-decoration: none;
}

.article-source a:hover {
  text-decoration: underline;
}

.article-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
  align-items: center;
}

.article-alt-link {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.article-alt-link:hover {
  color: var(--red);
}

/* Header brand visibility improvement */
.site-header .brand {
  gap: 14px;
}

.site-header .brand-logo {
  width: 58px;
  height: 58px;
}

.site-header .brand-text span {
  color: #061f4a !important;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}

.site-header .brand-text small {
  color: #b5121b !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .site-header .brand-logo {
    width: 48px;
    height: 48px;
  }

  .site-header .brand-text span {
    font-size: 16px;
    line-height: 1.1;
  }

  .site-header .brand-text small {
    font-size: 10px;
  }
}


/* Final header brand visibility */
.site-header .brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-header .brand-text span {
  display: block;
  color: #111111 !important;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-transform: uppercase;
  text-shadow: none;
}

.site-header .brand-text small {
  color: #374151 !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.back-to-top {
  background: #16a34a !important;
  color: #ffffff !important;
  padding: 12px 16px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  box-shadow: 0 18px 38px rgba(22, 163, 74, 0.35) !important;
}

.back-to-top:hover {
  transform: translateY(-2px);
  background: #15803d !important;
}

@media (max-width: 640px) {
  .site-header .brand-text span {
    font-size: 17px;
  }

  .site-header .brand-text small {
    font-size: 10px;
  }

  .back-to-top {
    padding: 11px 14px !important;
    font-size: 12px !important;
  }
}


/* Final revision: clearer header brand text */
.site-header .brand-text span {
  color: #111111 !important;
  text-shadow: none !important;
}

.site-header .brand-text small {
  color: #4b5563 !important;
}

/* Floating WhatsApp button */
.back-to-top {
  background: #25d366 !important;
  color: transparent !important;
  width: 58px !important;
  height: 58px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 42px rgba(37, 211, 102, 0.36) !important;
  border: none;
  font-size: 0 !important;
}

.back-to-top.show {
  display: inline-flex !important;
}

.back-to-top svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: #ffffff;
}

.back-to-top:hover {
  background: #1ebe5d !important;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .back-to-top {
    width: 54px !important;
    height: 54px !important;
  }

  .back-to-top svg {
    width: 28px;
    height: 28px;
  }
}


/* Final WhatsApp floating button precision */
.back-to-top {
  width: 58px !important;
  height: 58px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #25d366 !important;
  color: transparent !important;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 0 !important;
  font-size: 0 !important;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.32) !important;
}

.back-to-top.show {
  display: inline-flex !important;
}

.back-to-top svg {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  display: block !important;
  fill: #ffffff !important;
  transform: none !important;
  margin: 0 !important;
}

.back-to-top:hover {
  background: #1ebe5d !important;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .back-to-top {
    width: 54px !important;
    height: 54px !important;
  }

  .back-to-top svg {
    width: 30px !important;
    height: 30px !important;
  }
}


/* ===== Final refinement: updated products, alignment, interactive cards ===== */
.eyebrow {
  animation: rafishaGlowText 7s ease-in-out infinite;
  text-shadow: 0 0 14px rgba(255, 127, 143, 0.24);
}

@keyframes rafishaGlowText {
  0% { color: #ffb4ba; text-shadow: 0 0 10px rgba(255, 104, 129, 0.18); }
  35% { color: #ffd1d5; text-shadow: 0 0 16px rgba(255, 174, 186, 0.28); }
  68% { color: #c9d8ff; text-shadow: 0 0 16px rgba(145, 180, 255, 0.22); }
  100% { color: #ffb4ba; text-shadow: 0 0 10px rgba(255, 104, 129, 0.18); }
}

.hero-content h1,
.page-hero h1 {
  max-width: 12ch;
  line-height: 0.94;
}

.hero-subtitle {
  max-width: 760px;
}

.hero-actions {
  justify-content: flex-start;
  align-items: center;
}

.hero-actions .btn,
.info-panel .btn,
.split-content .btn,
.article-status .btn {
  min-width: 220px;
  min-height: 58px;
  padding-inline: 28px;
  font-size: 15px;
  text-align: center;
}

.hero-actions .btn-secondary {
  box-shadow: inset 0 0 0 1px rgba(11, 30, 68, 0.08);
}

.hero-panel,
.panel-card,
.about-card,
.info-panel,
.article-status {
  border-radius: 28px;
}

.panel-card {
  display: grid;
  gap: 10px;
}

.split-grid,
.about-grid {
  align-items: start;
}

.category-item,
.article-card,
.feature-card,
.value-card,
.vision-card,
.service-card,
.process-step,
.contact-card,
.contact-form,
.about-card {
  border-radius: 26px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  border-radius: 28px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
}

.product-preview-trigger {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.product-media {
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  border-bottom: 1px solid var(--line);
}

.product-media img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: 18px;
}

.product-zoom-badge {
  display: inline-flex;
  margin: -18px 0 0 18px;
  position: relative;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11, 53, 111, 0.9);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(11, 53, 111, 0.18);
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  flex: 1;
}

.product-body h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.08;
}

.product-body p {
  margin: 0;
  line-height: 1.65;
}

.product-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-status {
  margin-left: 0;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 4px;
}

.product-action {
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}

.product-detail-action {
  background: #eaf2ff;
  color: var(--navy);
}

.product-wa-action {
  background: var(--red);
  color: #fff;
}

.product-wa-action:hover,
.product-detail-action:hover {
  transform: translateY(-1px);
}

.product-modal,
.product-modal-image {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

.product-modal.show,
.product-modal-image.show {
  display: block;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 17, 34, 0.65);
  backdrop-filter: blur(6px);
}

.product-modal-dialog,
.product-image-dialog {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 32px));
  margin: 4vh auto;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 32px 72px rgba(2, 6, 23, 0.28);
  overflow: hidden;
}

.product-modal-content {
  padding: 28px;
}

.product-modal-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.product-modal-image-trigger {
  display: grid;
  gap: 12px;
  border: 0;
  width: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  padding: 22px;
  border-radius: 24px;
  cursor: zoom-in;
}

.product-modal-image-trigger img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 18px;
}

.product-modal-image-trigger span {
  color: var(--navy);
  font-weight: 800;
  text-align: center;
}

.product-modal-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-modal-copy h3 {
  margin: 14px 0 0;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.04;
}

.product-modal-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin: 20px 0 18px;
}

.product-modal-meta div {
  padding: 14px 16px;
  background: #f8fbff;
  border: 1px solid #e1ebff;
  border-radius: 18px;
}

.product-modal-meta strong {
  display: block;
  color: var(--navy);
  font-size: 13px;
  margin-bottom: 6px;
}

.product-modal-meta span {
  color: var(--text);
  font-weight: 600;
}

.product-modal-copy p {
  margin: 0;
  color: var(--text);
  line-height: 1.75;
}

.product-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.product-image-dialog {
  width: min(900px, calc(100% - 32px));
  padding: 20px;
  background: rgba(255,255,255,0.98);
}

.product-image-dialog img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  border-radius: 22px;
}

body.modal-open {
  overflow: hidden;
}

.info-panel,
.article-status {
  align-items: center;
}

.info-panel > div,
.article-status > div {
  flex: 1;
}

.article-status {
  gap: 24px;
}

.article-status strong {
  font-size: 18px;
  line-height: 1.2;
}

.article-status span {
  margin-top: 10px;
  line-height: 1.6;
}

.article-status-cta,
.article-status .btn {
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red) !important;
  box-shadow: 0 16px 34px rgba(181, 18, 27, 0.22);
}

.about-text {
  text-align: center;
}

.about-text p {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .product-modal-layout {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-content,
  .page-hero .container,
  .split-content,
  .about-text,
  .article-status,
  .info-panel {
    text-align: center;
  }

  .info-panel,
  .article-status {
    flex-direction: column;
  }

  .product-modal-actions,
  .hero-actions,
  .split-content .btn,
  .info-panel .btn,
  .article-status .btn {
    justify-content: center;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .hero-content h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 13vw, 62px);
    text-align: left;
  }

  .hero-subtitle,
  .page-hero p,
  .split-content p,
  .about-text p,
  .article-status span {
    font-size: 16px;
    line-height: 1.7;
  }

  .hero-actions {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    padding-inline: 14px;
  }

  .split-content .btn,
  .info-panel .btn,
  .article-status .btn {
    width: 100%;
    min-width: 0;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-modal-content {
    padding: 22px 18px 18px;
  }

  .product-modal-meta {
    grid-template-columns: 1fr;
  }

  .product-actions,
  .product-modal-actions {
    flex-direction: column;
  }

  .product-action,
  .product-modal-actions .btn {
    width: 100%;
  }

  .article-status {
    padding: 22px;
  }

  .article-status strong {
    font-size: 17px;
  }

  .product-zoom-badge {
    margin-left: 14px;
  }
}

/* ===== Final alignment refinement for hero, section titles, and company panel ===== */

/* Make every major title start from the same visual line and avoid oversized broken text */
.hero-section,
.page-hero {
  overflow: hidden;
}

.hero-grid,
.page-hero .container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.hero-content,
.page-hero .container {
  text-align: left;
}

.hero-content h1,
.page-hero h1 {
  max-width: 980px !important;
  font-size: clamp(46px, 7.4vw, 92px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
  text-wrap: balance;
}

.page-hero h1 {
  max-width: 1040px !important;
}

.hero-subtitle,
.page-hero p {
  max-width: 760px;
  line-height: 1.65;
}

/* Give the logo/name panel more breathing room */
.hero-panel {
  padding: 34px !important;
}

.hero-panel img {
  max-width: 76px;
  margin-bottom: 24px;
}

.hero-panel .panel-card {
  margin-top: 20px;
}

.panel-card h2 {
  line-height: 1.16;
  margin-bottom: 16px;
}

.panel-card p {
  line-height: 1.72;
}

/* Align split sections more neatly */
.split-grid {
  align-items: center !important;
  gap: 64px !important;
}

.split-content {
  max-width: 620px;
}

.split-content h2 {
  font-size: clamp(42px, 6.5vw, 78px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.055em !important;
  text-wrap: balance;
}

.split-content p {
  max-width: 680px;
  line-height: 1.72;
}

.category-list {
  align-self: center;
}

.category-item {
  min-height: 112px;
  display: grid;
  align-content: center;
}

/* Product information box alignment */
.info-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center !important;
  gap: 36px !important;
  padding: 34px !important;
}

.info-panel h2 {
  line-height: 1.08;
}

.info-panel p {
  max-width: 780px;
  line-height: 1.72;
}

/* Article status box precision */
.article-status {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center !important;
  padding: 30px 34px !important;
  gap: 34px !important;
}

.article-status strong,
.article-status span {
  text-align: left;
}

.article-status .btn {
  min-width: 250px;
}

/* About text centered but visually constrained */
.about-text {
  text-align: center !important;
}

.about-text h2 {
  text-align: center;
}

.about-text p {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.76;
}

/* Product card text alignment and spacing */
.product-body h3,
.product-body p,
.product-meta {
  text-align: left;
}

.product-card {
  height: 100%;
}

.product-body {
  min-height: 310px;
}

/* Mobile/tablet precision */
@media (max-width: 980px) {
  .hero-grid,
  .page-hero .container {
    width: min(100% - 40px, 720px);
  }

  .hero-content,
  .page-hero .container,
  .split-content,
  .info-panel,
  .article-status {
    text-align: center !important;
  }

  .hero-content h1,
  .page-hero h1,
  .split-content h2 {
    max-width: 100% !important;
    text-align: center !important;
  }

  .hero-subtitle,
  .page-hero p,
  .split-content p,
  .info-panel p {
    margin-left: auto;
    margin-right: auto;
  }

  .split-grid {
    gap: 36px !important;
  }

  .info-panel,
  .article-status {
    grid-template-columns: 1fr !important;
    justify-items: center;
  }

  .article-status strong,
  .article-status span {
    text-align: center;
  }

  .article-status .btn,
  .info-panel .btn {
    width: min(100%, 360px);
  }
}

@media (max-width: 640px) {
  .hero-grid,
  .page-hero .container {
    width: min(100% - 36px, 560px);
  }

  .hero-grid {
    padding-top: 46px;
    padding-bottom: 54px;
  }

  .page-hero {
    padding: 54px 0;
  }

  .hero-content h1,
  .page-hero h1 {
    font-size: clamp(40px, 12vw, 58px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.05em !important;
  }

  .split-content h2 {
    font-size: clamp(38px, 11vw, 56px) !important;
    line-height: 1.05 !important;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn {
    min-height: 54px;
  }

  .hero-panel {
    padding: 26px !important;
  }

  .hero-panel img {
    max-width: 72px;
    margin-bottom: 22px;
  }

  .panel-card {
    padding: 22px;
  }

  .info-panel,
  .article-status {
    padding: 26px 22px !important;
  }

  .category-item {
    min-height: auto;
  }
}
