:root {
  --color-primary: #233447;
  --color-primary-dark: #162536;
  --color-accent: #c7353d;
  --color-accent-dark: #a7222b;
  --color-green: #3f7f72;
  --color-bg: #fbfaf7;
  --color-bg-soft: #f1f5f4;
  --color-surface: #ffffff;
  --color-text: #17212b;
  --color-muted: #5f6d78;
  --color-border: #dbe2e3;
  --color-whatsapp: #25d366;
  --color-phone: #1f6feb;
  --shadow-soft: 0 12px 34px rgba(22, 37, 54, 0.1);
  --shadow-card: 0 18px 50px rgba(22, 37, 54, 0.12);
  --shadow-premium: 0 26px 74px rgba(22, 37, 54, 0.18);
  --radius: 8px;
  --container: 1140px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  padding-top: var(--header-height);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

body.menu-open {
  overflow: hidden;
}

img,
svg,
iframe,
video {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 84px 0;
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0)),
    var(--color-bg-soft);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.section-heading h2,
.about-content h2 {
  margin: 0;
  color: var(--color-primary-dark);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.18;
  text-wrap: balance;
}

.section-heading p:last-child {
  margin: 12px 0 0;
  color: var(--color-muted);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: var(--header-height);
  width: 100%;
  background: rgba(251, 250, 247, 0.86);
  border-bottom: 1px solid rgba(219, 226, 227, 0.86);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(22, 37, 54, 0.08);
}

.navbar {
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo,
.footer-logo {
  width: min(248px, 42vw);
  min-height: 46px;
  display: inline-flex;
  align-items: center;
}

.logo {
  width: min(220px, 38vw);
}

.logo img,
.footer-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 42px;
  object-fit: contain;
}

.logo img[hidden],
.footer-logo img[hidden] {
  display: none;
}

.nav-menu {
  position: static;
  left: auto;
  justify-self: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
  transform: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 11px;
  border-radius: var(--radius);
  color: #263747;
  font-size: 0.94rem;
  font-weight: 760;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent-dark);
  background: rgba(199, 53, 61, 0.08);
}

.nav-link--cta {
  color: #ffffff;
  background: var(--color-primary);
}

.nav-link--cta:hover,
.nav-link--cta.active {
  color: #ffffff;
  background: var(--color-accent);
}

.menu-toggle {
  justify-self: end;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  padding-top: 58px;
  padding-bottom: 70px;
  background:
    linear-gradient(135deg, rgba(22, 37, 54, 0.96), rgba(35, 52, 71, 0.92) 54%, rgba(63, 127, 114, 0.7)),
    url("img/WhatsApp Image 2026-08-17 at 17.45.58 (1).jpeg") center / cover no-repeat;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0), var(--color-bg));
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
  gap: 58px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  line-height: 1.04;
  text-wrap: balance;
}

.hero__lead {
  margin: 18px 0 0;
  color: #ffffff;
  font-size: clamp(1.04rem, 2vw, 1.28rem);
  font-weight: 760;
}

.hero__text {
  max-width: 620px;
  margin: 14px 0 0;
  color: #dfe8e7;
  font-size: 1.05rem;
}

.hero .section-kicker,
.cta-strip .section-kicker {
  color: #f3c5c9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

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

.btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  box-shadow: 0 14px 34px rgba(199, 53, 61, 0.26);
}

.btn--secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(12px);
}

.hero__visual,
.about-media {
  position: relative;
  width: min(100%, 468px);
  margin: 0;
  justify-self: center;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 22px;
  overflow: hidden;
  background: #e7ecec;
  box-shadow: var(--shadow-premium);
}

.hero__visual img,
.about-media img,
.service-card img,
.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero__visual figcaption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 2px;
  padding: 14px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(22, 37, 54, 0.82);
  backdrop-filter: blur(10px);
}

.hero__visual span {
  color: #f3c5c9;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero__visual strong {
  font-size: 0.96rem;
  line-height: 1.35;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 54px;
}

.about-media {
  border-color: var(--color-border);
}

.content-box {
  color: var(--color-muted);
  font-size: 1.02rem;
}

.content-box p:first-child {
  margin-top: 18px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.feature-list span {
  position: relative;
  padding: 9px 12px 9px 28px;
  border: 1px solid rgba(63, 127, 114, 0.2);
  border-radius: var(--radius);
  color: var(--color-primary-dark);
  background: rgba(63, 127, 114, 0.08);
  font-weight: 750;
}

.feature-list span::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-green);
  transform: translateY(-50%);
}

.service-grid,
.process-grid,
.article-grid,
.gallery-grid,
.contact-grid {
  display: grid;
  gap: 20px;
}

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

.service-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  border-color: rgba(199, 53, 61, 0.32);
  box-shadow: var(--shadow-card);
  transform: translateY(-5px);
}

.service-card img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
}

.service-card h3,
.process-card h3,
.article-card h3,
.contact-card h3 {
  margin: 0 0 8px;
  color: var(--color-primary-dark);
  font-size: 1.02rem;
  line-height: 1.28;
}

.service-card p,
.process-card p,
.article-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.corporate-section {
  padding: 74px 0;
  background:
    linear-gradient(135deg, rgba(22, 37, 54, 0.95), rgba(35, 52, 71, 0.9)),
    url("img/WhatsApp Image 2026-08-17 at 17.45.58 (1).jpeg") center / cover no-repeat;
}

.corporate-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: #ffffff;
  background: rgba(22, 37, 54, 0.72);
  box-shadow: var(--shadow-premium);
  backdrop-filter: blur(12px);
}

.corporate-panel h2,
.cta-strip h2 {
  margin: 0;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  line-height: 1.16;
  text-wrap: balance;
}

.corporate-panel p:last-child,
.cta-strip p:last-child {
  margin: 12px 0 0;
  max-width: 660px;
  color: #dfe8e7;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-card {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.process-card span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--color-accent);
  font-weight: 900;
}

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

.article-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 249, 0.96));
  box-shadow: var(--shadow-soft);
}

.article-card span,
.article-card time {
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.article-card span {
  color: var(--color-green);
  text-transform: uppercase;
}

.article-card time {
  margin-top: 6px;
}

.article-card h3 {
  margin-top: 16px;
  font-size: 1.12rem;
}

.article-card a {
  margin-top: auto;
  padding-top: 18px;
  color: var(--color-accent-dark);
  font-weight: 850;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(22, 37, 54, 0.78));
  pointer-events: none;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 16px;
  color: #ffffff;
  font-weight: 850;
}

.gallery-item--video::after {
  display: none;
}

.gallery-item--video figcaption {
  top: 10px;
  right: auto;
  bottom: auto;
  left: 10px;
  width: max-content;
  max-width: calc(100% - 20px);
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(22, 37, 54, 0.82);
  pointer-events: none;
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(22, 37, 54, 0.06);
}

.faq-item--extra {
  display: none;
}

.faq-list.show-extra .faq-item--extra {
  display: block;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 0;
  color: var(--color-text);
  background: transparent;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--color-muted);
}

.faq-item.active .faq-answer {
  max-height: 220px;
}

.faq-item.active .faq-question span {
  background: var(--color-accent);
}

.faq-more {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 22px auto 0;
  padding: 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: var(--color-primary-dark);
  background: #ffffff;
  font-weight: 850;
  cursor: pointer;
}

.cta-strip {
  padding: 70px 0;
  background:
    radial-gradient(circle at 16% 20%, rgba(199, 53, 61, 0.22), transparent 28%),
    linear-gradient(135deg, #162536, #233447 62%, #315b56);
}

.cta-strip__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
}

.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.btn--whatsapp {
  color: #ffffff;
  background: var(--color-whatsapp);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.22);
}

.btn--call {
  color: #ffffff;
  background: var(--color-phone);
  box-shadow: 0 14px 34px rgba(31, 111, 235, 0.22);
}

.contact-grid {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  align-items: stretch;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  display: grid;
  align-content: start;
  gap: 6px;
  min-height: 128px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.contact-card span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-card a,
.contact-card strong {
  color: var(--color-primary-dark);
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 850;
}

.map-wrapper {
  min-height: 340px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-soft);
  box-shadow: var(--shadow-card);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  display: block;
  border: 0;
}

.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn,
.back-to-top {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(8, 28, 32, 0.24);
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.floating-btn:hover,
.back-to-top:hover {
  filter: brightness(1.06);
  transform: translateY(-3px);
}

.floating-btn svg,
.back-to-top svg {
  width: 27px;
  height: 27px;
}

.floating-btn--whatsapp {
  background: var(--color-whatsapp);
}

.floating-btn--phone {
  background: var(--color-phone);
}

.floating-btn--linkedin {
  background: #0a66c2;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 276px;
  z-index: 890;
  border: 0;
  background: var(--color-primary);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.identity-stack {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 16px;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  background: rgba(199, 53, 61, 0.07);
}

.identity-stack strong {
  color: var(--color-primary-dark);
  font-size: 1.06rem;
}

.identity-stack span {
  color: var(--color-muted);
  font-weight: 720;
}

.about-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.about-detail-card,
.values-panel,
.video-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.about-detail-card {
  padding: 24px;
}

.card-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--color-primary);
  font-weight: 900;
}

.about-detail-card h3,
.values-panel h3,
.video-card h3 {
  margin: 0 0 10px;
  color: var(--color-primary-dark);
  line-height: 1.25;
}

.about-detail-card p,
.values-panel p,
.video-card p {
  margin: 0;
  color: var(--color-muted);
}

.about-detail-card p + p {
  margin-top: 10px;
}

.values-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(22, 37, 54, 0.96), rgba(35, 52, 71, 0.92));
}

.values-panel .section-kicker {
  color: #f3c5c9;
}

.values-panel h3,
.values-panel p {
  color: #ffffff;
}

.news-card {
  min-height: 285px;
}

.news-card a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.news-card a::after {
  content: "↗";
  margin-left: 7px;
}

.slide-show {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

.slider-viewport {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.slider-track {
  display: flex;
  transition: transform 0.42s ease;
  touch-action: pan-y;
}

.slide {
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  min-height: 640px;
  margin: 0;
  padding: 18px;
  background:
    linear-gradient(180deg, #ffffff, #f7faf9);
}

.slide img {
  width: auto;
  max-width: 100%;
  max-height: 620px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: var(--radius);
}

.slider-btn {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-primary-dark);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.slider-btn:hover,
.slider-dot:hover,
.slider-dot.is-active {
  color: #ffffff;
  background: var(--color-accent);
}

.slider-dots {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b9c5c7;
  cursor: pointer;
}

.gallery-heading {
  margin-top: 58px;
}

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

.video-card {
  overflow: hidden;
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  background: #101820;
  object-fit: cover;
}

.video-card div {
  padding: 18px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
}

.chatbot {
  --chatbot-size: 60px;
  --chatbot-gap: 18px;
  --chatbot-bottom: 18px;
  --chatbot-panel-bottom: 348px;
  --chatbot-panel-top-gap: 88px;
  position: fixed;
  right: 18px;
  bottom: var(--chatbot-bottom);
  z-index: 960;
}

.chatbot-toggle {
  position: relative;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.28), transparent 32%),
    linear-gradient(135deg, var(--color-accent), #7e273e 48%, var(--color-primary-dark));
  box-shadow: 0 18px 44px rgba(22, 37, 54, 0.32), 0 0 0 8px rgba(199, 53, 61, 0.1);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.chatbot-toggle::after {
  content: "";
  position: absolute;
  right: 9px;
  top: 9px;
  width: 10px;
  height: 10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #35d07f;
}

.chatbot-toggle:hover {
  filter: brightness(1.04);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 22px 54px rgba(22, 37, 54, 0.36), 0 0 0 8px rgba(199, 53, 61, 0.14);
}

.chatbot-toggle svg {
  width: 30px;
  height: 30px;
}

.chatbot-panel {
  position: fixed;
  right: 18px;
  bottom: var(--chatbot-panel-bottom);
  width: min(420px, calc(100vw - 28px));
  height: min(600px, calc(100dvh - 120px), calc(100dvh - var(--chatbot-panel-bottom) - var(--chatbot-panel-top-gap)));
  max-height: min(600px, calc(100dvh - 120px), calc(100dvh - var(--chatbot-panel-bottom) - var(--chatbot-panel-top-gap)));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 249, 0.98));
  box-shadow: 0 28px 80px rgba(22, 37, 54, 0.28);
  transform: translateY(12px) scale(0.98);
  transform-origin: right bottom;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.chatbot-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chatbot-panel[hidden] {
  display: none;
}

.chatbot-panel header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  color: #ffffff;
  background:
    radial-gradient(circle at 12% 18%, rgba(199, 53, 61, 0.42), transparent 34%),
    linear-gradient(135deg, #142233, #233447 58%, #315b56);
}

.chatbot-avatar {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
}

.chatbot-title {
  min-width: 0;
  display: grid;
  gap: 3px;
  margin-right: auto;
}

.chatbot-title strong {
  line-height: 1.18;
}

.chatbot-title span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #dfe8e7;
  font-size: 0.83rem;
  font-weight: 720;
}

.chatbot-title i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #35d07f;
  box-shadow: 0 0 0 5px rgba(53, 208, 127, 0.13);
}

.chatbot-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.chatbot-messages {
  min-height: 0;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 16px;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(247, 250, 249, 0.94), rgba(255, 255, 255, 0.96));
}

.bot-message,
.user-message,
.typing-message {
  max-width: 84%;
  margin: 0;
  padding: 11px 13px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 8px 20px rgba(22, 37, 54, 0.08);
}

.bot-message {
  color: var(--color-text);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 6px;
}

.user-message {
  justify-self: end;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-primary), #315b56);
  border-bottom-right-radius: 6px;
}

.typing-message {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: fit-content;
  color: var(--color-muted);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-bottom-left-radius: 6px;
}

.typing-message span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: chatbotTyping 0.9s infinite ease-in-out;
}

.typing-message span:nth-child(2) {
  animation-delay: 0.12s;
}

.typing-message span:nth-child(3) {
  animation-delay: 0.24s;
}

@keyframes chatbotTyping {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }

  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.quick-questions {
  min-height: 0;
  max-height: 124px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  overflow-y: auto;
  border-top: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.9);
}

.quick-questions button {
  padding: 8px 11px;
  border: 1px solid rgba(35, 52, 71, 0.12);
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: linear-gradient(180deg, #ffffff, #f4f8f7);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 750;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.quick-questions button:hover {
  border-color: rgba(199, 53, 61, 0.32);
  color: var(--color-accent-dark);
  box-shadow: 0 8px 18px rgba(22, 37, 54, 0.08);
  transform: translateY(-1px);
}

.chatbot-form {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 14px;
  border-top: 1px solid var(--color-border);
  background: #ffffff;
}

.chatbot-form input {
  min-width: 0;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  background: #f7faf9;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.chatbot-form input:focus {
  border-color: rgba(199, 53, 61, 0.42);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(199, 53, 61, 0.1);
}

.chatbot-form button {
  min-height: 46px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  cursor: pointer;
  font-weight: 850;
  box-shadow: 0 10px 24px rgba(199, 53, 61, 0.22);
}

@media (max-height: 760px) {
  .quick-questions {
    max-height: 56px;
  }
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-footer {
  padding: 54px 0 26px;
  color: #ffffff;
  background: #162536;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(150px, 0.62fr) minmax(180px, 0.72fr) minmax(190px, 0.78fr);
  gap: 30px;
  align-items: start;
}

.footer-brand p,
.footer-column ul,
.footer-bottom p {
  margin: 0;
}

.footer-logo {
  margin-bottom: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
}

.footer-brand p {
  max-width: 430px;
  color: #cbd7d8;
}

.footer-column h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1rem;
}

.footer-column ul {
  display: grid;
  gap: 9px;
  padding: 0;
  color: #cbd7d8;
  list-style: none;
}

.footer-column a {
  color: #cbd7d8;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.digital-signature {
  color: #cbd7d8;
  font-size: 0.94rem;
}

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

.reveal--delay {
  transition-delay: 0.12s;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .nav-menu {
    gap: 2px;
  }

  .nav-link {
    padding-inline: 9px;
    font-size: 0.9rem;
  }

  .service-grid,
  .article-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-detail-grid,
  .values-panel {
    grid-template-columns: 1fr;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 12px;
    right: 12px;
    transform: none;
    max-height: calc(100dvh - var(--header-height) - 24px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-card);
    overflow-y: auto;
  }

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

  .nav-link {
    width: 100%;
    min-height: 44px;
  }

  .hero__grid,
  .about-grid,
  .corporate-panel,
  .contact-grid,
  .cta-strip__inner {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: 48px;
  }

  .hero__grid {
    gap: 34px;
  }

  .hero__visual,
  .about-media {
    width: min(84vw, 360px);
  }

  .corporate-panel .btn,
  .cta-strip__actions {
    justify-self: start;
  }

  .cta-strip__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .logo,
  .footer-logo {
    width: min(188px, 48vw);
    min-height: 40px;
  }

  .logo img,
  .footer-logo img {
    height: 34px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 58px;
  }

  .hero h1 {
    font-size: clamp(2rem, 13vw, 2.65rem);
  }

  .hero__actions,
  .cta-strip__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 340px);
  }

  .btn {
    width: 100%;
    min-height: 45px;
    padding-inline: 14px;
  }

  .hero__visual,
  .about-media {
    width: min(84vw, 320px);
    border-radius: 14px;
  }

  .hero__visual {
    margin-bottom: 74px;
  }

  .hero__visual figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px;
  }

  .service-grid,
  .article-grid,
  .process-grid,
  .about-detail-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .slide-show {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .slider-btn {
    width: 44px;
    height: 44px;
    font-size: 1.65rem;
  }

  .slide {
    min-height: 420px;
    padding: 10px;
  }

  .slide img {
    max-height: 400px;
  }

  .service-card {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 12px;
  }

  .service-card h3 {
    font-size: 0.98rem;
  }

  .service-card p {
    font-size: 0.9rem;
    line-height: 1.45;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gallery-item figcaption {
    padding: 10px;
    font-size: 0.86rem;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .map-wrapper,
  .map-wrapper iframe {
    min-height: 260px;
  }

  .corporate-panel {
    padding: 24px;
  }

  .footer__grid,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-actions {
    right: 12px;
    bottom: 80px;
    gap: 8px;
  }

  .floating-btn,
  .back-to-top {
    width: 48px;
    height: 48px;
  }

  .back-to-top {
    right: 12px;
    bottom: 248px;
  }

  .chatbot {
    --chatbot-gap: 12px;
    --chatbot-bottom: 12px;
    --chatbot-panel-bottom: 308px;
    --chatbot-panel-top-gap: 82px;
    right: 12px;
    bottom: var(--chatbot-bottom);
  }

  .chatbot-panel {
    right: 12px;
    bottom: var(--chatbot-panel-bottom);
    width: calc(100vw - 24px);
    height: min(600px, calc(100dvh - 100px), calc(100dvh - var(--chatbot-panel-bottom) - var(--chatbot-panel-top-gap)));
    max-height: min(600px, calc(100dvh - 100px), calc(100dvh - var(--chatbot-panel-bottom) - var(--chatbot-panel-top-gap)));
  }
}

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

  .service-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
  }

  .service-card h3 {
    font-size: 0.92rem;
  }

  .service-card p,
  .article-card p {
    font-size: 0.86rem;
  }

  .article-card,
  .process-card,
  .about-detail-card,
  .contact-card {
    padding: 18px;
  }

  .slide-show {
    grid-template-columns: 1fr 1fr;
  }

  .slider-viewport {
    grid-column: 1 / -1;
    order: -1;
  }

  .slider-btn--prev {
    justify-self: end;
  }

  .slider-btn--next {
    justify-self: start;
  }

  .chatbot-form {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    gap: 10px;
  }
}
