/* Drăghici și Asociații – Notari publici · varianta 2 */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/playfair-display-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/playfair-display-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/playfair-display-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/playfair-display-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/manrope-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/manrope-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/manrope-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/manrope-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/manrope-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/manrope-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ground: #F7F4EC;
  --step:   #EEE9DD;
  --ink:    #18382F;
  --green:  #234637;
  --sage:   #DCE8D5;
  --white:  #FFFFFF;
  --field:  #F3F0E8;
  --cream:  #FAF9F5;
  --gold:   #B49A66;
  --muted:  rgba(24, 56, 47, .72);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gut: clamp(24px, 8.33vw, 120px);
  --sec: clamp(88px, 10vw, 144px);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--green); color: var(--cream); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.sec-green :focus-visible, .foot :focus-visible { outline-color: var(--cream); }
input, select, textarea, button { font: inherit; color: inherit; caret-color: var(--green); }

.wrap { width: min(1200px, 100% - 2 * var(--gut)); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2 * var(--gut)); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--green); color: var(--cream); padding: 10px 14px; }
.skip:focus { top: 12px; }
.ph { color: #8a6b2d; background: rgba(180, 154, 102, .16); padding: 0 .25em; }
.foot .ph { color: #E3D2AE; background: rgba(180, 154, 102, .22); }

/* type */
.display, h1 { font: 400 clamp(44px, 5vw, 72px)/1.02 var(--serif); letter-spacing: -.025em; text-wrap: balance; }
h2 { font: 400 clamp(30px, 2.8vw, 40px)/1.12 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.small, .note, .f-hint { font-size: 14px; line-height: 1.5; }
.note, .f-hint { color: var(--muted); }

/* buttons & links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 26px; background: var(--green); color: var(--cream); font: 600 16px/1.2 var(--sans); text-decoration: none; border: 1.5px solid var(--green); cursor: pointer; transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .16s ease-out; }
.btn .ico { transition: transform .2s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn-sm { padding: 12px 20px; }
.btn-full { width: 100%; }
.btn-line { background: transparent; color: var(--green); }
.link { background: none; border: 0; padding: 0; color: var(--green); font: 600 16px/1.3 var(--sans); text-decoration: underline; text-underline-offset: .25em; cursor: pointer; }
.link-ico { display: inline-flex; align-items: center; gap: 10px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #1a3529; }
  .btn-line:hover { background: var(--green); color: var(--cream); }
  .btn:hover .ico { transform: translateX(3px); }
  .link:hover { text-decoration-thickness: 2px; }
  .nav a:not(.btn):hover { text-decoration: underline; }
}

/* bar */
.bar { position: sticky; top: 0; z-index: 20; background: var(--ground); transition: background-color .2s; }
.bar.is-scrolled { background: rgba(247, 244, 236, .97); }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.bar-logo { text-decoration: none; }
.wm { display: inline-flex; flex-direction: column; align-items: center; }
.wm-name { font: 400 22px/1.2 var(--serif); }
.wm-sub { font: 400 14px/1.3 var(--sans); }
.nav { display: flex; align-items: center; gap: 40px; }
.nav ul { display: flex; gap: 40px; }
.nav a:not(.btn) { font-weight: 500; font-size: 16px; text-decoration: none; }
.menu-btn { display: none; background: var(--step); border: 0; padding: 12px 16px; font-weight: 600; font-size: 14px; cursor: pointer; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); min-height: min(820px, calc(100svh - 84px)); }
.hero-text { display: flex; flex-direction: column; justify-content: space-between; gap: 72px; padding: 88px 72px 64px var(--gut); }
.hero-top { display: flex; flex-direction: column; gap: 40px; }
.hero h1 { max-width: 7.2em; }
.hero-lead { font-size: 22px; line-height: 1.5; max-width: 23em; }
.hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 32px; }
.hero-facts { font-size: 18px; }
.hero-facts strong { font-weight: 500; }
.hero-facts a { text-decoration: none; }
.hero-media { position: relative; margin: 0; overflow: hidden; background: var(--step); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media figcaption, .office-media.overlay figcaption { position: absolute; left: 24px; bottom: 24px; padding: 6px 10px; background: rgba(0, 0, 0, .45); color: var(--white); font-size: 14px; line-height: 1.3; }

/* sections */
.sec { padding-block: var(--sec); }
.sec-step { background: var(--step); }
.sec-green { background: var(--green); color: var(--cream); }
.sec-sage { background: var(--sage); }
.sec-head { display: grid; gap: 24px; max-width: 760px; margin-bottom: 56px; }
.sec-head p { max-width: 640px; }

/* acte */
.acte { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 96px; align-items: start; }
.acte-opts { display: none; }
.js .acte-opts { display: flex; flex-direction: column; gap: 22px; }
.acte-opts button { display: flex; align-items: center; gap: 16px; background: none; border: 0; padding: 0; text-align: left; font: 400 40px/1.12 var(--serif); letter-spacing: -.015em; color: rgba(24, 56, 47, .55); cursor: pointer; transition: color .2s var(--ease-out); }
.acte-opts button::before { content: ""; width: 10px; height: 10px; flex: none; background: transparent; transition: background-color .2s; }
.acte-opts button[aria-selected="true"] { color: var(--green); }
.acte-opts button[aria-selected="true"]::before { background: var(--green); }
@media (hover: hover) and (pointer: fine) { .acte-opts button:hover { color: var(--green); } }
.acte-panels { display: grid; gap: 24px; }
.acte-panel { background: var(--white); padding: 44px 48px; display: grid; gap: 24px; justify-items: start; }
.js .acte-panel[hidden] { display: none; }
.acte-panel h3 { font: 600 22px/1.3 var(--sans); }
.acte-panel ul { display: grid; gap: 12px; }
.acte-panel li { position: relative; padding-left: 20px; }
.acte-panel li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; background: var(--green); }
.acte-panel .note { max-width: 560px; }
.js .acte-panel.is-in { animation: panelIn .32s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* servicii */
.sec-green h2 { margin-bottom: 64px; }
.svc { display: grid; gap: 44px; }
.svc-row { display: grid; grid-template-columns: minmax(0, 560px) minmax(0, 576px); justify-content: space-between; gap: 64px; align-items: baseline; }
.svc dt { font: 400 40px/1.12 var(--serif); letter-spacing: -.015em; }
.svc dd { color: rgba(250, 249, 245, .86); }

/* biroul */
.office-media { margin: 0 0 56px; }
.office-media img { width: 100%; aspect-ratio: 15 / 8; object-fit: cover; }
.office-media figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }
.office { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 584px); justify-content: space-between; gap: 96px; }
.office-text { display: grid; gap: 20px; }
.office-text strong { font-weight: 600; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 96px; align-items: start; }
.faq-head { display: grid; gap: 24px; }
.faq-head p { max-width: 360px; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--ground); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 32px; cursor: pointer; list-style: none; font: 400 22px/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--green); transition: transform .25s var(--ease-out); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { padding: 0 32px 26px; max-width: 680px; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 96px; align-items: start; }
.contact-info { display: grid; gap: 24px; }
.contact-info .big { font: 500 22px/1.3 var(--sans); color: var(--green); }
.contact-info .big a { text-decoration: none; }
.map { background: var(--step); padding: 28px; display: grid; gap: 14px; justify-items: start; }
.map p { font-size: 14px; line-height: 1.5; max-width: 400px; }
.map.is-loaded { padding: 0; }
.map iframe { width: 100%; height: 320px; border: 0; display: block; }

.form-card { background: var(--white); padding: 44px 48px; display: grid; gap: 22px; }
.form-card h3 { font: 600 22px/1.3 var(--sans); }
.form-card strong { font-weight: 600; }
form { display: grid; gap: 22px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.f { display: grid; gap: 8px; align-content: start; }
.f label { font-size: 14px; font-weight: 500; }
.opt { font-weight: 400; color: var(--muted); }
.f input:not([type="checkbox"]), .f select, .f textarea { width: 100%; min-height: 54px; padding: 14px 16px; background: var(--field); border: 0; border-bottom: 1.5px solid rgba(24, 56, 47, .45); border-radius: 0; font-size: 16px; appearance: none; transition: border-color .2s, background-color .2s; }
.f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2318382F' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.f textarea { min-height: 120px; resize: vertical; }
.f input:focus-visible, .f select:focus-visible, .f textarea:focus-visible { outline: 2px solid var(--green); outline-offset: 0; background: var(--white); }
.f [aria-invalid="true"] { border-bottom-color: #9b2c2c; }
.f-err { font-size: 13px; color: #9b2c2c; min-height: 0; }
.f-err:empty { display: none; }
.f-check { grid-template-columns: 22px 1fr; column-gap: 12px; align-items: start; }
.f-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); cursor: pointer; }
.f-check label { font-weight: 400; line-height: 1.5; }
.f-check .f-err { grid-column: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.or { text-align: center; font-size: 14px; margin: -8px 0; }
.form-msg { padding: 14px 16px; font-size: 15px; line-height: 1.5; }
.form-msg[data-state="ok"] { background: var(--sage); }
.form-msg[data-state="err"] { background: #f6e3e0; color: #7a2323; }
form[aria-busy="true"] button[type="submit"] { opacity: .7; pointer-events: none; }

/* footer */
.foot { background: var(--green); color: var(--cream); padding: 128px 0 48px; }
.foot a { text-decoration: none; }
.foot-logo { display: inline-block; }
.wm-gold { color: var(--gold); gap: 10px; }
.wm-gold .wm-name { font-size: clamp(40px, 5vw, 72px); line-height: 1.02; letter-spacing: -.025em; }
.wm-gold .wm-sub { font-size: clamp(15px, 1.4vw, 20px); font-weight: 500; letter-spacing: .4em; margin-right: -.4em; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 24px 96px; margin: 64px 0; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14px; color: rgba(250, 249, 245, .8); }
.foot-legal ul { display: flex; flex-wrap: wrap; gap: 12px 32px; }
@media (hover: hover) and (pointer: fine) { .foot a:hover { text-decoration: underline; } }

/* secondary pages */
.intro { padding: clamp(56px, 7vw, 104px) 0 40px; }
.crumbs { font-size: 14px; margin-bottom: 24px; }
.intro h1 { font-size: clamp(36px, 4vw, 56px); }
.lead { font-size: 20px; margin-top: 20px; }
.prose { padding-bottom: var(--sec); }
.prose h2 { font-size: clamp(24px, 2.2vw, 30px); margin: 48px 0 16px; }
.prose p, .prose li { max-width: 68ch; }
.prose p + p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 8px; margin-top: 12px; }

/* reveal (content stays visible without JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- tablet & mobile ---------- */
@media (max-width: 1023px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ground); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 24px; }
  .nav.is-open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; font-size: 18px; }
  .nav .btn { margin-top: 12px; }
  .bar-in { padding-block: 14px; position: relative; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-text { padding: 40px var(--gut) 32px; gap: 32px; }
  .hero-top { gap: 28px; }
  .hero h1 { max-width: 9em; }
  .hero-media { height: clamp(360px, 60vw, 520px); }

  .acte { grid-template-columns: 1fr; gap: 24px; }
  .js .acte-opts { flex-direction: row; gap: 8px; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; scroll-snap-type: x proximity; }
  .acte-opts::-webkit-scrollbar { display: none; }
  .acte-opts button { flex: none; font: 600 14px/1.2 var(--sans); letter-spacing: 0; color: var(--ink); background: var(--white); padding: 12px 16px; scroll-snap-align: start; }
  .acte-opts button::before { display: none; }
  .acte-opts button[aria-selected="true"] { background: var(--green); color: var(--white); }

  .svc-row { grid-template-columns: 1fr; gap: 8px; }
  .office { grid-template-columns: 1fr; gap: 24px; }
  .faq-grid, .contact { grid-template-columns: 1fr; gap: 32px; }
  .contact-info { display: contents; }
  .contact-info > * { order: 0; }
  .contact .map { order: 2; }
  .form-card { order: 1; }
}
@media (max-width: 767px) {
  body { font-size: 17px; }
  .hero-lead { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .hero-cta .link { display: none; }
  .hero-facts { font-size: 16px; }
  .hero-media { height: 360px; }
  .hero-media figcaption { left: 12px; bottom: 12px; font-size: 12px; padding: 4px 8px; }
  .sec-head { margin-bottom: 24px; }
  .acte-panel { padding: 24px 20px; gap: 16px; }
  .acte-panel h3 { font-size: 18px; }
  .acte-panel li { font-size: 16px; }
  .acte-panel .btn { width: 100%; }
  .sec-green h2 { margin-bottom: 36px; }
  .svc { gap: 36px; }
  .svc dt { font-size: 24px; }
  .svc dd { font-size: 16px; }
  .office-media { margin-bottom: 24px; }
  .office-media img { aspect-ratio: 1.425; }
  .faq summary { padding: 20px; font-size: 18px; }
  .faq details p { padding: 0 20px 20px; font-size: 16px; }
  .form-card { padding: 28px 20px; gap: 18px; }
  .f-row { grid-template-columns: 1fr; gap: 18px; }
  .map { padding: 20px; }
  .foot { padding: 80px 0 32px; }
  .wm-gold { gap: 6px; }
  .wm-gold .wm-name { font-size: clamp(28px, 8.4vw, 40px); white-space: nowrap; }
  .foot-cols { flex-direction: column; gap: 12px; margin: 32px 0; font-size: 17px; }
  .foot-legal, .foot-legal ul { flex-direction: column; }
  .wm-name { font-size: 19px; }
  .wm-sub { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .acte-panel.is-in { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
