:root {
  --white: #ffffff;
  --black: #111111;
  --anthracite: #242424;
  --line: #d9d9d9;
  --soft: #f5f5f2;
  --accent: #3d3d3a;
  --verde-abc: #2E7D52;
  --text: #222222;
  --muted: #666666;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 66px;
  display: grid;
  grid-template-columns: 230px 1fr 110px;
  align-items: center;
  gap: 22px;
  padding: 8px 32px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--black);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 12px;
}

.nav a, .lang a, footer {
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.lang {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  font-size: 11px;
}

.lang a.active {
  color: var(--black);
  font-weight: 700;
}

.nav-lang-mobile { display: none; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--black);
  background: var(--white);
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--black);
}

.panel {
  min-height: auto;
  padding: 64px 64px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 48px;
  align-items: end;
  overflow: hidden;
}

.drawing-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.28;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 1080px;
  padding-top: 3vh;
}

.kicker, .section-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin: 0 0 28px;
  font-weight: 700;
}

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

h1 {
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.07em;
  max-width: 1120px;
  margin-bottom: 32px;
}

h2 {
  font-size: clamp(34px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: 920px;
}

h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.lead {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.35;
  max-width: 820px;
  color: var(--anthracite);
}

.cta-prompt {
  font-size: clamp(18px, 1.6vw, 22px);
  font-style: italic;
  line-height: 1.4;
  max-width: 760px;
  color: var(--verde-abc);
  margin-top: 28px;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--black);
  text-decoration: none;
  font-size: 14px;
  color: var(--black);
}

.btn.primary {
  background: var(--black);
  color: var(--white);
}

.btn.secondary { background: transparent; }

.cartouche {
  position: relative;
  border: 1px solid var(--black);
  background: rgba(255,255,255,0.88);
  overflow: hidden;
}

.cartouche::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../logo/logo-abconcept-watermark.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 72%;
  opacity: 0.18;
  pointer-events: none;
}

.cartouche div {
  position: relative;
  min-height: 100px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.cartouche span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.cartouche strong {
  font-size: 15px;
  font-weight: 600;
}

.image-band {
  position: relative;
  width: 100%;
  height: clamp(500px, 52vw, 600px);
  overflow: hidden;
  background: #f5f5f5;
}

.image-band img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(8%) contrast(96%);
}

.image-caption {
  position: absolute;
  left: 32px;
  bottom: 28px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--black);
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--anthracite);
}

.image-credit {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.text-block {
  font-size: 22px;
  line-height: 1.5;
  color: var(--anthracite);
}

.grid-section .cards,
.project-grid {
  margin-top: 80px;
  display: grid;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}

.grid-section .cards { grid-template-columns: repeat(3, 1fr); }
.project-grid { grid-template-columns: repeat(4, 1fr); }

.card,
.project-grid article {
  padding: 34px;
  min-height: 280px;
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.project-grid article {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.number,
.project-grid span {
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
}

.card p, .project-grid p, .assets-copy {
  color: var(--muted);
  line-height: 1.55;
}

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

.diagram {
  margin: 80px 0 42px;
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr 80px 1fr;
  align-items: center;
}

.node {
  min-height: 120px;
  border: 1px solid var(--black);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  background: var(--white);
  font-weight: 700;
}

.node.accent {
  border-color: var(--accent);
  color: var(--accent);
}

.line {
  height: 1px;
  background: var(--black);
}

.assets-copy {
  max-width: 850px;
  font-size: 20px;
}

.steps {
  margin: 80px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--black);
}

.steps li {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  font-size: 28px;
  letter-spacing: -0.03em;
}

.steps span {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.1em;
  padding-top: 8px;
}

.contact {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 60px;
  align-items: center;
}

.contact-box {
  position: relative;
  border: 1px solid var(--black);
  background: rgba(255,255,255,0.88);
  overflow: hidden;
}

.contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../logo/logo-abconcept-watermark.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 72%;
  opacity: 0.18;
  pointer-events: none;
}

.contact-box div {
  position: relative;
  min-height: 100px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-box div:last-child { border-bottom: 0; }

.contact-box span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.contact-box strong {
  font-size: 15px;
  font-weight: 600;
}

.contact-box strong a {
  color: var(--text);
  text-decoration: none;
}

.contact-box strong a:hover {
  text-decoration: underline;
}

footer {
  min-height: 80px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 11px;
}

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

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

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 180px 1fr 90px;
    gap: 16px;
    padding: 8px 24px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .nav { gap: 18px; font-size: 11px; }
  .panel { padding: 82px 40px; }

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

  .cartouche { max-width: 480px; }

  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .diagram {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .line {
    width: 1px;
    height: 40px;
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr 42px;
    min-height: 64px;
    padding: 8px 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .menu-toggle { display: flex; justify-self: end; }

  .lang { display: none; }

  .nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--black);
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 18px;
    border-top: 1px solid var(--line);
    font-size: 13px;
  }

  .nav-lang-mobile {
    display: flex;
    gap: 20px;
    padding: 16px 18px;
    border-top: 1px solid var(--line);
  }

  .nav-lang-mobile a {
    padding: 0 !important;
    border-top: none !important;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  .nav-lang-mobile a.active {
    color: var(--black);
    font-weight: 700;
  }

  .panel {
    min-height: auto;
    padding: 68px 22px;
  }

  .hero {
    min-height: calc(100vh - 64px);
    grid-template-columns: 1fr;
    align-items: center;
  }

  .hero-content { padding-top: 4vh; }

  h1 {
    font-size: clamp(42px, 16vw, 68px);
    letter-spacing: -0.065em;
  }

  h2 {
    font-size: clamp(34px, 11vw, 54px);
  }

  .lead,
  .text-block,
  .assets-copy {
    font-size: 19px;
  }

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

  .btn {
    width: 100%;
    min-height: 54px;
  }

  .image-band {
    height: clamp(360px, 90vw, 460px);
  }

  .image-caption {
    left: 18px;
    bottom: 18px;
    max-width: calc(100% - 36px);
    font-size: 10px;
  }

  .split,
  .grid-section .cards,
  .project-grid,
  .diagram,
  .contact {
    grid-template-columns: 1fr;
  }

  .grid-section .cards,
  .project-grid {
    margin-top: 48px;
  }

  .card,
  .project-grid article {
    padding: 24px;
    min-height: auto;
  }

  .steps {
    margin-top: 48px;
  }

  .steps li {
    grid-template-columns: 58px 1fr;
    font-size: 21px;
  }

  footer {
    flex-direction: column;
    gap: 12px;
    padding: 24px 18px;
  }
}


/* HD image framing by visual band */
.image-band img {
  object-position: center center;
}

/* The image-band sections are interleaved between content panels.
   These rules improve framing without changing the layout. */
main > .image-band:nth-of-type(2) img { object-position: center center; }   /* Vision */
main > .image-band:nth-of-type(4) img { object-position: center center; }   /* Architecture */
main > .image-band:nth-of-type(6) img { object-position: center center; }   /* Real Assets */
main > .image-band:nth-of-type(8) img { object-position: center center; }   /* Sectors */
main > .image-band:nth-of-type(10) img { object-position: center center; }  /* Method */
main > .image-band:nth-of-type(12) img { object-position: center center; }  /* Contact */
