/* DuoPet's website (the approved "v14 · Sitio web" boards): the app's look, cream and soft
   cushions, Quicksand, from a phone up to a desktop. */

@font-face {
  font-family: "Quicksand";
  src: url("/fonts/Quicksand-Variable.ttf") format("truetype");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #FFF4EA;
  --surface: #FFF7EF;
  --inset: #F6E6DA;
  --text: #5B3A2E;
  --soft: #86675A;
  --primary: #C2492F;
  --line: #EAD6C8;
  --raised: 6px 6px 14px rgba(209, 160, 128, .32), -6px -6px 14px rgba(255, 255, 255, .95);
  --card: 10px 10px 22px rgba(209, 160, 128, .3), -10px -10px 22px rgba(255, 255, 255, .95);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Quicksand", system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); }
a:hover { color: #3E261D; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
main { display: flex; flex-direction: column; gap: 40px; }
main > section > h2 { font-size: 28px; margin-bottom: 18px; }

.card { background: var(--surface); border-radius: 24px; box-shadow: var(--card); }

/* --- header ---------------------------------------------------------------------------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; text-decoration: none; }
.brand-face { width: 44px; height: 44px; border-radius: 50%; background: var(--surface); box-shadow: var(--raised);
  display: flex; align-items: center; justify-content: center; }
.brand-face svg { width: 32px; height: 28px; }
.nav-links { display: none; gap: 26px; }
.nav-links a { color: var(--soft); text-decoration: none; font-weight: 700; }
.lang { padding: 6px 12px; border-radius: 999px; background: var(--inset); font-size: 13px; color: var(--soft); text-decoration: none; }
.lang b { color: var(--text); }

/* --- hero ------------------------------------------------------------------------------ */
.hero { display: grid; gap: 22px; padding-top: 6px; }
.hero h1 { font-size: 36px; }
.lead { margin-top: 12px; font-size: 16px; color: var(--soft); }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.play img, .appstore img { display: block; height: 58px; width: auto; }
.duos { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 18px 0 0; }
.duos li { padding: 7px 14px; border-radius: 999px; background: var(--surface); box-shadow: var(--raised); font-size: 14px; font-weight: 700; }

/* The room with Firulais and Luna, like the app's home. */
.room { position: relative; height: 260px; border-radius: 32px; overflow: hidden; background: #FCE8DA; box-shadow: var(--card); }
.room-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: #EFD3BC; }
.room-rug { position: absolute; left: 50%; bottom: 8%; width: 250px; height: 46px; margin-left: -125px; border-radius: 50%; background: #F6C9BC; }
.room-bed { position: absolute; left: 18px; bottom: 12%; width: 120px; height: 34px; border-radius: 50%; background: #BFE6DC; }
.room-frame { position: absolute; left: 48px; top: 30px; width: 66px; height: 54px; border-radius: 10px; background: var(--surface);
  border: 6px solid #E2C2AF; display: flex; align-items: center; justify-content: center; color: #F08DB0; }
.room-frame svg { width: 26px; height: 26px; }
.room-plant { position: absolute; right: 24px; bottom: 28%; width: 46px; height: 54px; border-radius: 8px 8px 14px 14px; background: #E2997A; }
.room-plant::before { content: ""; position: absolute; left: -5px; bottom: 50px; width: 56px; height: 66px; border-radius: 40px 40px 10px 10px; background: #A7D7A8; }
.pets { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; align-items: flex-end; }
.pet svg { display: block; width: 100%; height: 100%; }
.pet.dog { width: 150px; height: 136px; }
.pet.cat { width: 140px; height: 136px; }
@keyframes dp-breathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.035); } }

/* --- features, steps, questions --------------------------------------------------------- */
.features, .steps { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
.feature, .step { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.feature h3, .step h3 { font-size: 17px; }
.feature p, .step p { margin-top: 3px; font-size: 14.5px; color: var(--soft); }
.feature-icon { width: 46px; height: 46px; border-radius: 15px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.feature-icon.food { background: #FFE3D8; }
.feature-icon.games { background: #E9F4D8; }
.feature-icon.wall { background: #FFF0C9; }
.feature-icon.calm { background: #E7DEFA; }
.step-n { width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #FFFFFF; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.faqs { display: grid; gap: 12px; }
.faq { padding: 16px 20px; }
.faq summary { cursor: pointer; font-size: 17px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--soft); }
.faq[open] summary::after { content: "–"; }
.faq p { margin-top: 8px; color: var(--soft); font-size: 15px; }
.free { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 22px 26px; border-radius: 28px; background: var(--inset); font-size: 16px; color: var(--soft); }
.free span { color: #F08DB0; font-size: 22px; }
.free b { color: var(--text); }

/* --- documents (privacy, terms, deleting the account) ----------------------------------- */
.doc { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.doc h1 { font-size: 32px; }
.updated { font-size: 13.5px; color: var(--soft); margin-top: -6px; }
.summary { font-size: 16px; }
.doc-section { padding: 18px 20px; }
.doc-section h2 { font-size: 18px; margin-bottom: 6px; }
.doc-section p { font-size: 15px; color: var(--soft); }
.doc-section p + p { margin-top: 8px; }
.doc-section p b { color: var(--text); }
.delete-steps { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.delete-steps li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.note { padding: 16px 20px; border-radius: 22px; background: var(--inset); font-size: 15px; }
.note p + p { margin-top: 6px; }

/* --- footer ---------------------------------------------------------------------------- */
.footer { margin-top: 48px; padding-top: 24px; padding-bottom: 32px; border-top: 1.5px solid var(--line); text-align: center; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 14px; font-weight: 700; }
.footer p { margin-top: 10px; font-size: 13px; color: var(--soft); }

/* --- wider screens ----------------------------------------------------------------------- */
@media (min-width: 720px) {
  .features, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .hero { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-top: 20px; }
  .hero h1 { font-size: 56px; }
  .lead { font-size: 19px; }
  .room { height: 400px; }
  .features { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  main { gap: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
