:root {
  --ink: #160c06;
  --ink-soft: #2c1c13;
  --rust: #723218;
  --bronze: #b47844;
  --sand: #e8dfd2;
  --paper: #f4efe7;
  --white: #fffdf9;
  --line: rgba(22, 12, 6, 0.2);
  --display: "Italiana", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --page: min(92vw, 1440px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--rust);
  transform: translateY(-150%);
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  width: var(--page);
  height: 112px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  align-items: center;
  width: 112px;
  height: 84px;
  overflow: hidden;
}

.brand img {
  width: 112px;
  filter: brightness(0) invert(1);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.site-nav a,
.language-switcher,
.hero-scroll {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

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

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

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-btn {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  opacity: 0.55;
}

.lang-btn.is-active {
  opacity: 1;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

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

.hero-image {
  object-fit: cover;
  animation: hero-in 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 7, 4, 0.72) 0%, rgba(12, 7, 4, 0.34) 42%, transparent 75%),
    linear-gradient(0deg, rgba(12, 7, 4, 0.45), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--page);
  padding: 12rem 0 clamp(5rem, 10vh, 8rem);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--rust);
}

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

h1,
h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
}

h2 {
  font-size: clamp(2.7rem, 5vw, 5.5rem);
}

.hero-intro {
  max-width: 580px;
  margin-bottom: 2.2rem;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: color 250ms ease, background 250ms ease, border-color 250ms ease;
}

.button-light:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.hero-scroll {
  position: absolute;
  z-index: 2;
  right: 4vw;
  bottom: 4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  writing-mode: vertical-rl;
}

.hero-scroll i {
  display: block;
  width: 1px;
  height: 66px;
  background: rgba(255, 255, 255, 0.7);
}

.section {
  position: relative;
  width: var(--page);
  padding: clamp(6rem, 12vw, 11rem) 0;
  margin: 0 auto;
}

.section-number {
  color: var(--rust);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.section-number.light {
  color: var(--bronze);
}

.intro {
  display: grid;
  grid-template-columns: 0.35fr 2.1fr 0.8fr;
  gap: 3rem;
  align-items: start;
}

.intro-copy h2 {
  max-width: 900px;
  margin-bottom: 2rem;
}

.intro-copy > p:last-child {
  max-width: 660px;
  margin-left: auto;
  font-size: 1.08rem;
}

.intro-aside {
  padding-top: 3.3rem;
  border-top: 1px solid var(--line);
}

.intro-aside p {
  padding-bottom: 0.9rem;
  margin-bottom: 0.9rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.services {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) 1.35fr;
  gap: clamp(4rem, 8vw, 9rem);
  border-top: 1px solid var(--line);
}

.services-heading {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
}

.services-heading h2 {
  font-size: clamp(3rem, 5.2vw, 5.7rem);
}

.service {
  display: grid;
  grid-template-columns: 46px minmax(170px, 0.75fr) 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service > span {
  color: var(--rust);
  font-size: 0.65rem;
  font-weight: 600;
}

.service h3 {
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  font-weight: 400;
  line-height: 1.2;
}

.service p {
  margin-bottom: 0;
  color: rgba(22, 12, 6, 0.72);
  font-size: 0.92rem;
}

.feature-image {
  width: min(96vw, 1680px);
  margin: 0 auto clamp(6rem, 10vw, 10rem);
}

.feature-image img {
  width: 100%;
  max-height: 88vh;
  object-fit: cover;
}

.feature-caption {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 0;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.approach {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(4rem, 10vw, 10rem);
  width: 100%;
  padding-right: max(4vw, calc((100vw - 1440px) / 2));
  padding-left: max(4vw, calc((100vw - 1440px) / 2));
  color: var(--white);
  background: var(--ink);
}

.approach-intro h2 {
  margin-bottom: 2rem;
}

.approach-intro > p:last-child {
  max-width: 470px;
  color: rgba(255, 253, 249, 0.68);
}

.process-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1rem;
  padding: 1.8rem 0 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.process-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.process-list li > span {
  color: var(--bronze);
  font-size: 0.68rem;
  font-weight: 600;
}

.process-list h3 {
  margin-bottom: 0.55rem;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 400;
}

.process-list p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 253, 249, 0.65);
}

.vision {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(4rem, 10vw, 10rem);
  align-items: start;
}

.vision-copy {
  position: sticky;
  top: 4rem;
}

.vision-copy .section-number {
  margin-bottom: 4rem;
}

.vision-copy h2 {
  margin-bottom: 2rem;
}

.vision-copy > p:not(.eyebrow, .concept-note) {
  max-width: 480px;
  font-size: 1.03rem;
}

.concept-note {
  max-width: 400px;
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  color: rgba(22, 12, 6, 0.58);
  font-size: 0.72rem;
  border-top: 1px solid var(--line);
}

.vision-gallery {
  display: grid;
  gap: 5rem;
}

.vision-gallery figure {
  margin: 0;
}

.gallery-tall {
  width: 88%;
  margin-left: auto !important;
}

.gallery-tall img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 72%;
}

.gallery-wide {
  width: 100%;
}

.vision-gallery figcaption {
  padding-top: 0.75rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(4rem, 10vw, 10rem);
  width: 100%;
  padding-right: max(4vw, calc((100vw - 1440px) / 2));
  padding-left: max(4vw, calc((100vw - 1440px) / 2));
  color: var(--white);
  background: var(--rust);
}

.contact-heading h2 {
  margin-bottom: 2rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
}

.contact-heading > p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 253, 249, 0.76);
}

.contact-heading .section-number {
  margin-bottom: 4rem;
}

.whatsapp-link {
  display: flex;
  max-width: 520px;
  justify-content: space-between;
  padding: 1.15rem 0;
  margin-top: 3rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-form {
  align-self: end;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-form label {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0;
  outline: 0;
  transition: border-color 200ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--white);
}

.contact-form select option {
  color: var(--ink);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form ::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.contact-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
}

.consent input {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 0.2rem;
  accent-color: var(--bronze);
}

.button-accent {
  width: 100%;
  justify-content: space-between;
  color: var(--ink);
  background: var(--sand);
  border-color: var(--sand);
  cursor: pointer;
}

.button-accent:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.form-trap {
  position: absolute !important;
  left: -9999px !important;
}

.form-success {
  padding: 1rem;
  margin-top: 1rem;
  color: var(--ink);
  background: var(--sand);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  padding: 5rem max(4vw, calc((100vw - 1440px) / 2)) 2rem;
  color: var(--white);
  background: var(--ink);
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.footer-logo-symetria {
  width: 160px;
  margin: -2rem 0 -1rem;
  filter: brightness(0) invert(1);
}

.footer-logo-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.28);
}

.footer-logo-agencias {
  width: 170px;
  height: auto;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--display);
  font-size: 1.35rem;
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.8rem;
  min-width: 260px;
  padding-top: 2rem;
  font-size: 0.85rem;
}

.footer-contact a:hover {
  color: var(--bronze);
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-bottom p {
  margin-bottom: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@keyframes hero-in {
  from {
    opacity: 0;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    height: 92px;
  }

  .brand,
  .brand img {
    width: 90px;
  }

  .menu-toggle {
    position: relative;
    z-index: 25;
    display: grid;
    width: 38px;
    height: 38px;
    place-content: center;
    gap: 7px;
    padding: 0;
    margin-right: 1.2rem;
    color: inherit;
    background: none;
    border: 0;
  }

  .menu-toggle > span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: transform 250ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    justify-content: center;
    color: var(--white);
    background: var(--ink);
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
  }

  .site-nav a {
    font-family: var(--display);
    font-size: 2.6rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .language-switcher {
    position: relative;
    z-index: 25;
  }

  .intro {
    grid-template-columns: 60px 1fr;
  }

  .intro-aside {
    grid-column: 2;
  }

  .services,
  .approach,
  .vision,
  .contact {
    grid-template-columns: 1fr;
  }

  .services-heading {
    margin-bottom: 2rem;
  }

  .vision-copy {
    position: static;
  }

  .vision-copy .section-number,
  .contact-heading .section-number {
    margin-bottom: 2rem;
  }

  .vision-gallery {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2rem;
    align-items: end;
  }

  .gallery-tall {
    width: 100%;
  }
}

@media (max-width: 680px) {
  :root {
    --page: 88vw;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .hero {
    min-height: 760px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(12, 7, 4, 0.7), rgba(12, 7, 4, 0.2)),
      linear-gradient(0deg, rgba(12, 7, 4, 0.7), transparent 68%);
  }

  .hero-content {
    padding-bottom: 4rem;
  }

  h1 {
    font-size: clamp(3.25rem, 15vw, 5rem);
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-aside {
    grid-column: auto;
    padding-top: 1rem;
  }

  .services-heading {
    grid-template-columns: 1fr;
  }

  .service {
    grid-template-columns: 35px 1fr;
  }

  .service p {
    grid-column: 2;
  }

  .feature-image {
    width: 100%;
  }

  .feature-image img {
    height: 68vh;
  }

  .feature-caption {
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .approach,
  .contact {
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .vision-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-tall {
    width: 84%;
  }

  .footer-logos {
    gap: 1rem;
  }

  .footer-logo-symetria {
    width: 132px;
  }

  .footer-logo-agencias {
    width: 145px;
  }

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

  .site-footer {
    grid-template-columns: 1fr;
    padding-right: 6vw;
    padding-left: 6vw;
  }

  .footer-contact {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
