/* Ecobottle Pickup Inc — vista previa Vera. Colores del logo: verde #3E8132, negro, blanco. */
:root {
  --green: #3E8132; --green-h: #34702A; --green-ink: #2F6B26; --green-soft: #EEF5EC;
  --bg: #FFFFFF; --soft: #F6F7F5; --surface: #FFFFFF; --text: #151A16; --muted: #55605A; --line: #E2E6E1; --dark: #121814;
  --head: 'Archivo', system-ui, sans-serif; --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 10px; --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0F1411; --soft: #141B16; --surface: #18201B; --text: #E8EDE9; --muted: #A4AFA8; --line: #29332C; --green-ink: #7CC46A; --green-soft: #1B2A1D; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0F1411; --soft: #141B16; --surface: #18201B; --text: #E8EDE9; --muted: #A4AFA8; --line: #29332C; --green-ink: #7CC46A; --green-soft: #1B2A1D; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 800; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .6rem; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.005em; }
p { margin: 0 0 1rem; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.narrow { max-width: 780px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .6rem 1.15rem; border-radius: var(--r); border: 1.5px solid transparent; font: 600 1rem var(--body); text-decoration: none; cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease, transform 120ms ease; }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn-green { background: var(--green); color: #fff; }
@media (hover: hover) { .btn-green:hover { background: var(--green-h); } }
.btn-line { background: var(--surface); color: var(--text); border-color: var(--line); }
@media (hover: hover) { .btn-line:hover { border-color: var(--green); } }
.btn-lg { min-height: 54px; padding: .75rem 1.4rem; font-size: 1.05rem; }
.btn-sm { min-height: 42px; padding: .45rem .9rem; font-size: .95rem; }
.btn-block { width: 100%; }
.link { background: none; border: 0; color: var(--green-ink); font: 600 .95rem var(--body); text-decoration: underline; cursor: pointer; padding: .6rem 0; }

/* cabecera */
.top { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: flex; margin-right: auto; }
.wm { height: 44px; width: auto; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wm { background: #fff; border-radius: 8px; padding: 3px 6px; box-sizing: content-box; height: 38px; } }
:root[data-theme="dark"] .wm { background: #fff; border-radius: 8px; padding: 3px 6px; box-sizing: content-box; height: 38px; }
.nav { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 500; color: var(--muted); white-space: nowrap; padding: .25rem 0; }
@media (hover: hover) { .nav a:hover { color: var(--text); } }
.top-act { display: flex; align-items: center; gap: .5rem; }
.lang { display: flex; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lang button { border: 0; background: none; color: var(--muted); font: 600 .85rem var(--body); min-width: 40px; min-height: 40px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r); background: none; color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.menu-ico, .menu-ico::before, .menu-ico::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform 200ms var(--ease); }
.menu-ico::before, .menu-ico::after { content: ""; position: absolute; left: 0; } .menu-ico::before { top: -6px; } .menu-ico::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-ico { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-ico::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-ico::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1080px) { .hide-md { display: none; } }
@media (max-width: 900px) {
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: .25rem clamp(16px, 4vw, 32px) 1rem; box-shadow: 0 16px 24px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: transform 180ms var(--ease), opacity 150ms ease, visibility 0s linear 180ms; }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: transform 180ms var(--ease), opacity 150ms ease; }
  .nav a { font-size: 1.15rem; color: var(--text); padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 640px) { .hide-sm { display: none; } .top-in { gap: .75rem; min-height: 62px; } .wm { height: 38px; } }

/* portada */
.hero { padding: clamp(28px, 6vw, 64px) 0 0; }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.eyebrow { font-weight: 600; color: var(--green-ink); margin-bottom: .6rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.hero-img { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.trust { list-style: none; margin: clamp(28px, 5vw, 48px) 0 0; padding: 1.1rem 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
.trust svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--green-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; } .hero-img { order: -1; } .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .trust li { font-size: .88rem; } .hero-cta .btn { flex: 1 1 100%; } }

/* secciones */
.sec { padding: clamp(48px, 8vw, 88px) 0; }
.sec-soft { background: var(--soft); }
.sec h2 { margin-bottom: 1.6rem; }

/* servicios */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.svc img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 1.25rem; }
.svc-body p { color: var(--muted); }
.svc-body .btn { margin-top: auto; align-self: flex-start; }
.facts { margin: 0 0 1.1rem; display: grid; gap: .4rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .75rem; background: var(--green-soft); border-radius: 8px; }
.facts dt { color: var(--muted); font-size: .92rem; } .facts dd { margin: 0; font-weight: 700; font-size: .92rem; text-align: right; }

/* agendar */
.sched { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .sched { grid-template-columns: 1fr; } }
.sched-intro p { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .75rem; }
.steps li { display: flex; align-items: center; gap: .75rem; font-weight: 500; }
.steps b { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--green); color: #fff; font: 700 .95rem/1 var(--body); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(18px, 3vw, 28px); box-shadow: 0 1px 2px rgba(0,0,0,.04); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset + fieldset { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
legend { font: 700 1.1rem var(--head); padding: 0; margin-bottom: .9rem; }
.seg { display: flex; flex-wrap: wrap; gap: .5rem; }
.seg button { min-height: 46px; padding: .5rem 1rem; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: 500 .98rem var(--body); cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease; }
@media (hover: hover) { .seg button:hover { border-color: var(--green); } }
.seg button[aria-pressed="true"] { border-color: var(--green); background: var(--green-soft); color: var(--text); box-shadow: inset 0 0 0 1px var(--green); font-weight: 600; }
.seg-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg-3 button { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; min-height: 96px; padding: .9rem; text-align: left; }
.seg-3 svg { width: 26px; height: 26px; fill: none; stroke: var(--green-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 480px) { .seg-3 { grid-template-columns: 1fr; } .seg-3 button { flex-direction: row; align-items: center; min-height: 58px; } }
.fld { display: grid; gap: .35rem; margin-top: 1rem; font-weight: 600; font-size: .95rem; }
.fld small, .fld-l small { font-weight: 400; color: var(--muted); }
.fld-l { font-weight: 600; font-size: .95rem; margin: 1rem 0 .45rem; }
.fld input { width: 100%; min-height: 50px; padding: .65rem .85rem; border-radius: var(--r); border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: 400 1rem var(--body); }
.fld input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--green-soft); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.hint { color: var(--muted); font-size: .9rem; margin: .45rem 0 0; } .hint.center { text-align: center; margin-top: .75rem; }
.value { margin: .9rem 0 0; padding: .7rem .9rem; border-radius: 8px; background: var(--green-soft); }
.value b { font-size: 1.1rem; }
.err { min-height: 1.4em; margin: 1rem 0 .6rem; color: #B42318; font-weight: 600; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #FF8F80; } }
.sent h3 { font-size: 1.35rem; }
.sent p { color: var(--muted); }
.sent pre { white-space: pre-wrap; word-break: break-word; margin: 0 0 1rem; padding: .9rem 1rem; border-radius: 8px; background: var(--soft); border: 1px solid var(--line); font: 400 .92rem/1.5 var(--body); }
.row-btns { display: flex; flex-wrap: wrap; gap: .5rem; }

/* cómo funciona */
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.how li { padding: 1.4rem; border: 1px solid var(--line); border-radius: 14px; }
.how .n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft); color: var(--green-ink); font: 700 1rem/1 var(--body); margin-bottom: .8rem; }
.how p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } }

/* nosotros */
.about { display: grid; grid-template-columns: 1fr 280px; gap: clamp(24px, 5vw, 64px); align-items: center; }
.about > div > p:first-of-type { color: var(--muted); max-width: 40rem; }
.pillars { list-style: none; padding: 0; margin: 1.4rem 0 1.6rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pillars li { display: grid; gap: .2rem; padding-left: .9rem; border-left: 3px solid var(--green); }
.pillars span { color: var(--muted); font-size: .95rem; }
.about-logo { width: 100%; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about-logo { max-width: 200px; } .pillars { grid-template-columns: 1fr; } }

/* preguntas */
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; font-weight: 600; font-size: 1.05rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 10px; height: 10px; flex: none; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform 180ms var(--ease); }
details[open] summary::after { transform: rotate(225deg) translateY(-3px); }
details p { color: var(--muted); margin-top: -.2rem; }

/* contacto */
.sec-dark { background: var(--dark); color: #EEF2EF; }
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem; align-items: start; }
.muted-d { color: #AEB8B1; }
.ct-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.ct-list a { display: grid; gap: .15rem; padding: 1rem 1.1rem; border: 1px solid #2B362E; border-radius: 12px; text-decoration: none; transition: border-color 150ms ease; }
@media (hover: hover) { .ct-list a:hover { border-color: var(--green); } }
.ct-list span { color: #AEB8B1; font-size: .9rem; } .ct-list b { font-weight: 600; word-break: break-word; }
@media (max-width: 760px) { .contact, .ct-list { grid-template-columns: 1fr; } }

/* pie */
.foot { background: var(--dark); color: #AEB8B1; border-top: 1px solid #2B362E; padding: 28px 0 calc(28px + 72px); font-size: .92rem; }
@media (min-width: 901px) { .foot { padding-bottom: 28px; } }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; }
.foot p { margin: 0; } .foot a { color: #EEF2EF; }
.foot-brand .wm { background: #fff; border-radius: 8px; padding: 3px 6px; box-sizing: content-box; height: 34px; }
.foot-vera { width: 100%; font-size: .85rem; color: #7F8B83; }

/* barra de abajo (celular) */
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; gap: .5rem; padding: .6rem clamp(12px, 4vw, 24px) calc(.6rem + env(safe-area-inset-bottom)); background: var(--bg); border-top: 1px solid var(--line); transition: transform 220ms var(--ease); }
.mbar .btn { flex: 1; }
@media (max-width: 900px) { .mbar { display: flex; } body.in-form .mbar, body.cta-seen .mbar { transform: translateY(110%); } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
#bottlesBox > .fld:first-child, #loadBox > .fld-l:first-child { margin-top: 0; }

/* horario */
.hours { display: flex; align-items: center; gap: .5rem; margin: 1rem 0 0; color: var(--muted); font-weight: 500; font-size: .98rem; }
.hours svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--green-ink); stroke-width: 1.8; stroke-linecap: round; }
.hours-box { display: grid; gap: .15rem; margin: 1.2rem 0 0; padding: .85rem 1rem; border-radius: 10px; background: var(--green-soft); border-left: 3px solid var(--green); }
.hours-box span { color: var(--muted); }
.ct-hours { display: grid; gap: .15rem; margin: 1.2rem 0 0; } .ct-hours span { color: #AEB8B1; font-size: .9rem; } .ct-hours b { font-weight: 600; }
