:root {
  --ink: #17211f;
  --muted: #596662;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --line: #d8ded8;
  --blue: #245d8f;
  --blue-dark: #173f66;
  --blue-soft: #e7f0f8;
  --green: var(--blue);
  --green-dark: var(--blue-dark);
  --copper: #4f9ac7;
  --accent-light: #9fd0ea;
  --steel: #3e4654;
  --shadow: 0 18px 45px rgba(23, 63, 102, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(247, 248, 245, 0.94);
  box-shadow: 0 10px 28px rgba(23, 33, 31, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo {
  display: grid;
  width: clamp(118px, 12vw, 164px);
  height: 64px;
  place-items: center;
  padding: 8px 10px;
  background: rgba(234, 245, 252, 0.08);
  border: 1px solid rgba(184, 221, 244, 0.12);
  border-radius: 8px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
  backdrop-filter: blur(3px);
}

.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-header.is-scrolled .brand-logo {
  background: transparent;
  border-color: transparent;
  filter: none;
  backdrop-filter: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switcher {
  display: inline-grid;
  grid-auto-flow: column;
  gap: 2px;
  padding: 3px;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.language-switcher button {
  min-width: 36px;
  min-height: 32px;
  padding: 6px 8px;
  color: currentColor;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.language-switcher button.is-active {
  color: var(--green-dark);
  background: #fff;
}

.site-header.is-scrolled .language-switcher button.is-active {
  color: #fff;
  background: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 88vh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 26, 41, 0.92), rgba(12, 35, 58, 0.66) 38%, rgba(12, 35, 58, 0.18) 78%),
    linear-gradient(0deg, rgba(12, 26, 41, 0.34), rgba(12, 26, 41, 0));
}

.hero-content {
  width: min(720px, calc(100% - 36px));
  margin: auto auto 12vh clamp(18px, 7vw, 94px);
  padding-top: 92px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #8fcaf0;
}

.hero h1 {
  color: #b8ddf4;
  text-shadow: 0 8px 28px rgba(6, 19, 32, 0.42);
}

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

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.08;
}

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 9vw, 7.1rem);
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.15;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.button.primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.44);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

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

.section-inner {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.intro {
  padding-top: clamp(40px, 5vw, 70px);
  padding-bottom: clamp(44px, 6vw, 76px);
  background:
    linear-gradient(180deg, #eaf5fc 0%, #f5fafd 100%);
  border-bottom: 1px solid rgba(36, 93, 143, 0.16);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}

.intro h2,
.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0;
}

.intro p:last-child,
.section-heading p,
.contact p {
  color: var(--muted);
  font-size: 1.03rem;
}

.experience {
  background:
    radial-gradient(circle at top right, rgba(79, 154, 199, 0.16), transparent 32%),
    linear-gradient(180deg, #dcecf6 0%, #e9f1f6 100%);
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.experience-copy p {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.experience-copy p:last-child {
  margin-bottom: 0;
}

.experience-panel {
  padding: 26px;
  background: rgba(23, 63, 102, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.panel-label {
  margin: 0 0 20px;
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.profile-list div {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile-list dt {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-list dd {
  margin: 0;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.45;
}

.profile-list a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: clamp(30px, 5vw, 52px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.project-list article,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-card {
  min-height: 260px;
  padding: 24px;
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  place-items: center;
  color: var(--blue-dark);
  background: linear-gradient(145deg, #edf7fd 0%, #dcecf8 100%);
  border: 1px solid rgba(36, 93, 143, 0.16);
  border-radius: 6px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.service-card h3,
.project-list h3,
.steps h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.service-card p,
.project-list p,
.steps p {
  margin: 0;
  color: var(--muted);
}

.process {
  background: #edf2f7;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: 106px;
  margin-bottom: 0;
}

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

.steps li {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.steps span {
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 800;
}

.project-types {
  background: var(--paper);
}

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

.project-list article {
  min-height: 210px;
  padding: 28px;
}

.project-list article:nth-child(2) {
  border-top: 5px solid var(--green);
}

.project-list article:nth-child(1) {
  border-top: 5px solid var(--steel);
}

.project-list article:nth-child(3) {
  border-top: 5px solid var(--copper);
}

.contact {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 63, 102, 0.98), rgba(29, 76, 114, 0.94)),
    var(--blue-dark);
}

.contact .section-kicker {
  color: var(--accent-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.contact h2 {
  max-width: 690px;
}

.contact p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.78);
}

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

.contact-actions .button {
  min-width: 170px;
}

.contact-whatsapp {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.52);
}

.contact-whatsapp:hover {
  background: rgba(255, 255, 255, 0.18);
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 32px;
}

.contact-details p {
  margin: 0;
}

.contact-details a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-details strong {
  color: #fff;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  resize: vertical;
  background: #fbfcfa;
  border: 1px solid #c8d0cb;
  border-radius: 6px;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(33, 95, 84, 0.14);
}

.contact-form .button {
  width: 100%;
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 56px);
  color: #e8efeb;
  background: #0c2824;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

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

  .intro-grid,
  .experience-grid,
  .process-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
  }

  .header-actions {
    gap: 10px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    pointer-events: none;
    background: rgba(247, 248, 245, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .site-nav.is-open {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(12, 26, 41, 0.92), rgba(12, 35, 58, 0.56)),
      linear-gradient(0deg, rgba(12, 26, 41, 0.28), rgba(12, 26, 41, 0));
  }

  .hero-content {
    margin: auto 18px 9vh;
  }

  .service-grid,
  .project-list {
    grid-template-columns: 1fr;
  }

  .steps li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .brand-logo {
    width: 112px;
    height: 56px;
    padding: 7px 9px;
  }

  .language-switcher button {
    min-width: 32px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .hero-actions {
    display: grid;
  }

  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .service-card,
  .project-list article,
  .steps li,
  .contact-form {
    padding: 20px;
  }
}

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