/* web.morado.dev — Roberto Morado, web services.
   Surface language: the Search Standard (searchbrowser-standard skill).
   Tokens verbatim; ordered space underneath. */

:root{
  --ink: #171717;
  --ink-2: rgba(23,23,23,.5);
  --ink-3: rgba(23,23,23,.36);
  --ink-4: rgba(23,23,23,.2);
  --ground: #fff;
  --wash: #f3f3f2;
  --pill: #ececec;
  --hover: #f5f5f5;
  --hair: rgba(23,23,23,.09);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
  --glide: cubic-bezier(.22,1,.36,1);
  --settle: cubic-bezier(.2,.9,.3,1.02);
  --page-pad: 24px;
  --max-w: 1280px;
  --edge: max(var(--page-pad), calc((100% - var(--max-w)) / 2 + var(--page-pad)));
  --radius: 18px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

a{ color: var(--ink); }

:focus-visible{
  outline: 2px solid var(--ink);
  outline-offset: 4px;
  border-radius: 4px;
}

/* — Nav ——————————————————————————————— */

.nav{
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 var(--edge);
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--hair);
}

.brand{
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links{
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav-links a{
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  transition: color .15s;
}
.nav-links a:hover{ color: var(--ink); }

.nav .button--ink{ flex: none; }

/* — Buttons ——————————————————————————— */

.button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s var(--glide), background .15s, box-shadow .25s var(--glide);
}
.button:active{ transform: scale(.96); }

.button--ink{
  background: var(--ink);
  color: #fff;
}
.button--ink:hover{ box-shadow: 0 1px 3px rgba(0,0,0,.08); }

.button--wash{
  background: var(--wash);
  color: var(--ink);
}
.button--wash:hover{ background: var(--pill); }

.pill-row{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

/* — Layout ———————————————————————————— */

.hero, .block{
  padding-left: var(--edge);
  padding-right: var(--edge);
}

.hero{ padding-top: clamp(48px, 7vw, 96px); }

.block{ padding-top: clamp(64px, 9vw, 120px); }
.block.closing{ padding-top: clamp(80px, 11vw, 150px); }

.band{
  background: var(--wash);
  margin-top: clamp(64px, 9vw, 120px);
  padding: clamp(48px, 6vw, 72px) var(--edge);
}

h1{
  max-width: 62ch;
  margin: 0;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-2);
}
h1 strong{
  color: var(--ink);
  font-weight: 600;
}

h2{
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
}

.fine{
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}

.offer{
  margin: 0;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
}

.line{
  margin: 0;
  max-width: 62ch;
}

/* — Includes list ————————————————————— */

.includes{
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}
.includes li{
  padding: 12px 0;
  border-top: 1px solid var(--hair);
  font-weight: 500;
}

/* — Care plan panel ——————————————————— */

.panel{
  margin-top: 32px;
  padding: clamp(28px, 5vw, 72px);
  background: var(--wash);
  border-radius: var(--radius);
  max-width: 720px;
}
.panel p{ margin: 0; }
.panel p + p{ margin-top: 8px; color: var(--ink-2); }
.panel .panel-title{
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 16px;
}

/* — Work list (entries added per built site) — */

.work-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px;
}
.work-list li{
  padding: 16px 0;
  border-top: 1px solid var(--hair);
}
.work-name{
  font-weight: 600;
  text-decoration: none;
}
.work-name:hover{ text-decoration: underline; }
.work-desc{
  margin: 4px 0 0;
  color: var(--ink-2);
}

/* — Contact ——————————————————————————— */

.contact-list{
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
}
.contact-list li{
  display: flex;
  gap: 24px;
  padding: 12px 0;
  border-top: 1px solid var(--hair);
}
.contact-list .k{
  flex: 0 0 56px;
  color: var(--ink-3);
  font-size: 13px;
  padding-top: 3px;
}
.contact-list a{ text-decoration: none; }
.contact-list a:hover{ text-decoration: underline; }

/* — Footer ———————————————————————————— */

footer{
  margin-top: clamp(64px, 9vw, 120px);
  padding: 40px var(--edge) 32px;
  border-top: 1px solid var(--hair);
}
footer .pill-row{
  margin-top: 28px;
}
footer p{
  margin: 28px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}

/* — Motion ———————————————————————————— */

.rise{
  animation: rise .9s var(--settle) both;
  animation-delay: calc(var(--i, 0) * 80ms + 60ms);
}
@keyframes rise{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .rise{ animation: none; }
  .button{ transition: none; }
}

/* — Phone ————————————————————————————— */

@media (max-width: 560px){
  .nav{ gap: 16px; }
  .nav-links{ gap: 16px; }
  .nav-links a{ font-size: 14px; }
  .nav .button{ height: 40px; padding: 0 16px; font-size: 14px; }
  .includes, .work-list{ grid-template-columns: 1fr; }
  .contact-list li{ gap: 16px; }
}
