/* Dialógicas — Option A refined: the PDF's colourful, soft charm with a compact professional finish. */
:root {
  /* Editor-controlled (A-namespaced) values; defaults = approved design */
  --a-cream: #FBF3DC; --a-pink: #FAB1FA; --a-magenta: #C40FDB; --a-turq: #1BB3CF; --a-sun: #FCCF48; --a-ink: #2A1E2E;
  --font-round: "Baloo 2", "Trebuchet MS", system-ui, sans-serif; --font-soft: "Nunito", system-ui, sans-serif; --font-classic: Georgia, "Times New Roman", serif;
  --a-font-head: var(--font-round); --a-text-size: 17px; --a-radius: 28px; --a-space-scale: 1;
  --cream: var(--a-cream);
  --cream-2: #F6E8C0;
  --white: #FFFFFF;
  --pink: var(--a-pink);
  --pink-tint: #FDE8FC;
  --magenta: var(--a-magenta);
  --magenta-ink: #9D0AB0;      /* magenta for small text (≥4.5:1 on cream/white) */
  --turq: var(--a-turq);
  --turq-tint: #DFF6FA;
  --turq-ink: #087B90;
  --sun: var(--a-sun);
  --sun-tint: #FFF2CC;
  --ink: var(--a-ink);
  --ink-2: #5B4B5E;
  --line: #EADBB2;
  --r-lg: var(--a-radius);
  --r-md: 20px;
  --section: calc(44px * var(--a-space-scale));
  --f-head: var(--a-font-head);
  --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (min-width: 860px) { :root { --section: calc(72px * var(--a-space-scale)); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 var(--a-text-size)/1.6 var(--f-body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p, ul, figure { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-head); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; }
strong { font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 10px; }
:focus-visible { outline: 3px solid var(--turq-ink); outline-offset: 3px; border-radius: 8px; }
a, button, input, textarea, summary { touch-action: manipulation; }
.shell { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section__head { display: grid; gap: 6px; margin-bottom: 24px; }
.section__head p { color: var(--ink-2); }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); color: var(--magenta); }
.h3 { font-size: 1.28rem; color: var(--ink); }
.eyebrow { font: 700 .82rem/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--turq-ink); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; border-radius: 999px; border: 2px solid transparent; font: 700 1rem var(--f-body); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--magenta); color: #fff; }
.btn--primary:hover { background: var(--magenta-ink); }
.btn--soft { background: var(--white); color: var(--magenta-ink); border-color: var(--pink); }
.btn--soft:hover { border-color: var(--magenta); }
.btn--small { min-height: 44px; padding: 8px 16px; font-size: .92rem; background: var(--turq-tint); color: var(--turq-ink); border-color: #BDEAF2; }
.btn--small:hover { border-color: var(--turq); }

/* Header */
.topbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--cream) 94%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow .2s; }
.topbar.is-scrolled { box-shadow: 0 6px 20px -14px rgba(90, 20, 100, .45); }
.topbar__row { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.brand__symbol { width: 40px; height: auto; }
.brand__symbol[src*="/logos/"] { width: auto; height: 44px; max-width: 160px; object-fit: contain; }
.brand:has(.brand__symbol[src*="/logos/"]) .brand__word { display: none; }
.brand--footer .brand__symbol[src*="/logos/"] { height: 56px; padding: 4px 10px; background: var(--cream); border-radius: 12px; }
.brand__word { font: 800 1.4rem/1 var(--f-head); color: var(--magenta); letter-spacing: -.01em; padding-top: 3px; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a { text-decoration: none; font-weight: 700; font-size: .95rem; padding: 10px 12px; border-radius: 999px; color: var(--ink); }
.menu a:hover { background: var(--white); color: var(--magenta-ink); }
.menu .menu__cta { background: var(--magenta); color: #fff; margin-left: 4px; }
.menu .menu__cta:hover { background: var(--magenta-ink); color: #fff; }
.lang { display: inline-flex; background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; padding: 2px; }
.lang a { display: grid; place-items: center; min-width: 40px; min-height: 40px; padding: 0 6px; border-radius: 999px; font: 800 .85rem var(--f-body); color: var(--ink-2); text-decoration: none; }
.lang a[aria-current="true"] { background: var(--turq-ink); color: #fff; }
.lang a:not([aria-current]):hover { color: var(--magenta-ink); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--magenta); cursor: pointer; flex: none; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 18px; height: 2px; margin: 0 auto; background: #fff; border-radius: 2px; position: relative; transition: transform .2s; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; } .menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero — compact */
.hero { padding: 24px 0 var(--section); background:
  radial-gradient(circle at 92% 8%, color-mix(in srgb, var(--sun) 45%, transparent) 0 70px, transparent 71px),
  radial-gradient(circle at 4% 96%, color-mix(in srgb, var(--pink) 55%, transparent) 0 90px, transparent 91px), var(--cream); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.hero__copy { display: grid; gap: 14px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); color: var(--magenta); text-wrap: balance; }
.hero__lead { font-size: 1.1rem; color: var(--ink); max-width: 36ch; }
.hero__copy .actions { margin-top: 6px; }
.hero__art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 42% 58% 46% 54% / 38% 40% 60% 62%; }

/* About */
.about { background: var(--white); }
.about__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.about__text { display: grid; gap: 12px; max-width: 62ch; }
.lead { font-size: 1.15rem; }
.lead strong { color: var(--turq-ink); }
.values { list-style: none; padding: 0; display: grid; gap: 10px; }
.value { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 999px 22px 22px 999px; font: 700 1.1rem/1.25 var(--f-head); }
.value__dot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.value--pink { background: var(--pink-tint); } .value--pink .value__dot { background: var(--magenta); }
.value--turq { background: var(--turq-tint); } .value--turq .value__dot { background: var(--turq); }
.value--sun { background: var(--sun-tint); } .value--sun .value__dot { background: #E0A800; }

/* Team */
.team { background: var(--cream); }
.team .h2 { margin-bottom: 24px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.person { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: start; padding: 20px; background: var(--white); border-radius: var(--r-lg); }
.person__photo { width: 112px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 56px 56px 22px 22px; }
.person__body { display: grid; gap: 8px; }
.person__role { font-weight: 700; color: var(--turq-ink); font-size: .95rem; }

/* Expanders */
.more { border-top: 1.5px dashed var(--line); padding-top: 8px; }
.more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; color: var(--magenta-ink); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--pink-tint); font-weight: 800; }
.more[open] summary::after { content: "–"; }
.more p { margin-top: 8px; color: var(--ink-2); }

/* What we do — compact cards */
.doing { background: var(--pink); }
.doing .h2 { color: var(--magenta-ink); }
.doing .section__head p { color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.card { background: var(--white); border-radius: var(--r-lg); overflow: hidden; }
.card__art { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { display: grid; gap: 8px; padding: 16px 18px 18px; }
.card--pink .h3 { color: var(--magenta-ink); } .card--turq .h3 { color: var(--turq-ink); } .card--sun .h3 { color: #8A5A00; }
.card p { font-size: 1rem; }

/* What we offer — soft turquoise box */
.offer { background: var(--cream); }
.offer__box { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 12px; padding: clamp(24px, 4vw, 44px); background: var(--turq-tint); border-radius: 36px 36px 36px 12px; }
.offer__box > * { max-width: min(68ch, calc(100% - 40px)); }
.offer__lead { font: 700 clamp(1.3rem, 2.4vw, 1.7rem)/1.25 var(--f-head); color: var(--magenta-ink); }
.blob { position: absolute; z-index: -1; border-radius: 50%; }
.blob--a { width: 150px; height: 150px; right: -75px; top: -75px; background: color-mix(in srgb, var(--sun) 70%, transparent); }
.blob--b { width: 110px; height: 110px; right: 40px; bottom: -75px; background: color-mix(in srgb, var(--pink) 80%, transparent); }

/* Approach */
.method { background: var(--white); }
.method__art { margin-bottom: 16px; }
.method__art img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--r-lg); }
.method__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.panel { display: grid; gap: 10px; align-content: start; padding: 20px 22px; border-radius: var(--r-lg); }
.panel--turq { background: var(--turq-tint); } .panel--turq .h3 { color: var(--turq-ink); }
.panel--pink { background: var(--pink-tint); } .panel--pink .h3 { color: var(--magenta-ink); }
.panel__label { font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { background: var(--white); border-radius: 999px; padding: 5px 12px; font-size: .92rem; font-weight: 700; color: var(--turq-ink); }

/* Contact — lemons + form */
.contact { background: var(--cream); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.contact__art img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; object-position: 78% 50%; border-radius: var(--r-lg); }
.contact__panel { display: grid; gap: 12px; align-content: start; padding: clamp(20px, 3vw, 32px); background: var(--white); border-radius: var(--r-lg); }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.email { font: 700 1.25rem var(--f-head); color: var(--magenta-ink); overflow-wrap: anywhere; }
.copy-status { min-height: 1.2em; font-size: .92rem; color: var(--turq-ink); }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 4px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field textarea { width: 100%; font: 400 1rem var(--f-body); color: var(--ink); background: var(--cream); border: 2px solid var(--line); border-radius: 14px; padding: 11px 14px; transition: border-color .15s, background .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--turq-ink); background: #fff; }
.field [aria-invalid="true"] { border-color: #B3261E; background: #FFF6F5; }
.field__error { min-height: 0; font-size: .9rem; color: #B3261E; font-weight: 600; }
.field__error:empty { display: none; }
.form .btn { justify-self: start; }
.form__note { font-size: .9rem; color: var(--ink-2); }

/* Footer */
.footer { background: var(--ink); color: #F3E9F4; padding: 24px 0 calc(24px + env(safe-area-inset-bottom)); }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.brand--footer { margin-right: auto; }
.brand--footer .brand__word { color: #fff; }
.footer a { text-decoration: none; } .footer a:hover { text-decoration: underline; }
.footer__note { width: 100%; font-size: .85rem; color: #BFB0C2; }

/* Gentle entrance (only when JS enabled it and motion is allowed) */
.motion .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.motion .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Tablet */
@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .menu { position: absolute; top: calc(100% + 4px); left: 12px; right: 12px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px; background: var(--white); border-radius: 20px; box-shadow: 0 24px 44px -20px rgba(60, 10, 70, .45); }
  .menu.is-open { display: flex; }
  .menu a { padding: 12px 14px; font-size: 1.05rem; }
  .menu .menu__cta { margin: 4px 0 0; text-align: center; }
  .hero__grid, .about__grid, .contact__grid, .method__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 460px; }
  .contact__art img { min-height: 0; height: 200px; }
}
/* Phone */
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .brand__word { font-size: 1.25rem; }
  .brand__symbol { width: 34px; }
  .hero { padding-top: 16px; }
  .hero__lead { font-size: 1.04rem; }
  .actions .btn { flex: 1 1 auto; }
  .person { grid-template-columns: 84px 1fr; gap: 14px; padding: 16px; }
  .person__photo { width: 84px; border-radius: 42px 42px 16px 16px; }
  .method__art img { aspect-ratio: 16 / 9; }
  .blob--a { width: 110px; height: 110px; right: -60px; top: -60px; }
  .blob--b { display: none; }
  .form .btn { justify-self: stretch; }
}
@media (max-width: 360px) {
  .brand__word { display: none; }
}
