@font-face {
  font-family: "Source Sans 3";
  src: url("/negocios/maria-cervantes/fonts/SourceSans3-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/negocios/maria-cervantes/fonts/SourceSans3-Semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #fbf7ef;
  --paper-deep: #f1e8d9;
  --ink: #242b30;
  --muted: #5f645f;
  --terracotta: #b94e35;
  --terracotta-dark: #983f2d;
  --olive: #777b4d;
  --sand: #d8c5a5;
  --mustard: #d59b31;
  --petrol: #21485b;
  --line: #d8c8b2;
  --shell: min(1240px, calc(100vw - 96px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .brand-live > span { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  width: var(--shell);
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}
.brand-live { display: grid; gap: 2px; text-decoration: none; }
.brand-live > span { font-size: 1.75rem; line-height: 1.1; }
.brand-live small { color: var(--muted); font-size: .78rem; letter-spacing: .04em; }
.site-header nav { display: flex; gap: 34px; align-items: center; }
.site-header nav a { min-height: 48px; display: inline-flex; align-items: center; text-decoration: none; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a:focus-visible { border-color: var(--terracotta); }

.hero {
  width: var(--shell);
  margin: 0 auto;
  padding: 76px 0 108px;
  display: grid;
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.eyebrow {
  margin-bottom: 22px;
  color: var(--terracotta-dark);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(3.6rem, 5.3vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -.035em;
}
.hero h1 em { color: var(--terracotta); font-weight: 400; }
.hero-support { max-width: 620px; margin-bottom: 30px; font-size: 1.17rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; }
.button {
  min-height: 52px;
  padding: 13px 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.button-primary { color: var(--paper); background: var(--terracotta-dark); }
.button-primary:hover, .button-primary:focus-visible { background: #763024; }
.text-link { min-height: 48px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; text-underline-offset: 5px; }
.hero-meta { margin: 26px 0 0; color: var(--muted); font-size: .94rem; }
.hero-visual { margin: 0; }
.hero-visual img { width: 100%; aspect-ratio: 1; object-fit: contain; }
figcaption { margin-top: 12px; color: var(--muted); font-size: .78rem; line-height: 1.35; }

.section-shell { width: var(--shell); margin: 0 auto; }
.spaces { padding: 102px 0 118px; border-top: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 54px; }
.section-heading h2, .proposal-copy h2, .contact h2 { margin-bottom: 22px; font-size: clamp(2.65rem, 4vw, 4rem); line-height: 1.08; letter-spacing: -.025em; }
.section-heading > p:last-child { max-width: 640px; color: var(--muted); font-size: 1.08rem; }
.space-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }
.space-card { min-width: 0; }
.space-card figure { margin: 0 0 24px; }
.space-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--paper-deep); border-radius: 10px; }
.card-index { margin-bottom: 8px; color: var(--terracotta-dark); font-size: .78rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.space-card h3 { margin-bottom: 12px; font-size: clamp(2rem, 2.8vw, 2.7rem); line-height: 1.1; }
.space-card > p:last-child { max-width: 580px; color: var(--muted); }

.proposal {
  padding: 112px 0;
  background: #fef9f1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proposal-grid { display: grid; grid-template-columns: minmax(280px, 35fr) minmax(0, 65fr); gap: clamp(56px, 8vw, 110px); align-items: start; }
.identity-block { position: sticky; top: 32px; }
.logo-crop {
  width: min(320px, 100%);
  aspect-ratio: 1134 / 1040;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.logo-crop img {
  position: absolute;
  width: 124.69%;
  max-width: none;
  height: auto;
  left: -12.35%;
  top: -40.38%;
  filter: saturate(1.04) contrast(1.02);
}
.identity-block > p {
  width: min(320px, 100%);
  margin-top: 24px;
  color: var(--muted);
  text-align: center;
}
.identity-block strong { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 400; }
.proposal-intro { max-width: 650px; margin-bottom: 42px; font-size: 1.15rem; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--terracotta-dark); font-weight: 600; }
.process-list h3 { margin-bottom: 6px; font-size: 1.5rem; }
.process-list p { margin-bottom: 0; color: var(--muted); }
.scope-note { margin: 30px 0 0; padding-left: 18px; border-left: 4px solid var(--terracotta); font-weight: 600; }

.contact { padding: 100px 0; color: var(--paper); background: var(--terracotta-dark); }
.contact-inner { width: var(--shell); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: clamp(48px, 8vw, 120px); align-items: end; }
.contact .eyebrow { color: #f1c6b8; }
.contact h2 { max-width: 760px; }
.contact p { max-width: 650px; }
.contact-action { display: grid; gap: 22px; }
.button-light { color: var(--ink); background: var(--paper); }
.button-light:hover, .button-light:focus-visible { background: #fff; }
.contact-action ul { margin: 0; padding: 0; list-style: none; color: #f2ddd5; font-size: .94rem; }
.contact-action li + li { margin-top: 4px; }

footer { width: var(--shell); min-height: 96px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted); font-size: .9rem; }
footer p { margin: 0; }
footer a { min-height: 48px; display: inline-flex; align-items: center; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 48px, 760px); }
  .site-header { min-height: 88px; }
  .site-header nav a:not(:last-child) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding: 58px 0 88px; }
  .hero-copy { display: contents; }
  .hero-copy > * { grid-column: 1; }
  .hero-visual { grid-row: 6; }
  .hero h1 { font-size: clamp(2.8rem, 8vw, 4.1rem); }
  .space-grid, .proposal-grid, .contact-inner { grid-template-columns: 1fr; }
  .identity-block { position: static; display: grid; grid-template-columns: minmax(190px, 280px) 1fr; gap: 24px; align-items: end; }
  .identity-block > p { width: auto; margin-bottom: 0; text-align: left; }
}

@media (max-width: 520px) {
  :root { --shell: calc(100% - 44px); }
  body { font-size: 17px; }
  .site-header { min-height: 82px; gap: 18px; }
  .brand-live > span { font-size: 1.45rem; }
  .brand-live small { font-size: .69rem; }
  .site-header nav a { font-size: .9rem; }
  .hero { padding: 50px 0 76px; gap: 34px; }
  .hero h1 { font-size: clamp(2.4rem, 11.4vw, 2.75rem); line-height: 1.08; }
  .hero-support { font-size: 1.02rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-meta { margin-top: 18px; }
  .spaces { padding: 78px 0 88px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2, .proposal-copy h2, .contact h2 { font-size: 2.42rem; }
  .space-grid { gap: 54px; }
  .space-card h3 { font-size: 2rem; }
  .proposal { padding: 82px 0; }
  .identity-block { display: block; }
  .identity-block > p { width: min(320px, 100%); margin-top: 20px; text-align: center; }
  .process-list li { grid-template-columns: 44px 1fr; gap: 12px; }
  .contact { padding: 80px 0; }
  .contact-inner { gap: 34px; }
  footer { padding: 22px 0; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 340px) {
  :root { --shell: calc(100% - 36px); }
  .brand-live small { max-width: 190px; }
  .hero h1 { font-size: 2.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
