:root {
  color-scheme: light;
  --navy: #121c32;
  --ink: #1a2640;
  --muted: #526079;
  --line: #dde2e8;
  --paper: #f6f7f9;
  --white: #fff;
  --peach: #ffc38d;
  --radius: 18px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid #377de7; outline-offset: 5px; }
.shell { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.symbols { display: block; position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; top: 8px; left: 10px; z-index: 10; transform: translateY(-160%); background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 8px; }
.skip:focus { transform: translateY(0); }

.topbar { background: var(--white); border-bottom: 1px solid #e7eaf0; position: relative; z-index: 1; }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; font-weight: 740; letter-spacing: -.022em; }
.brand small { margin-top: 2px; font-size: 12px; color: var(--muted); }
nav { display: flex; align-items: center; gap: 34px; }
nav a { color: #394860; text-decoration: none; font-size: 14px; font-weight: 650; padding-block: 10px; }
nav a:hover { color: #2055a1; }
.nav-contact { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 9px 13px; border-radius: 9px; }
.nav-contact .icon { width: 15px; height: 15px; }
.menu-toggle { display: none; }

.hero { background: radial-gradient(ellipse at 72% 46%, #203753 0%, var(--navy) 61%); color: var(--white); overflow: hidden; }
.hero-layout { display: grid; grid-template-columns: .98fr 1fr; align-items: center; min-height: 459px; }
.hero-copy { padding-block: 56px 63px; position: relative; z-index: 1; }
.eyebrow { margin: 0; text-transform: uppercase; font: 650 11px/1.4 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .13em; }
.hero-kicker { display: flex; align-items: center; gap: 10px; color: #d1d9e8; }
.hero-kicker span { width: 21px; height: 1px; background: var(--peach); }
h1 { margin: 15px 0 21px; font-size: clamp(42px, 5.1vw, 72px); line-height: 1.01; font-weight: 750; letter-spacing: -.066em; }
h1 span { color: var(--peach); }
.hero-description { max-width: 430px; margin: 0; color: #c9d2e1; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.64; }
.hero-figure { align-self: stretch; display: grid; place-items: center; margin-inline: -14px -14px; }
.hero-figure img { width: 100%; height: auto; display: block; max-width: 590px; }

.systems { padding-block: 53px 66px; background: var(--paper); }
.section-kicker { color: #51617b; }
h2 { font-size: clamp(32px, 4vw, 49px); font-weight: 740; line-height: 1.02; letter-spacing: -.057em; margin: 11px 0 13px; }
.section-lead { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.systems-grid { margin-top: 27px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.system-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; box-shadow: 0 5px 14px #17223905; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.project-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 11px; background: #e8effd; color: #2355a4; }
.project-icon .icon { width: 24px; height: 24px; }
.farmacia .project-icon { background: #f7ecdf; color: #855022; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 6px; color: #46536a; background: #edf0f4; font-size: 11px; font-weight: 700; line-height: 1.25; }
.status::before { content: ""; width: 5px; height: 5px; flex: none; border-radius: 50%; background: #75849c; }
.status.planned { background: #fbf1e6; color: #764a24; }
.status.planned::before { background: #a96931; }
.system-card h3 { font-size: 22px; margin: 16px 0 6px; letter-spacing: -.04em; line-height: 1.16; }
.system-card > p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; max-width: 46ch; }
.farmacia { border-style: dashed; background: #fbfaf8; box-shadow: none; }

.profile { padding-block: 77px 81px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 7vw, 94px); }
.profile-identity { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.profile-portrait { display: block; flex: none; width: clamp(112px, 11vw, 144px); height: auto; border-radius: 14px; }
.profile-identity h2 { margin: 6px 0 8px; }
.profile-role { color: #315685; font-weight: 680; font-size: 15px; line-height: 1.5; margin: 0; }
.availability { display: inline-flex; align-items: center; gap: 8px; background: #eaf5ef; color: #225c40; padding: 8px 11px; border-radius: 7px; font-weight: 650; font-size: 12px; line-height: 1.4; margin-top: 18px; }
.availability span { display: block; width: 7px; height: 7px; flex: none; background: #358157; border-radius: 50%; }
.specialties { border-block: 1px solid var(--line); }
.specialties article { display: flex; align-items: flex-start; gap: 15px; padding: 16px 0; }
.specialties article + article { border-top: 1px solid var(--line); }
.skill-icon { display: grid; place-items: center; color: #315685; background: #edf2fa; border-radius: 9px; width: 38px; height: 38px; flex: none; }
.specialties h3 { margin: 0 0 4px; font-size: 16px; letter-spacing: -.015em; }
.specialties p { margin: 0; font-size: 14px; line-height: 1.54; color: var(--muted); }

.contact { padding-block: 53px 59px; background: var(--navy); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 7vw, 94px); }
.contact .section-lead { color: #c9d2e1; }
.contact-options { display: grid; gap: 10px; }
.contact-link { display: grid; grid-template-columns: auto 1fr auto; gap: 11px; align-items: center; color: var(--white); text-decoration: none; padding: 10px; border: 1px solid #3c4961; background: #1a263e; border-radius: 10px; }
.contact-link:hover { background: #25354f; }
.contact-link > .icon { width: 16px; height: 16px; margin-right: 3px; color: #c9d2e1; }
.contact-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 7px; color: #b8d2ff; background: #283d60; }
.contact-icon.whatsapp { color: #b8edcc; background: #24483e; }
.contact-link strong, .contact-link small { display: block; }
.contact-link strong { font-size: 14px; }
.contact-link small { margin-top: 3px; font-size: 12px; color: #c9d2e1; overflow-wrap: anywhere; }
.footer-wrap { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.footer-wrap > span:last-child { display: inline-flex; align-items: center; gap: 5px; }
.footer-wrap .icon { width: 16px; height: 16px; }

@media (max-width: 960px) {
  .shell { width: min(1120px, calc(100% - 56px)); }
  .hero-layout { min-height: 410px; }
  .systems-grid { gap: 12px; }
  .system-card { padding-inline: 14px; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 36px); }
  .nav-wrap { min-height: 65px; flex-wrap: wrap; }
  .menu-toggle:not([hidden]) { display: grid; place-items: center; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 8px; width: 42px; height: 42px; cursor: pointer; }
  nav { flex-basis: 100%; align-items: stretch; flex-direction: column; gap: 2px; padding: 0 0 13px; }
  .menu-toggle:not([hidden])[aria-expanded="false"] + nav { display: none; }
  nav a { padding: 10px 8px; }
  .nav-contact { border: 0; }
  .hero-layout { min-height: 0; grid-template-columns: 1fr; }
  .hero-copy { padding-block: 42px 14px; }
  h1 { font-size: clamp(36px, 9.7vw, 64px); margin-bottom: 17px; }
  .hero-figure { margin: -10px auto 6px; width: min(100%, 440px); }
  .hero-description { max-width: 400px; }
  .systems, .profile, .contact { padding-block: 42px 46px; }
  .systems-grid, .profile-grid, .contact-grid { grid-template-columns: 1fr; }
  .system-card { padding-inline: 17px; }
  .profile-grid, .contact-grid { gap: 24px; }
  .profile-identity { flex-direction: column; align-items: flex-start; gap: 14px; }
  .profile-portrait { width: 120px; }
  .footer-wrap { padding-block: 16px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
