:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --text: #111111;
  --muted: #686868;
  --line: #dfdfdc;
  --accent: #1d1d1f;
  --font-sans: "Heebo", system-ui, -apple-system, sans-serif;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html[dir="ltr"],
html[lang="en"] {
  font-size: 93.75%;
}
html[dir="ltr"] body { font-family: var(--font-sans); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: var(--font-sans); }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-shell { padding: 120px 0; }
.muted-section { background: #efefec; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 247, 245, 0.82);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.nav-wrap { min-height: 70px; padding: 6px 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-logo { width: 70px; height: 70px; object-fit: contain; flex-shrink: 0; }
.brand-info { display: flex; flex-direction: column; gap: 2px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; font-size: 1rem; transition: color .2s ease; }
.brand-text:hover { color: var(--accent); }
.brand-text small { margin-top: 3px; color: var(--muted); font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.brand-text small { margin-top: 3px; color: var(--muted); font-size: .66rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; gap: 30px; color: var(--muted); font-size: .95rem; }
.main-nav a { transition: color .25s ease; }
.main-nav a:hover { color: var(--text); }
.lang-toggle { border: 1px solid var(--line); background: transparent; padding: 7px 12px; border-radius: 999px; cursor: pointer; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone-btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; padding: 0 14px; height: 36px; font-size: .85rem; font-weight: 500; color: var(--text); text-decoration: none; transition: background .2s ease, border-color .2s ease; direction: ltr; line-height: 1; gap: 7px; }
.nav-phone-btn:hover { background: var(--surface); border-color: var(--muted); }
.lang-toggle { border: 1px solid var(--line); background: transparent; padding: 0 14px; height: 36px; border-radius: 999px; cursor: pointer; font-size: .85rem; font-weight: 500; line-height: 1; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--text); direction: ltr; transition: color .2s ease; }
.nav-phone:hover { color: var(--accent); }

.hero { padding-top: 50px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: stretch; gap: 72px; }
.hero-visual { display: flex; flex-direction: column; height: 100%; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font-weight: 600; }
.hero-title-lines { line-height: 1.15; font-size: clamp(2rem, 3.8vw, 3.2rem); letter-spacing: -0.04em; }
.hero-line-service { font-size: clamp(1.4rem, 2.5vw, 1.8rem); color: var(--accent); display: inline-block; margin-top: 12px; font-weight: 500; }
html[dir="ltr"] .hero-title-lines { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h2 { font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 30px; font-weight: 600; }
h3 { font-size: 1.55rem; line-height: 1.2; letter-spacing: -0.02em; }
.hero-lead { max-width: 720px; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.5rem); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; transition: transform .25s ease, background .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #fff; }
.button-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.45); }

.portrait-container {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  background: #ececea;
  isolation: isolate;
}
.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  position: absolute;
  top: 0; left: 0;
}

.stats-band { padding-top: 10px; padding-bottom: 50px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 28px 24px; border-top: 1px solid var(--line); }
.stat-title { display: block; font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.stat-text { color: var(--muted); font-size: .9rem; line-height: 1.4; }

.split-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; }
.body-copy { font-size: 1.28rem; color: var(--muted); }
.split-layout .body-copy { margin-top: 34px; }
.body-copy p + p { margin-top: 22px; }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 45px; }
.service-card { background: var(--surface); border-radius: var(--radius-md); padding: 32px; min-height: 200px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 10px 35px rgba(0,0,0,.035); transition: transform .35s ease, box-shadow .35s ease, background-color .3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background-color: var(--accent); }
.service-card:hover h3, .service-card:hover p { color: #fff; }
.service-card h3 { margin-bottom: 10px; font-size: 1.25rem; transition: color .3s ease; }
.service-card p { color: var(--muted); font-size: .95rem; margin: 0; transition: color .3s ease; }

.projects-list { display: grid; gap: 22px; margin-top: 58px; }
.project-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; min-height: 410px; box-shadow: 0 12px 40px rgba(0,0,0,.04); }
.project-card:nth-child(even) .project-image { order: 2; }
.project-card:nth-child(even) .project-content { order: 1; }
.project-image { border-radius: 0; min-height: 410px; height: 410px; overflow: hidden; position: relative; background: #ececea; }
.project-img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; filter: grayscale(100%); transition: transform .4s ease, filter .4s ease; }
.project-card:hover .project-img { transform: scale(1.03); filter: grayscale(0%); }
.project-content { padding: 52px; display: flex; flex-direction: column; justify-content: center; }
.project-meta { color: var(--muted); font-size: .92rem; }
.project-content p:last-child { color: var(--muted); font-size: 1.08rem; }

.contact-section { background: #111; color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: start; }
.contact-section .eyebrow, .contact-section p { color: #aaa; }
.contact-links { display: flex; flex-direction: column; gap: 0; font-size: clamp(.9rem, 1.4vw, 1.05rem); align-items: stretch; direction: ltr; text-align: left; width: 260px; margin-top: 8px; }
html[dir="ltr"] .contact-links { margin-left: auto; order: 0; margin-top: 40px; }
html[dir="ltr"] .contact-grid { grid-template-columns: 1.2fr .8fr; }
.contact-links a { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px; border-bottom: 1px solid #2a2a2a; padding: 14px 0; transition: color .25s ease, border-color .25s ease; width: 100%; }
.contact-links a:hover { color: #fff; border-color: #555; }
.contact-icon { width: 20px; height: 20px; flex-shrink: 0; opacity: 0.7; transition: opacity .25s ease; justify-self: center; }
.contact-links a:hover .contact-icon { opacity: 1; }

.site-footer { padding: 24px 0; background: #111; color: #777; border-top: 1px solid #222; }
.footer-wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 70px; height: 70px; object-fit: contain; flex-shrink: 0; filter: brightness(0) invert(1); }
.footer-brand-info { display: flex; align-items: center; }
.footer-brand-text { display: flex; align-items: center; gap: 10px; font-weight: 500; color: #888; font-size: .95rem; }
.footer-dot { color: #444; font-size: .8rem; }
.footer-links { display: flex; gap: 20px; font-size: .85rem; }
.footer-links a { color: #777; transition: color .25s ease; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,0.1); }
.footer-links a:hover { color: #ccc; text-decoration-color: #ccc; }

/* Phone bubble */
.phone-bubble {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 0 18px;
  height: 48px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  transition: transform .25s ease, box-shadow .25s ease;
  direction: ltr;
}
.phone-bubble:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,.3); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .section-shell { padding: 84px 0; }
  .hero-grid, .split-layout, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-section { text-align: center; }
  .contact-links { margin: 0 auto; width: max-content; align-items: flex-start; }
  html[dir="ltr"] .contact-links { margin: 0 auto; width: max-content; align-items: flex-start; }
  .hero-grid { min-height: auto; gap: 40px; }
  .portrait-container { min-height: 420px; }
  .project-img { filter: grayscale(0%); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card { grid-template-columns: 1fr; }
  .project-card:nth-child(even) .project-image,
  .project-card:nth-child(even) .project-content { order: initial; }
  .project-image { min-height: 300px; }
  .project-content { padding: 34px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 24px, 1180px); }
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.45rem; }
  .hero { padding-top: 24px; }
  .section-shell { padding: 46px 0; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .project-content { padding: 26px; }
  .footer-wrap { flex-direction: column-reverse; gap: 32px; }
  .footer-brand { flex-direction: column; gap: 16px; }
  .footer-brand-text { flex-direction: column; gap: 6px; text-align: center; }
  .footer-dot { display: none; }
  .stats-grid, .cards-grid { grid-template-columns: 1fr; }
  .nav-phone-text { display: none; }
  .nav-phone-btn { width: 36px; height: 36px; padding: 0; justify-content: center; }
}

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

/* Modal Overlay & Card Styles */
body.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--surface);
  color: var(--text);
  border-radius: var(--radius-lg);
  width: min(820px, 100%);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
  transform: scale(0.95) translateY(15px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border: 1px solid var(--line);
}

.modal-backdrop.is-active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.modal-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.modal-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.modal-close-btn {
  background: transparent;
  border: 1px solid var(--line);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 1.2rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(90deg);
}

.modal-body {
  padding: 32px 32px 40px;
  overflow-y: auto;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #333;
}

.modal-body h2 {
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text);
}

.modal-body p {
  margin-bottom: 16px;
}

.modal-body ul {
  padding-right: 1.5rem;
  margin-bottom: 20px;
}

html[dir="ltr"] .modal-body ul {
  padding-right: 0;
  padding-left: 1.5rem;
}

.modal-body ul li {
  margin-bottom: 8px;
}

.modal-highlight-box {
  background: rgba(0,0,0,0.03);
  border-right: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 6px;
  margin: 20px 0;
}

html[dir="ltr"] .modal-highlight-box {
  border-right: none;
  border-left: 4px solid var(--accent);
}

@media (max-width: 600px) {
  .modal-header {
    padding: 18px 20px;
  }
  .modal-title {
    font-size: 1.25rem;
  }
  .modal-body {
    padding: 24px 20px;
    font-size: 0.95rem;
  }
}

