:root {
  --navy: #17245f;
  --ink: #11172a;
  --blue: #46539a;
  --lavender: #a1abd9;
  --stone: #f3f0ea;
  --warm: #c4a36f;
  --sage: #8e9a88;
  --white: #ffffff;
  --muted: #6d7280;
  --line: rgba(17, 23, 42, 0.14);
  --shadow: 0 24px 70px rgba(17, 23, 42, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--navy);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  padding-top: 12px;
  padding-bottom: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(17, 23, 42, 0.1);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.site-header.is-scrolled .brand img,
.site-header.menu-active .brand img {
  border-color: rgba(23, 36, 95, 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 1.05rem;
  font-weight: 700;
}

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

.social-link span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #1877f2;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.social-link.icon-only {
  padding: 0;
}

.social-link.icon-only::after {
  display: none;
}

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

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

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  padding: 180px 6% 90px;
  overflow: hidden;
  color: var(--white);
}

main {
  background: var(--stone);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(17, 23, 42, 0.12), rgba(17, 23, 42, 0.08)),
    url("https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=82") center / cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 18, 47, 0.82) 0%, rgba(12, 18, 47, 0.56) 44%, rgba(12, 18, 47, 0.12) 100%),
    linear-gradient(0deg, rgba(12, 18, 47, 0.44), rgba(12, 18, 47, 0.06) 58%);
}

.hero-content {
  position: relative;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  line-height: 0.98;
  font-weight: 500;
}

h2 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 500;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.16rem;
  line-height: 1.22;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.16rem;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.hero .button.primary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
}

.button.secondary.dark {
  color: var(--navy);
  background: transparent;
  border-color: rgba(23, 36, 95, 0.24);
}

.trust-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, 88%);
  margin: -44px auto 0;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
}

.trust-strip div {
  min-height: 112px;
  padding: 26px 28px;
  border-right: 1px solid var(--line);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 6px;
  color: var(--navy);
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 100px 6%;
}

.intro-grid,
.section-top,
.process-section,
.assurance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: 70px;
  align-items: start;
}

.intro-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

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

.section-heading h2,
.section-top h2 {
  margin-bottom: 0;
}

.section-top {
  align-items: end;
  margin-bottom: 42px;
}

.section-top p {
  margin-bottom: 0;
  color: var(--muted);
}

.process-section {
  align-items: stretch;
  padding-top: 0;
}

.process-image {
  min-height: 620px;
  background:
    linear-gradient(0deg, rgba(17, 23, 42, 0.08), rgba(17, 23, 42, 0.08)),
    url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1400&q=82") center / cover;
}

.process-content {
  padding: 54px 0;
}

.process-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.process-list span {
  color: var(--blue);
  font-weight: 900;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.services {
  background: var(--white);
}

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

.service-card {
  min-height: 248px;
  padding: 28px;
  background: #f9f8f5;
  border: 1px solid rgba(17, 23, 42, 0.08);
  border-radius: var(--radius);
}

.service-card span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.latest {
  background: #e9ebf5;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--navy);
  font-weight: 900;
  border-bottom: 2px solid var(--warm);
}

.latest-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.project-card {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.project-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(12, 18, 47, 0.82) 0%, rgba(12, 18, 47, 0.22) 58%, rgba(12, 18, 47, 0.02) 100%);
}

.project-card:hover img,
.project-card:focus-within img {
  transform: scale(1.05);
}

.project-body {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 28px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card h3 {
  max-width: 520px;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.project-card p {
  max-width: 540px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
}

.project-card .project-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  color: var(--white);
  font-weight: 900;
  border-bottom: 2px solid var(--warm);
}

.portfolio-grid .project-card {
  min-height: 430px;
}

.portfolio-grid .project-card h3 {
  font-size: 1.55rem;
}

.assurance {
  align-items: center;
  background: var(--navy);
  color: var(--white);
}

.assurance-content p {
  max-width: 700px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.assurance-points {
  display: grid;
  gap: 12px;
}

.assurance-points div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.assurance-points strong,
.assurance-points span {
  display: block;
}

.assurance-points span {
  color: rgba(255, 255, 255, 0.72);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 760px;
  background: var(--white);
}

.contact-media {
  min-height: 620px;
  background:
    linear-gradient(0deg, rgba(17, 23, 42, 0.12), rgba(17, 23, 42, 0.12)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1400&q=82") center / cover;
}

.contact-panel {
  padding: 88px 8%;
}

.contact-panel p {
  max-width: 720px;
  color: var(--muted);
}

.contact-actions {
  margin: 28px 0 34px;
}

.whatsapp-qr {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  max-width: 520px;
  margin-bottom: 34px;
  padding: 16px;
  background: #f8f7f3;
  border: 1px solid rgba(17, 23, 42, 0.12);
  border-radius: var(--radius);
}

.whatsapp-qr img {
  width: 118px;
  height: 118px;
  padding: 8px;
  background: var(--white);
  border: 1px solid rgba(17, 23, 42, 0.1);
  border-radius: var(--radius);
}

.whatsapp-qr strong,
.whatsapp-qr span {
  display: block;
}

.whatsapp-qr strong {
  margin-bottom: 6px;
  color: var(--navy);
}

.whatsapp-qr span {
  color: var(--muted);
  font-size: 0.94rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 760px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form label:nth-child(3),
.contact-form label:nth-child(4),
.form-button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f8f7f3;
  border: 1px solid rgba(17, 23, 42, 0.16);
  border-radius: var(--radius);
}

.contact-form textarea {
  resize: vertical;
}

.form-button {
  width: fit-content;
  margin-top: 4px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  padding: 38px 6%;
  color: var(--white);
  background: #101528;
}

.site-footer img {
  width: 80px;
  margin-bottom: 12px;
  background: var(--white);
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer nav,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 800;
}

.footer-contact {
  justify-content: flex-end;
}

.footer-social,
.footer-social span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social {
  width: 32px;
  height: 32px;
  color: var(--white);
  background: #1877f2;
  border-radius: 50%;
}

.footer-social span {
  font-family: Arial, sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1;
}

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

.footer-social.whatsapp-icon svg {
  width: 20px;
  height: 20px;
}

.footer-social.whatsapp-icon {
  background: #25d366;
}

.footer-social.email-icon {
  background: var(--blue);
}

.project-page {
  background: var(--white);
}

.project-detail {
  min-height: 70vh;
}

.project-loading,
.project-empty {
  min-height: 72vh;
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 150px 6% 80px;
  background: var(--stone);
}

.project-empty h1 {
  max-width: 760px;
  color: var(--navy);
}

.project-empty p:not(.section-kicker) {
  max-width: 620px;
  color: var(--muted);
}

.project-hero {
  position: relative;
  min-height: 74vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

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

.project-hero img {
  object-fit: cover;
}

.project-hero-overlay {
  background: linear-gradient(0deg, rgba(12, 18, 47, 0.84) 0%, rgba(12, 18, 47, 0.38) 62%, rgba(12, 18, 47, 0.1) 100%);
}

.project-hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 160px 6% 80px;
}

.project-hero-content p:not(.section-kicker) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

.project-specs,
.project-next {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.spec-grid div {
  min-height: 122px;
  padding: 24px;
  background: #f8f7f3;
  border: 1px solid rgba(17, 23, 42, 0.1);
  border-radius: var(--radius);
}

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

.spec-grid strong {
  margin-bottom: 8px;
  color: var(--navy);
}

.spec-grid span,
.project-next p {
  color: var(--muted);
}

.project-next {
  align-items: center;
  background: var(--stone);
}

.project-next .button {
  justify-self: end;
}

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

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

@media (max-width: 980px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .site-nav {
    position: fixed;
    inset: 125px 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 6% 28px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(17, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

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

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: block;
  }

  .intro-grid,
  .section-top,
  .process-section,
  .assurance,
  .contact-section,
  .project-specs,
  .project-next {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .trust-strip,
  .service-grid,
  .portfolio-grid,
  .latest-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-strip div:last-child {
    border-bottom: 0;
  }

  .process-image,
  .contact-media {
    min-height: 420px;
  }

  .process-content,
  .contact-panel {
    padding-top: 0;
    padding-bottom: 60px;
  }

  .site-footer nav,
  .footer-contact,
  .project-next .button {
    justify-content: flex-start;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 5%;
  }

  .brand span {
    display: none;
  }

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

  .hero {
    min-height: 84vh;
    padding: 150px 5% 70px;
  }

  .hero-media {
    background-position: 62% center;
  }

  h1 {
    font-size: 2.75rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

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

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

  .section {
    padding: 72px 5%;
  }

  .trust-strip {
    width: 90%;
  }

  .service-grid,
  .portfolio-grid {
    gap: 14px;
  }

  .project-card,
  .portfolio-grid .project-card {
    min-height: 360px;
  }

  .project-card h3 {
    font-size: 1.5rem;
  }

  .project-body,
  .service-card,
  .assurance-points div {
    padding: 22px;
  }

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

  .whatsapp-qr {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .whatsapp-qr img {
    width: 96px;
    height: 96px;
  }

  .contact-panel {
    padding-right: 5%;
    padding-left: 5%;
  }

  .project-hero-content,
  .project-loading,
  .project-empty {
    padding-right: 5%;
    padding-left: 5%;
  }

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