:root {
  --cream: #fff8ed;
  --paper: #fcf4e7;
  --ink: #3d3029;
  --teal: #087f87;
  --deep: #14636a;
  --soft: #e8efe7;
  --muted: #73685f;
  --line: #ded6c8;
  --brown: #a66f48;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font:
    16px/1.65 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #a66f48;
  outline-offset: 5px;
}
::selection {
  background: #cae7df;
}
.wrap {
  width: min(1180px, calc(100% - 64px));
  margin: auto;
}
.serif,
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff8edf5;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
nav {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.logo {
  font-family: Georgia, serif;
  font-weight: 900;
  font-size: 48px;
  letter-spacing: -4px;
  color: var(--teal);
  line-height: 1;
}
.navlinks {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 13px;
}
.navlinks a:hover {
  color: var(--teal);
}
.btn {
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  padding: 15px 25px;
  border-radius: 40px;
  background: var(--teal);
  color: white;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn:hover {
  background: var(--deep);
  transform: translateY(-2px);
}
.navlinks .btn {
  padding: 11px 22px;
}
.menu {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  padding: 8px 13px;
  border-radius: 20px;
  color: var(--ink);
}
.hero {
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 30px;
  align-items: center;
  min-height: 675px;
  padding: 53px 0 65px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow:before {
  content: "";
  width: 23px;
  height: 1px;
  background: currentColor;
}
.hero h1 {
  font-size: clamp(49px, 5.3vw, 74px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -3.5px;
  margin: 27px 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
}
.hero-copy > p {
  font-size: 16px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 28px 0 14px;
}
.textlink {
  font-size: 12px;
  border-bottom: 1px solid #9b9b88;
  padding: 6px 0;
}
.micro {
  font-size: 11px !important;
  color: var(--muted);
}
.hero-photo {
  position: relative;
  height: 510px;
  margin-left: 10px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  border-radius: 170px 12px 130px 12px;
}
.photo-note {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: var(--cream);
  padding: 18px 24px;
  box-shadow: 0 6px 20px #31251013;
  border: 1px solid #e9dfcd;
  border-radius: 6px;
  font: italic 20px Georgia;
  max-width: 220px;
  transform: rotate(-3deg);
}
.photo-note span {
  color: var(--teal);
}
.leaf {
  position: absolute;
  width: 95px;
  height: 150px;
  right: -20px;
  top: -25px;
  color: #526b4b;
  transform: rotate(25deg);
}
.ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 11px;
  letter-spacing: 0.3px;
}
.ribbon span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ribbon i {
  font-style: normal;
  color: var(--teal);
  font-size: 18px;
}
.section {
  padding: 85px 0;
}
.sectionhead {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  margin: 24px 0 40px;
}
h2 {
  font-size: clamp(33px, 3.6vw, 49px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -1.7px;
  margin: 0;
}
.sectionhead p {
  max-width: 350px;
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  background: #fffbf3;
}
.card:nth-child(2) {
  background: #edf1e9;
}
.card:nth-child(3) {
  background: #f7eadb;
}
.icon {
  height: 49px;
  width: 49px;
  border: 1px solid #b9c7ba;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--teal);
  font: 24px Georgia;
}
.card h3 {
  font-size: 27px;
  line-height: 1.16;
  font-weight: 400;
  letter-spacing: -0.6px;
  margin: 26px 0 15px;
}
.card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.card ul {
  list-style: none;
  padding: 21px 0;
  margin: 0;
  font-size: 12px;
}
.card li {
  padding: 7px 0;
  border-bottom: 1px solid #ddd7cb;
}
.card li:before {
  content: "↗";
  color: var(--teal);
  margin-right: 10px;
}
.card a {
  margin-top: auto;
  padding-top: 19px;
  font-size: 12px;
  font-weight: 600;
  color: var(--deep);
  display: flex;
  justify-content: space-between;
}
.also {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.also p {
  margin: 0;
  color: var(--muted);
}
.also strong {
  color: var(--ink);
}
.possibilities {
  background: #edf1e9;
}
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0;
}
.tabs button {
  border: 1px solid #b9c7ba;
  border-radius: 24px;
  background: transparent;
  padding: 10px 18px;
  font-size: 12px;
  color: #526452;
}
.tabs button[aria-selected="true"] {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.scenario {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.scenario h3 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 15px 0;
}
.scenario p {
  font-size: 14px;
  color: #687363;
}
.scenario .label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #61765a;
}
.benefit {
  border-left: 2px solid var(--teal);
  padding-left: 20px;
  margin-top: 25px;
}
.benefit b {
  font-size: 13px;
  font-weight: 600;
}
.benefit p {
  font-size: 13px;
  margin: 5px 0;
}
.demo {
  padding: 26px;
  background: #fffaf0;
  border: 1px solid #d6ddce;
  border-radius: 12px;
  box-shadow: 0 17px 35px #4660390d;
  transform: rotate(1deg);
}
.demotop {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
  margin-bottom: 20px;
  font-size: 11px;
}
.demotop b {
  color: var(--teal);
}
.demotop span {
  font-size: 9px;
  color: var(--muted);
}
.demotitle {
  font: 23px Georgia;
  margin-bottom: 6px;
}
.demodesc {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 20px;
}
.demorow {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid #e9e0d3;
  font-size: 11px;
}
.demorow i {
  font-style: normal;
  border-radius: 50%;
  background: #edf0e5;
  text-align: center;
  padding: 3px;
  color: var(--teal);
}
.status {
  font-size: 9px;
  padding: 4px 8px;
  border-radius: 20px;
  background: #e6efdf;
  color: #486243;
}
.demobottom {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  font-size: 10px;
  color: var(--muted);
}
.demobottom span:last-child {
  color: var(--teal);
}
.caption {
  font-size: 10px !important;
  color: #7b8374 !important;
  margin-top: 17px;
  text-align: center;
}
.approach {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 85px;
  align-items: center;
}
.approach-image {
  position: relative;
  height: 490px;
}
.approach-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 20% center;
  border-radius: 10px 150px 10px 10px;
}
.quote {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: var(--teal);
  color: var(--cream);
  padding: 27px;
  border-radius: 7px;
  font: 26px/1.2 Georgia;
  max-width: 280px;
}
.approach h2 {
  margin: 22px 0;
}
.approach p {
  font-size: 14px;
  color: var(--muted);
}
.checks {
  display: grid;
  gap: 14px;
  margin-top: 25px;
  font-size: 12px;
}
.checks span:before {
  content: "✓";
  color: var(--teal);
  margin-right: 12px;
}
.method {
  border-top: 1px solid var(--line);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 45px;
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.step .number {
  font: italic 32px Georgia;
  color: var(--brown);
}
.step h3 {
  font-size: 23px;
  font-weight: 400;
  margin: 18px 0 13px;
}
.step p {
  font-size: 13px;
  color: var(--muted);
}
.faqarea {
  background: #f5eadb;
}
.faqgrid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 100px;
}
.faqgrid h2 {
  margin-top: 22px;
}
.faqgrid > div > p {
  font-size: 14px;
  color: var(--muted);
}
details {
  border-bottom: 1px solid #d4c9b9;
  padding: 20px 0;
}
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}
summary:after {
  content: "+";
  color: var(--teal);
  font-size: 20px;
  line-height: 1;
}
details[open] summary:after {
  content: "−";
}
details p {
  font-size: 13px;
  color: var(--muted);
  padding-right: 25px;
}
.contact {
  background: var(--cream);
}
.contactgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
}
.contact h2 {
  margin: 25px 0;
}
.contact .intro {
  font-size: 15px;
  color: var(--muted);
  max-width: 380px;
}
.contact .serif-note {
  font: italic 23px Georgia;
  color: var(--teal);
  margin: 32px 0;
}
.contact-form {
  background: white;
  border: 1px solid #e1d9cc;
  border-radius: 12px;
  padding: 32px;
}
.formstep {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: 22px;
}
.contact-form label {
  display: block;
  font-size: 12px;
  margin: 0 0 8px;
}
.contact-form select,
.contact-form input,
.contact-form textarea {
  font-size: 13px;
  width: 100%;
  padding: 12px;
  background: #fffaf3;
  border: 1px solid #d9d5ca;
  border-radius: 5px;
  margin-bottom: 20px;
  color: var(--ink);
}
.contact-form textarea {
  height: 105px;
  resize: vertical;
}
.contact-form .btn {
  width: 100%;
}
.contact-form .micro {
  margin: 14px 0 0;
}
.result {
  background: #edf3e9;
  border: 1px solid #c7d5bf;
  padding: 17px;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 12px;
}
.result textarea {
  background: white;
  height: 180px;
  margin-top: 12px;
}
.result .btn {
  padding: 10px;
}
.result h3 {
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 10px;
}
.result[hidden] {
  display: none;
}
footer {
  background: #e5eee6;
  padding: 55px 0 25px;
}
.foot-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}
.foot-top .logo {
  font-size: 66px;
}
.foot-top p {
  font-size: 12px;
  color: #687568;
}
.footlinks {
  display: flex;
  gap: 70px;
  font-size: 12px;
}
.footlinks div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footlinks b {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: #687568;
  margin-bottom: 10px;
}
.footbottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #c8d4c6;
  margin-top: 35px;
  padding-top: 20px;
  font-size: 10px;
  color: #687568;
}
.skip {
  position: absolute;
  left: 10px;
  top: -90px;
  background: white;
  padding: 10px;
  z-index: 40;
}
.skip:focus {
  top: 10px;
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero h1 {
    font-size: 57px;
  }
  .hero-grid {
    gap: 20px;
    min-height: 620px;
  }
  .hero-photo {
    height: 465px;
  }
  .navlinks {
    gap: 20px;
  }
  .scenario,
  .approach {
    gap: 45px;
  }
  .contactgrid,
  .faqgrid {
    gap: 50px;
  }
  .card {
    padding: 25px 21px;
  }
  .steps {
    gap: 20px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  nav {
    height: 77px;
  }
  .logo {
    font-size: 43px;
  }
  .menu {
    display: block;
  }
  .navlinks {
    display: none;
    position: absolute;
    top: 77px;
    left: 0;
    right: 0;
    padding: 25px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: start;
  }
  .navlinks.open {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding: 42px 0 40px;
    gap: 35px;
  }
  .hero h1 {
    font-size: 54px;
    letter-spacing: -2.3px;
    margin: 22px 0;
  }
  .hero-copy > p {
    font-size: 15px;
  }
  .hero-actions {
    gap: 22px;
    flex-wrap: wrap;
  }
  .hero-photo {
    height: 365px;
    margin: 0 6px 0 15px;
  }
  .hero-photo img {
    border-radius: 120px 10px 100px 10px;
  }
  .photo-note {
    font-size: 18px;
  }
  .ribbon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    font-size: 10px;
    gap: 15px;
    padding: 19px 0;
  }
  .section {
    padding: 60px 0;
  }
  .sectionhead {
    flex-direction: column;
    align-items: start;
    gap: 22px;
    margin-bottom: 30px;
  }
  h2 {
    font-size: 37px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .card h3 {
    margin-top: 18px;
  }
  .card {
    padding: 26px;
  }
  .card ul {
    padding: 16px 0;
  }
  .also {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .scenario {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .scenario h3 {
    font-size: 31px;
  }
  .tabs {
    gap: 8px;
  }
  .tabs button {
    font-size: 11px;
    padding: 9px 13px;
  }
  .demo {
    transform: none;
  }
  .approach {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .approach-image {
    height: 360px;
    margin-right: 15px;
  }
  .quote {
    right: -10px;
    font-size: 24px;
    max-width: 250px;
    padding: 22px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .step h3 {
    font-size: 22px;
  }
  .faqgrid,
  .contactgrid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .contact-form {
    padding: 25px;
  }
  .foot-top {
    flex-direction: column;
    gap: 25px;
  }
  .footlinks {
    gap: 60px;
  }
  .footbottom {
    font-size: 9px;
  }
  .leaf {
    right: -10px;
    width: 70px;
    top: -20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}

/* Marca KAFE & CODE: composición principal con descriptor secundario. */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 5px;
  letter-spacing: -3px;
  line-height: 0.9;
  padding: 3px 0;
}
.logo-main {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-style: normal;
  font-weight: 900;
}
.logo-sub {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 5px;
  line-height: 1.2;
  padding-left: 5px;
}
.foot-top .logo {
  gap: 9px;
}
.foot-top .logo-sub {
  font-size: 14px;
  letter-spacing: 7px;
  padding-left: 7px;
}
@media (max-width: 760px) {
  .logo {
    gap: 4px;
  }
  .logo-sub {
    font-size: 9px;
    letter-spacing: 4px;
    padding-left: 4px;
  }
  .foot-top .logo-sub {
    font-size: 14px;
    letter-spacing: 7px;
  }
}

/* Portada: frase principal y adaptación a pantallas pequeñas. */
.hero h1 {
  font-size: clamp(42px, 4.3vw, 60px);
  letter-spacing: -2px;
}
@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(38px, 9vw, 52px);
    letter-spacing: -1.5px;
  }
}

/* Detalles de presentación reutilizados en el contenido. */
.detail-style-1 {
  display: inline-block;
  margin-top: 20px;
}
.detail-style-2 {
  display: inline-block;
  margin-top: 24px;
}
