@import url("https://use.typekit.net/lrn3asr.css");

:root {
  --cream: #f5f0eb;
  --ink: #2b2b2b;
  --grape: #6720a4;
  --purple: #5f259f;
  --purple-deep: #4f1f7f;
  --lav: #c3b1e1;
  --sage: #b7c9a8;
  --sage-deep: #a9bf98;
  --mint: #eafbf7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  background: #dfdcda;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Mukta", Arial, sans-serif;
}

a:focus-visible,
button:focus-visible,
[contenteditable="true"]:focus-visible {
  outline: 3px solid #f0b6ff;
  outline-offset: 4px;
}

.skip {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--white);
  color: var(--grape);
}

.skip:focus {
  top: 12px;
}

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

.nav {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1080px, calc(100% - 32px));
  height: 54px;
  padding: 0 10px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fffffff2;
  border: 1px solid var(--white);
  border-radius: 30px;
  box-shadow: 0 10px 30px #352c4222;
  backdrop-filter: blur(12px);
}

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

.brand img {
  display: block;
  width: 118px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav-links .nav-cta {
  padding: 9px 17px;
  border-radius: 22px;
  background: var(--grape);
  color: var(--white);
}

.slide {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  aspect-ratio: 16 / 9;
  margin: 88px auto 24px;
  padding: 7.2% 7.5%;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 18px 55px #3025382d;
}

.slide * {
  min-width: 0;
}

.slide h1,
.slide h2 {
  margin: 0;
  font-family: "eixample-villa", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.97;
}

.slide h1 {
  font-size: clamp(48px, 5.5vw, 86px);
}

.slide h2 {
  font-size: clamp(38px, 4.6vw, 68px);
}

.slide h1 em,
.slide h2 em {
  color: var(--grape);
  font-style: italic;
}

.kicker {
  margin: 0 0 18px;
  color: var(--grape);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.subhead,
.statement,
.lead {
  font-size: clamp(18px, 1.8vw, 27px);
  line-height: 1.3;
}

.folio {
  position: absolute;
  z-index: 3;
  right: 3.6%;
  bottom: 3.5%;
  padding: 4px 8px;
  border-radius: 12px;
  background: #ffffffd9;
  color: #4b3d53;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.contact .folio {
  right: 12%;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  padding: 12px 14px 12px 22px;
  border-radius: 30px;
  background: var(--grape);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.button span {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  color: var(--grape);
}

.button-arrow::before,
.button-arrow::after {
  content: "";
  position: absolute;
}

.button-arrow::before {
  width: 9px;
  height: 9px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translate(2px, -2px);
}

.button-arrow::after {
  width: 13px;
  height: 1.5px;
  background: currentColor;
  transform: rotate(-45deg);
}

.line-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border: 1px solid var(--grape);
  border-radius: 50%;
  color: var(--grape);
  font-size: 20px;
}

.editable-photo {
  position: relative;
  overflow: hidden;
}

/* 01 · Portada */
.cover {
  display: grid;
  grid-template-columns: 52% 48%;
  padding: 0;
}

.cover .copy {
  align-self: center;
  padding: 15% 7% 10% 14%;
}

.hero {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.hero img,
.photo-panel img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero img {
  object-position: 50% center;
}

.hero-isotipo {
  background: #000000;
}

.hero-isotipo img {
  object-fit: contain;
  transform: scale(1.12);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, #291b3533);
}

.hero figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 54px;
  color: var(--white);
  font-size: 13px;
}

/* 02 · Desafío */
.challenge {
  display: grid;
  grid-template-columns: 44% 56%;
  grid-template-rows: minmax(0, 1fr);
  padding: 0;
  background: var(--white);
}

.challenge .photo-panel {
  overflow: hidden;
}

.challenge .photo-panel img {
  object-position: 52% center;
}

.challenge .copy {
  padding: 15% 11% 10%;
}

.plain-list {
  padding: 0;
  margin-top: 28px;
  border-top: 1px solid #cccccc;
  list-style: none;
}

.plain-list li {
  padding: 8px 0;
  border-bottom: 1px solid #dddddd;
}

/* 03 · Esencia */
.essence {
  padding: 5.8% 7.5% 9.5%;
  background: linear-gradient(135deg, #f8f4ef 0%, var(--cream) 64%, #f0eaf6 100%);
}

.essence header {
  width: 62%;
}

.essence header h2 {
  font-size: clamp(38px, 4.1vw, 61px);
}

.essence-layout {
  display: grid;
  grid-template-columns: 31% 1fr;
  gap: 3.5%;
  align-items: stretch;
  margin-top: 3%;
}

.founders-photo {
  min-height: 240px;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 15px 34px #352c4220;
}

.founders-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 27%;
}

.essence-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.essence-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.essence-cards article {
  padding: 19px 21px;
  border: 1px solid #dacfe3;
  border-radius: 14px;
  background: #ffffffd9;
  box-shadow: 0 8px 22px #352c4210;
}

.essence-cards p {
  margin: 0;
  font-size: clamp(14px, 1.12vw, 17px);
  line-height: 1.42;
}

.essence-cards .lead {
  font-size: clamp(15px, 1.22vw, 18px);
  font-weight: 600;
}

.essence-content blockquote {
  margin: 0;
  padding: 11px 0 11px 18px;
  border-left: 4px solid var(--sage-deep);
  color: var(--grape);
  font-family: "eixample-villa", Georgia, serif;
  font-size: clamp(15px, 1.25vw, 18px);
  font-style: italic;
  line-height: 1.35;
}

.values {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  padding: 2% 8%;
  margin: 0;
  background: var(--sage);
  color: var(--ink);
  font-weight: 700;
  list-style: none;
}

.values li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.values li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grape);
  box-shadow: 0 0 0 4px #ffffff55;
}

/* 04 · Servicios */
.services {
  padding: 5.7% 5.5%;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: var(--white);
}

.services .kicker,
.services h2 em {
  color: var(--mint);
}

.services h2 {
  font-size: clamp(42px, 4.6vw, 66px);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 4.4%;
}

.service-grid article {
  min-height: 282px;
  padding: 22px 20px;
  border: 1px solid #ffffff75;
  border-radius: 15px;
  background: #ffffff10;
}

.service-grid h3,
.three-cards h3,
.expert-grid h3,
.team-grid h3 {
  margin: 2px 0 8px;
  color: var(--grape);
  font-family: "eixample-villa", Georgia, serif;
  line-height: 1.15;
}

.service-grid h3 {
  color: var(--white);
  font-size: 17.5px;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.service-grid p,
.three-cards p,
.expert-grid p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.37;
}

.services .line-icon {
  border-color: var(--mint);
  color: var(--mint);
}

/* 05 · Audiencias */
.audiences {
  padding: 5.6% 6.4%;
  background: linear-gradient(135deg, var(--white) 0%, #f8f4ef 76%, #eee7f5 100%);
}

.audiences header {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  column-gap: 7%;
  align-items: end;
}

.audiences header .kicker {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

.audiences h2 {
  font-size: clamp(42px, 4.8vw, 68px);
}

.audience-intro {
  margin: 0 0 5px;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.42;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 6%;
}

.audience-grid article {
  min-height: 220px;
  padding: 30px 27px 24px;
  border: 1px solid #d9cfe1;
  border-top: 4px solid var(--grape);
  border-radius: 16px;
  background: #ffffffd9;
  box-shadow: 0 10px 28px #352c4210;
}

.audience-grid article:nth-child(2) {
  border-top-color: var(--sage-deep);
}

.audience-grid article:nth-child(3) {
  border-top-color: #8c65b0;
}

.audience-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border: 1px solid #9b7bb5;
  border-radius: 15px;
  background: #f4eff8;
  color: var(--grape);
}

.audience-grid article:nth-child(2) .audience-icon {
  border-color: #8ca67b;
  background: #eef5e9;
  color: #526f43;
}

.audience-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.audience-grid h3 {
  margin: 0 0 13px;
  color: var(--grape);
  font-family: "eixample-villa", Georgia, serif;
  font-size: clamp(20px, 1.75vw, 25px);
  line-height: 1.1;
}

.audience-grid p {
  margin: 0;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.4;
}

.audience-note {
  position: absolute;
  right: 6.4%;
  bottom: 4.5%;
  left: 6.4%;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid #b7a9c2;
  font-size: 16px;
  font-weight: 700;
}

/* 06 · Propuesta de valor */
.value {
  background: linear-gradient(135deg, var(--cream) 0%, var(--white) 72%);
}

.value::after {
  content: "";
  position: absolute;
  top: -110px;
  right: -90px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: #c3b1e126;
  pointer-events: none;
}

.value header,
.value .three-cards {
  position: relative;
  z-index: 1;
}

.three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 6.5%;
}

.three-cards article {
  min-height: 242px;
  padding: 26px;
  border: 1px solid #dfd4e8;
  border-top: 4px solid var(--grape);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 10px 26px #352c4212;
}

.three-cards article:nth-child(2) {
  border-top-color: var(--sage-deep);
}

.three-cards h3 {
  font-size: 20px;
}

/* 07 · Intervención */
.intervention {
  display: grid;
  grid-template-columns: 1fr;
  padding: 0;
  background:
    radial-gradient(circle at 90% 14%, #c3b1e126 0 13%, transparent 13.2%),
    radial-gradient(circle at 84% 86%, #b7c9a81f 0 18%, transparent 18.2%),
    linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: var(--white);
}

.intervention .copy {
  width: 100%;
  padding: 7.2% 8.5%;
}

.intervention h2 {
  max-width: 930px;
  font-size: clamp(42px, 4.7vw, 68px);
}

.intervention h2 em,
.intervention .kicker {
  color: var(--mint);
}

.intervention .copy > p:not(.kicker) {
  margin: 14px 0 0;
  font-size: 18px;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0;
  margin-top: 34px;
  list-style: none;
}

.practice-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 82px;
  padding: 17px 20px;
  border: 1px solid #ffffff82;
  border-radius: 12px;
  background: #ffffff12;
}

.practice-card h3 {
  margin: 0;
  color: var(--white);
  font-family: "Mukta", Arial, sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.18;
}

.practice-card.is-removed {
  display: none;
}

.remove-card {
  display: none;
  position: absolute;
  top: 7px;
  right: 7px;
  width: 24px;
  height: 24px;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: var(--purple-deep);
  color: var(--white);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.editing .practice-card {
  padding-right: 38px;
}

.editing .remove-card {
  display: grid;
  place-items: center;
}

/* 08 · Metodología */
.method {
  background: linear-gradient(180deg, var(--white) 0%, #faf7f3 100%);
}

.method header {
  max-width: 1040px;
}

.method h2 {
  font-size: clamp(39px, 4.35vw, 64px);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 0;
  margin: 7.5% 0 0;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  top: 21px;
  right: 4%;
  left: 4%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--sage-deep), var(--grape));
}

.steps li {
  position: relative;
  padding: 49px 14px 17px;
  border: 1px solid #dfd4e8;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: var(--white);
  box-shadow: 0 8px 20px #352c420d;
}

.steps li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 18px;
  width: 22px;
  height: 22px;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: var(--grape);
  box-shadow: 0 0 0 3px var(--grape);
}

.steps li:nth-child(1)::before,
.steps li:nth-child(2)::before {
  background: var(--sage-deep);
  box-shadow: 0 0 0 3px var(--sage-deep);
}

.steps b {
  display: block;
  margin: 0 0 8px;
  color: var(--grape);
  font-family: "eixample-villa", Georgia, serif;
  font-size: 18px;
  line-height: 1.1;
}

.steps span:not(.sr-only) {
  display: block;
  color: var(--ink);
  font-family: "Mukta", Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.32;
}

/* 09 · Expertos */
.experts {
  padding: 5.3% 6.1%;
}

.experts header {
  display: block;
}

.experts header .kicker {
  margin-bottom: 10px;
}

.experts header h2 {
  font-size: clamp(40px, 4.2vw, 62px);
}

.expert-intro {
  max-width: 760px;
  margin: 10px 0 0;
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 600;
  line-height: 1.35;
}

.expert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 2.4%;
}

.expert-grid article {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 132px;
  padding: 14px 16px;
  border: 1px solid #e7e0da;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 7px 18px #352c420d;
}

.portrait {
  width: 96px;
  height: 120px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d5c9dd;
  border-radius: 8px;
  background: #eeeeee;
}

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

.expert-grid h3 {
  font-size: 18px;
  hyphens: none;
  overflow-wrap: normal;
  word-break: normal;
}

.expert-grid p {
  font-size: 13.4px;
  line-height: 1.34;
}

.expert-grid .expert-role {
  margin: 0 0 5px;
  color: var(--purple);
  font-weight: 600;
  line-height: 1.22;
}

/* 10–11 · Equipos */
.team-slide {
  padding: 4.7% 5.5% 4.6%;
  background: linear-gradient(135deg, var(--white) 0%, #f8f4ef 100%);
}

.team-slide header {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 5%;
  align-items: end;
}

.team-slide header .kicker {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.team-slide header h2 {
  font-size: clamp(39px, 4.25vw, 61px);
}

.team-slide header > p:last-child {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.35;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin-top: 2.6%;
}

.team-grid article {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 144px;
  padding: 10px 15px 10px 10px;
  border: 1px solid #e0d7e6;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 7px 20px #352c420d;
}

.team-photo {
  width: 104px;
  height: 130px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #d5c9dd;
  border-radius: 11px;
  background: #eeeeee;
}

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

.team-grid h3 {
  margin-bottom: 2px;
  font-size: 16.5px;
  line-height: 1.08;
}

.team-grid p {
  margin: 0;
  font-size: 12.6px;
  line-height: 1.27;
}

.team-grid .role {
  margin: 0 0 7px;
  color: var(--purple);
  font-size: 13.5px;
  font-weight: 600;
}

.team-grid-six p {
  font-size: 13.1px;
}

.team-grid-six .role {
  font-size: 13.8px;
}

.culture {
  background: linear-gradient(135deg, #f8f4ef 0%, var(--white) 70%, var(--mint) 100%);
}

.team-grid-four {
  gap: 15px 18px;
  margin-top: 4%;
}

.team-grid-four article {
  min-height: 162px;
  padding: 16px;
}

.team-grid-four h3 {
  font-size: 18px;
}

.team-grid-four p {
  font-size: 13.2px;
  line-height: 1.34;
}

.team-grid-four .role {
  font-size: 14px;
}

[data-photo-id="geraldine"] img,
[data-photo-id="gustavo"] img,
[data-photo-id="america"] img,
[data-photo-id="ximena"] img {
  object-position: 50% 24%;
}

[data-photo-id="patricio"] img,
[data-photo-id="andrea-arancibia"] img,
[data-photo-id="catalina"] img {
  object-position: 50% 28%;
}

/* 12 · Resultados */
.results {
  display: grid;
  grid-template-columns: 58% 42%;
  padding: 0;
  background: var(--cream);
}

.results-copy {
  padding: 13% 8% 8% 13%;
}

.results h2 {
  font-size: clamp(40px, 4.5vw, 64px);
}

.result-list {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 7%;
}

.result-list p {
  position: relative;
  padding: 11px 0 11px 25px;
  margin: 0;
  border-top: 1px solid #c9bdcf;
  font-size: 16px;
  line-height: 1.25;
}

.result-list p::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage-deep);
  box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--sage-deep);
}

.results-photo {
  position: relative;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #dddddd;
}

.results-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 10% center;
}

.results-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f5f0eb40, transparent 22%, transparent 78%, #301b481c);
  pointer-events: none;
}

.results-photo figcaption {
  position: absolute;
  z-index: 2;
  bottom: 24px;
  left: 24px;
  padding: 8px 12px;
  border-radius: 20px;
  background: #ffffffdf;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

/* 13 · Contacto */
.contact {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: end;
  background: linear-gradient(90deg, #5f259ff5 0 61%, #5f259fb8), url("assets/atardecer-isla.jpg") center / cover;
  color: var(--white);
}

.contact h2 {
  font-size: clamp(48px, 6vw, 88px);
}

.contact h2 em,
.contact .kicker {
  color: var(--mint);
}

.contact-lead {
  max-width: 650px;
  font-size: 20px;
}

.button.light {
  background: var(--mint);
  color: var(--grape);
}

address {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 5px;
  font-style: normal;
}

address a {
  padding-bottom: 9px;
  border-bottom: 1px solid #ffffff55;
  color: var(--white);
  text-decoration: none;
}

/* Editor */
.edit-toggle {
  position: fixed;
  z-index: 80;
  right: 18px;
  bottom: 18px;
  padding: 12px 18px;
  border: 0;
  border-radius: 24px;
  background: var(--grape);
  box-shadow: 0 8px 24px #2f213744;
  color: var(--white);
  font: 700 14px "Mukta", sans-serif;
  cursor: pointer;
}

.edit-panel {
  position: fixed;
  z-index: 79;
  right: 18px;
  bottom: 72px;
  width: min(390px, calc(100% - 36px));
  padding: 14px;
  border: 1px solid #dddddd;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 30px #30253833;
}

.edit-panel > span {
  display: block;
  margin-bottom: 10px;
}

.edit-panel button {
  padding: 7px 12px;
  margin-right: 6px;
  border: 1px solid var(--grape);
  border-radius: 18px;
  background: var(--white);
  color: var(--grape);
  font: 600 13px "Mukta", sans-serif;
  cursor: pointer;
}

.font-tools {
  display: inline-flex;
  gap: 5px;
  padding-right: 4px;
  margin: 0 5px 9px 0;
  border-right: 1px solid #dddddd;
}

.edit-panel .font-tools button {
  min-width: 40px;
  margin-right: 0;
}

.editing [contenteditable="true"] {
  border-radius: 3px;
  cursor: text;
}

.editing [contenteditable="true"]:hover {
  box-shadow: 0 0 0 2px #6720a455;
}

.editing [contenteditable="true"]:focus,
.editing .text-selected {
  outline: 0;
  background: #ffffffee;
  box-shadow: 0 0 0 3px var(--sage-deep) !important;
}

.editing .editable-photo {
  outline: 3px solid #8b45c8;
  outline-offset: -3px;
  cursor: pointer;
}

.editing .editable-photo::before {
  content: "Editar foto";
  position: absolute;
  z-index: 5;
  top: 10px;
  right: 10px;
  padding: 7px 10px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 5px 16px #30253842;
  color: var(--grape);
  font: 700 12px "Mukta", Arial, sans-serif;
  pointer-events: none;
}

.photo-dialog {
  width: min(520px, calc(100% - 30px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 28px 90px #1c102866;
  color: var(--ink);
  font-family: "Mukta", Arial, sans-serif;
}

.photo-dialog::backdrop {
  background: #24152c99;
  backdrop-filter: blur(3px);
}

.photo-dialog form {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.photo-dialog h2 {
  margin: 0;
  color: var(--grape);
  font: 700 24px "eixample-villa", Georgia, serif;
}

.dialog-close {
  width: 34px;
  height: 34px;
  border: 1px solid #cabbd6;
  border-radius: 50%;
  background: var(--white);
  color: var(--grape);
  font-size: 23px;
  cursor: pointer;
}

.photo-dialog label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}

.photo-dialog input[type="url"],
.photo-dialog input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #88758f;
  border-radius: 8px;
  font: 400 15px "Mukta", Arial, sans-serif;
}

.photo-dialog input[type="range"] {
  width: 100%;
  accent-color: var(--grape);
}

.field-help {
  margin: -8px 0 0;
  color: #5b5260;
  font-size: 13px;
}

.secondary-button,
.dialog-actions button {
  padding: 9px 14px;
  border: 1px solid var(--grape);
  border-radius: 22px;
  background: var(--white);
  color: var(--grape);
  font: 700 14px "Mukta", Arial, sans-serif;
  cursor: pointer;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.dialog-actions [data-action="apply-photo"] {
  background: var(--grape);
  color: var(--white);
}

/* Escritorio compacto */
@media (min-width: 761px) and (max-width: 1100px) {
  .team-slide {
    padding: 3.5% 4.5%;
  }

  .team-slide header h2 {
    font-size: 35px;
  }

  .team-slide header > p:last-child {
    font-size: 13px;
  }

  .team-grid {
    gap: 7px 11px;
    margin-top: 1.8%;
  }

  .team-grid article,
  .team-grid-four article {
    grid-template-columns: 76px 1fr;
    gap: 10px;
    min-height: 108px;
    padding: 7px 10px 7px 7px;
  }

  .team-photo {
    width: 76px;
    height: 95px;
  }

  .team-grid h3,
  .team-grid-four h3 {
    font-size: 13.5px;
  }

  .team-grid p,
  .team-grid-six p,
  .team-grid-four p {
    font-size: 10.5px;
    line-height: 1.2;
  }

  .team-grid .role,
  .team-grid-six .role,
  .team-grid-four .role {
    margin-bottom: 3px;
    font-size: 11.5px;
  }

  .expert-grid article {
    grid-template-columns: 78px 1fr;
    min-height: 110px;
    padding: 10px 12px;
  }

  .portrait {
    width: 78px;
    height: 98px;
  }

  .expert-grid h3 {
    font-size: 15px;
  }

  .expert-grid p {
    font-size: 11.5px;
  }

  .expert-grid .expert-role {
    margin-bottom: 3px;
  }

  .service-grid article {
    min-height: 220px;
    padding: 18px 15px;
  }

  .service-grid h3 {
    font-size: 15px;
  }

  .service-grid p {
    font-size: 12px;
  }

  .audience-grid article {
    min-height: 190px;
    padding: 22px 20px;
  }

  .audience-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 15px;
  }
}

/* Celular */
@media (max-width: 760px) {
  html {
    scroll-padding-top: 70px;
  }

  .nav {
    top: 8px;
    width: calc(100% - 16px);
    padding-left: 12px;
  }

  .brand img {
    width: 108px;
    height: 40px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-links > a:not(.nav-cta) {
    display: none;
  }

  .nav-links .nav-cta {
    padding: 8px 14px;
    font-size: 13px;
  }

  .slide {
    width: 100%;
    min-height: 100svh;
    aspect-ratio: auto;
    margin: 0;
    padding: 96px 24px 64px;
    box-shadow: none;
  }

  .slide h1 {
    max-width: 100%;
    font-size: clamp(42px, 11vw, 50px);
  }

  .slide h2,
  .essence header h2,
  .services h2,
  .audiences h2,
  .method h2,
  .experts header h2,
  .team-slide header h2,
  .results h2,
  .contact h2 {
    font-size: clamp(39px, 12vw, 55px);
  }

  .folio {
    display: none;
  }

  .cover,
  .challenge,
  .contact {
    display: flex;
    flex-direction: column;
  }

  .cover {
    min-height: auto;
    padding: 0;
  }

  .cover .copy {
    flex: 0 0 auto;
    padding: 112px 24px 30px;
  }

  .cover .kicker {
    margin-bottom: 12px;
  }

  .cover h1 {
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
    font-size: clamp(35px, 9.8vw, 42px);
    line-height: 1;
    letter-spacing: -0.05em;
  }

  .cover .subhead {
    margin: 18px 0 0;
    font-size: 19px;
    line-height: 1.25;
  }

  .cover .button {
    margin-top: 18px;
  }

  .challenge .copy,
  .intervention .copy {
    padding: 96px 24px 48px;
  }

  .hero,
  .photo-panel {
    min-height: 44svh;
  }

  .hero-isotipo img {
    transform: scale(0.72);
  }

  .cover .hero {
    flex: 0 0 28svh;
    min-height: 28svh;
  }

  .challenge .photo-panel img {
    height: 44svh;
  }

  .hero figcaption {
    right: 20px;
    bottom: 18px;
  }

  .challenge {
    padding: 0;
  }

  .essence {
    padding-bottom: 64px;
  }

  .essence header {
    width: 100%;
  }

  .essence-layout,
  .essence-cards {
    grid-template-columns: 1fr;
  }

  .founders-photo {
    min-height: 52svh;
  }

  .essence-content {
    margin-top: 22px;
  }

  .values {
    position: relative;
    flex-direction: column;
    gap: 12px;
    padding: 26px 24px;
    margin: 42px -24px -64px;
  }

  .service-grid,
  .audience-grid,
  .three-cards,
  .expert-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    margin-top: 34px;
  }

  .service-grid article,
  .audience-grid article,
  .three-cards article {
    min-height: auto;
  }

  .audiences,
  .team-slide {
    padding: 96px 24px 64px;
  }

  .audiences header,
  .team-slide header {
    display: block;
  }

  .audience-intro,
  .team-slide header > p:last-child {
    margin-top: 18px;
  }

  .audience-grid,
  .team-grid {
    margin-top: 34px;
  }

  .audience-note {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin-top: 34px;
  }

  .audience-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
  }

  .practice-grid {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .steps {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .steps::before {
    top: 0;
    right: auto;
    bottom: 0;
    left: 19px;
    width: 3px;
    height: auto;
  }

  .steps li {
    padding: 18px 18px 18px 58px;
    border: 1px solid #dfd4e8;
    border-radius: 14px;
  }

  .steps li::before {
    top: 22px;
    left: 9px;
  }

  .expert-grid article {
    grid-template-columns: 84px 1fr;
  }

  .portrait {
    width: 84px;
    height: 105px;
  }

  .team-grid article,
  .team-grid-four article {
    grid-template-columns: 92px 1fr;
    min-height: 126px;
    padding: 10px;
  }

  .team-photo {
    width: 92px;
    height: 115px;
  }

  .results {
    display: flex;
    flex-direction: column;
    padding: 0;
  }

  .results-copy {
    padding: 96px 24px 46px;
  }

  .results-photo {
    min-height: 52svh;
  }

  .results-photo img {
    object-position: 20% center;
  }

  .contact {
    justify-content: center;
  }

  .contact address {
    margin-top: 60px;
  }

  .edit-toggle {
    top: 38px;
    right: auto;
    bottom: auto;
    left: 50%;
    padding: 6px 9px;
    transform: translateX(-50%);
    box-shadow: none;
    font-size: 11px;
  }

  .edit-panel {
    top: 92px;
    right: 12px;
    bottom: auto;
    width: calc(100% - 24px);
    max-height: 52svh;
    overflow: auto;
  }

  .font-tools {
    display: flex;
    border-right: 0;
  }

  .photo-dialog form {
    padding: 18px;
  }
}

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

@media print {
  @page {
    size: landscape;
    margin: 0;
  }

  html,
  body {
    background: var(--white);
  }

  .nav,
  .skip,
  .edit-toggle,
  .edit-panel,
  .photo-dialog,
  .remove-card {
    display: none !important;
  }

  .slide {
    width: 100vw;
    height: 56.25vw;
    aspect-ratio: 16 / 9;
    margin: 0;
    box-shadow: none;
    break-after: page;
    page-break-after: always;
  }

  .slide:last-child {
    break-after: auto;
    page-break-after: auto;
  }
}
