:root {
  --ink: #172132;
  --muted: #5f6877;
  --line: #d9e1ea;
  --paper: #f7f9fb;
  --white: #ffffff;
  --blue: #2f5fa7;
  --blue-deep: #193b70;
  --teal: #13b8a5;
  --steel: #52698d;
  --header-blue: #16243a;
  --shadow: 0 18px 45px rgba(21, 35, 55, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.contact-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: var(--header-blue);
}

body.contact-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(8, 14, 24, 0.48), rgba(8, 14, 24, 0.68)),
    url("contact-background.jpg") center center / cover no-repeat;
}

body.contact-page .site-header {
  background: var(--header-blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 65px;
  padding: 8px clamp(22px, 6vw, 92px);
  background: var(--header-blue);
  border-bottom: 0;
}

.brand img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  padding: 4px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(20, 28, 38, 0.16);
}

.brand {
  flex: 0 0 auto;
}

.site-nav {
  flex: 1;
  justify-content: center;
  margin-right: 104px;
}

.site-nav a {
  min-width: 100px;
  padding: 2px 8px;
  border-radius: 16px;
  color: var(--ink);
  background: var(--white);
  text-align: center;
}

.site-nav a.active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: #16243a;
}

.site-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.site-nav a {
  font-weight: 800;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 440px;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--ink);
  background-image: var(--hero-bg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 18, 31, 0.82), rgba(10, 18, 31, 0.34) 52%, rgba(10, 18, 31, 0.08));
}

.hero-copy {
  width: min(900px, calc(100% - 36px));
  margin-left: clamp(18px, 11vw, 160px);
  color: var(--white);
}

.hero-kicker {
  color: var(--steel);
  font-size: clamp(1.15rem, 2.1vw, 1.65rem);
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.25);
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 0.97rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1,
.contact-hero h1,
.section-heading h1 {
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.hero-copy p:not(.eyebrow) {
  max-width: 610px;
  margin: 20px 0 0;
  font-size: 1.15rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.service-card button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary,
.service-card button {
  color: var(--white);
  background: var(--blue);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button.whatsapp {
  gap: 8px;
  color: var(--white);
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.25);
}

.button.whatsapp::before,
.whatsapp-pill::before {
  content: "\260E";
  font-size: 1rem;
  line-height: 1;
}

.button.whatsapp:hover,
.button.whatsapp:focus-visible {
  background: #22c55e;
  border-color: #22c55e;
}

.wa-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: currentColor;
}

.button:hover,
.service-card button:hover {
  transform: translateY(-1px);
}

.section {
  padding: clamp(56px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.inline-link {
  color: var(--blue);
  font-weight: 800;
}

.page-hero {
  position: relative;
  display: grid;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 440px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background-color: var(--ink);
  background-image: var(--hero-bg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 18, 31, 0.78), rgba(10, 18, 31, 0.22));
}

.page-hero div {
  width: min(900px, calc(100% - 36px));
  margin-left: clamp(18px, 11vw, 160px);
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
  background: var(--white);
  text-align: center;
}

.copy p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  margin-top: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy p {
  max-width: 880px;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.55;
}

.about-kicker {
  color: var(--blue);
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 344px);
  align-items: stretch;
  justify-content: center;
  gap: clamp(70px, 7vw, 120px) clamp(70px, 8vw, 150px);
  padding: clamp(82px, 9vw, 150px) clamp(42px, 8vw, 120px);
  background: var(--white);
}

.gallery a {
  display: block;
  width: 344px;
  height: 258px;
  overflow: hidden;
  border-radius: 14px;
}

.gallery img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gallery a:hover img,
.gallery a:focus-visible img {
  transform: scale(1.04);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
  background: var(--white);
}

.gallery-card {
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(21, 35, 55, 0.12);
  cursor: pointer;
}

.gallery-card:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: clamp(210px, 15vw, 260px);
  object-fit: cover;
}

.gallery-card-footer {
  display: grid;
  grid-template-columns: 1fr 44px;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 16px;
  background: var(--white);
}

.gallery-card-footer h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
  line-height: 1.12;
}

.gallery-plus {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #16243A;
  background: #eef1f3;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.gallery-plus:hover,
.gallery-plus:focus-visible {
  background: #dce3ea;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card img {
  transition: transform 180ms ease;
}

.gallery-dialog {
  width: min(1120px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  padding: 58px 24px 24px;
  border: 0;
  border-radius: 8px;
  background: #0f1b2d;
  color: var(--white);
  box-shadow: var(--shadow);
}

.gallery-dialog::backdrop {
  background: rgba(5, 10, 18, 0.82);
}

.gallery-dialog[open] {
  display: grid;
  grid-template-columns: 58px 1fr 58px;
  gap: 16px;
  align-items: center;
}

.gallery-dialog-image {
  grid-column: 2;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 6px;
  background: #09101c;
}

.gallery-dialog-caption {
  grid-column: 2;
  margin: 0;
  text-align: center;
  font-weight: 800;
}

.gallery-close,
.gallery-nav {
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.gallery-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  font-size: 1.35rem;
}

.gallery-nav {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  font-size: 2.5rem;
  line-height: 1;
}

.gallery-prev {
  grid-column: 1;
}

.gallery-next {
  grid-column: 3;
}

.gallery-close:hover,
.gallery-nav:hover,
.gallery-close:focus-visible,
.gallery-nav:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

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

.services-heading {
  max-width: 1500px;
  margin-bottom: clamp(56px, 7vw, 88px);
}

.services-heading h1 {
  font-size: clamp(3rem, 5.8vw, 5.35rem);
  line-height: 1.04;
  word-spacing: 0.04em;
}

.services-heading br {
  display: block;
}

.services-grid {
  display: block;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(420px, 1.35fr);
  min-height: 340px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--white);
  box-shadow: none;
}

.service-card:nth-child(even) img {
  order: 2;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(48px, 8vw, 110px);
}

.service-card p {
  max-width: 860px;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.65;
}

.service-card h3 {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(2rem, 3.6vw, 3.6rem);
  line-height: 1.05;
}

.proof {
  background: var(--white);
  color: var(--ink);
}

.proof .eyebrow {
  color: var(--blue);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.proof-grid div {
  position: relative;
  min-height: 150px;
  padding: 24px;
  border: 0;
  border-radius: 8px 8px 8px 0;
  background: var(--header-blue);
  color: var(--white);
}

.proof-grid div::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -20px;
  width: 42px;
  height: 22px;
  background: var(--header-blue);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid strong {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.proof-grid span {
  color: rgba(255, 255, 255, 0.82);
}

.contact {
  position: relative;
  background: transparent;
  padding-top: 0;
}

.contact-hero {
  position: relative;
  display: grid;
  width: 100vw;
  min-height: 360px;
  align-items: center;
  margin: 0 calc(50% - 50vw) clamp(50px, 7vw, 86px);
  overflow: hidden;
  isolation: isolate;
  background: transparent;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: transparent;
}

.contact-hero div {
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 11vw, 160px);
  color: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 340px;
  gap: 32px;
  align-items: center;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(26px, 5vw, 48px);
  border: 0;
  border-radius: 18px;
  background: rgba(18, 28, 40, 0.58);
  color: var(--white);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px);
}

.contact-panel p {
  color: rgba(255, 255, 255, 0.9);
}

.contact-panel .eyebrow,
.quote-form .eyebrow {
  color: #7fa0c8;
}

.contact-panel h2 {
  color: var(--white);
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--white);
  font-weight: 700;
}

.contact-list a {
  color: var(--white);
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  backdrop-filter: blur(16px);
  text-align: center;
  font-weight: 700;
}

.qr-card img {
  width: min(280px, 100%);
  border-radius: 6px;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(1040px, 100%);
  margin: 24px auto 0;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(18, 28, 40, 0.58);
  color: var(--white);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px);
}

label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #c7d1dd;
  border-radius: 6px;
  color: var(--white);
  font: inherit;
  background: rgba(255, 255, 255, 0.14);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(47, 95, 167, 0.85);
  border-color: rgba(255, 255, 255, 0.48);
}

select option {
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

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

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 10px;
  color: var(--white);
  background: var(--header-blue);
  font-weight: 700;
}

footer img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  padding: 4px;
  background: var(--white);
  border-radius: 50%;
}

footer a {
  min-width: 10px;
  padding: 10px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  text-align: center;
  text-decoration: none;
}

footer a.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

footer a.facebook-link {
  color: var(--white);
  background: #1877f2;
}

footer a.linkedin-link {
  color: var(--white);
  background: #0a66c2;
}

.facebook-link svg,
.linkedin-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  z-index: 25;

  display: flex;
  align-items: center;
  justify-content: center;


  min-width: 50px;
  min-height: 50px;
  
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  
  background: #25D366;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background: #1EBE5D;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.service-dialog {
  width: min(860px, calc(100% - 28px));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-dialog::backdrop {
  background: rgba(10, 18, 31, 0.72);
}

.service-dialog[open] {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(280px, 1.15fr);
}

.service-dialog img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.service-dialog > div {
  padding: clamp(26px, 5vw, 48px);
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

@media (max-width: 920px) {
  .services-grid,
  .split,
  .contact-panel,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 344px);
  }

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

  .site-nav {
    margin-right: 0;
  }
}

@media (max-width: 860px) {
  .site-header {
    min-height: 86px;
    justify-content: space-between;
  }

  .brand img {
    width: 68px;
    height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 18px;
    display: none;
    width: min(260px, calc(100vw - 36px));
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    min-width: 0;
  }

  .hero {
    min-height: 440px;
  }

  .hero-copy {
    margin-left: 18px;
  }

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

  .button,
  .service-card button {
    width: 100%;
  }

  .service-card,
  .service-dialog[open],
  .quote-form {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(even) img {
    order: 0;
  }

  .service-card img {
    aspect-ratio: 1.35 / 1;
    height: auto;
  }

  .service-dialog img {
    min-height: 250px;
    aspect-ratio: 1.35 / 1;
  }

  .gallery-dialog[open] {
    grid-template-columns: 1fr 1fr;
    padding: 58px 14px 18px;
  }

  .gallery-dialog-image,
  .gallery-dialog-caption {
    grid-column: 1 / -1;
  }

  .gallery-prev,
  .gallery-next {
    grid-row: 3;
    width: 100%;
    height: 48px;
    border-radius: 6px;
  }

  .gallery-prev {
    grid-column: 1;
  }

  .gallery-next {
    grid-column: 2;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery a {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .project-gallery {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.8rem;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 40px;
    min-width: 40px;
    padding: 10px;
  }

  .whatsapp-pill {
    min-height: 44px;
    padding: 11px 14px;
  }
}
