:root {
  color-scheme: light;
  --paper: #f2efe7;
  --paper-bright: #fbfaf6;
  --ink: #142126;
  --muted: #59666a;
  --line: #c8c7bf;
  --line-strong: #9c9e98;
  --blue: #2148d8;
  --blue-dark: #142f99;
  --coral: #ef6a4e;
  --acid: #d8f357;
  --white: #ffffff;
  --black: #0c1417;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

img { display: block; max-width: 100%; }

h1,
h2,
h3,
p { margin-top: 0; }

h1,
h2,
h3 {
  margin-bottom: 0;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 { font-size: clamp(3.9rem, 8.3vw, 8.7rem); }
h2 { font-size: clamp(3rem, 5.8vw, 6.2rem); }
h3 { font-size: clamp(1.75rem, 3vw, 3rem); }

.section-shell {
  width: min(var(--max), calc(100% - 3rem));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--black);
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  width: min(var(--max), calc(100% - 3rem));
  min-height: 80px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  color: var(--white);
  background: var(--blue);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.08em;
}

.brand-copy strong,
.brand-copy small { display: block; }

.brand-copy strong {
  font-size: 0.92rem;
  line-height: 1.15;
}

.brand-copy small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-header nav { display: flex; gap: 1.8rem; }

.site-header nav a,
.header-contact {
  position: relative;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.site-header nav a::after,
.header-contact::after,
.text-link::after,
.project-actions a::after,
.identity-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.2rem;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after,
.header-contact:hover::after,
.header-contact:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after,
.project-actions a:hover::after,
.project-actions a:focus-visible::after,
.identity-links a:hover::after,
.identity-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  justify-self: end;
  color: var(--blue);
}

.hero {
  min-height: calc(100svh - 80px);
  padding-block: clamp(4rem, 8vw, 7.5rem) 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(240px, 0.42fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: end;
}

.overline {
  margin-bottom: 1.5rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1 { max-width: 930px; }

.hero h1 em {
  display: block;
  color: var(--blue);
  font-weight: 400;
}

.hero-lead {
  max-width: 700px;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-lead strong { color: var(--ink); }

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.3rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.35rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid transparent;
  color: var(--white);
  background: var(--black);
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-light { color: var(--black); background: var(--white); }

.text-link {
  position: relative;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 850;
  text-decoration: none;
}

.privacy-note {
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.privacy-note span {
  margin-right: 0.45rem;
  color: #24a56a;
  font-size: 0.65rem;
}

.hero-portrait {
  width: min(100%, 300px);
  margin: 0 0 0 auto;
  align-self: center;
}

.portrait-frame {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 1rem;
  right: -1rem;
  width: 42%;
  height: 42%;
  background: var(--coral);
}

.portrait-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  filter: saturate(0.86) contrast(1.03);
}

.portrait-stamp {
  position: absolute;
  right: -1.1rem;
  bottom: -1.1rem;
  display: grid;
  place-items: center;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  color: var(--ink);
  background: var(--acid);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 700;
}

.hero-portrait figcaption {
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--ink);
  font-size: 0.72rem;
}

.hero-portrait figcaption span:first-child { font-weight: 900; }
.hero-portrait figcaption span:last-child { max-width: 180px; color: var(--muted); text-align: right; }

.facts {
  border-block: 1px solid var(--ink);
  background: var(--paper-bright);
}

.facts-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.facts p {
  min-height: 128px;
  margin: 0;
  padding: 1.4rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
}

.facts p:first-child { padding-left: 0; }
.facts p:last-child { padding-right: 0; border-right: 0; }
.facts strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 400; }
.facts span { max-width: 220px; color: var(--muted); font-size: 0.77rem; }

.section { padding-block: clamp(6rem, 11vw, 10rem); }

.section-intro { margin-bottom: clamp(3rem, 6vw, 5.5rem); }

.section-intro h2 { max-width: 900px; }

.section-intro > p:last-child {
  max-width: 650px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
}

.split-intro > p:last-child { margin: 0; padding-top: 1rem; border-top: 1px solid var(--ink); }

.service-list { border-top: 1px solid var(--ink); }

.service-row {
  position: relative;
  padding: 2.2rem 0;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(260px, 0.46fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line-strong);
}

.service-row::before {
  content: "";
  position: absolute;
  inset: 0 -1.2rem;
  z-index: -1;
  background: var(--paper-bright);
  opacity: 0;
  transition: opacity 160ms ease;
}

.service-row:hover::before { opacity: 1; }

.service-row-featured::after {
  content: "RECOMENDADO PARA EMPEZAR";
  position: absolute;
  top: -0.7rem;
  right: 0;
  padding: 0.28rem 0.55rem;
  color: var(--white);
  background: var(--blue);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.11em;
}

.service-index span,
.service-index small { display: block; }

.service-index span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-style: italic;
}

.service-index small {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-summary h3 { margin-bottom: 1rem; }
.service-summary p { max-width: 580px; margin: 0; color: var(--muted); }

.service-meta { display: flex; flex-direction: column; align-items: flex-start; }
.service-meta strong { margin-bottom: 0.7rem; font-size: 1.03rem; }
.service-meta span { color: var(--muted); font-size: 0.77rem; }
.service-meta a { margin-top: auto; padding-top: 1.5rem; color: var(--blue); font-size: 0.78rem; font-weight: 900; text-underline-offset: 0.24rem; }

.work-section {
  color: var(--white);
  background: var(--black);
}

.work-section .overline { color: var(--acid); }
.work-heading { max-width: 930px; }
.work-heading > p:last-child { color: #aab3b6; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.project {
  min-height: 400px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #465156;
}

.project-margin { grid-column: span 12; color: var(--black); background: var(--paper); }
.project-airdows { grid-column: span 7; color: var(--black); background: var(--acid); }
.project-routekit { grid-column: span 5; background: #1f42c5; }
.project-samueloss { grid-column: span 5; background: #223036; }
.project-beauty { grid-column: span 7; color: var(--black); background: #e77b63; }

.project-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-style: italic;
}

.project-type {
  margin-bottom: 1rem;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project h3 { margin-bottom: 1rem; font-size: clamp(2.6rem, 5vw, 5rem); }
.project p:not(.project-type) { max-width: 620px; margin-bottom: 0; font-size: 0.9rem; }
.project-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.project-actions a { position: relative; font-size: 0.75rem; font-weight: 900; text-decoration: none; }

.process-section { padding-bottom: 0; }

.process-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-top: 1px solid var(--ink);
}

.process-list li {
  min-height: 300px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line-strong);
}

.process-list li:first-child { padding-left: 0; }
.process-list li:last-child { padding-right: 0; border-right: 0; }
.process-list li > span { font-family: Georgia, "Times New Roman", serif; font-style: italic; }
.process-list h3 { margin-bottom: 0.8rem; font-size: 1.8rem; }
.process-list p { margin: 0; color: var(--muted); font-size: 0.85rem; }

.trust-section {
  margin-top: clamp(6rem, 11vw, 10rem);
  color: var(--white);
  background: var(--blue);
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.trust-identity h2 { max-width: 650px; }
.trust-identity > p:nth-of-type(2) { max-width: 600px; margin: 2rem 0 0; color: #d3daf9; }

.official-channels { margin: 3rem 0 0; }

.official-channels div {
  padding: 0.72rem 0;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.34);
}

.official-channels dt { color: #c2cdf9; font-size: 0.67rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.official-channels dd { margin: 0; font-size: 0.82rem; font-weight: 800; overflow-wrap: anywhere; }

.identity-links { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1.4rem; }
.identity-links a { position: relative; font-size: 0.76rem; font-weight: 900; text-decoration: none; }

.trust-kicker {
  margin-bottom: 1.8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-style: italic;
}

.security-list { margin: 0; padding: 0; list-style: none; }

.security-list li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  color: #eef1ff;
  font-size: 0.9rem;
}

.security-list li::before {
  content: "↳";
  position: absolute;
  left: 0;
  color: var(--acid);
  font-weight: 900;
}

.payment-note {
  margin-top: 2.5rem;
  padding: 1.4rem;
  color: var(--black);
  background: var(--acid);
}

.payment-note > span { font-size: 0.65rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.payment-note p { margin: 1rem 0 0; font-size: 0.88rem; }

.verification-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  border-block: 1px solid var(--ink);
}

.verification-list li {
  min-height: 250px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line-strong);
}

.verification-list li:first-child { padding-left: 0; }
.verification-list li:last-child { padding-right: 0; border-right: 0; }
.verification-list li > span { color: var(--blue); font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-style: italic; }
.verification-list strong { display: block; margin-bottom: 0.65rem; }
.verification-list p { margin: 0; color: var(--muted); font-size: 0.82rem; }

.faq-layout {
  margin-top: clamp(6rem, 10vw, 9rem);
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(400px, 1.25fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.faq-title { position: sticky; top: 2rem; }
.faq-title h2 { font-size: clamp(2.6rem, 4.4vw, 4.7rem); }
.faq-list { border-top: 1px solid var(--ink); }

.faq-list details { border-bottom: 1px solid var(--line-strong); }

.faq-list summary {
  position: relative;
  padding: 1.3rem 2.4rem 1.3rem 0;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 1.1rem; right: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 650px; margin: 0 0 1.4rem; color: var(--muted); font-size: 0.9rem; }

.final-cta {
  padding-block: clamp(5rem, 10vw, 9rem);
  color: var(--white);
  background: var(--black);
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: end;
}

.final-cta h2 { max-width: 800px; }
.final-cta p:not(.overline) { max-width: 650px; margin: 2rem 0 0; color: #aeb7ba; }
.final-cta .overline { color: var(--acid); }
.final-actions { display: flex; flex-direction: column; align-items: stretch; gap: 1.1rem; }
.final-actions > a:last-child { color: #c6ced1; font-size: 0.8rem; text-align: center; text-underline-offset: 0.25rem; }

.site-footer {
  padding-block: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  border-top: 1px solid var(--ink);
  font-size: 0.76rem;
}

.footer-identity strong,
.footer-identity span { display: block; }
.footer-identity span { margin-top: 0.2rem; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.2rem; }
.footer-links a { font-weight: 800; text-decoration: none; }
.site-footer > p { grid-column: 1 / -1; margin: 0; color: var(--muted); }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; align-items: start; }
  .hero-copy { max-width: 900px; }
  .hero-portrait { width: min(300px, 58vw); margin-left: auto; }
  .facts-inner { grid-template-columns: repeat(2, 1fr); }
  .facts p:nth-child(2) { border-right: 0; }
  .facts p:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-intro { grid-template-columns: 1fr; }
  .split-intro > p:last-child { max-width: 620px; }
  .service-row { grid-template-columns: 100px minmax(0, 1fr); }
  .service-meta { grid-column: 2; }
  .service-meta a { margin-top: 1rem; padding-top: 0.5rem; }
  .process-list,
  .verification-list { grid-template-columns: repeat(2, 1fr); }
  .process-list li:nth-child(2),
  .verification-list li:nth-child(2) { border-right: 0; }
  .process-list li:nth-child(-n+2),
  .verification-list li:nth-child(-n+2) { border-bottom: 1px solid var(--line-strong); }
  .trust-layout { grid-template-columns: 1fr; }
  .trust-details { max-width: 720px; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-title { position: static; max-width: 700px; }
  .final-cta-inner { grid-template-columns: 1fr; }
  .final-actions { max-width: 460px; }
}

@media (max-width: 680px) {
  .section-shell,
  .site-header { width: min(100% - 1.3rem, var(--max)); }
  .site-header { min-height: 68px; }
  .brand-mark { width: 2.25rem; height: 2.25rem; }
  .brand-copy small { display: none; }
  .header-contact { font-size: 0.74rem; }
  .hero { padding-top: 3.2rem; gap: 3rem; }
  h1 { font-size: clamp(3.4rem, 17vw, 5.8rem); }
  h2 { font-size: clamp(2.7rem, 13vw, 4.7rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .text-link { width: fit-content; }
  .hero-portrait { width: min(240px, calc(100% - 2rem)); margin-inline: auto; }
  .portrait-stamp { right: -0.65rem; bottom: -0.65rem; width: 3.35rem; height: 3.35rem; }
  .hero-portrait figcaption { display: grid; }
  .hero-portrait figcaption span:last-child { text-align: left; }
  .facts-inner { grid-template-columns: 1fr; }
  .facts p,
  .facts p:first-child,
  .facts p:last-child { min-height: 104px; padding: 1.2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .facts p:last-child { border-bottom: 0; }
  .section { padding-block: 5.5rem; }
  .service-row { padding: 1.8rem 0; grid-template-columns: 1fr; gap: 1.4rem; }
  .service-index { display: flex; align-items: center; justify-content: space-between; }
  .service-index small { margin-top: 0; }
  .service-meta { grid-column: auto; }
  .service-row-featured::after { display: none; }
  .project-grid { grid-template-columns: 1fr; }
  .project,
  .project-margin,
  .project-airdows,
  .project-routekit,
  .project-samueloss,
  .project-beauty { min-height: 360px; grid-column: auto; }
  .process-list,
  .verification-list { grid-template-columns: 1fr; }
  .process-list li,
  .process-list li:first-child,
  .process-list li:last-child,
  .verification-list li,
  .verification-list li:first-child,
  .verification-list li:last-child {
    min-height: 220px;
    padding: 1rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }
  .process-list li:last-child,
  .verification-list li:last-child { border-bottom: 0; }
  .trust-section { margin-top: 5.5rem; }
  .official-channels div { grid-template-columns: 1fr; gap: 0.2rem; }
  .faq-layout { margin-top: 5rem; gap: 2.5rem; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .site-footer > p { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
