:root {
  --navy: #102f4f;
  --navy-2: #1f4b73;
  --green: #2f8f5b;
  --green-dark: #1f7045;
  --mint: #eaf6ef;
  --sky: #edf5fa;
  --ink: #16212d;
  --muted: #5a6876;
  --line: #dbe4ea;
  --paper: #fff;
  --soft: #f7fafc;
  --shadow: 0 20px 55px rgba(16, 47, 79, .11);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 44px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 44px)); margin: 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 30; padding: 10px 14px; background: #fff; }
.skip:focus { left: 12px; }

header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 700; text-decoration: none; }
.navlinks { display: flex; align-items: center; gap: 25px; color: var(--navy); font-size: .86rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.navlinks a { text-decoration: none; }
.navlinks a:hover, .navlinks a:focus-visible, .navlinks a[aria-current="page"] { color: var(--green-dark); }
.menu-button { display: none; padding: 8px 11px; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-weight: 700; }

main { overflow: hidden; }
section { padding: 82px 0; }
.hero { padding: 86px 0 72px; background: linear-gradient(135deg, #fff 0%, #f5f9fc 65%, var(--mint) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 62px; align-items: center; }
.eyebrow, .label { display: inline-block; margin: 0 0 13px; color: var(--green-dark); font-size: .78rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { color: var(--navy); }
h1 { max-width: 900px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.65rem, 5.5vw, 5.25rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; }
h3 { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; line-height: 1.2; }
.lead { max-width: 760px; margin: 24px 0 0; color: #334354; font-size: 1.17rem; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 47px; align-items: center; justify-content: center; padding: 10px 19px; border: 1px solid var(--navy); border-radius: 999px; font-weight: 800; text-decoration: none; }
.button.primary { color: white; background: var(--green-dark); border-color: var(--green-dark); }
.button.primary:hover, .button.primary:focus-visible { background: #155c37; }
.button.secondary { color: var(--navy); background: white; }
.button.secondary:hover, .button.secondary:focus-visible { color: var(--green-dark); border-color: var(--green); }
.portrait-card { position: relative; min-height: 440px; overflow: hidden; border-radius: 30px; box-shadow: var(--shadow); background: var(--navy); }
.portrait-card img { width: 100%; height: 440px; object-fit: cover; object-position: center 22%; }
.portrait-card::after { position: absolute; inset: auto 0 0; height: 34%; content: ""; background: linear-gradient(transparent, rgba(16,47,79,.78)); }

.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 50px; align-items: start; margin-bottom: 38px; }
.section-head p { margin: 5px 0 0; color: var(--muted); font-size: 1.06rem; }
.intro-copy { max-width: 850px; font-size: 1.08rem; }
.intro-copy p:first-child { margin-top: 0; }
.soft { background: var(--soft); }
.navy { color: white; background: var(--navy); }
.navy h2, .navy h3, .navy .label { color: white; }
.navy .section-head p, .navy p { color: #d7e4ee; }

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card { padding: 28px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 25px rgba(16,47,79,.05); }
.card p { margin: 10px 0 0; color: var(--muted); }
.card .card-link { display: inline-block; margin-top: 18px; color: var(--green-dark); font-weight: 800; text-decoration: none; }
.card .card-link:hover, .card .card-link:focus-visible { text-decoration: underline; }
.navy .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); box-shadow: none; }
.navy .card p { color: #dce7ef; }
.navy .card-link { color: #9be0af; }
.kicker { margin: 0 0 10px; color: var(--green-dark); font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.navy .kicker { color: #9be0af; }

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.process-step { padding: 22px 18px; background: var(--soft); border-top: 4px solid var(--green); border-radius: 0 0 15px 15px; }
.process-step strong { display: block; color: var(--navy); font-family: Georgia, serif; font-size: 1.12rem; }
.process-step span { display: block; margin-top: 8px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.metric { padding: 28px; text-align: center; background: var(--mint); border-radius: 18px; }
.metric strong { display: block; color: var(--navy); font-family: Georgia, serif; font-size: 2.15rem; line-height: 1; }
.metric span { display: block; margin-top: 10px; color: #3f5a4b; font-size: .9rem; }

.page-hero { padding: 74px 0 56px; background: linear-gradient(135deg, #fff 0%, var(--sky) 100%); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 960px; font-size: clamp(2.55rem, 5vw, 4.7rem); }
.page-hero .lead { max-width: 780px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.fact { padding: 20px; background: white; border: 1px solid var(--line); border-radius: 15px; }
.fact strong { display: block; color: var(--green-dark); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; }
.fact span { display: block; margin-top: 6px; color: var(--navy); font-weight: 700; line-height: 1.4; }
.prose { width: min(820px, 100%); }
.prose h2 { margin: 0 0 24px; }
.prose h3 { margin-top: 34px; }
.prose p { margin: 0 0 20px; }
.prose ul { margin: 18px 0 28px; padding-left: 23px; }
.prose li { margin: 8px 0; }
.callout { margin: 30px 0; padding: 24px 26px; color: #28475f; background: var(--sky); border-left: 4px solid var(--navy-2); border-radius: 0 14px 14px 0; }
.quote { margin: 30px 0; padding: 28px; color: var(--navy); background: var(--mint); border-radius: var(--radius); font-family: Georgia, serif; font-size: 1.35rem; }
.expectations { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: .96rem; }
.expectations th, .expectations td { padding: 15px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.expectations th { color: white; background: var(--navy); }

.timeline { display: grid; gap: 14px; margin: 26px 0; }
.timeline-item { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 20px; background: var(--soft); border-radius: 16px; }
.timeline-item strong { color: var(--green-dark); }

.viewer { position: relative; margin-top: 30px; padding: 16px; background: #dfe7ed; border-radius: 20px; }
.viewer::after { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; content: "PORTFOLIO SAMPLE · MONICA MARÍA ROJAS"; color: rgba(16,47,79,.11); font-size: clamp(1rem, 3vw, 2.4rem); font-weight: 900; letter-spacing: .08em; transform: rotate(-19deg); pointer-events: none; }
.viewer-window { position: relative; z-index: 1; height: min(74vh, 760px); overflow: auto; overscroll-behavior: contain; border-radius: 10px; }
.viewer-page { display: block; width: 100%; margin: 0 0 12px; pointer-events: none; user-select: none; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.viewer-note { margin: 12px 4px 0; color: #435463; font-size: .84rem; }

.contact-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: start; }
.contact-card { padding: 30px; background: var(--navy); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card h2, .contact-card p { color: white; }
.contact-card a { color: #9be0af; font-weight: 800; }
.details { display: grid; gap: 16px; margin-top: 24px; }
.detail { padding: 18px; background: var(--soft); border-radius: 14px; }
.detail strong { display: block; color: var(--green-dark); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }

.cta { padding: 68px 0; background: var(--mint); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.cta p { margin: 10px 0 0; color: #3d5b49; }
footer { padding: 25px 0; color: #657380; font-size: .85rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; }

@media (max-width: 900px) {
  .hero-grid, .section-head, .contact-panel { grid-template-columns: 1fr; }
  .portrait-card { max-width: 560px; }
  .card-grid.three, .facts { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: min(100% - 28px, 1160px); }
  .menu-button { display: block; }
  .navlinks { position: absolute; top: 72px; left: 0; right: 0; display: none; padding: 18px 22px; flex-direction: column; align-items: flex-start; gap: 14px; background: white; border-bottom: 1px solid var(--line); }
  .navlinks.open { display: flex; }
  .hero, .page-hero { padding-top: 54px; }
  section { padding: 62px 0; }
  .card-grid, .card-grid.three, .metrics, .facts, .process-grid { grid-template-columns: 1fr; }
  .portrait-card, .portrait-card img { min-height: 0; height: 360px; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; }
  .cta-inner, footer .wrap { align-items: flex-start; flex-direction: column; }
  .expectations { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
