:root {
  --ink: #2d1b17;
  --terracotta: #a95f42;
  --clay: #c78e75;
  --cream: #f5ede4;
  --paper: #fbf7f1;
  --sage: #7d846b;
  --line: rgba(45, 27, 23, .18);
  --radius-small: 6px;
  --radius-medium: 12px;
  --radius-large: 18px;
  --serif: "Italiana", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.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;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  background: var(--ink);
  color: #fff;
  padding: .7rem 1rem;
  border-radius: var(--radius-small);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  height: 92px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  z-index: 20;
  width: 100%;
  color: var(--paper);
  transition: background .3s, color .3s, height .3s;
}

.site-header.sticky {
  position: fixed;
  height: 72px;
  background: rgba(251, 247, 241, .95);
  color: var(--ink);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  gap: .65rem;
  align-items: center;
  text-transform: uppercase;
  font-size: .7rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .13em;
}

.brand-mark {
  width: 38px;
  height: 48px;
  border: 1px solid currentColor;
  border-radius: 48% 48% 42% 42%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: .82rem;
}

.main-nav {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  font-size: .77rem;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-weight: 500;
}

.main-nav a:not(.nav-cta) {
  position: relative;
}

.main-nav a:not(.nav-cta):after {
  content: "";
  position: absolute;
  height: 1px;
  background: currentColor;
  left: 0;
  right: 100%;
  bottom: -4px;
  transition: right .25s;
}

.main-nav a:hover:after {
  right: 0;
}

.nav-cta {
  border: 1px solid currentColor;
  border-radius: var(--radius-small);
  padding: .75rem 1.05rem;
}

.menu-button {
  display: none;
  background: none;
  border: 0;
  color: inherit;
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: var(--radius-small);
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 1px;
  background: currentColor;
  margin: 5px 0;
  transition: .25s;
}

.hero {
  background: var(--terracotta);
  color: var(--paper);
  min-height: 100svh;
  display: grid;
  grid-template-columns: 46% 54%;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  padding: 20vh 4vw 12vh 7vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  text-transform: uppercase;
  font-size: .68rem;
  letter-spacing: .22em;
  font-weight: 600;
  margin: 0 0 1.8rem;
}
.eyebrow2 {
  text-transform: uppercase;
  font-size: 1.6rem;
  letter-spacing: .22em;
  font-weight: 600;
  margin: 0 0 1.8rem;
}

.hero h1, .section-heading h2, .manifesto h2, .process h2, .founder h2, .contact h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.035em;
  margin: 0;
}

.hero h1 {
  font-size: clamp(3.5rem, 6.5vw, 7.6rem);
  white-space: nowrap;
}

.hero h1 em, .section-heading h2 em, .manifesto h2 em, .process h2 em, .founder h2 em, .contact h2 em {
  font-weight: 400;
  color: var(--cream);
}

.hero-lead {
  max-width: 490px;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  margin: 2.3rem 0 2.5rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.button {
  border: 0;
  border-radius: var(--radius-small);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .9rem 1.5rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .7rem;
  font-weight: 600;
  cursor: pointer;
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

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

.text-link {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  border-bottom: 1px solid currentColor;
  padding-bottom: .35rem;
  font-weight: 500;
}

.text-link span {
  margin-left: .5rem;
}

.hero-visual {
  position: relative;
  /* padding: 5h 3vw 5vh 0; */
  padding: 0;
}

.hero-image-wrap {
  height: 100vh;
  overflow: hidden;
  /* border-radius: var(--radius-large); */
}

.hero-image-wrap img {
  object-position: center 45%;
}

.vertical-note {
  position: absolute;
  right: 1vw;
  top: 35%;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .6rem;
}

.hero-number {
  position: absolute;
  right: 5vw;
  bottom: 7vh;
  font-family: var(--serif);
  font-size: 1.4rem;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 7vw;
  display: flex;
  align-items: center;
  gap: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .6rem;
}

.scroll-cue span {
  height: 1px;
  width: 45px;
  background: currentColor;
}

.manifesto {
  padding: 10rem 7vw 8rem;
  display: grid;
  grid-template-columns: 20% 1fr;
  gap: 5rem;
}

.manifesto-kicker {
  display: flex;
  gap: 1rem;
}

.section-number {
  font-family: var(--serif);
  font-size: .86rem;
}

.manifesto h2 {
  font-size: clamp(3rem, 6vw, 7rem);
  max-width: 1100px;
}

.manifesto h2 em {
  color: var(--terracotta);
}

.manifesto-copy>p {
  font-size: 1.1rem;
  max-width: 610px;
  margin: 2.5rem 0 0 auto;
  line-height: 1.8;
}

.values {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.values article {
  padding: 2rem 2rem 0 0;
  border-right: 1px solid var(--line);
  margin-right: 2rem;
}

.values article:last-child {
  border: 0;
}

.values span, .service-copy>span {
  font-size: .65rem;
  letter-spacing: .15em;
}

.values h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  margin: .8rem 0;
}

.values p {
  font-size: .87rem;
  max-width: 220px;
  color: rgba(45, 27, 23, .72);
}

.services {
  background: var(--cream);
  padding: 9rem 7vw;
}

.section-heading {
  display: grid;
  grid-template-columns: 20% 1fr 30%;
  gap: 3rem;
  align-items: end;
  margin-bottom: 5rem;
}

.section-heading>div {
  display: flex;
  gap: 1rem;
}

.section-heading .eyebrow {
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(3.5rem, 6vw, 7rem);
}

.section-heading h2 em {
  color: var(--terracotta);
}

.section-heading>p {
  font-size: .95rem;
  line-height: 1.75;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-card {
  display: grid;
  grid-template-columns: 25% 1fr;
  gap: 4rem;
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
  min-height: 180px;
  align-items: center;
  transition: padding .35s;
}

.service-image {
  height: 150px;
  overflow: hidden;
  border-radius: var(--radius-medium);
}

.service-image img {
  transition: transform .7s;
}

.service-card:hover .service-image img {
  transform: scale(1.04);
}

.service-copy {
  display: grid;
  grid-template-columns: 6% 32% 1fr auto;
  gap: 2rem;
  align-items: center;
}

.service-copy h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.7vw, 3.1rem);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.service-copy p {
  font-size: .87rem;
  max-width: 300px;
}

.service-copy a {
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .65rem;
  font-weight: 600;
  border-bottom: 1px solid;
  padding-bottom: .3rem;
}

.service-copy a span {
  margin-left: .4rem;
}

.quote-band {
  overflow: hidden;
  background: var(--terracotta);
  color: var(--cream);
  padding: 1.15rem 0;
  white-space: nowrap;
}

.quote-band p {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: .04em;
  margin: 0;
  animation: marquee 24s linear infinite;
  width: max-content;
}

.quote-band span {
  margin: 0 2rem;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.portfolio {
  background: var(--ink);
  color: var(--paper);
  padding: 9rem 7vw;
}

.section-heading.light {
  grid-template-columns: 24% 1fr;
}

.section-heading.light h2 em {
  color: var(--clay);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  grid-template-rows: 380px 490px;
  gap: 1.2rem;
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-medium);
}

.gallery-item:after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(20, 10, 8, .75));
}

.gallery-tall {
  grid-row: 1/3;
}

.gallery-square {
  grid-column: 2;
}

.gallery img {
  transition: transform .8s;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

.gallery-item figcaption {
  position: absolute;
  z-index: 2;
  left: 1.5rem;
  bottom: 1.5rem;
}

.gallery-item figcaption span {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
}

.gallery-item figcaption small {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .56rem;
}

.portfolio-link {
  display: block;
  width: max-content;
  margin: 3rem 0 0 auto;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .7rem;
  border-bottom: 1px solid;
  padding-bottom: .5rem;
}

.process {
  padding: 10rem 7vw;
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 10vw;
}

.process-intro>.eyebrow {
  display: inline-block;
  margin-left: 1rem;
}

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

.process h2 em {
  color: var(--terracotta);
}

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

.process-steps li {
  display: grid;
  grid-template-columns: 12% 1fr;
  border-bottom: 1px solid var(--line);
  padding: 2rem 0;
}

.process-steps li>span {
  font-size: .65rem;
}

.process-steps h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0 0 .5rem;
}

.process-steps p {
  font-size: .88rem;
  max-width: 410px;
  margin: 0;
  color: rgba(45, 27, 23, .7);
}

.founder {
  background: #d4b49f;
  display: grid;
  grid-template-columns: 48% 1fr;
  min-height: 850px;
}

.founder-image {
  position: relative;
  /* margin: 5rem 0 5rem 7vw; */
  margin: 0;
}

/* .founder-image>img {
  border-radius: var(--radius-large);
} */

.founder-image span {
  position: absolute;
  bottom: 1.3rem;
  left: -1rem;
  background: var(--paper);
  padding: .7rem 1rem;
  border-radius: var(--radius-small);
  font-size: .62rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.founder-copy {
  padding: 10rem 8vw;
  align-self: center;
}

.founder-copy h2 {
  font-size: clamp(3rem, 5vw, 5.7rem);
}

.founder-copy h2 em {
  color: var(--paper);
}

.founder-copy>p:not(.eyebrow) {
  max-width: 530px;
  line-height: 1.85;
}

.founder-copy .text-link {
  display: inline-block;
  margin-top: 2rem;
}

.contact {
  background: var(--cream);
  padding: 10rem 7vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12vw;
}

.contact h2 {
  font-size: clamp(4rem, 7vw, 8rem);
}

.contact h2 em {
  color: var(--terracotta);
}

.contact-heading>p:last-child {
  font-size: 1rem;
  max-width: 500px;
  line-height: 1.8;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 600;
  margin-bottom: 1.8rem;
}

.contact-form input, .contact-form select, .contact-form textarea {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  padding: .8rem 0;
  border-radius: 0;
  color: var(--ink);
  outline: none;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 300;
  margin-top: .25rem;
}

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

.contact-form textarea {
  resize: vertical;
}

.contact-form .button {
  align-self: flex-start;
}

.form-note {
  font-size: .7rem;
  opacity: .65;
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 5rem 7vw 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 5rem;
}

.footer-brand {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.footer-brand p {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.3;
}

.site-footer>div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  font-size: .85rem;
}

.footer-label {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .6rem;
  color: var(--clay);
  margin: 0 0 .8rem;
}

.site-footer>div p {
  margin-top: 0;
}

.copyright {
  grid-column: 1/-1;
  border-top: 1px solid rgba(255, 255, 255, .15);
  padding-top: 1.5rem;
  margin: 1rem 0 0;
  font-size: .65rem;
  letter-spacing: .08em;
}

.whatsapp-float {
  position: fixed;
  z-index: 15;
  right: 1.3rem;
  bottom: 1.3rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--terracotta);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 30px rgba(45, 27, 23, .25);
}

.whatsapp-float svg {
  width: 23px;
  fill: var(--paper);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .site-header {
    height: 76px;
    padding: 0 1.25rem;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 2;
  }

  .menu-button[aria-expanded=true] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button[aria-expanded=true] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded=true] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .main-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--paper);
    color: var(--ink);
    flex-direction: column;
    justify-content: center;
    font-family: var(--serif);
    font-size: 2rem;
    text-transform: none;
    letter-spacing: 0;
  }

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

  .nav-cta {
    font-family: var(--sans);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .12em;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    min-height: 66svh;
    padding: 9rem 1.4rem 3rem;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 5.6rem);
    white-space: normal;
  }

  .hero-lead {
    margin: 1.8rem 0;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.3rem;
  }

  .hero-visual {
    padding: 0 1.4rem 4rem;
  }

  .hero-image-wrap {
    height: 65svh;
  }

  .vertical-note {
    display: none;
  }

  .hero-number {
    right: 2rem;
  }

  .scroll-cue {
    display: none;
  }

  .manifesto, .services, .portfolio, .process, .contact {
    padding: 6rem 1.4rem;
  }

  .manifesto {
    display: block;
  }

  .manifesto-kicker {
    margin-bottom: 2rem;
  }

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

  .manifesto-copy>p {
    font-size: 1rem;
  }

  .values {
    grid-column: auto;
    grid-template-columns: 1fr;
    margin-top: 4rem;
  }

  .values article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.5rem 0;
    margin: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .section-heading>p {
    max-width: 440px;
  }

  .service-card {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding: 1.2rem 0 2rem;
  }

  .service-image {
    height: 340px;
  }

  .service-copy {
    grid-template-columns: 9% 1fr;
  }

  .service-copy p, .service-copy a {
    grid-column: 2;
  }

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

  .gallery-item {
    height: 65vh;
  }

  .gallery-tall {
    grid-row: auto;
  }

  .gallery-square {
    grid-column: auto;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .founder {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .founder-image {
    margin: 3rem 1.4rem 0;
    height: 70vh;
  }

  .founder-copy {
    padding: 5rem 1.4rem 6rem;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 4rem 1.4rem 2rem;
    gap: 2.5rem;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 3.45rem;
  }

  .hero-copy {
    padding-top: 8rem;
  }

  .hero-image-wrap {
    height: 58svh;
  }

  .service-image {
    height: 280px;
  }

  .service-copy h3 {
    font-size: 2rem;
  }

  .gallery-item {
    height: 55vh;
  }

  .contact h2 {
    font-size: 3.8rem;
  }

  .founder-image {
    height: 60vh;
  }

  .founder-copy h2 {
    font-size: 3.15rem;
  }
}

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

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

  .quote-band p {
    animation: none;
  }

  .service-image img, .gallery img {
    transition: none;
  }
}

/* Identidad oficial de marca */
.brand-mark {
  width: 42px;
  height: 50px;
  border: 0;
  display: block;
  overflow: hidden;
  border-radius: 48% 48% 42% 42%;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image-wrap img {
  object-position: center center;
}

/* .hero-image-wrap {
  position: relative;
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--terracotta) 0, transparent 13%, transparent 91%, var(--terracotta) 100%), linear-gradient(180deg, var(--terracotta) 0, transparent 9%, transparent 91%, var(--terracotta) 100%);
}

@media (max-width: 900px) {
  .hero-image-wrap::after {
    background: linear-gradient(90deg, var(--terracotta) 0, transparent 8%, transparent 92%, var(--terracotta) 100%), linear-gradient(180deg, var(--terracotta) 0, transparent 7%, transparent 92%, var(--terracotta) 100%);
  }
} */


/* Acceso directo a WhatsApp */
.whatsapp-float {
  right: clamp(1rem, 2.2vw, 2rem);
  bottom: calc(clamp(1rem, 2.2vw, 2rem) + env(safe-area-inset-bottom));
  width: 60px;
  height: 60px;
  color: var(--paper);
  background: #25D366;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 10px 30px rgba(45, 27, 23, .28);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translate(-.5px, .5px);
}

.whatsapp-float .whatsapp-bubble {
  stroke-width: 2.15;
}

.whatsapp-float .whatsapp-phone {
  fill: currentColor;
  stroke: none;
}

.whatsapp-float>span {
  position: absolute;
  right: calc(100% + .7rem);
  padding: .45rem .65rem;
  background: var(--ink);
  border-radius: var(--radius-small);
  color: var(--paper);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.whatsapp-float:hover {
  background: #985035;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(45, 27, 23, .34);
}

.whatsapp-float:hover>span, .whatsapp-float:focus-visible>span {
  opacity: 1;
  transform: none;
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
  }

  .whatsapp-float>span {
    display: none;
  }
}
