/* Tu Ropero — web corporativa */
:root {
  --bg: #faf7f2;
  --bg-alt: #f2ece2;
  --surface: #ffffff;
  --ink: #1f2a2e;
  --ink-soft: #55605f;
  --line: #e4dccf;
  --accent: #c8553d;
  --accent-dark: #a8432e;
  --sage: #5b8a72;
  --sky: #4a7fa8;
  --amber: #d39b2a;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(31, 42, 46, .08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.wrap.narrow { width: min(720px, 100% - 32px); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: .8em 1.5em; font: 600 1rem var(--font); text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--accent-dark); }
.btn-small { padding: .5em 1.1em; font-size: .95rem; }
.text-link { display: inline-block; margin-top: 1rem; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(250, 247, 242, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; font: 700 1.3rem var(--serif); color: var(--ink); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--accent-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--sage); }
.hero h1 { font-size: clamp(2.5rem, 5.5vw, 4.2rem); }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 168px; padding: .55em 1.2em; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; line-height: 1.15; }
.store small { font-weight: 400; font-size: .72rem; opacity: .8; }
.store.is-soon { background: transparent; color: var(--ink); border: 1.5px dashed var(--ink-soft); }

/* Móvil simulado */
.phone { justify-self: center; width: 300px; padding: 12px; background: #1f2a2e; border-radius: 44px; box-shadow: 0 30px 60px rgba(31, 42, 46, .25); transform: rotate(2deg); }
.phone-screen { background: var(--bg); border-radius: 34px; padding: 22px 14px 10px; font-size: 11px; line-height: 1.3; }
.app-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.app-title { font: 700 20px var(--serif); }
.avatars { display: flex; }
.av { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-style: normal; font-weight: 700; font-size: 11px; border: 2px solid var(--bg); margin-left: -6px; }
.av1 { background: var(--accent); } .av2 { background: var(--sky); } .av3 { background: var(--sage); }
.chips { display: flex; gap: 6px; margin-bottom: 10px; }
.chip { padding: 4px 9px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card { background: var(--surface); border-radius: 14px; padding: 6px 6px 8px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.card b { display: block; margin: 6px 2px 3px; font-size: 11.5px; }
.card small { display: block; margin: 3px 2px 0; color: var(--ink-soft); font-size: 9.5px; }
.ph { height: 70px; border-radius: 10px; display: grid; place-items: center; }
.ph svg { width: 44px; height: 44px; }
.t1 { background: #e8eef4; color: #8fb0cc; } .t2 { background: #f6e4df; color: #d98a76; } .t3 { background: #efe7da; color: #b89a6a; }
.t4 { background: #f1ecdf; color: #c9b58a; } .t5 { background: #e2ece6; color: #86ab96; } .t6 { background: #ece4ef; color: #a78db3; }
.st { display: inline-block; margin-left: 2px; padding: 1px 7px; border-radius: 99px; font-style: normal; font-weight: 600; font-size: 9.5px; }
.st.clean { background: #e0eee6; color: #2f6b4d; } .st.wash { background: #dfeaf5; color: #2c5f8a; }
.st.dry { background: #f8ecd2; color: #8a6210; } .st.worn { background: #ece8e3; color: #5c5650; }
.tabbar { display: flex; justify-content: space-around; align-items: center; margin-top: 12px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 9.5px; }
.tabbar .on { color: var(--accent); font-weight: 700; }
.tabbar .plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 18px; font-weight: 600; }

/* Secciones */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.7rem); text-align: center; }
.section-title.left { text-align: left; }
.section-sub { text-align: center; color: var(--ink-soft); font-size: 1.15rem; max-width: 36em; margin: 0 auto 3rem; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--ink-soft); margin: 0; font-size: 1rem; }
.f-icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; }
.f-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f1 { background: #f6e4df; color: var(--accent); } .f2 { background: #dfeaf5; color: var(--sky); }
.f3 { background: #f8ecd2; color: #b07f15; } .f4 { background: #e0eee6; color: var(--sage); }

.steps { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.steps li { position: relative; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 1.2rem var(--serif); margin-bottom: 16px; }
.steps h3 { font-size: 1.3rem; }
.steps p { color: var(--ink-soft); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split p { color: var(--ink-soft); font-size: 1.08rem; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.ticks li { position: relative; padding-left: 1.8em; margin-bottom: .55em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

.family { display: grid; gap: 14px; }
.fam-card { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow); }
.fam-card .av { width: 48px; height: 48px; font-size: 1.1rem; margin: 0; border: 0; }
.fam-card b { display: block; font-size: 1.1rem; }
.fam-card small { color: var(--ink-soft); }
.fam-card:nth-child(2) { margin-left: 32px; } .fam-card:nth-child(3) { margin-left: 64px; }

.season-box { background: var(--surface); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.sb-head { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 12px; }
.sb-head b { color: var(--accent); }
.sb-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.sb-row small { margin-left: auto; color: var(--ink-soft); }
.sb-row.done { color: var(--ink-soft); text-decoration: line-through; text-decoration-color: rgba(85, 96, 95, .5); }
.sb-row.done small { text-decoration: none; }
.ck { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line); font-size: 13px; color: #fff; flex: none; }
.sb-row.done .ck { background: var(--sage); border-color: var(--sage); }
.qr { display: flex; align-items: center; gap: 16px; margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--bg-alt); }
.qr svg { width: 64px; height: 64px; fill: var(--ink); background: #fff; padding: 4px; border-radius: 6px; flex: none; }
.qr small { color: var(--ink-soft); }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 24px; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.plan h3 { font-size: 1.4rem; }
.price { font: 700 2.6rem var(--serif); margin: .2em 0 .6em; }
.price small { font: 400 1rem var(--font); color: var(--ink-soft); }
.plan-pro { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan-pro .ticks li::before { background-color: var(--accent); }
.tag { position: absolute; top: -13px; left: 32px; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 22px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 6px; }

.cta { background: var(--ink); color: #fff; }
.cta .section-sub { color: rgba(255, 255, 255, .75); margin-bottom: 2rem; }
.signup { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.signup input[type=email] { flex: 1 1 260px; max-width: 380px; padding: .8em 1.2em; border-radius: 999px; border: 0; font: 1rem var(--font); }
.signup .fine { flex-basis: 100%; text-align: center; font-size: .85rem; color: rgba(255, 255, 255, .65); margin: .4rem 0 0; }
.signup .fine a { color: #fff; }

.notice { padding: 14px 18px; border-radius: 12px; text-align: center; font-weight: 600; }
.notice.ok { background: #e0eee6; color: #2f6b4d; }
.notice.err { background: #f6e4df; color: var(--accent-dark); }

/* Páginas interiores */
.page { padding: 64px 0 88px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page h2 { font-size: 1.4rem; margin-top: 2em; font-family: var(--font); }
.page p, .page li { color: #3a4547; }
.page .updated { color: var(--ink-soft); font-size: .95rem; }
.data-table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .97rem; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { width: 34%; color: var(--ink-soft); font-weight: 600; }

.contact-form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-top: 1.5rem; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: .75em 1em; border: 1px solid var(--line); border-radius: 10px; font: 1rem var(--font); background: var(--bg); color: var(--ink); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.contact-form .check input { width: auto; margin-top: .3em; }

/* Pie */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 48px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand p { color: var(--ink-soft); margin: .6rem 0 0; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: var(--ink); text-decoration: none; }
.footer-nav a:hover { color: var(--accent-dark); }
.footer-legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--ink-soft); }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .phone { transform: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
  .nav-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero { padding: 40px 0 64px; }
  .section { padding: 64px 0; }
  .features, .steps, .plans { grid-template-columns: 1fr; }
  .fam-card:nth-child(n) { margin-left: 0; }
  .phone { width: 272px; }
  .data-table th { width: 40%; }
}

/* Banner de cookies */
[hidden] { display: none !important; }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 50px rgba(31, 42, 46, .22); padding: 22px 24px; font-size: .95rem; }
.cookie-title { font: 700 1.15rem var(--serif); margin-bottom: .4em; }
.cookie-main p:last-child { color: var(--ink-soft); margin-bottom: 0; }
.cookie-prefs { margin-top: 16px; display: grid; gap: 10px; }
.cookie-opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); cursor: pointer; }
.cookie-opt input { margin-top: .3em; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.cookie-opt span { color: var(--ink-soft); }
.cookie-opt b { color: var(--ink); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.btn-cookie { flex: 0 1 auto; min-width: 128px; padding: .7em 1.3em; border-radius: 999px; font: 600 .95rem var(--font); cursor: pointer; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); }
.btn-cookie:hover { background: var(--bg-alt); }
.btn-cookie[data-cookie="reject"], .btn-cookie.primary { background: var(--ink); color: #fff; }
.btn-cookie[data-cookie="reject"]:hover, .btn-cookie.primary:hover { background: #33424a; }
@media (max-width: 560px) {
  .cookie-banner { left: 8px; right: 8px; bottom: 8px; padding: 18px; }
  .btn-cookie { flex: 1 1 40%; min-width: 0; }
}
