/* COBO Pharmacy · website concept (Marketing Lions)
   Brand: logo blue #054e94 and coral #f4745b sampled from their logo file;
   teal #43d5cb from their current site. Type: Poppins (headings, their
   current brand font) + Atkinson Hyperlegible Next (body, built for low vision). */

@font-face { font-family: "Atkinson Next"; src: url("assets/fonts/atkinson-next.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blue: #054e94;
  --blue-700: #043f78;
  --blue-900: #062a50;
  --blue-50: #eef4fb;
  --coral: #f4745b;
  --coral-text: #b9442d;
  --coral-50: #fff3ef;
  --teal: #43d5cb;
  --teal-100: #d5f5f1;
  --teal-50: #effbf9;
  --ink: #172036;
  --muted: #4f5874;
  --line: #e2e6ef;
  --soft: #f5f7fb;
  --white: #fff;
  --wa: #0b7a5a;
  --wa-700: #08664b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(6, 42, 80, .06), 0 10px 30px rgba(6, 42, 80, .08);
  --shadow-lg: 0 2px 6px rgba(6, 42, 80, .06), 0 24px 60px rgba(6, 42, 80, .14);
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Atkinson Next", system-ui, sans-serif;
  --gradient-gold: linear-gradient(135deg, #6e5418 0%, #a07f33 14%, #c9a253 30%, #f0d488 46%, #fbe7a3 50%, #f0d488 54%, #c9a253 70%, #a07f33 86%, #6e5418 100%);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
/* A <picture> set to display: contents would make its <source> a grid cell */
source { display: none; }
a { color: var(--blue); text-underline-offset: .18em; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; color: var(--blue-900); margin: 0 0 .5em; }
h1 { font-size: clamp(2.05rem, 4.4vw, 3.4rem); font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-900); outline-offset: 3px; border-radius: 6px; }
.topbar :focus-visible, .footer :focus-visible, .cta-card :focus-visible, .medsearch :focus-visible { outline-color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--blue-900); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Phone numbers in Poppins: Atkinson's slashed zero reads like "Ø" in phone numbers */
.num { font-family: var(--font-head); font-weight: 600; letter-spacing: .01em; white-space: nowrap; }

/* The logo's thin rule, reused as the section mark */
.rule { display: block; width: 44px; height: 3px; border-radius: 3px; background: var(--coral); margin: 0 0 18px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--soft { background: var(--soft); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.125rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 1.4em; border-radius: 999px; border: 2px solid transparent; font-family: var(--font-body); font-weight: 700; font-size: 1.0625rem; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(11, 122, 90, .25); }
.btn--wa:hover { background: var(--wa-700); color: #fff; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); color: #fff; }
.btn--ghost { background: #fff; color: var(--blue); border-color: #c9d6ea; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-700); }
.btn--light { background: #fff; color: var(--blue-900); }
.btn--light:hover { background: var(--teal-50); color: var(--blue-900); }
.btn--sm { min-height: 44px; padding: 0 1.1em; font-size: 1rem; }
.btn--sm.btn--wa { box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.topbar { background: var(--blue-900); color: #dce7f5; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__items { display: flex; gap: 22px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar .ic { color: var(--teal); }
/* Solid white, no backdrop blur: the blur was invisible behind a 96% white header and slowed the first paint on phones without a GPU */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; flex: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 10px 14px; border-radius: 999px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--blue-50); color: var(--blue); }
.header__cta { flex: none; }
.header__wa { display: none; }
.menu-btn { display: none; align-items: center; gap: 8px; margin-left: auto; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--blue-900); font: 700 1rem var(--font-body); cursor: pointer; }
.mobile-nav { display: none; }
/* Language switch (on their own domain, where the English pages are): the top bar on wide screens,
   the header below 1200px and the menu */
.topbar__lang { display: inline-flex; align-items: center; gap: 8px; padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, .22); }
.lang-btn, .mobile-nav__lang { display: none; }

/* Up to 1299px the six menu items get tighter padding so the header keeps its side margins */
@media (max-width: 1299px) {
  .header .wrap { gap: 20px; }
  .nav { gap: 0; }
  .nav a { padding: 10px 10px; }
}

/* Six menu items need the full width, so the menu button takes over below 1200px */
@media (max-width: 1199px) {
  .topbar { display: none; }
  .nav, .header__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .header .wrap { min-height: 66px; gap: 12px; }
  .brand img { height: 44px; }
  .header__wa { display: inline-flex; margin-left: auto; }
  .header__wa + .menu-btn { margin-left: 0; }
  .lang-btn { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue-900); font: 700 .95rem var(--font-head); text-decoration: none; }
  .lang-btn:hover { border-color: var(--blue); color: var(--blue); }
  .lang-btn + .header__wa { margin-left: 0; }
  .mobile-nav a.mobile-nav__lang { display: flex; align-items: center; gap: 10px; }
  .mobile-nav { position: fixed; inset: 66px 0 0; z-index: 49; background: #fff; padding: 20px var(--gutter) 120px; overflow-y: auto; }
  .mobile-nav.is-open { display: block; }
  .mobile-nav a:not(.btn) { display: block; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--blue-900); text-decoration: none; font: 600 1.2rem var(--font-head); }
  .mobile-nav .btn { margin-top: 24px; width: 100%; }
}

/* Hero */
/* Hero: the copy on the left, their pharmacy photo filling the right side to the edge (no text over the photo) */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--teal-50) 100%); }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; left: -320px; top: -340px; background: radial-gradient(closest-side, rgba(67, 213, 203, .22), rgba(67, 213, 203, 0)); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 520px; height: 520px; left: -260px; bottom: -280px; background: radial-gradient(closest-side, rgba(244, 116, 91, .14), rgba(244, 116, 91, 0)); pointer-events: none; }
.hero .wrap { display: flex; flex-direction: column; justify-content: center; min-height: 600px; padding-top: clamp(24px, 2.4vw, 36px); padding-bottom: clamp(48px, 5vw, 72px); }
.hero__copy { position: relative; z-index: 2; max-width: min(600px, calc(56vw - 72px)); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid #cdeee9; color: var(--blue-900); font-weight: 700; font-size: .95rem; margin-bottom: 22px; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.hero h1 { font-size: clamp(2.1rem, 3.3vw, 3rem); margin-bottom: .45em; }
.hero__lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 30em; margin-bottom: 28px; }
.hero__media { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 44vw; }
.hero__photo { height: 100%; border-radius: 0 0 0 56px; overflow: hidden; background: var(--teal-100); }
.hero__photo picture { display: contents; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }

/* Below 960px the photo becomes an edge-to-edge strip above the copy */
@media (max-width: 959px) {
  .hero .wrap { min-height: 0; padding-top: 0; justify-content: flex-start; }
  .hero__copy { max-width: 640px; }
  .hero__media { position: relative; width: auto; order: -1; margin: 0 calc(-1 * var(--gutter)) 28px; }
  .hero__photo { height: auto; aspect-ratio: 2.6 / 1; border-radius: 0; }
  .hero__photo img { object-position: 50% 30%; }
}

/* Search */
.search { position: relative; max-width: 600px; margin-bottom: 18px; }
.search label { display: block; font: 700 1.05rem var(--font-head); color: var(--blue-900); margin-bottom: 10px; }
.search__box { display: flex; align-items: center; gap: 6px; background: #fff; border: 2px solid #cfd8e6; border-radius: 999px; padding: 5px 5px 5px 18px; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.search__box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(5, 78, 148, .12), var(--shadow); }
.search__box > .ic { color: var(--muted); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: 400 1.0625rem var(--font-body); color: var(--ink); padding: 10px 6px; }
.search input::placeholder { color: #6c7590; }
.search__results { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; display: none; max-height: 440px; overflow-y: auto; }
.search__results.is-open { display: block; }
.suggest { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; }
.suggest:hover { background: var(--soft); }
.suggest__img { width: 48px; height: 48px; object-fit: contain; flex: none; border-radius: 8px; background: #fff; }
.suggest__img--ph { display: grid; place-items: center; background: var(--soft); }
.suggest__img--ph .ic { width: 22px; height: 22px; color: var(--blue); opacity: .45; }
.suggest__text { flex: 1; min-width: 0; }
.suggest__name { font-weight: 700; color: var(--blue-900); font-size: .98rem; line-height: 1.3; overflow-wrap: anywhere; }
.suggest__meta { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.suggest__empty { padding: 12px; color: var(--muted); }
.suggest__empty p { margin-bottom: 12px; }
.suggest__all { display: block; text-align: center; padding: 12px; font-weight: 700; border-top: 1px solid var(--line); margin-top: 6px; }
.search--catalog { max-width: 640px; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; }
.chips__label { color: var(--muted); font-size: .95rem; margin-right: 2px; }
/* For people who can't spell the name on their prescription */
.hero__formula { display: flex; gap: 8px; align-items: center; margin: -4px 0 0; color: var(--muted); font-size: .98rem; }
.hero__formula .ic { color: var(--wa); }
.hero__formula a { font-weight: 700; color: var(--wa-700); }
/* Times: Atkinson's slashed zero made 8:00 read like a typo */
.time { font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--blue-900); font: 600 .98rem var(--font-body); cursor: pointer; text-decoration: none; transition: border-color .2s, background-color .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip__count { opacity: .7; font-weight: 400; }

/* Trust strip */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust ul { list-style: none; margin: 0; padding: 26px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust li { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--blue-900); }
.trust__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--teal-50); color: var(--blue); flex: none; }

/* How to buy + chat illustration */
.how { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.step { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.step__num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; font: 700 1.05rem var(--font-head); flex: none; }
.step h3 { margin-bottom: .2em; font-size: 1.15rem; }
.step p { color: var(--muted); margin: 0; }
.steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
.steps-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 18px; }
.steps-cta p { margin: 0; color: var(--muted); max-width: 26em; font-size: .98rem; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); max-width: 40em; margin: 0; }
.consent .ic { color: var(--blue); margin-top: 3px; }
/* WhatsApp on an iPhone: an image rendered from tools/chat.html */
.chat { display: flex; justify-content: center; }
.chat img { width: 335px; filter: drop-shadow(0 24px 30px rgba(6, 42, 80, .16)); }

/* Product lines with images */
.lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.line { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s; }
.line:hover { box-shadow: var(--shadow); }
.line picture { display: contents; }
.line img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.line__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.line__body p { color: var(--muted); }
.line__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; min-height: 44px; }
.line__link:hover { text-decoration: underline; }

/* Catalog explorer */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.tab { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 210px; padding: 14px 20px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: left; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.tab:hover { border-color: #b8c7dd; }
.tab[aria-pressed="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: var(--blue-50); }
.tab__name { font: 600 1.08rem var(--font-head); color: var(--blue-900); }
.tab__count { font-size: .92rem; color: var(--muted); }
.tab-desc { color: var(--muted); margin: 0 0 16px; max-width: 46em; }
.medsearch { border-radius: var(--radius); overflow: hidden; background: var(--blue-900) url("assets/img/band-estantes.jpg") center / cover no-repeat; background-image: image-set(url("assets/img/band-estantes.webp") type("image/webp"), url("assets/img/band-estantes.jpg") type("image/jpeg")); margin-bottom: 8px; }
.medsearch__inner { padding: clamp(28px, 5vw, 48px); background: linear-gradient(90deg, rgba(6, 42, 80, .92) 0%, rgba(6, 42, 80, .72) 60%, rgba(6, 42, 80, .45) 100%); color: #dbe6f4; }
.medsearch h3 { color: #fff; font-size: 1.5rem; }
.medsearch p { max-width: 34em; }
.explorer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 18px 0 16px; }
.explorer__status { color: var(--muted); font-size: .98rem; margin: 0; }
.explorer__clear { border: 0; background: none; color: var(--blue); font: 700 .98rem var(--font-body); cursor: pointer; text-decoration: underline; text-underline-offset: .18em; padding: 10px 4px; min-height: 44px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.prod { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; transition: box-shadow .2s, border-color .2s; }
.prod:hover { box-shadow: var(--shadow); border-color: #d3dbe8; }
.prod__img { height: 150px; display: grid; place-items: center; margin: -4px -4px 14px; border-radius: 10px; background: #fff; }
.prod__img img { max-height: 150px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
/* No photo on their site either: a quiet tile, like the product page */
.prod__img--ph { background: var(--soft); }
.prod__img--ph .ic { width: 44px; height: 44px; stroke-width: 1.3; color: var(--blue); opacity: .4; }
.prod__top { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tag { display: inline-flex; align-items: center; gap: 5px; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: .9rem; font-weight: 700; background: var(--teal-50); color: #0a5b55; }
.tag .ic { width: 1em; height: 1em; }
.tag--rx { background: var(--coral-50); color: var(--coral-text); }
.tag--cold { background: var(--blue-50); color: var(--blue); }
.prod__name { font: 600 1rem var(--font-head); color: var(--blue-900); line-height: 1.3; letter-spacing: .005em; margin-bottom: 4px; overflow-wrap: anywhere; }
.prod__name a { color: inherit; text-decoration: none; }
.prod__name a:hover { color: var(--blue); text-decoration: underline; }
.prod__meta { color: var(--muted); font-size: .95rem; margin-bottom: 6px; overflow-wrap: anywhere; }
.prod__reg { color: var(--muted); font-size: .88rem; margin-bottom: 14px; }
.prod__actions { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.more { display: flex; justify-content: center; margin-top: 26px; }
.empty { grid-column: 1 / -1; background: #fff; border: 1px dashed #c9d6ea; border-radius: var(--radius); padding: 24px; color: var(--muted); }
.empty p { margin-bottom: 14px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; margin-bottom: clamp(40px, 6vw, 64px); }
.about__photo { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.about__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 30% 50%; }
.about__copy p { color: var(--muted); font-size: 1.1rem; }
.about__copy .quote { margin: 26px 0 0; padding: 20px 22px; border-left: 3px solid var(--coral); background: var(--coral-50); border-radius: 0 14px 14px 0; font: 600 1.2rem/1.4 var(--font-head); color: var(--blue-900); }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.value img { width: 64px; height: 64px; margin-bottom: 14px; }
.value h3 { font-size: 1.12rem; margin-bottom: .3em; }
.value p { color: var(--muted); font-size: 1rem; margin: 0; }

/* Instagram */
.ig-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.ig-head h2 { margin: 0; }
.ig { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ig a { display: block; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.ig img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 20%; transition: transform .3s; }
.ig a:hover img { transform: scale(1.03); }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; list-style: none; font: 600 1.15rem var(--font-head); color: var(--blue-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .25s; color: var(--blue); }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { padding: 0 4px 22px; margin: 0; color: var(--muted); max-width: 46em; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.info { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info li { display: flex; gap: 14px; align-items: flex-start; }
.info .ic { color: var(--blue); margin-top: 3px; }
.info strong { display: block; color: var(--blue-900); }
.info span, .info a { color: var(--muted); }
.info a { font-weight: 700; color: var(--blue); }
.cta-card { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-900) 100%); color: #e3ecf7; border: 0; display: flex; flex-direction: column; }
.cta-card h3 { color: #fff; font-size: 1.5rem; }
.cta-card p { color: #d7e3f2; }
.cta-card .btn-row { margin-top: auto; }
.ticks { list-style: none; margin: 4px 0 28px; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.ticks .ic { color: var(--teal); }

/* Footer */
.footer { background: var(--blue-900); color: #c3d2e6; padding: 64px 0 28px; font-size: .98rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__brand img { height: 56px; width: auto; margin-bottom: 16px; }
.footer__h { font: 600 1rem var(--font-head); color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.social a:hover { background: rgba(255, 255, 255, .2); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; font-size: .9rem; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__note { font-size: .88rem; color: #9fb3cd; margin: 16px 0 0; max-width: 60em; }
.plaque { text-align: center; font-size: .88rem; text-transform: uppercase; letter-spacing: .24em; word-spacing: .5em; line-height: 1; margin: 30px 0 0; }
.plaque span { color: #9a9a9a; opacity: .55; font-weight: 500; }
.ml-plaque-beacon { font-weight: 600; background-image: var(--gradient-gold); background-size: 280% 100%; background-position: 35% 50%; -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; animation: ml-plaque-shimmer 9s ease-in-out infinite; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .5)) drop-shadow(0 0 10px rgba(240, 212, 136, .22)); transition: filter .5s ease; }
.ml-plaque-beacon:hover { filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .5)) drop-shadow(0 0 18px rgba(251, 231, 163, .55)); text-decoration: none !important; }
@keyframes ml-plaque-shimmer { 0% { background-position: 15% 50%; } 50% { background-position: 85% 50%; } 100% { background-position: 15% 50%; } }

/* Phone action bar */
.actionbar { display: none; }

/* Product page */
.crumbs { padding: 22px 0 0; font-size: .95rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: #9aa3b8; }
.crumbs a { color: var(--muted); }
.product { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding: 28px 0 clamp(56px, 8vw, 96px); }
.product__media { background: linear-gradient(160deg, var(--teal-50), #fff 75%); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 48px); position: sticky; top: 110px; margin: 0; }
.product__media img { margin: 0 auto; max-height: 420px; width: auto; mix-blend-mode: multiply; }
.product__media figcaption { text-align: center; color: var(--muted); font-size: .88rem; margin-top: 18px; }
.product__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.product h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: .1em; }
.product__active { font: 600 1.3rem var(--font-head); color: var(--coral-text); margin-bottom: 26px; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 0 0 28px; border-top: 1px solid var(--line); }
.specs dt, .specs dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.specs dt { color: var(--muted); padding-right: 28px; }
.specs dd { font-weight: 700; color: var(--blue-900); }
.specs dd a { font-weight: 400; font-size: .92rem; margin-left: 6px; }
.quote-box { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.quote-box h2 { font-size: 1.3rem; margin-bottom: .3em; }
.quote-box p { color: var(--muted); }
.quote-box .btn-row { margin-top: 6px; }
.quote-box .consent { margin-top: 16px; }
.fine { font-size: .92rem; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.fine .ic { margin-top: 3px; color: var(--blue); }
.another { max-width: 640px; }
.product__media picture, .prod__img picture { display: contents; }
/* Products without a photo */
.product__ph { display: grid; place-items: center; align-content: center; gap: 12px; min-height: 280px; text-align: center; }
.product__ph .ic { width: 64px; height: 64px; stroke-width: 1.2; color: var(--blue); opacity: .45; }
.product__ph span { font: 600 1.3rem var(--font-head); color: var(--blue-900); }


.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.section-head--row h2 { margin: 0; }
.how__more, .faq__more { margin-top: 18px; }

/* Partner brands: their own "marcas aliadas", calm in gray until hovered */
.brands__group { margin-bottom: 28px; }
.brands__h { font: 600 1rem var(--font-head); color: var(--muted); margin-bottom: 14px; }
.brands__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.brands__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.brand-tile { display: grid; place-items: center; min-height: 104px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.brand-tile img { width: auto; max-width: 100%; max-height: var(--h, 40px); }
.brands__note { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }



/* Reveal motion (restrained) */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.is-static *, .is-static *::before, .is-static *::after { transition: none !important; animation: none !important; }
.is-static [data-reveal] { opacity: 1 !important; transform: none !important; }
html.is-static { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* Tablet */
@media (max-width: 1023px) {
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: minmax(0, 1fr); }
  .chat img { width: 300px; }
  .steps--row { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .lines { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
  .line { flex-direction: row; }
  .line img { width: 42%; aspect-ratio: auto; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ig { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .product__media { position: static; }
}

/* Phone */
@media (max-width: 767px) {
  body { font-size: 1.0625rem; padding-bottom: 76px; }
  .header__wa { display: none; }
  .menu-btn, .header__wa + .menu-btn { margin-left: auto; }
  .lang-btn ~ .menu-btn { margin-left: 0; }
  .is-static body { padding-bottom: 0; }
  .is-static .actionbar { position: static; box-shadow: none; }
  .hero .wrap { padding-bottom: 48px; }
  .hero__media { margin-bottom: 14px; }
  .hero__photo { aspect-ratio: 2.7 / 1; }
  .hero h1 { font-size: 1.8rem; }
  .hero__lede { font-size: 1rem; line-height: 1.45; margin-bottom: 16px; }
  .pill { margin-bottom: 16px; font-size: .9rem; }
  .trust ul { gap: 16px 12px; padding: 22px 0; }
  .trust li { font-size: .95rem; gap: 10px; }
  .trust__ic { width: 42px; height: 42px; }
  .step { padding: 16px 18px; gap: 14px; }
  .chat { display: none; }
  .steps-cta .btn { flex: 1 1 100%; }
  .search__box { padding-left: 16px; }
  .search__box > .ic { display: none; }
  /* 16px keeps iOS from zooming on focus and fits the whole hint beside the button */
  .search input { font-size: 1rem; padding: 10px 2px; }
  .line { flex-direction: column; }
  .line img { width: 100%; aspect-ratio: 2 / 1; }
  .tabs { gap: 8px; }
  .tab { min-width: 0; flex: 1 1 100%; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 16px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .grid, .grid--4 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  /* Phone cards: one compact row. The whole card opens the product page; Cotizar stays one tap away */
  .prod { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 2px; align-items: start; padding: 12px; }
  .prod .prod__img { grid-column: 1; grid-row: 1 / span 4; width: 72px; height: 72px; margin: 0; }
  .prod .prod__img img { max-height: 72px; }
  .prod__img--ph .ic { width: 28px; height: 28px; }
  .prod > :not(.prod__img) { grid-column: 2 / -1; }
  .prod .prod__top { margin-bottom: 4px; }
  .prod .tag { min-height: 24px; padding: 0 8px; font-size: .8rem; }
  .prod__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 2px; }
  .prod__name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-sm); }
  .prod > .prod__meta, .prod > .prod__reg { grid-column: 2; margin-bottom: 0; font-size: .9rem; }
  .prod > .prod__actions { grid-column: 3; grid-row: 3 / span 2; align-self: end; padding: 0; position: relative; z-index: 1; }
  .prod__actions .btn--ghost { display: none; }
  .prod__actions .btn--wa { min-height: 40px; padding: 0 14px; font-size: .95rem; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .value { padding: 18px 16px; }
  .value img { width: 52px; height: 52px; margin-bottom: 10px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .footer__brand, .footer__grid > div:last-child { grid-column: 1 / -1; }
  /* Their product photos are 360 px: on phones they show smaller, so they stay sharp and the name comes up sooner */
  .product__media { padding: 20px; }
  .product__media img { max-height: 200px; }
  .product__ph { min-height: 160px; }
  .specs { grid-template-columns: minmax(0, 1fr); }
  .specs dt { padding-bottom: 0; border-bottom: 0; }
  .specs dd { padding-top: 2px; }
  .quote-box .btn { flex: 1 1 100%; }
  .actionbar { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(6, 42, 80, .08); }
  .actionbar .btn { min-height: 50px; width: 100%; padding: 0 .8em; }
}

/* Brands on tablets and phones */
@media (max-width: 1023px) {
  .brands__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .brands__grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .brands__grid, .brands__grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .brand-tile { min-height: 84px; padding: 14px 16px; }
  .brand-tile img { max-height: calc(var(--h, 40px) * .75); }
}
