/* Daniel Puia-Dumitrescu — mock site styles. Loaded after the kit; the look follows concept acasa-3 (bento). */

:root {
  /* spacing scale (details.md) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* palette measured on the business card and the chosen concept */
  --bg: #eef1f1;
  --white: #fff;
  --ink: #0f1e29;
  --text: #33434c;
  --muted: #5b6b73;
  --line: #dde4e6;
  --teal: #15626e;          /* buttons, "Hai să vorbim" card */
  --teal-deep: #0e5965;     /* footer */
  --teal-ink: #1f6b79;      /* teal text on light surfaces (6:1) */
  --brand: #347b8a;         /* logo colour from the card */
  --sky: #d9ecf0;           /* hero card */
  --sky-2: #e6f3f5;
  --mint: #e4f3f2;
  --sand: #f7f4ee;
  --icon-bg: #dcedf1;

  --r-card: 18px;
  --r-btn: 10px;
  --shadow-card: 0 1px 2px rgba(15, 30, 41, .04), 0 1px 0 rgba(15, 30, 41, .03);
  --shadow-lift: 0 10px 28px rgba(15, 30, 41, .10), 0 2px 6px rgba(15, 30, 41, .05);

  --font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;

  --wrap: 1280px;
  --gap: var(--s4);
  --hdr-h: 88px;
  --hdr-total: 134px;   /* header row + mobile CTA + hairline */

  /* kit tokens */
  --mk-accent: var(--teal);
  --mk-accent-ink: #fff;
  --mk-ink: var(--ink);
  --mk-muted: var(--muted);
  --mk-line: var(--line);
  --mk-font: var(--font);
  --mk-radius: var(--r-btn);
  --mk-success: #1e7a55;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--hdr-total) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
@media (min-width: 900px) { .wrap { width: min(var(--wrap), 100% - 64px); } }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-btn);
  font-weight: 600; box-shadow: var(--shadow-lift); transition: transform var(--mk-d2) var(--mk-ease-out); }
.skip:focus { transform: translateY(76px); }

.on-dark :focus-visible, .ftr :focus-visible { outline-color: #fff; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* "[de completat]" — visible on purpose: data the client still has to give */
.todo { display: inline-block; padding: 0 .45em; border: 1px dashed currentColor; border-radius: 6px; font-size: .88em; font-weight: 600;
  color: #8a5a00; background: #fff6e0; white-space: nowrap; line-height: 1.5; }
.on-dark .todo, .todo.on-dark { color: #ffe3a3; background: rgba(255, 227, 163, .12); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn);
  border: 1px solid transparent; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--mk-d1), color var(--mk-d1), border-color var(--mk-d1), box-shadow var(--mk-d1), transform var(--mk-d1) var(--mk-ease-std); }
.btn .ico { width: 20px; height: 20px; transition: transform var(--mk-d2) var(--mk-ease-out); }
.btn:active { transform: scale(.97); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-white { background: #fff; color: var(--teal); }
.btn-line { background: transparent; color: var(--teal); border-color: color-mix(in srgb, var(--teal) 55%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .ico { transform: translateX(3px); }
  .btn-teal:hover { background: var(--teal-deep); }
  .btn-white:hover { background: #eef7f8; }
  .btn-line:hover { background: color-mix(in srgb, var(--teal) 8%, transparent); border-color: var(--teal); }
}

.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--teal-ink); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-underline-offset: 4px; transition: text-decoration-color var(--mk-d1); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform var(--mk-d2) var(--mk-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { text-decoration-color: currentColor; }
  .link-arrow:hover .ico { transform: translateX(3px); }
}

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 1px solid var(--line); }
.hdr-row { display: flex; align-items: center; gap: var(--s5); height: var(--hdr-h); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; min-height: 44px; margin-right: auto; }
.brand img { width: 62px; height: auto; }
.brand-txt { display: grid; gap: 4px; }
.brand-name { font: 600 1.32rem/1.1 var(--serif); color: var(--ink); letter-spacing: -.005em; }
.brand-sub { font-size: .7rem; line-height: 1.35; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); font-weight: 500; max-width: 25ch; }
.nav { display: none; align-items: center; gap: var(--s1); }
.nav a, .nav button { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 0; background: none;
  text-decoration: none; font-weight: 500; color: var(--ink); cursor: pointer; border-radius: 8px; transition: color var(--mk-d1); }
.nav a::after, .nav button::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform var(--mk-d2) var(--mk-ease-out); }
.nav [aria-current="page"] { color: var(--teal-ink); }
.nav [aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover, .nav button:hover { color: var(--teal-ink); }
  .nav a:hover::after, .nav button:hover::after { transform: scaleX(1); }
}
.hdr-cta { display: none; }
.menu-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -8px; border: 0; background: none; border-radius: 12px; cursor: pointer; color: var(--ink); }
.menu-btn .ico { width: 26px; height: 26px; }
@media (min-width: 1000px) {
  :root { --hdr-total: 90px; }
  .nav, .hdr-cta { display: inline-flex; }
  .menu-btn, .hdr-mcta { display: none; }
}

/* ---------- page + cards ---------- */
.page { padding-block: var(--s6) var(--s7); display: grid; gap: var(--gap); }
.card { position: relative; background: var(--white); border-radius: var(--r-card); border: 1px solid #e6ebec; box-shadow: var(--shadow-card); }
.tick { display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--teal); }
.tick-light { background: rgba(255, 255, 255, .9); }

/* hero row */
.row-hero { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.hero { overflow: hidden; padding: var(--s6) var(--s5); background: linear-gradient(135deg, var(--sky) 0%, var(--sky-2) 100%); border-color: #d2e6ea;
  display: flex; flex-direction: column; justify-content: center; gap: var(--s5); min-height: 360px; }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 4.4vw, 4.75rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; max-width: 9.5ch; position: relative; z-index: 1; }
.hero h1 .t-teal { color: var(--teal-ink); }
.hero .lead { font-size: clamp(1.06rem, 1rem + .35vw, 1.3rem); line-height: 1.5; color: var(--text); max-width: 40ch; position: relative; z-index: 1; }
.hero-mark { position: absolute; right: 4%; top: 50%; width: min(30%, 240px); height: auto; opacity: .3; pointer-events: none; translate: 0 -40%; }

.person { padding: var(--s4); display: grid; gap: var(--s3); align-content: start; }
.person-photo { border-radius: 12px; overflow: hidden; aspect-ratio: 1 / .86; background: var(--sky); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 600ms var(--mk-ease-out); }
.person h2 { font-size: 1.5rem; letter-spacing: -.02em; margin-top: var(--s1); }
.person .role { color: var(--teal-ink); font-size: 1.05rem; font-weight: 500; }
.person .creds { color: var(--muted); font-size: .9rem; line-height: 1.45; }
@media (hover: hover) and (pointer: fine) { .person:hover .person-photo img { transform: scale(1.03); } }

/* bento row */
.row-bento { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.talk { background: linear-gradient(160deg, #1b6f7b 0%, var(--teal) 45%, #105a66 100%); border-color: var(--teal); color: #e8f4f6; padding: var(--s6) var(--s5); overflow: hidden; display: grid; gap: var(--s4); align-content: start; }
.talk h2 { color: #fff; font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 800; }
.talk > p { font-size: 1.15rem; line-height: 1.45; max-width: 22ch; }
.talk .btn-white { justify-self: stretch; margin-top: var(--s2); }
.talk-contact { display: grid; gap: var(--s1); margin-top: var(--s2); }
.talk-contact a { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; text-decoration: none; color: #fff; }
.talk-contact .tel { font-size: 1.35rem; font-weight: 600; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.talk-contact .mail { font-size: .98rem; overflow-wrap: anywhere; }
.talk-contact .ico { width: 24px; height: 24px; opacity: .9; }
@media (hover: hover) and (pointer: fine) { .talk-contact a:hover span { text-decoration: underline; text-underline-offset: 4px; } }
.talk hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .28); margin: var(--s2) 0 0; }
.mission { margin: 0; font: italic 400 1.08rem/1.55 var(--serif); color: #e3f1f3; max-width: 30ch; position: relative; z-index: 1; }
.talk-note { margin: 0; font-size: 1rem; line-height: 1.5; color: #d9eef1; max-width: 30ch; position: relative; z-index: 1; }
.mission-src { display: block; margin-top: var(--s2); font: 500 .85rem/1.4 var(--font); color: #b9dde3; font-style: normal; }
.sprig { position: absolute; right: -8px; bottom: -6px; width: 112px; color: #fff; opacity: .28; pointer-events: none; }

.svc { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--s3); padding: var(--s5); text-decoration: none; color: inherit;
  transition: transform var(--mk-d2) var(--mk-ease-out), box-shadow var(--mk-d2), border-color var(--mk-d1); }
.svc.sand { background: var(--sand); border-color: #ece7dd; }
.svc.mint { background: var(--mint); border-color: #d3eae8; }
.svc-ico { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--icon-bg); color: var(--teal); }
.svc.sand .svc-ico { background: #ebe8e0; }
.svc.mint .svc-ico { background: #d2ebe9; }
.svc-ico .ico { width: 52px; height: 52px; stroke-width: 1.3; }
.svc h3 { font-size: 1.6rem; letter-spacing: -.02em; }
.svc p { color: var(--text); font-size: 1.1rem; line-height: 1.5; max-width: 30ch; }
.arrow-dot { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--icon-bg); color: var(--teal); margin-top: var(--s2);
  transition: background-color var(--mk-d1), color var(--mk-d1); }
.svc.sand .arrow-dot { background: #ebe8e0; }
.svc.mint .arrow-dot { background: #d2ebe9; }
.arrow-dot .ico { width: 20px; height: 20px; transition: transform var(--mk-d2) var(--mk-ease-out); }
@media (hover: hover) and (pointer: fine) {
  .svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
  .svc:hover .arrow-dot { background: var(--teal); color: #fff; }
  .svc:hover .arrow-dot .ico { transform: translateX(2px); }
}
.svc:active { transform: translateY(-1px) scale(.995); }

.where { padding: var(--s3) var(--s5); display: grid; align-content: center; }
.where-item { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--s4); align-items: center; padding: var(--s4) 0; }
.where-item + .where-item { border-top: 1px solid var(--line); }
.where-item .ico { width: 36px; height: 36px; stroke-width: 1.5; color: var(--teal); grid-row: span 2; }
.where-item strong { color: var(--ink); font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.where-item span { color: var(--muted); font-size: .95rem; line-height: 1.4; }

/* steps */
.steps { padding: var(--s5); display: grid; gap: var(--s5); }
.steps h2 { font-size: 1.75rem; letter-spacing: -.02em; }
.steps h2::after { content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--teal); margin-top: var(--s3); }
.steps ol { display: grid; gap: var(--s4); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 56px 1fr; align-items: center; gap: var(--s4); }
.steps .num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--icon-bg); color: var(--teal);
  font-size: 1.35rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.steps .txt { color: var(--ink); font-size: 1.02rem; line-height: 1.35; }
.steps .txt small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.steps .sep { display: none; color: var(--teal); }

/* about + resources */
.row-about { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.about { padding: var(--s6) var(--s5); overflow: hidden; display: grid; gap: var(--s3); align-content: start; }
.about h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.35rem); letter-spacing: -.025em; max-width: 16ch; position: relative; z-index: 1; }
.about p { font-size: 1.12rem; line-height: 1.5; max-width: 40ch; position: relative; z-index: 1; }
.about .link-arrow { justify-self: start; position: relative; z-index: 1; }
.about .sprig { color: var(--brand); opacity: .45; width: 160px; right: 32px; bottom: -12px; }
.res { padding: var(--s5); display: grid; gap: var(--s3); align-content: start; }
.res h2 { font-size: 1.6rem; letter-spacing: -.02em; }
.res h2::after { content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--teal); margin-top: var(--s3); }
.res ul { display: grid; }
.res li + li { border-top: 1px solid var(--line); }
.res a { display: grid; grid-template-columns: 36px 1fr 20px; align-items: center; gap: var(--s4); min-height: 60px; padding: var(--s2) 0; text-decoration: none; color: var(--ink); }
.res a .ico { color: var(--teal); }
.res a .go { width: 20px; height: 20px; transition: transform var(--mk-d2) var(--mk-ease-out); }
.res a small { display: block; color: var(--muted); font-size: .85rem; }
@media (hover: hover) and (pointer: fine) {
  .res a:hover span:first-of-type { color: var(--teal-ink); }
  .res a:hover .go { transform: translateX(3px); }
}

/* ---------- footer ---------- */
.ftr { background: linear-gradient(170deg, #10606c 0%, var(--teal-deep) 60%); color: #d7ebee; margin-top: var(--s4); }
.ftr-row { display: grid; gap: var(--s5); padding: var(--s6) 0 var(--s5); }
.ftr-brand { display: flex; align-items: center; gap: var(--s5); }
.ftr-brand .mark { width: 76px; height: auto; flex: none; }
.ftr-brand .brand-name { color: #fff; font-size: 1.3rem; }
.ftr-brand .brand-sub { color: #b9dde3; }
.ftr-contact { display: grid; gap: 0; }
.ftr-contact a, .ftr-contact span.line { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #eef8f9; text-decoration: none; overflow-wrap: anywhere; }
.ftr-contact .ico { width: 20px; height: 20px; opacity: .85; }
@media (hover: hover) and (pointer: fine) { .ftr-contact a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.social { display: flex; gap: var(--s2); }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: #fff;
  transition: background-color var(--mk-d1), transform var(--mk-d1); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
@media (hover: hover) and (pointer: fine) { .social a:hover { background: rgba(255, 255, 255, .2); } }
.ftr .btn-white { justify-self: start; }
.ftr-legal { border-top: 1px solid rgba(255, 255, 255, .16); padding: var(--s4) 0 calc(var(--s4) + env(safe-area-inset-bottom)); display: grid; gap: var(--s1);
  font-size: .875rem; color: #b9dde3; }
.ftr-legal p { line-height: 1.5; }
.ftr-legal .mk-demo-note { color: #9fcbd2; font-size: .8rem; }

/* ---------- drawers (menu, "Despre mine") ---------- */
.mk-drawer { font-family: var(--font); }
.mk-drawer-head h2 { font-size: 1.25rem; }
.menu-links { display: grid; }
.menu-links a, .menu-links button { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 4px; border: 0;
  border-bottom: 1px solid var(--line); background: none; text-align: left; text-decoration: none; font-size: 1.15rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.menu-links [aria-current="page"] { color: var(--teal-ink); }
.menu-links .ico { width: 20px; height: 20px; color: var(--teal); }
.menu-contact { display: grid; gap: var(--s1); margin-top: var(--s5); }
.menu-contact a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--teal-ink); font-weight: 600; }

.mk-drawer[data-drawer="despre"] { width: min(600px, 100vw); }
.about-body { display: grid; gap: var(--s5); }
.about-top { display: grid; grid-template-columns: 112px 1fr; gap: var(--s4); align-items: center; }
.about-top img { width: 112px; height: 132px; object-fit: cover; object-position: 50% 20%; border-radius: 12px; }
.about-top p { font-size: 1.1rem; line-height: 1.45; color: var(--ink); font-weight: 500; }
.about-body > p { color: var(--text); line-height: 1.65; max-width: 62ch; }
.about-body h3 { font-size: 1.05rem; letter-spacing: -.01em; margin-bottom: calc(-1 * var(--s2)); }
.about-quote { margin: 0; padding: var(--s4) var(--s5); border-radius: 12px; background: var(--mint); font: italic 400 1.12rem/1.55 var(--serif); color: var(--ink); }
.values { display: flex; flex-wrap: wrap; gap: var(--s2); }
.values li { padding: 6px 14px; border-radius: 999px; background: var(--sky-2); color: var(--teal-ink); font-weight: 500; font-size: .95rem; }
.facts { display: grid; gap: var(--s2); }
.facts li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s3); align-items: start; line-height: 1.5; }
.facts .ico { width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }

/* ---------- servicii / contact shared blocks ---------- */
.eyebrow { color: var(--teal-ink); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; }
.row-2 { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.grid-3, .grid-4 { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.method { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--s3); padding: var(--s5); }
.method h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.method p { font-size: 1rem; line-height: 1.55; }
.method.sand { background: var(--sand); border-color: #ece7dd; }
.method .svc-ico { width: 72px; height: 72px; }
.method .svc-ico .ico { width: 44px; height: 44px; }
.method .arrow-dot { margin-top: var(--s1); }
.grid-4 .method h3 { font-size: 1.2rem; }
.grid-4 .method p { font-size: .95rem; }

.fees { padding: var(--s5); display: grid; gap: var(--s4); grid-template-columns: 1fr; align-items: center; overflow: hidden; }
.fees-head { display: flex; align-items: center; gap: var(--s4); }
.fees h2 { font-size: 1.75rem; letter-spacing: -.02em; }
.fees-list { display: grid; gap: var(--s2); }
.fees-list div { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2) var(--s3); }
.fees-list dt { color: var(--muted); min-width: 12ch; }
.fees-list dd { margin: 0; color: var(--ink); font-weight: 600; }
.fees .sprig { color: var(--brand); opacity: .4; right: 24px; bottom: -18px; width: 150px; }

.faq { padding: var(--s5); display: grid; gap: var(--s4); align-content: start; }
.faq h2 { font-size: 1.75rem; letter-spacing: -.02em; }
.faq h2::after { content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--teal); margin-top: var(--s3); }
.faq details { border-bottom: 1px solid var(--line); border-radius: 12px; transition: background-color var(--mk-d2); }
.faq details[open] { background: var(--sky-2); border-bottom-color: transparent; }
.faq summary { list-style: none; display: grid; grid-template-columns: 28px 1fr; gap: var(--s4); align-items: center; min-height: 64px; padding: var(--s3) var(--s4);
  font-weight: 600; font-size: 1.08rem; color: var(--ink); border-radius: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; border-radius: 50%; border: 1.6px solid var(--teal); position: relative; color: var(--teal); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor;
  transform: translate(-50%, -50%); border-radius: 1px; transition: transform var(--mk-d2) var(--mk-ease-out); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details > div { padding: 0 var(--s4) var(--s4) calc(28px + var(--s4) * 2); color: var(--text); line-height: 1.6; }
@media (hover: hover) and (pointer: fine) { .faq summary:hover { color: var(--teal-ink); } }

/* forms */
.form-card { padding: var(--s5); background: var(--sky-2); border-color: #d2e6ea; display: grid; gap: var(--s4); align-content: start; }
.form-card h2 { font-size: 1.75rem; letter-spacing: -.02em; }
.form-card h2::after { content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--teal); margin-top: var(--s3); }
.form-card .intro { color: var(--text); }
.req-form { display: grid; gap: var(--s2); }
.req-form .two { display: grid; gap: var(--s2) var(--s4); grid-template-columns: 1fr; }
.mk-field label, .mk-field legend { font-size: .92rem; font-weight: 600; color: var(--ink); }
.mk-field label .opt { font-weight: 400; color: var(--muted); }
.mk-field input:not([type="checkbox"]):not([type="radio"]), .mk-field textarea, .mk-field select {
  width: 100%; min-height: 48px; border: 1px solid #7d8e95; border-radius: var(--r-btn); padding: 12px 14px; font: inherit; font-size: 1rem;
  color: var(--ink); background: #fff; }
.mk-field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.mk-field input::placeholder, .mk-field textarea::placeholder { color: #7a8a91; }
.mk-field input:focus, .mk-field textarea:focus, .mk-field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 20%, transparent); }
fieldset.mk-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); margin-top: 6px; }
.seg label { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r-btn);
  border: 1px solid #7d8e95; background: #fff; font-weight: 600; cursor: pointer; color: var(--teal-ink);
  transition: background-color var(--mk-d1), color var(--mk-d1), border-color var(--mk-d1); }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label:has(input:checked) { background: var(--teal); color: #fff; border-color: var(--teal); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
.seg .ico { width: 18px; height: 18px; }
.check-field { grid-template-columns: 24px 1fr; align-items: start; column-gap: var(--s3); }
.check-field input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--teal); }
.check-field label { font-weight: 400; font-size: .92rem; line-height: 1.45; color: var(--text); }
.check-field .mk-error { grid-column: 2; }
.req-form [type="submit"] { width: 100%; margin-top: var(--s2); }
.seg-field { margin-bottom: var(--s3); }
.form-note { display: flex; gap: var(--s3); align-items: start; font-size: .88rem; line-height: 1.5; color: var(--muted); }
.form-note .ico { width: 20px; height: 20px; color: var(--teal); margin-top: 1px; }

/* contact page */
.contact-hero { padding: var(--s6) var(--s5); background: linear-gradient(135deg, var(--sky) 0%, var(--sky-2) 100%); border-color: #d2e6ea; overflow: hidden; display: grid; gap: var(--s4); }
.contact-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4rem); line-height: 1.03; letter-spacing: -.035em; font-weight: 800; max-width: 12ch; position: relative; z-index: 1; }
.contact-hero h1 .t-teal { color: var(--teal-ink); }
.contact-hero .lead { font-size: 1.15rem; max-width: 40ch; position: relative; z-index: 1; }
.info-list { padding: var(--s3) var(--s5); display: grid; }
.info-item { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--s4); padding: var(--s4) 0; align-items: center; }
.info-item + .info-item { border-top: 1px solid var(--line); }
.info-item .ico { width: 32px; height: 32px; stroke-width: 1.5; color: var(--teal); grid-row: span 2; align-self: center; }
.info-item strong, .info-item a.big { color: var(--ink); font-size: 1.12rem; font-weight: 600; text-decoration: none; }
.info-item a.big { display: inline-flex; min-height: 32px; align-items: center; }
@media (hover: hover) and (pointer: fine) { .info-item a.big:hover { color: var(--teal-ink); text-decoration: underline; text-underline-offset: 4px; } }
.info-item span { color: var(--muted); font-size: .95rem; line-height: 1.45; }

/* ---------- helpers ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.req { color: #b42318; }
.nowrap { white-space: nowrap; }

/* full-width CTA under the header on phones and tablets (concept acasa-mobil) */
.hdr-mcta { padding-bottom: var(--s3); }
.hdr-mcta .btn { width: 100%; }

/* sub-page heroes (servicii, contact) */
.hero-sub h1 { font-size: clamp(2.2rem, 1.2rem + 3.9vw, 4.5rem); max-width: 13ch; }
.hero-sub .hero-mark { right: 2%; width: min(24%, 190px); opacity: .26; }
.hero h1 .t-block { display: block; }
.hero .eyebrow { margin-bottom: calc(-1 * var(--s3)); position: relative; z-index: 1; }
.person-txt { display: grid; gap: var(--s1); }
.person-txt .link-arrow { justify-self: start; }

/* steps in one row (home, contact) */
.steps.compact ol { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: var(--s2); }
.steps.compact li { grid-template-columns: none; justify-items: center; text-align: center; gap: var(--s2); }
.steps.compact .sep { display: block; margin-top: 16px; }
.steps.compact .sep .ico { width: 20px; height: 20px; }

/* fees */
.fees .svc-ico { width: 64px; height: 64px; }
.fees .svc-ico .ico { width: 32px; height: 32px; }
.fees-body { display: grid; gap: var(--s4); position: relative; z-index: 1; }
.fees-body .btn { justify-self: start; }

/* form bits */
.seg-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg-field legend { padding: 0; font-size: .92rem; font-weight: 600; color: var(--ink); }
.in-ico { position: relative; display: block; }
.in-ico .ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--teal); pointer-events: none; }
.mk-field .in-ico input:not([type="checkbox"]):not([type="radio"]) { padding-left: 46px; }
.form-plain { background: var(--white); border-color: #e6ebec; }
.form-card::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 55%, transparent); opacity: 0; pointer-events: none; }
.form-card.is-pinged::after { animation: ping 1.4s var(--mk-ease-out); }
@keyframes ping { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }

/* contact page */
.row-contact { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.contact-side { display: grid; gap: var(--gap); align-content: start; }
@media (min-width: 1000px) { .row-contact { grid-template-columns: 1.35fr 1fr; } }
.talk-list h2 { font-size: clamp(2.1rem, 1.6rem + 1.6vw, 2.9rem); }
.talk-list .talk-contact { gap: var(--s3); }
.talk-list .talk-contact a { gap: var(--s4); }
.talk-list .talk-contact a > span:last-child { display: grid; gap: 2px; min-width: 0; }
.talk-list .ring { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); flex: none; }
.talk-list small { font-size: .88rem; color: #cfe7eb; }
.talk-list .tel { font-size: 1.3rem; }
.talk-list .mail { font-size: 1rem; font-weight: 600; }
.place { padding: var(--s5); display: grid; gap: var(--s4); overflow: hidden; }
.place.sand-card { background: var(--sand); border-color: #ece7dd; }
.place.mint-card { background: var(--sky-2); border-color: #d2e6ea; }
.place-head { display: grid; grid-template-columns: 60px 1fr; gap: var(--s4); align-items: start; position: relative; z-index: 1; }
.place .svc-ico { width: 60px; height: 60px; }
.place .svc-ico .ico { width: 30px; height: 30px; }
.place.sand-card .svc-ico { background: #ebe8e0; }
.place h2 { font-size: 1.3rem; letter-spacing: -.015em; margin-bottom: var(--s1); }
.place p { line-height: 1.5; }
.place p + p { margin-top: var(--s1); }
.mini-map { width: 100%; height: auto; border-radius: 12px; }
.place .link-arrow { justify-self: start; }
.place .sprig { color: var(--brand); opacity: .4; width: 84px; right: 10px; bottom: -16px; }
.place.mint-card .place-head { padding-right: 56px; }
.conf { padding: var(--s5); display: grid; grid-template-columns: 1fr; gap: var(--s4); align-items: center; overflow: hidden; }
.conf > div { position: relative; z-index: 1; max-width: 78ch; }
.conf h2 { font-size: 1.35rem; margin-bottom: var(--s2); }
.conf p { line-height: 1.6; }
.conf .sprig { color: var(--brand); opacity: .35; width: 100px; right: 24px; bottom: -18px; }

/* below desktop the mark sits low in the corner, away from the headline */
@media (max-width: 1099.98px) {
  .hero-mark { width: 40%; right: -7%; top: auto; bottom: -10%; translate: none; opacity: .16; }
}

/* ---------- phones ---------- */
@media (max-width: 759.98px) {
  :root { --hdr-h: 72px; --gap: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 50px; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { font-size: .6rem; letter-spacing: .16em; }
  .page { padding-top: var(--s4); }

  .hero { min-height: 0; padding: var(--s6) var(--s5); }
  .about .sprig { width: 80px; right: 6px; bottom: -14px; opacity: .3; }

  /* person card turns sideways: photo left, name right */
  .person { grid-template-columns: 40% 1fr; align-items: center; gap: var(--s4); padding: var(--s3); }
  .person-photo { aspect-ratio: 1 / .86; }
  .person h2 { font-size: 1.2rem; margin: 0; }
  .person .role { font-size: .92rem; line-height: 1.35; }

  /* service cards become rows: icon, text, arrow */
  .svc, .grid-4 .method { grid-template-columns: 60px 1fr 44px; grid-template-rows: auto auto; grid-template-areas: "ico t a" "ico p a";
    column-gap: var(--s4); row-gap: 2px; align-items: center; padding: var(--s4); }
  .svc .svc-ico, .grid-4 .method .svc-ico { grid-area: ico; width: 60px; height: 60px; }
  .svc .svc-ico .ico, .grid-4 .method .svc-ico .ico { width: 36px; height: 36px; }
  .svc h3, .grid-4 .method h3 { grid-area: t; margin: 0; font-size: 1.15rem; align-self: end; }
  .svc p, .grid-4 .method p { grid-area: p; font-size: 1rem; line-height: 1.4; align-self: start; }
  .svc .arrow-dot, .grid-4 .method .arrow-dot { grid-area: a; margin: 0; }

  .steps.compact .num { width: 48px; height: 48px; font-size: 1.12rem; }
  .steps.compact .txt { font-size: .9rem; line-height: 1.3; }
  .steps.compact .sep { margin-top: 13px; }
  .steps.compact .sep .ico { width: 16px; height: 16px; }

  .grid-3 .method { padding: var(--s4); gap: var(--s2); }
  .grid-3 .method .svc-ico { width: 56px; height: 56px; }
  .grid-3 .method .svc-ico .ico { width: 36px; height: 36px; }
  .grid-3 .method h3 { font-size: 1.2rem; margin-top: var(--s1); }
  .seg label { font-size: .94rem; padding: 0 8px; text-align: center; line-height: 1.25; }
  .talk-list .ring { width: 44px; height: 44px; }
  .talk-list .mail { font-size: .88rem; }
  .place.mint-card .place-head { padding-right: 32px; }
  .fees .sprig { display: none; }

  .talk { gap: var(--s3); padding: var(--s5); }
  .talk-contact { margin-top: 0; }
  .talk hr { margin-top: 0; }
  .person { gap: var(--s3); }
  .person h2 { font-size: 1.15rem; }
  .hero-mark { width: 34%; right: -5%; top: 27%; bottom: auto; opacity: .2; }
  .hero .lead { max-width: 30ch; }
  .steps { gap: var(--s4); }
  .ftr-row { gap: var(--s4); padding: var(--s5) 0 var(--s4); }
  .ftr .btn-white { width: 100%; }
}

/* ---------- layout breakpoints ---------- */
/* tablets: header row + full-width CTA; desktop (>=1000) is set in the header block */
@media (min-width: 760px) and (max-width: 999.98px) { :root { --hdr-total: 150px; } }
@media (min-width: 760px) {
  .hero { padding: var(--s7); min-height: 420px; }
  .conf { grid-template-columns: 72px 1fr; gap: var(--s5); padding: var(--s5) var(--s6); }
  .row-hero { grid-template-columns: 1.55fr 1fr; }
  .row-bento { grid-template-columns: 1fr 1fr; }
  .row-bento .talk { grid-column: 1 / -1; }
  .talk { padding: var(--s6); }
  .steps { grid-template-columns: auto 1fr; align-items: center; gap: var(--s6); }
  .row-about { grid-template-columns: 1.4fr 1fr; }
  .about { padding: var(--s6); }
  .ftr-row { grid-template-columns: 1fr 1fr; align-items: center; }
  .req-form .two { grid-template-columns: 1fr 1fr; }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .fees { grid-template-columns: auto 1fr; gap: var(--s6); }
}
@media (min-width: 1100px) {
  :root { --gap: 16px; }
  .row-hero { grid-template-columns: 1.68fr 1fr; }
  .hero { padding: var(--s7) var(--s8); min-height: 480px; }
  .row-bento { grid-template-columns: 1.18fr 1fr 1.04fr; grid-template-rows: auto auto; }
  .row-bento .talk { grid-column: 1; grid-row: 1 / span 2; }
  .talk { padding: var(--s7) var(--s6); }
  .talk-list { padding: var(--s6); }
  .talk h2 { max-width: 7ch; }
  .talk-list h2 { max-width: none; }
  .steps.compact li { grid-template-columns: 56px 1fr; justify-items: start; text-align: left; gap: var(--s4); }
  .steps.compact ol { align-items: center; }
  .steps.compact .sep { margin-top: 0; }
  .fees-body { grid-template-columns: 1fr auto; align-items: center; padding-right: 150px; }
  .svc { min-height: 300px; padding: var(--s5) var(--s6) var(--s5) var(--s5); }
  .steps { grid-template-columns: 240px 1fr; padding: var(--s5) var(--s6); }
  .steps ol { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: var(--s4); }
  .steps:not(.compact) li { align-items: start; }
  .steps .sep { display: block; }
  .row-about { grid-template-columns: 1.4fr 1fr; }
  .about { padding: var(--s7) var(--s6); }
  .res { padding: var(--s6); }
  .ftr-row { grid-template-columns: auto 1fr auto; gap: var(--s7); }
  .ftr-row > * + * { border-left: 1px solid rgba(255, 255, 255, .2); padding-left: var(--s7); }
  .ftr-row > .btn-white { border-left: 0; padding-left: 22px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .row-2 { grid-template-columns: 1.6fr 1fr; }
  .row-2.even { grid-template-columns: 1fr 1fr; }
  .row-2.form-wide { grid-template-columns: 1fr 1.15fr; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .form-card.is-pinged::after { animation: none; }
  .svc:hover, .person:hover .person-photo img { transform: none; }
}
