:root {
  --ink: #17191c;
  --ink-soft: #2d3336;
  --paper: #fbfaf7;
  --white: #ffffff;
  --mist: #eef1ee;
  --stone: #d9ddd7;
  --sage: #6f7d68;
  --clay: #b86f50;
  --blue: #27384d;
  --gold: #c39a5f;
  --shadow: 0 24px 70px rgba(23, 25, 28, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 200;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem;
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
  background: rgba(251, 250, 247, 0.94);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(23, 25, 28, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand__mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-weight: 700;
  line-height: 1;
}

.brand__text {
  display: grid;
  line-height: 1.15;
}

.brand__text strong {
  font-size: 1rem;
  font-weight: 700;
}

.brand__text span {
  font-size: 0.78rem;
  opacity: 0.78;
}

.site-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.92rem;
}

.site-nav a {
  position: relative;
  padding: 0.45rem 0;
}

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

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

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.8rem;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 0.2rem;
}

.is-scrolled .language-switcher,
body.menu-open .language-switcher {
  border-color: rgba(23, 25, 28, 0.16);
}

.language-switcher button {
  width: 34px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 700;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--white);
  color: var(--ink);
}

.is-scrolled .language-switcher button[aria-pressed="true"],
body.menu-open .language-switcher button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--white);
}

.header-call {
  white-space: nowrap;
  font-size: 0.86rem;
  border-bottom: 1px solid currentColor;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

body.menu-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

body.menu-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

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

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

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

.hero__shade {
  background:
    linear-gradient(90deg, rgba(12, 14, 15, 0.82) 0%, rgba(12, 14, 15, 0.52) 42%, rgba(12, 14, 15, 0.2) 100%),
    linear-gradient(0deg, rgba(12, 14, 15, 0.64) 0%, rgba(12, 14, 15, 0) 46%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(var(--max), calc(100% - 4rem));
  margin: 0 auto;
  padding: 9rem 0 7.5rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero .eyebrow {
  color: #f2c188;
}

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

h1 {
  max-width: 820px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  line-height: 0.96;
  font-weight: 400;
}

.hero__lead {
  width: min(100%, 620px);
  max-width: 620px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

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

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

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

.button--ghost {
  border-color: rgba(255, 255, 255, 0.46);
  color: var(--white);
}

.button--dark {
  width: 100%;
  background: var(--ink);
  color: var(--white);
}

.hero__meta {
  position: absolute;
  right: 2rem;
  bottom: 1.25rem;
  left: 2rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.hero__meta span {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr;
  gap: 1px;
  background: var(--ink);
}

.visual-tile {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.visual-tile--large {
  min-height: 520px;
}

.visual-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.84;
  transition: transform 420ms ease, opacity 420ms ease;
}

.visual-tile::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background: linear-gradient(0deg, rgba(12, 14, 15, 0.78), rgba(12, 14, 15, 0));
}

.visual-tile:hover img {
  transform: scale(1.035);
  opacity: 0.96;
}

.visual-tile div {
  position: absolute;
  right: 1.4rem;
  bottom: 1.25rem;
  left: 1.4rem;
  z-index: 1;
}

.visual-tile h2 {
  margin: 0 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1.08;
}

.visual-tile p {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
}

.section {
  padding: 6.5rem 2rem;
}

.section__intro {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section__intro--wide {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  column-gap: 4rem;
  align-items: end;
}

.section__intro h2 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 400;
}

.section__intro p:not(.eyebrow) {
  margin: 1rem 0 0;
  color: rgba(23, 25, 28, 0.72);
}

.studio {
  background: var(--paper);
}

.studio__body {
  width: min(var(--max), 100%);
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 0.82fr 0.82fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.studio__body > p {
  margin: 0;
  color: rgba(23, 25, 28, 0.74);
  font-size: 1.02rem;
}

.studio__notes {
  display: grid;
  gap: 1px;
  background: var(--stone);
}

.studio__notes div {
  min-height: 146px;
  background: var(--white);
  padding: 1.35rem;
}

.studio__notes span,
.process-list span {
  display: block;
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
}

.studio__notes strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 1.05rem;
}

.studio__notes p {
  margin: 0.45rem 0 0;
  color: rgba(23, 25, 28, 0.66);
  font-size: 0.92rem;
}

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

.service-grid {
  width: min(var(--max), 100%);
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--stone);
}

.service-card {
  min-height: 235px;
  background: var(--white);
  padding: 1.5rem;
}

.service-card span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(23, 25, 28, 0.16);
  border-radius: 50%;
  color: var(--blue);
  font-size: 1.2rem;
}

.service-card h3 {
  margin: 1.45rem 0 0.55rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: rgba(23, 25, 28, 0.66);
  font-size: 0.94rem;
}

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

.process .section__intro h2 {
  color: var(--white);
}

.process-list {
  width: min(var(--max), 100%);
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.process-list article {
  min-height: 250px;
  padding: 1.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.process-list h3 {
  margin: 3.2rem 0 0.55rem;
  font-size: 1.28rem;
}

.process-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.94rem;
}

.contact {
  background: var(--paper);
  padding: 6.5rem 2rem 2rem;
}

.contact__content {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact__intro h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1.05;
  font-weight: 400;
}

.contact__intro > p:not(.eyebrow) {
  max-width: 520px;
  margin: 1rem 0 0;
  color: rgba(23, 25, 28, 0.72);
}

.contact-lines {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
  font-style: normal;
}

.contact-lines a {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.7rem;
  align-items: start;
  color: rgba(23, 25, 28, 0.78);
}

.contact-lines span[aria-hidden="true"] {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
}

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--white);
  padding: 1.35rem;
  border: 1px solid rgba(23, 25, 28, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 18px 60px rgba(23, 25, 28, 0.08);
}

.form-row {
  display: grid;
  gap: 0.42rem;
}

.form-row--split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-row label {
  color: rgba(23, 25, 28, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(23, 25, 28, 0.16);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 0.86rem 0.9rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-row textarea {
  resize: vertical;
  min-height: 132px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 4px rgba(184, 111, 80, 0.12);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: rgba(23, 25, 28, 0.72);
  font-size: 0.9rem;
}

.map-frame {
  display: block;
  width: min(var(--max), calc(100% - 4rem));
  height: 430px;
  margin: 3rem auto 0;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(0.15) contrast(1.02);
}

.floating-whatsapp {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  border-radius: 999px;
  background: #1f8f5f;
  color: var(--white);
  padding: 0.45rem 0.9rem 0.45rem 0.45rem;
  box-shadow: 0 16px 44px rgba(31, 143, 95, 0.32);
}

.floating-whatsapp span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 900;
}

.floating-whatsapp strong {
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 2rem 2rem;
  background: var(--paper);
  color: rgba(23, 25, 28, 0.62);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

[dir="rtl"] .site-nav a::after {
  transform-origin: right;
}

[dir="rtl"] .contact-lines a {
  grid-template-columns: 1fr 36px;
}

[dir="rtl"] .contact-lines span[aria-hidden="true"] {
  order: 2;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    right: 1rem;
    left: 1rem;
    display: none;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.85rem;
    border: 1px solid rgba(23, 25, 28, 0.1);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  body.menu-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem;
  }

  .header-actions {
    justify-self: end;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .header-call {
    display: none;
  }

  .visual-grid,
  .studio__body,
  .contact__content {
    grid-template-columns: 1fr;
  }

  .section__intro--wide {
    grid-template-columns: 1fr;
    row-gap: 1rem;
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 0.8rem 1rem;
    gap: 0.8rem;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__text strong {
    font-size: 0.94rem;
  }

  .language-switcher {
    position: fixed;
    top: 292px;
    right: 1rem;
    left: 1rem;
    bottom: auto;
    display: none;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    background: rgba(251, 250, 247, 0.94);
    border-color: rgba(23, 25, 28, 0.14);
    border-radius: var(--radius);
    color: var(--ink);
    padding: 0.45rem;
    box-shadow: 0 14px 38px rgba(23, 25, 28, 0.12);
  }

  body.menu-open .language-switcher {
    display: grid;
  }

  .language-switcher button {
    width: 100%;
  }

  .language-switcher button[aria-pressed="true"] {
    background: var(--ink);
    color: var(--white);
  }

  .menu-toggle {
    position: fixed;
    top: 0.8rem;
    right: auto;
    left: clamp(15rem, 78vw, 20rem);
    z-index: 160;
    background: rgba(23, 25, 28, 0.26);
    backdrop-filter: blur(12px);
  }

  .is-scrolled .menu-toggle,
  body.menu-open .menu-toggle {
    background: transparent;
  }

  .hero {
    min-height: 92vh;
    min-height: 92svh;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(12, 14, 15, 0.76), rgba(12, 14, 15, 0.5)),
      linear-gradient(0deg, rgba(12, 14, 15, 0.72), rgba(12, 14, 15, 0.05));
  }

  .hero__content {
    width: calc(100% - 2rem);
    max-width: 360px;
    margin-right: auto;
    margin-left: 1rem;
    padding: 7rem 0 8.5rem;
  }

  h1 {
    font-size: 3rem;
  }

  .hero__lead {
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
  }

  .hero__actions {
    display: grid;
  }

  .hero__meta {
    justify-content: flex-start;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }

  .visual-grid {
    display: block;
  }

  .visual-tile,
  .visual-tile--large {
    min-height: 360px;
  }

  .section,
  .contact {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .section__intro h2,
  .contact__intro h2 {
    font-size: 2.18rem;
  }

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

  .service-card,
  .process-list article {
    min-height: auto;
  }

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

  .map-frame {
    width: calc(100% - 2rem);
    height: 340px;
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
  }

  .floating-whatsapp strong {
    display: none;
  }

  .site-footer {
    display: grid;
    padding: 1.4rem 1rem 6rem;
  }
}

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