:root {
  --font-main: Inter, Aptos, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --accent: #c9142f;
  --accent-dark: #9f1025;
  --accent-soft: #fff0f2;
  --ink: #151515;
  --charcoal: #25272b;
  --muted: #62656c;
  --line: #e8e8eb;
  --soft: #f6f6f7;
  --surface: #ffffff;
  --shadow: 0 18px 45px rgba(18, 18, 18, 0.09);
  --shadow-strong: 0 24px 60px rgba(18, 18, 18, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 42%, #fafafa 100%);
  line-height: 1.6;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(232, 232, 235, 0.95);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}

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

.brand {
  position: relative;
  display: flex;
  align-items: center;
  min-width: max-content;
  overflow: hidden;
  border-radius: var(--radius);
}

.brand img {
  width: 154px;
  height: 52px;
  object-fit: contain;
}

.brand::after {
  position: absolute;
  top: -30%;
  bottom: -30%;
  left: -55%;
  width: 42%;
  content: "";
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.12) 34%, rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0.12) 66%, transparent 100%);
  transform: skewX(-18deg);
  animation: logoShine 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes logoShine {
  0%,
  58% {
    left: -55%;
  }

  78%,
  100% {
    left: 120%;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 700;
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: var(--radius);
  transition: color 180ms ease, background 180ms ease;
}

.nav-menu a > i:first-child {
  width: 17px;
  color: var(--accent);
  font-size: 14px;
  text-align: center;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-menu a::after {
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.is-active::after {
  transform: scaleX(1);
}

.has-dropdown {
  position: relative;
}

.nav-caret {
  color: var(--muted);
  font-size: 11px;
  transition: transform 180ms ease, color 180ms ease;
}

.has-dropdown:hover .nav-caret,
.has-dropdown:focus-within .nav-caret {
  color: var(--accent);
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 60;
  display: grid;
  min-width: 235px;
  gap: 4px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
  list-style: none;
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.dropdown-menu::before {
  position: absolute;
  top: -12px;
  right: 0;
  left: 0;
  height: 12px;
  content: "";
}

.dropdown-menu a {
  justify-content: flex-start;
  width: 100%;
  padding: 11px 12px;
  color: var(--charcoal);
  font-size: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 12px 24px rgba(201, 20, 47, 0.23);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-dark);
}

.btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: #c9c9ce;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 58px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 100%;
  content: "";
  background: linear-gradient(135deg, rgba(201, 20, 47, 0.09), rgba(36, 38, 43, 0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 52px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: var(--accent);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--charcoal);
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 800;
}

.trust-pill i {
  color: var(--accent);
}

.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
  transition: transform 500ms ease, box-shadow 500ms ease;
}

.hero-media:hover .hero-image {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px) scale(1.01);
}

.hero-stat {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(245px, calc(100% - 48px));
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.hero-stat strong {
  display: block;
  font-size: 29px;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.page-hero {
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f7f7f8 100%);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

section {
  padding: 82px 0;
}

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

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-copy {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-image {
  width: 100%;
  aspect-ratio: 16 / 5;
  margin-bottom: 24px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

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

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

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

.text-panel {
  padding: 28px;
  border-left: 5px solid var(--accent);
  background: #fff;
  box-shadow: var(--shadow);
}

.text-panel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
}

.text-panel p:last-child {
  margin-bottom: 0;
}

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

.metric-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

.metric,
.card,
.value-card,
.feature-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.card:hover,
.value-card:hover,
.feature-card:hover {
  border-color: rgba(201, 20, 47, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.metric strong {
  display: block;
  color: var(--accent);
  font-size: 32px;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: 0 12px 22px rgba(201, 20, 47, 0.2);
  font-size: 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card:hover .icon-box,
.value-card:hover .icon-box,
.feature-card:hover .icon-box {
  box-shadow: 0 16px 28px rgba(201, 20, 47, 0.26);
  transform: translateY(-2px);
}

.card h2,
.card h3,
.value-card h2,
.value-card h3,
.feature-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.card p,
.value-card p,
.feature-card p {
  margin: 12px 0 20px;
  color: var(--muted);
  font-size: 15px;
}

.card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: -24px -24px 22px;
  max-width: calc(100% + 48px);
  border-radius: var(--radius) var(--radius) 0 0;
  object-fit: cover;
}

.card .btn {
  width: max-content;
  margin-top: auto;
  min-height: 40px;
  padding: 10px 13px;
  font-size: 14px;
}

.service-card {
  display: flex;
  flex-direction: column;
}

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

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.blog-card:hover {
  border-color: rgba(201, 20, 47, 0.3);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.blog-meta,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.blog-meta i,
.article-meta i {
  color: var(--accent);
}

.blog-card h2,
.blog-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.24;
}

.blog-card p {
  margin: 12px 0 20px;
  color: var(--muted);
}

.blog-card .btn {
  width: max-content;
  margin-top: auto;
  min-height: 40px;
  padding: 10px 13px;
  font-size: 14px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}

.article-content {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.05);
}

.article-content img {
  width: 100%;
  aspect-ratio: 16 / 8;
  margin: -32px -32px 28px;
  max-width: calc(100% + 64px);
  border-radius: var(--radius) var(--radius) 0 0;
  object-fit: cover;
}

.article-content h2 {
  margin: 32px 0 12px;
  font-size: 27px;
  line-height: 1.18;
}

.article-content h3 {
  margin: 24px 0 10px;
  font-size: 21px;
}

.article-content p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 17px;
}

.article-content ul {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--muted);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.article-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 900;
}

.article-cta {
  margin-top: 30px;
  padding: 24px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--charcoal);
}

.article-cta h2,
.article-cta p {
  color: inherit;
}

.article-cta h2 {
  margin-top: 0;
  font-size: 24px;
}

.article-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.sidebar-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.05);
}

.sidebar-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.sidebar-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-card a {
  color: var(--muted);
  font-weight: 800;
}

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

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  counter-reset: step;
}

.process-step {
  min-height: 210px;
  padding: 28px;
  border-right: 1px solid var(--line);
  counter-increment: step;
}

.process-step:last-child {
  border-right: 0;
}

.process-step::before {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 32px;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  content: counter(step, decimal-leading-zero);
  font-size: 14px;
  font-weight: 900;
}

.process-step h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.22;
}

.process-step p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border-radius: var(--radius);
  background: #111;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.gallery-item:hover img {
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.035);
}

.gallery-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.72));
  font-weight: 900;
}

.gallery-caption span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.reference-carousel {
  position: relative;
}

.carousel-window {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carousel-window::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 16px;
  padding: 2px 1px 18px;
}

.carousel-track .reference-card {
  flex: 0 0 calc((100% - 80px) / 6);
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.carousel-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border 180ms ease, transform 180ms ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  transform: translateY(-1px);
}

.reference-card {
  display: grid;
  place-items: center;
  min-height: 154px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border 180ms ease;
}

.reference-card:hover {
  border-color: rgba(201, 20, 47, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.reference-card img {
  width: 100%;
  max-width: 184px;
  max-height: 104px;
  object-fit: contain;
}

.reference-categories {
  display: grid;
  gap: 28px;
}

.reference-category {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(18, 18, 18, 0.05);
}

.reference-category h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 22px;
}

.reference-category h2 i {
  color: var(--accent);
}

.reference-category .reference-grid {
  grid-template-columns: repeat(4, 1fr);
}

.cta-band {
  color: #fff;
  background: #151515;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.14;
}

.cta-band p {
  max-width: 670px;
  margin: 14px 0 0;
  color: #c9cbd0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 34px;
  align-items: start;
}

.content-block {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.content-image {
  width: 100%;
  aspect-ratio: 16 / 8;
  margin: -30px -30px 28px;
  max-width: calc(100% + 60px);
  border-radius: var(--radius) var(--radius) 0 0;
  object-fit: cover;
}

.content-block p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.content-block h2 {
  margin: 34px 0 14px;
  font-size: 26px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  color: var(--muted);
}

.check-list li::before {
  color: var(--accent);
  content: "✓";
  font-weight: 900;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(18, 18, 18, 0.04);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--accent);
  content: "+";
  font-size: 22px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

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

.side-box {
  position: sticky;
  top: 104px;
  padding: 24px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--charcoal);
}

.side-box h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.side-box p {
  margin: 0 0 18px;
  color: #d8d9dd;
}

.side-links {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.side-links a {
  display: block;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: #fff;
}

.side-links a:hover,
.side-links a.is-active {
  border-color: var(--accent);
  background: rgba(201, 20, 47, 0.2);
}

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

.contact-list {
  display: grid;
  gap: 16px;
}

.contact-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.contact-item i {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--charcoal);
}

.contact-item h2,
.contact-item h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.contact-item p {
  margin: 0;
  color: var(--muted);
}

.form-panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
}

.field input[type="file"] {
  padding: 11px 14px;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.map-placeholder {
  display: grid;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.map-placeholder iframe {
  width: 100%;
  min-height: 390px;
  border: 0;
  background:
    linear-gradient(90deg, rgba(201, 20, 47, 0.1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(36, 38, 43, 0.08) 1px, transparent 1px),
    #f3f3f4;
  background-size: 34px 34px;
}

.map-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  color: #f3f3f3;
  background: #151515;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr 0.7fr 0.95fr;
  gap: 30px;
  padding: 58px 0;
}

.footer-logo {
  width: 150px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-text {
  max-width: 410px;
  margin: 18px 0 0;
  color: #b9bbc1;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #c9cbd0;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #a9abb1;
  font-size: 14px;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: grid;
  gap: 10px;
}

.floating-contact a {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-contact a:hover,
.floating-contact a:focus-visible {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.floating-whatsapp {
  background: #25d366;
}

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

@media (max-width: 1060px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .detail-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

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

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

  .carousel-track .reference-card {
    flex-basis: calc((100% - 48px) / 4);
  }

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

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

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

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .side-box {
    position: static;
  }

  .article-sidebar {
    position: static;
  }

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

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

  .nav-wrap {
    min-height: 72px;
  }

  .brand img {
    width: 132px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    right: 15px;
    left: 15px;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  .nav-menu a {
    display: flex;
    align-items: center;
    padding: 14px;
    border-radius: var(--radius);
  }

  .nav-menu a:hover,
  .nav-menu a:focus-visible,
  .nav-menu a.is-active {
    background: var(--soft);
  }

  .nav-menu a::after {
    display: none;
  }

  .has-dropdown {
    display: grid;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    margin: 2px 0 6px 20px;
    padding: 6px;
    border-color: rgba(201, 20, 47, 0.12);
    background: var(--soft);
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu a {
    padding: 11px 12px;
    background: #fff;
  }

  .nav-caret {
    margin-left: auto;
  }

  .header-actions .btn {
    display: none;
  }

  .hero,
  .page-hero {
    padding: 48px 0 38px;
  }

  section {
    padding: 62px 0;
  }

  .section-head,
  .cta-grid {
    display: grid;
    gap: 14px;
  }

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

@media (max-width: 620px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-actions,
  .cta-actions,
  .contact-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .service-grid,
  .feature-grid,
  .value-grid,
  .metric-grid,
  .blog-grid,
  .gallery-grid,
  .process-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .carousel-track .reference-card {
    flex-basis: calc((100% - 16px) / 2);
  }

  .reference-card {
    min-height: 136px;
    padding: 18px;
  }

  .reference-card img {
    max-width: 150px;
    max-height: 90px;
  }

  .reference-category .reference-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
  }

  .floating-contact a {
    width: 48px;
    height: 48px;
  }

  .process-step,
  .process-step:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    border-bottom: 0;
  }

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

  .map-note {
    display: grid;
  }
}
