:root {
  --brand: #002080;
  --brand-2: #063a99;
  --accent: #0369a1;
  --ink: #07111f;
  --muted: #536273;
  --line: #dbe4ee;
  --soft: #f5f8fc;
  --white: #ffffff;
  --steel: #edf2f7;
  --shadow: 0 18px 55px rgba(7, 17, 31, 0.12);
  --radius: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
.container {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}
.skip-link:focus {
  left: 12px;
}
.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(219, 228, 238, 0.8);
  transition:
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(7, 17, 31, 0.08);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img {
  width: 158px;
  height: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 10px 14px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 650;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.nav-link:hover,
.nav-link.is-active {
  color: var(--brand);
  background: #eef4ff;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #25d366;
  color: #000000;
  font-weight: 600;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.22);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}
.header-whatsapp:hover {
  transform: translateY(-1px);
  background: #1ebe5d;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.28);
}
.header-whatsapp .icon {
  width: 20px;
  height: 20px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--brand);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.icon-x {
  display: none;
}
.nav-open .icon-menu {
  display: none;
}
.nav-open .icon-x {
  display: block;
}

.hero {
  position: relative;
  padding: 86px 0 68px;
  background: linear-gradient(145deg, #f7faff 0%, #ffffff 46%, #eef4ff 100%);
  overflow: hidden;
}
.section-blueprint::before,
.compact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 32, 128, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 32, 128, 0.055) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 22% 20%, #000 0, transparent 58%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
}
h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}
p {
  color: var(--muted);
}
.hero-copy p {
  font-size: 19px;
  max-width: 660px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 32, 128, 0.2);
}
.btn-primary:hover {
  background: var(--brand-2);
}
.btn-secondary {
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
}
.btn-secondary:hover {
  box-shadow: 0 14px 30px rgba(7, 17, 31, 0.08);
}
.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.25);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
}
.btn-whatsapp .icon {
  width: 22px;
  height: 22px;
}
.btn-light {
  background: #fff;
  color: var(--brand);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  color: var(--brand);
  font-weight: 850;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 34px;
  max-width: 640px;
}
.hero-metrics div {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}
.hero-metrics strong {
  display: block;
  color: var(--brand);
  font-size: 23px;
  line-height: 1;
}
.hero-metrics span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}
.hero-visual {
  position: relative;
}
.hero-visual img {
  aspect-ratio: 1 / 0.86;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.floating-card {
  position: absolute;
  left: -22px;
  bottom: 28px;
  display: flex;
  gap: 12px;
  align-items: center;
  max-width: 270px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.floating-card .icon {
  color: var(--brand);
  width: 28px;
  height: 28px;
}
.floating-card strong {
  display: block;
}
.floating-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.section {
  position: relative;
  padding: 88px 0;
}
.section-tight {
  padding: 48px 0;
}
.section-muted {
  background: var(--soft);
}
.section-blueprint {
  position: relative;
  background: #07111f;
  color: #fff;
  overflow: hidden;
}
.section-blueprint p,
.section-blueprint .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}
.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}
.section-heading p {
  font-size: 18px;
}
.section-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  max-width: none;
}
.split-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(7, 17, 31, 0.06);
}
.split-panel p {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 18px;
  text-align: center;
  margin-bottom: 0;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: principle;
}
.principle-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 250px;
  padding: 28px;
  counter-increment: principle;
  border: 1px solid rgba(0, 32, 128, 0.12);
  border-radius: 12px;
  background: white;
  box-shadow: 0 16px 45px rgba(7, 17, 31, 0.07);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}
.principle-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  opacity: 0.85;
}
.principle-card::after {
  content: "0" counter(principle);
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(0, 32, 128, 0.08);
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
  z-index: -1;
}
.principle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(7, 17, 31, 0.12);
  border-color: rgba(0, 32, 128, 0.28);
}
.principle-card h3 {
  margin-top: 22px;
  margin-bottom: 12px;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.principle-card p {
  margin-bottom: 0;
  color: #4a5a6d;
}
.icon-box {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 32, 128, 0.22);
  transition: transform 0.22s ease;
}
.principle-card:hover .icon-box {
  transform: translateY(-2px) rotate(-2deg);
}
.icon-box .icon {
  width: 26px;
  height: 26px;
}

.work-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: center;
  position: relative;
}
.work-copy {
  max-width: 520px;
}
.service-stack {
  display: grid;
  gap: 14px;
}
.service-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 18px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 14px;
  backdrop-filter: blur(10px);
}
.service-row img {
  width: 190px;
  height: 120px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 8px;
}
.service-row p {
  margin-bottom: 0;
}

.project-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 380px;
  gap: 22px;
}
.project-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 32, 128, 0.1);
  border-radius: 12px;
  background: var(--steel);
  box-shadow: 0 20px 55px rgba(7, 17, 31, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 38%, rgba(7, 17, 31, 0.58) 100%),
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.2),
      transparent 34%
    );
}
.project-card img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 32, 128, 0.22);
  box-shadow: 0 28px 70px rgba(7, 17, 31, 0.16);
}
.project-card:hover img,
.gallery-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.03);
}
.project-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #fff;
  background: rgba(0, 32, 128, 0.74);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}
.project-overlay span,
.gallery-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #d9e8ff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 850;
}
.project-overlay h3 {
  margin-bottom: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.testimonial-card {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.quote-icon {
  width: 34px;
  height: 34px;
  color: var(--brand);
  margin-bottom: 18px;
}
.testimonial-card strong,
.testimonial-card span {
  display: block;
}
.testimonial-card span {
  color: var(--muted);
  font-size: 14px;
}
.keyword-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.keyword-cloud span {
  padding: 9px 12px;
  border-radius: var(--radius);
  background: #eef4ff;
  color: var(--brand);
  font-weight: 750;
}

.compact-hero {
  position: relative;
  padding: 86px 0 74px;
  background: linear-gradient(135deg, #07111f 0%, #002080 100%);
  color: #fff;
  overflow: hidden;
}
.page-hero-inner {
  position: relative;
  max-width: 880px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  max-width: 760px;
}
.about-grid,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}
.about-image img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
}
.check-list .icon {
  color: var(--brand);
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.area-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}
.area-card img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: #fff;
  padding: 14px;
}
.area-card div {
  padding: 22px;
}
.process-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
}
.process-list {
  display: grid;
  gap: 14px;
}
.process-item {
  position: relative;
  padding: 22px 22px 22px 86px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.process-item span {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}
.process-item p {
  margin-bottom: 0;
}
.project-detail-action {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 18px;
}
.project-detail-action p {
  height: auto;
}

.page-projects .project-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.page-projects .gallery-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  grid-column: span 2;
  border: 1px solid rgba(0, 32, 128, 0.12);
  border-radius: 12px;
  background: var(--steel);
  box-shadow: 0 22px 60px rgba(7, 17, 31, 0.11);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.page-projects .gallery-card:nth-last-child(-n + 2) {
  grid-column: span 3;
}
.page-projects .gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(7, 17, 31, 0.04) 0%,
      rgba(7, 17, 31, 0.18) 48%,
      rgba(7, 17, 31, 0.72) 100%
    ),
    radial-gradient(
      circle at top right,
      rgba(255, 255, 255, 0.18),
      transparent 32%
    );
}
.page-projects .gallery-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 32, 128, 0.25);
  box-shadow: 0 30px 80px rgba(7, 17, 31, 0.18);
}
.page-projects .gallery-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(7, 17, 31, 0.72);
  color: #fff;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}
.page-projects .gallery-card h2 {
  font-size: 22px;
  margin-bottom: 0;
  letter-spacing: -0.025em;
}

.contact-info h2 {
  max-width: 560px;
}
.contact-cards {
  display: grid;
  gap: 14px;
  margin: 26px 0;
}
.contact-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition:
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
a.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(7, 17, 31, 0.08);
}
.contact-card > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: #eef4ff;
  color: var(--brand);
}
.contact-card strong {
  display: block;
  font-size: 18px;
}
.contact-card p {
  margin-bottom: 0;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.map-panel {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  min-height: 520px;
}
.map-panel iframe {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
}

.cta-strip {
  position: relative;
  padding: 68px 0;
  color: #fff;
  background: linear-gradient(180deg, #fff 0%, #f6f9ff 100%);
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 24px 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 32, 128, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 32, 128, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 70%);
}
.cta-strip-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.94), rgba(0, 32, 128, 0.86)),
    url("../img/steel-profiles.webp") center / cover no-repeat;
  box-shadow: 0 28px 75px rgba(7, 17, 31, 0.18);
  overflow: hidden;
}
.cta-strip-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 88% 18%,
    rgba(255, 255, 255, 0.18),
    transparent 30%
  );
}
.cta-copy,
.cta-action {
  position: relative;
  z-index: 1;
}
.cta-strip h2 {
  margin-bottom: 0;
  max-width: 760px;
}
.cta-strip .eyebrow {
  color: #b8d5ff;
}
.cta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.cta-tags span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 750;
}
.cta-action {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  text-align: center;
}
.cta-action span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(0, 32, 128, 0.84)),
    url("../img/welding-workshop.webp") center / cover no-repeat;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, #000, transparent 86%);
}
.footer-shell {
  position: relative;
  padding: 64px 0 54px;
}
.footer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}
.footer-brand,
.footer-cta-card,
.footer-col {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(7, 17, 31, 0.68);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}
.footer-brand {
  padding: 28px;
}
.footer-brand img {
  width: 178px;
  height: auto;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
}
.footer-cta-card {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
}
.footer-cta-card span {
  color: #b8d5ff;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-cta-card strong {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.footer-cta-card .btn {
  width: fit-content;
  margin-top: 6px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 0.75fr 1fr 1fr;
  gap: 18px;
}
.footer-col {
  padding: 24px;
}
.footer-col h3 {
  margin-bottom: 18px;
  color: #fff;
}
.footer-brand p,
.footer-links,
.footer-contact span,
.footer-contact a {
  color: rgba(255, 255, 255, 0.74);
}
.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-links a {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}
.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-tags span {
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 750;
  font-size: 13px;
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact .icon {
  color: #b8d5ff;
  margin-top: 3px;
}
.footer-contact-card {
  background: rgba(0, 32, 128, 0.36);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-bottom-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
}
.footer-bottom p {
  margin: 0;
  color: #000;
}
.designer-logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.88;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.designer-logo:hover {
  opacity: 1;
  transform: translateY(-1px);
}
.designer-logo img {
  width: 210px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.error-page {
  min-height: 68vh;
  display: grid;
  place-items: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #f7faff, #fff);
}
.error-card {
  text-align: center;
  max-width: 720px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}
.error-code {
  display: inline-grid;
  place-items: center;
  min-width: 94px;
  height: 58px;
  border-radius: var(--radius);
  background: #eef4ff;
  color: var(--brand);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 20px;
}
.error-card .hero-actions {
  justify-content: center;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.12s;
}

@media (max-width: 1040px) {
  .header-whatsapp span {
    display: none;
  }
  .hero-grid,
  .work-grid,
  .about-grid,
  .contact-layout,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 620px;
  }
  .principle-grid,
  .testimonial-grid,
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .project-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-projects .project-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-projects .gallery-card,
  .page-projects .gallery-card:nth-last-child(-n + 2) {
    grid-column: span 1;
    min-height: 360px;
  }
  .cta-strip-inner {
    grid-template-columns: 1fr;
  }
  .cta-action {
    justify-items: start;
  }
  .footer-hero {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, var(--container));
  }
  .header-inner {
    min-height: 70px;
  }
  .brand img {
    width: 136px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .main-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 78px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }
  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-link {
    padding: 12px;
  }
  .hero {
    padding: 58px 0 44px;
  }
  .hero-grid {
    gap: 30px;
  }
  .hero-copy p,
  .page-hero p {
    font-size: 17px;
  }
  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .floating-card {
    position: static;
    margin-top: 12px;
    max-width: none;
  }
  .section {
    padding: 58px 0;
  }
  .split-panel {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
  }
  .principle-grid,
  .testimonial-grid,
  .area-grid,
  .project-gallery,
  .project-preview-grid {
    grid-template-columns: 1fr;
  }
  .project-preview-grid {
    grid-auto-rows: 330px;
  }
  .page-projects .project-gallery {
    grid-template-columns: 1fr;
  }
  .page-projects .gallery-card,
  .page-projects .gallery-card:nth-last-child(-n + 2) {
    grid-column: span 1;
    min-height: 360px;
  }
  .service-row {
    grid-template-columns: 1fr;
  }
  .service-row img {
    width: 100%;
    height: 180px;
  }
  .section-heading-row,
  .cta-strip-inner,
  .footer-bottom-inner {
    align-items: stretch;
    flex-direction: column;
  }
  .footer-bottom-inner {
    align-items: center;
    text-align: center;
  }
  .cta-strip {
    padding: 46px 0;
  }
  .cta-strip-inner {
    padding: 24px;
  }
  .cta-action {
    justify-items: stretch;
  }
  .footer-shell {
    padding: 44px 0 38px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand,
  .footer-cta-card,
  .footer-col {
    padding: 22px;
  }
  .gallery-card:nth-child(3n + 1) {
    grid-row: span 1;
  }
  .gallery-card {
    min-height: 360px;
  }
  .map-panel,
  .map-panel iframe {
    min-height: 420px;
    height: 420px;
  }
  .error-card {
    padding: 30px 20px;
  }
}

@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;
  }
}
