
/* =============================================================
   ATIDRA 2026 — readability and responsive refinement
   Keeps the original navy/gold visual identity.
   The FAQ uses native <details>, without additional JavaScript.
   ============================================================= */
:root {
  --atidra-ink: #153247;
  --atidra-muted: #526473;
  --atidra-gold: #ad864b;
  --atidra-border: #e1e7e6;
  --atidra-surface: #f8f9f7;
  --atidra-radius: 14px;
}

/* Readable, consistent text in Hebrew and Russian */
body { font-family: Arial, "Segoe UI", Tahoma, sans-serif; line-height: 1.75; }
main p, .article-copy > p:not(.eyebrow), .about-copy > p,
.process-panel > p, .situation-card > p {
  color: var(--atidra-muted);
  line-height: 1.85;
}
.section-heading h2, .intro h2, .about-copy h2 {
  line-height: 1.3;
  text-wrap: balance;
}
.section-heading { gap: 26px; }
.section-heading > p { line-height: 1.85; }

/* Consistent content cards */
.service-card, .situation-card, .article-card {
  transition: box-shadow .22s ease, border-color .22s ease, transform .22s ease;
}
.service-card h3, .situation-card h3, .article-copy h3 {
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.service-card p, .situation-card > p, .article-copy > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.85;
}
.service-card:hover, .situation-card:hover, .article-card:hover {
  box-shadow: 0 12px 30px rgba(21,50,71,.08);
}

/* FAQ: one icon, predictable RTL/LTR alignment, large tap targets */
.faq.section { padding-block: 88px; }
.faq .section-heading { max-width: 900px; margin-inline: auto; margin-bottom: 30px; }
.faq-list { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq-list details {
  padding: 0;
  background: #fff;
  border: 1px solid var(--atidra-border);
  border-radius: var(--atidra-radius);
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(21,50,71,.035);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-list details:hover { border-color: #c5d3d7; }
.faq-list details[open] {
  border-color: #d3bd96;
  box-shadow: 0 8px 26px rgba(21,50,71,.07);
}
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 76px;
  padding: 19px 24px;
  color: var(--atidra-ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.65;
  text-align: start;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::marker { content: ''; }
.faq-list summary > span { flex: 1; min-width: 0; }
.faq-list summary::after {
  content: '+';
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f5f0e7;
  color: #96703a;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}
.faq-list details[open] summary::after { content: '−'; background: #153247; color: #fff; }
.faq-list details p {
  max-width: none;
  margin: 0 24px 23px;
  padding: 18px 0 0;
  border-top: 1px solid #eef0ee;
  color: var(--atidra-muted);
  font-size: 15px;
  line-height: 1.95;
  text-align: start;
  overflow-wrap: anywhere;
}

/* Preserve the existing language switcher and contact form */
.contact-form input, .contact-form select { border-radius: 7px; }
.contact-form input:focus-visible, .contact-form select:focus-visible {
  border-color: #d1b47f;
}

@media (max-width: 850px) {
  .faq.section { padding-block: 68px; }
  .faq-list summary { font-size: 16px; }
}
@media (max-width: 620px) {
  .faq.section { padding-block: 54px; }
  .faq .section-heading { margin-bottom: 24px; }
  .faq-list { gap: 10px; }
  .faq-list details { border-radius: 11px; }
  .faq-list summary { min-height: 68px; padding: 16px 17px; gap: 12px; font-size: 15px; }
  .faq-list summary::after { flex-basis: 29px; width: 29px; height: 29px; font-size: 21px; }
  .faq-list details p { margin: 0 17px 19px; padding-top: 14px; font-size: 14px; }
  .service-card p, .situation-card > p, .article-copy > p:not(.eyebrow) { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .service-card, .situation-card, .article-card, .faq-list details { transition: none; }
}


/* Readability update for the rest of ATIDRA — FAQ intentionally unchanged. */
.intro-grid p, .hero-description, .about-copy > p, .section-heading > p,
.contact-copy > p:not(.eyebrow), .process-panel > p,
.service-card p, .situation-card > p, .article-copy > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.9;
}
.site-header nav, .service-card a, .article-copy button,
.text-link, .back-top, .contact-links a > span:first-child {
  font-size: 14px;
}
.eyebrow, .brand small, .hero-credential strong,
.hero-credential div > span, .degrees span, .license-note,
.contact-form label, .contact-form .form-note,
.footer-main p, .footer-bottom p {
  font-size: 12px;
}
.process-panel ul, .situation-card ul { font-size: 14px; line-height: 1.85; }
.contact-form input, .contact-form select { font-size: 16px; }
@media (max-width: 620px) {
  .intro-grid p, .hero-description, .about-copy > p,
  .section-heading > p, .contact-copy > p:not(.eyebrow),
  .process-panel > p, .service-card p, .situation-card > p,
  .article-copy > p:not(.eyebrow) { font-size: 15px; }
  .process-panel ul, .situation-card ul { font-size: 14px; }
}

/* ATIDRA — extra readable typography across the site, excluding FAQ. */
:root { -webkit-text-size-adjust: 100%; }
body { font-size: 18px; }
.hero-description, .intro-grid p, .about-copy > p,
.section-heading > p, .contact-copy > p:not(.eyebrow),
.process-panel > p, .service-card p, .situation-card > p,
.article-copy > p:not(.eyebrow), .transfer-banner p:not(.eyebrow),
.article-dialog p, .intro-longevity {
  font-size: 19px;
  line-height: 1.85;
}
.site-header nav, .header-call, .service-card a, .article-copy button,
.text-link, .back-top, .contact-links a > span:first-child,
.hero-credential strong, .paper-step b, .process-panel ul,
.situation-card ul, .degrees span, .article-sources a {
  font-size: 16px;
  line-height: 1.7;
}
.eyebrow, .brand small, .hero-credential div > span,
.about-copy .license-note, .contact-form label,
.contact-form .form-note, .footer-main p, .footer-bottom p,
.paper-small, .paper-step small, .paper-foot,
.contact-form > p, .contact-form #form-feedback {
  font-size: 15px;
  line-height: 1.7;
}
.contact-form input, .contact-form select, .languages button,
.contact-links b, .privacy-button { font-size: 17px; }
.service-card h3, .article-copy h3, .situation-card h3 { font-size: 25px; }
.process-tabs button b { font-size: 20px; }
/* FAQ intentionally remains exactly as in the previous version. */
@media (max-width: 620px) {
  body { font-size: 17px; }
  .hero-description, .intro-grid p, .about-copy > p,
  .section-heading > p, .contact-copy > p:not(.eyebrow),
  .process-panel > p, .service-card p, .situation-card > p,
  .article-copy > p:not(.eyebrow), .transfer-banner p:not(.eyebrow),
  .article-dialog p, .intro-longevity { font-size: 17px; line-height: 1.85; }
  .site-header nav, .service-card a, .article-copy button,
  .text-link, .back-top, .hero-credential strong,
  .process-panel ul, .situation-card ul, .degrees span { font-size: 15px; }
  .eyebrow, .brand small, .hero-credential div > span,
  .about-copy .license-note, .contact-form label,
  .contact-form .form-note, .footer-main p, .footer-bottom p { font-size: 14px; }
  .service-card h3, .article-copy h3, .situation-card h3 { font-size: 23px; }
}


/* ATIDRA: improve readability of all non-FAQ content, especially process panel. */
html { -webkit-text-size-adjust: 100%; }
body { font-size: 19px; }
.process-panel { padding: 40px 44px; }
.process-panel h3 { font-size: clamp(26px, 2.4vw, 32px); line-height: 1.35; }
.process-panel > p, .process-panel li, .process-panel ul,
.process-panel .panel-outcome p, .panel-outcome p {
  font-size: 19px !important;
  line-height: 1.85 !important;
  color: #344d5c;
}
.process-panel li { margin-bottom: 12px; }
.process-panel .eyebrow { font-size: 15px !important; }
.process-tabs button b { font-size: 21px !important; }
.process-tabs button span { font-size: 24px; }
.process-tabs button { padding-block: 27px; }
.service-card p, .situation-card > p, .situation-card li,
.article-copy > p:not(.eyebrow), .transfer-banner p:not(.eyebrow),
.about-copy > p, .intro-grid p, .contact-copy > p:not(.eyebrow),
.section-heading > p, .article-dialog p {
  font-size: 19px !important;
  line-height: 1.85 !important;
}
.service-card a, .situation-card .text-link, .article-copy button,
.text-link, .header-call, .contact-form label, .contact-form .form-note,
.footer-main p, .footer-bottom p, .hero-credential strong,
.hero-credential div > span, .degrees span, .paper-step small,
.paper-small, .paper-foot { font-size: 16px !important; line-height: 1.7; }
.eyebrow { font-size: 15px !important; }
.site-header nav { font-size: 16px !important; }
.service-card h3, .article-copy h3, .situation-card h3 { font-size: 25px !important; }
@media(max-width:850px) {
  .process-layout { grid-template-columns: 1fr; }
  .process-panel { min-height: 0; }
}
@media(max-width:620px) {
  .process-panel { padding: 26px 22px; }
  .process-panel > p, .process-panel li, .process-panel ul,
  .process-panel .panel-outcome p, .panel-outcome p { font-size: 17px !important; }
  .service-card p, .situation-card > p, .situation-card li,
  .article-copy > p:not(.eyebrow), .transfer-banner p:not(.eyebrow),
  .about-copy > p, .intro-grid p, .contact-copy > p:not(.eyebrow),
  .section-heading > p, .article-dialog p { font-size: 17px !important; }
  .process-tabs button b { font-size: 17px !important; }
}
/* FAQ intentionally unchanged. */

/* Warm lifestyle photography for the six editorial cards. */
.article-art.article-photo{height:205px;padding:0;overflow:hidden;background:#e9e8e0;position:relative}.article-art.article-photo::before,.article-art.article-photo::after{display:none}.article-art.article-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 43%;transition:transform .35s ease}.article-card:hover .article-photo img{transform:scale(1.025)}@media(prefers-reduced-motion:reduce){.article-art.article-photo img{transition:none}.article-card:hover .article-photo img{transform:none}}@media(max-width:600px){.article-art.article-photo{height:210px}}

.message-fallback{text-decoration:underline}

.about-identity>img.specialist-portrait{display:block;width:100%;max-width:320px;height:auto;aspect-ratio:3/4;object-fit:cover;object-position:center 35%;border-radius:8px;margin:22px auto 24px;box-shadow:0 12px 30px #102c401a}

/* VG identity */
.brand>img{width:78px;height:50px;object-fit:contain}.brand strong{font-size:19px;line-height:1.25;white-space:normal}.brand>span{max-width:245px}.paper-top img.paper-mark{width:90px;height:62px;object-fit:contain}@media(max-width:600px){.brand strong{font-size:16px}.brand>span{max-width:205px}.brand>img{width:60px;height:42px}}

/* Phone layout: readable navigation, safe-area spacing and touch targets. */
.menu-toggle{display:none}
@media(max-width:850px){
 .menu-toggle{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 12px;border:1px solid #d5ded8;border-radius:5px;background:white;color:#153247;font-size:15px}
 .site-header .nav-wrap{position:relative;gap:12px;height:auto;min-height:86px;padding-block:10px}
 .site-header .brand{min-width:0}.site-header .brand>span{min-width:0}
 .site-header .brand strong{font-size:16px;line-height:1.3}
 .site-header .nav-actions{gap:12px;flex-shrink:0}
 .languages button{min-height:44px;font-size:14px}
 .site-header.menu-open nav{display:flex;position:absolute;top:100%;inset-inline:0;flex-direction:column;gap:0!important;background:#fff;padding:8px 16px;border:1px solid #e1e5df;border-radius:0 0 10px 10px;box-shadow:0 12px 24px #12324720;max-height:65dvh;overflow:auto}
 .site-header nav a{padding:12px 8px;min-height:48px;border-bottom:1px solid #edf0ed}
 .site-header nav a:last-child{border-bottom:0}
}
@media(max-width:620px){
 html{scroll-padding-top:135px}
 .site-header .nav-wrap{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding-block:8px}
 .site-header .nav-actions{display:contents}
 .site-header .brand{grid-column:1;grid-row:1;gap:8px}
 .site-header .brand>img{width:52px;height:42px;flex-shrink:0}
 .site-header .brand>span{max-width:none}
 .site-header .brand strong,html[lang=ru] .site-header .brand strong{font-size:16px;line-height:1.3}
 .site-header .brand small{font-size:11px;line-height:1.4;max-width:none}
 .menu-toggle{grid-column:2;grid-row:1;min-width:74px}
 .languages{grid-column:1/-1;grid-row:2;justify-self:center}
 .languages button{min-height:36px;padding:5px 14px}
 .hero h1,html[lang=ru] .hero h1{font-size:clamp(34px,10vw,43px)}
 .hero .hero-grid,html[lang=ru] .hero .hero-grid{padding-top:30px}
 .hero .hero-description,html[lang=ru] .hero .hero-description{font-size:17px;line-height:1.8}
 .hero .hero-benefits,html[lang=ru] .hero .hero-benefits{font-size:14px;gap:10px 16px}
 .hero .hero-actions{flex-direction:column;align-items:stretch;gap:12px}
 .hero .hero-actions .button{font-size:16px!important;min-height:52px}
 .hero .hero-actions .text-link{align-self:center;min-height:44px}
 .process-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
 .process-tabs button{min-width:0;flex-wrap:wrap}
 .degrees{grid-template-columns:1fr;gap:16px}
 .degrees div+div{border-inline-start:0;border-top:1px solid #d9d9cd;padding:14px 0 0}
 .contact-form input,.contact-form select,#ai-question{font-size:16px}
 .contact-form .button{white-space:normal;min-height:52px}
 .article-dialog,.assistant-dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain}
 .assistant-close,.dialog-close{min-width:44px;min-height:44px}
 .assistant-launch{bottom:calc(88px + env(safe-area-inset-bottom));max-width:calc(100% - 28px);min-height:44px}
 .assistant-header{padding:16px}
 .guide-choice,.guide-navigation button{min-height:44px;font-size:16px}
 body{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
 .footer-main{align-items:flex-start;flex-wrap:wrap}
}
@media(max-width:620px){
 .conversion-inner>div{min-width:0;max-width:100%}
 .conversion-inner .eyebrow{overflow-wrap:anywhere}
 .assistant-launch{width:52px;height:52px;padding:0;justify-content:center;border-radius:50%}
 .assistant-launch>span:not(.assistant-spark){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .assistant-dialog.assistant-dialog{max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
}
@media(max-width:359px){
 .site-header .brand>img{width:38px;height:36px}
 .site-header .brand strong,html[lang=ru] .site-header .brand strong{font-size:15px}
 .site-header .brand small{display:none}
 .menu-toggle{min-width:68px;padding:8px}
 .site-header .brand{gap:6px}
}
@media(max-width:620px){
 .section-heading>div{min-width:0;max-width:100%}
 h1,h2,h3{overflow-wrap:anywhere}
 #assistant-launch{bottom:calc(88px + env(safe-area-inset-bottom));padding:0}
}
