/* Codex polish — additive layer. Original styles and their !important floors remain intact. */
:root {
  --polish-space: clamp(72px, 6.9vw, 88px);
  --polish-border: #d3e5df;
  --polish-shadow: 0 8px 24px rgba(20, 110, 113, .07);
  --polish-corner: 6px 30px 6px 6px;
}
body { font-size: 16px; }
.aga-page { --article-text: #46635f; }
:is(.progress-section,.methods-section,.price-section,.doctor-section,.cases-section,.flow-section,.column-section,.access-section,.faq-section,.consultation-section,.aga-diagnosis) { padding-block: var(--polish-space); }
.svc-primary { padding-top: var(--polish-space); padding-bottom: 32px; }
.svc-secondary { padding-bottom: var(--polish-space); }
.aga-layout { padding-top: 72px; padding-bottom: 72px; }
.aga-section { padding-bottom: 44px; margin-bottom: 44px; }
.aga-section-heading { margin-bottom: 28px; }
.section-lead { margin-top: 20px; line-height: 1.95; }
.doctor-copy .section-h2 { margin-bottom: 24px; }
.svc-primary .svc-head { margin-bottom: 32px; }
:is(.methods-grid,.why-grid,.column-grid,.flow-steps,.progress-grid) { gap: 20px; margin-top: 32px; }
:is(.svc-card,.method-card,.why-item,.flow-steps li,.column-card,.case-excerpt,.aga-case,.aga-columns a,.aga-treatment-card) {
  border-color: var(--polish-border); border-radius: var(--polish-corner);
  box-shadow: var(--polish-shadow);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
:is(.method-card,.why-item,.flow-steps li,.column-card) { padding: 26px 24px; }
.svc-card .svc-body { padding: 28px; }
.case-excerpt { padding: 28px; gap: 28px; }
.aga-case { padding: 28px; }
.aga-page .aga-columns a { padding: 22px 24px; }
.method-card h3,.why-item h3,.flow-steps h3 { margin-block: 12px; }
:is(.method-card,.why-item,.flow-steps,.svc-mini) p { font-size: 15px; line-height: 1.9; }
.column-card .column-cat,.aga-page .aga-columns a small { font-size: 13px; color: var(--deep); }
.guide-link,.method-card .guide-link,.svc-mini .guide-link { font-size: 15px; }
.eyebrow,.aga-page .eyebrow { color: var(--deep); font-size: 12px; }
.hero-static { min-height: 590px; border-bottom: 1px solid var(--polish-border); }
.hero-static .hero-bg { object-position: right center; }
@media (min-width:901px) {
  .hero-static .hero-bg { object-fit: contain; mask-image: linear-gradient(180deg,transparent 12%,#000 32%,#000 70%,transparent 88%); }
}
.hero-static .hero-veil { background: linear-gradient(90deg,rgba(240,247,244,.96),rgba(240,247,244,.91) 40%,rgba(240,247,244,.20) 68%,transparent); }
.hero-static .hero-inner { padding-block: 72px; max-width: 665px; }
.hero-static h1 { line-height: 1.5; font-size: clamp(28px,3.4vw,42px); }
.hero-h1-phrase { display: inline-block; }
.hero-static .hero-lead { line-height: 1.95; margin-bottom: 28px; }
.hero-actions { gap: 12px; margin-bottom: 28px; }
.trust-chips { gap: 10px; }
.trust-chips li { gap: 8px; padding: 10px 14px; font-size: 13px; color: var(--ink); background: #fff; border-color: #c6ddd5; border-radius: 4px 16px 4px 4px; flex-wrap: wrap; }
.trust-chips li::before { content: none; }
.trust-chips small { font-size: 13px; color: #4f6a6c; }
.polish-icon { display: inline-block; width: 24px; height: 24px; flex: 0 0 24px; color: var(--deep); vertical-align: middle; }
.why-item,.flow-steps li { position: relative; }
.why-item>.polish-icon,.flow-steps li>.polish-icon { position: absolute; top: 27px; right: 24px; }
.why-item>span,.flow-steps li::before { color: var(--deep); }
.aga-visit-steps { gap: 16px; }
.aga-visit-steps li { flex: 1; font-size: 15px; }
.aga-visit-steps .polish-icon { display: block; margin-bottom: 12px; }
.button,.reserve { background-clip: padding-box; border-radius: 4px 18px 4px 4px; min-height: 48px; font-size: 15px; }
.button { gap: 18px; }
.button.solid,.reserve { background: #146e71; color: #fff; }
.button.line { background: #146e71; color: #fff; border-color: #146e71; }
.button.line:hover,.button.solid:hover,.reserve:hover { background: #234d50; color: #fff; }
.cta-band { background: #146e71; padding-block: 40px; }
.cta-band p { color: #fff; opacity: 1; font-size: 15px; }
.cta-band .button.line { background: #f0f7f4; color: #146e71; border-color: #f0f7f4; }
.cta-band .button.line:hover { background: #fff; }
.contact-web-card { background: #146e71; border-color: #146e71; }
.contact-web-card:hover { background: #234d50; }
.contact-web-top,.contact-web-description,.contact-web-bottom { color: #fff; }
.contact-web-title { white-space: normal; }
.contact-web-arrow { color: #146e71; }
.aga-line-link,.consultation-bottom a[href*="lin.ee"] { background: #f0f7f4; color: #146e71; padding: 12px 16px; border: 1px solid #c6ddd5; border-radius: 4px 18px 4px 4px; font-size: 15px; }
.aga-page .aga-mid-cta { padding: 24px; border: 1px solid var(--polish-border); border-radius: var(--polish-corner); }
.price-free li { border-radius: 4px 16px 4px 4px; padding: 16px 18px; }
.price-free li b { color: var(--deep); }
.price-table,.faga-table { table-layout: fixed; width: 100%; font-size: 15px; border-collapse: separate; border-spacing: 0; border: 1px solid var(--polish-border); border-radius: var(--polish-corner); overflow: hidden; box-shadow: var(--polish-shadow); }
.price-table th,.price-table td,.faga-table th,.faga-table td { padding: 20px; line-height: 1.85; overflow-wrap: anywhere; word-break: normal; white-space: normal; border: 0; border-bottom: 1px solid var(--polish-border); }
.price-table th { width: 38%; background: #f0f7f4; color: var(--deep); }
.price-table td small { display: block; margin-top: 6px; font-size: 13px; }
.price-table tr:last-child>* ,.faga-table tbody tr:last-child>* { border-bottom: 0; }
.faga-table thead th { background: #146e71; color: #fff; padding-block: 16px; font-weight: 500; }
.faga-table thead th:first-child { width: 28%; }
.faga-table thead th:nth-child(2) { width: 37%; }
.faga-table tbody th { background: #f0f7f4; font-weight: 600; color: #146e71; }
.faga-table td+td { border-left: 1px solid var(--polish-border); }
.faga-table tbody tr:nth-child(even) td { background: #f9fcfa; }
.faga-page .aga-stages { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.faga-page .aga-stages>div { padding: 22px; border: 1px solid var(--polish-border); border-radius: var(--polish-corner); background: #f0f7f4; }
.faga-page .aga-stages span { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; padding: 4px 12px; margin-bottom: 14px; background: #146e71; color: #fff; border-radius: 4px 12px 4px 4px; font-size: 16px; }
.faga-page .aga-stages p { margin: 0; color: var(--ink); line-height: 1.9; }
.faqs details,.aga-faqs details { margin-bottom: 12px; border: 1px solid var(--polish-border); border-radius: 4px 22px 4px 4px; background: #fff; transition: background .2s,border-color .2s,box-shadow .2s; }
.faqs details:last-child { border-bottom: 1px solid var(--polish-border); }
.faqs summary,.aga-faqs summary { padding: 22px; line-height: 1.8; }
.faqs details[open],.aga-faqs details[open] { background: #f0f7f4; border-color: #b5d3c9; }
.faqs details>p { padding: 0 22px 24px 54px; color: #46635f; }
.aga-faqs details>div { padding: 0 22px 24px; }
.aga-faqs details p { color: #46635f; }
.doctor-photo,.polish-doctor-image { position: relative; }
.polish-image-note { position: absolute; bottom: 12px; left: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); background: #fff; border: 1px solid var(--polish-border); color: #146e71; padding: 4px 8px; font-size: 13px; line-height: 1.6; border-radius: 3px; }
.aga-page .aga-doctor { grid-template-columns: 170px 1fr; padding: 28px; gap: 28px; border-radius: var(--polish-corner); }
.aga-page .aga-doctor img { width: 170px; height: auto; aspect-ratio: 4/5; border-radius: 4px 28px 4px 4px; }
.polish-doctor-image { width: fit-content; }
.polish-doctor-image .polish-image-note { left: 8px; right: 8px; bottom: 8px; max-width: calc(100% - 16px); }
.aga-masthead-visual figcaption { background: #fff; color: #146e71; }
.aga-masthead-tags span { color: #146e71; background: #fff; }
.aga-pattern-top small { overflow-wrap: anywhere; }
/* Cover text inherited from legacy 8–11px rules, including collapsed UI. */
.nav-trigger,.nav,.reserve,.aga-breadcrumb,.aga-sidebar-price,.aga-figure-heading,.aga-figure-heading>a,.aga-reference,.aga-toc-caption,.aga-case-detail>div,.aga-pattern h3>span,.aga-related-grid a>span,.aga-hormone-flow,.aga-hormone-flow>div,.consult-phone,.consult-phone small,.contact-free,.contact-channel-en,.contact-web-top,.contact-web-label,.contact-hours-label,.contact-phone-purpose,.contact-web-description,.contact-web-bottom { font-size: 13px; }
.consult-dialog>p,.nav-panel-description { font-size: 15px; }
.consult-options a { font-size: 15px; }
.aga-medicine-list dd,.aga-check-list li,.svc-card li { font-size: 15px; }
main .aga-case-facts small,main .aga-hormone-flow small { font-size: 13px !important; }
.aga-pattern-top small { font-size: 12px; }
.header .reserve { font-size: 13px; }
.contact-channel-heading { flex-wrap: wrap; }
.contact-reception { flex-wrap: wrap; }
.contact-web-top { flex-wrap: wrap; }
.aga-breadcrumb { flex-wrap: wrap; }
.access-name .eyebrow,.consultation-heading .eyebrow { font-size: 12px; }
.access-map-heading a,.access-actions a { font-size: 13px; }
.access-heading>p,.consultation-heading p,.faq-section>div>p,.contact-phone-note,.doctor-copy .doctor-role { font-size: 15px; }
.contact-channel-heading h3 { font-size: 15px; }
.aga-link-row a,.aga-case-facts dd,.aga-diagnosis .aga-inline-link,.aga-page .consultation-bottom>a { font-size: 13px; }
.footer .footer-bottom,.footer nav,.aga-check-list,.aga-visit-steps { font-size: 13px; }
@media (hover:hover) and (prefers-reduced-motion:no-preference) {
  :is(.svc-card,.method-card,.column-card,.aga-columns a):hover { transform: translateY(-2px); box-shadow: var(--polish-shadow); border-color: #146e71; }
  :is(.case-excerpt,.aga-case,.why-item,.flow-steps li):hover { border-color: #a9ccc0; }
  .faqs details:hover,.aga-faqs details:hover { box-shadow: var(--polish-shadow); border-color: #a9ccc0; }
  .price-table tr:hover td,.faga-table tbody tr:hover td { background: #f0f7f4; }
}
@media (max-width:1120px) { .header { gap: 16px; padding-inline: 24px; } .nav.nav-enhanced { gap: 12px; } .nav-trigger { gap: 6px; } }
@media (max-width:900px) {
  .hero-static .hero-inner { max-width: 660px; }
  .hero-static .hero-veil { background: linear-gradient(90deg,rgba(240,247,244,.98),rgba(240,247,244,.88) 65%,rgba(240,247,244,.45)); }
  .aga-layout { padding-top: 48px; }
}
@media (max-width:600px) {
  .header { padding-inline: 16px; gap: 10px; }
  .header .logo { width: 140px; }
  .header .reserve { padding: 10px; min-height: 44px; }
  .hero-static { min-height: 0; padding-top: 192px; }
  .hero-static .hero-bg { height: 226px; object-position: right center; }
  .hero-static .hero-veil { background: linear-gradient(180deg,transparent 100px,#f0f7f4 226px); }
  .hero-static .hero-inner { padding-block: 24px 48px; }
  .hero-static h1 { font-size: 28px; line-height: 1.55; }
  .hero-static .hero-eyebrow { font-size: 13px; letter-spacing: .02em; gap: 8px; }
  .hero-static .hero-eyebrow::before { width: 16px; flex-shrink: 0; }
  .hero-static .hero-lead { font-size: 16px; }
  .trust-chips { display: grid; }
  .trust-chips li { gap: 6px; padding-inline: 10px; }
  .trust-chips li small { flex-basis: 100%; padding-left: 30px; }
  .svc-card .svc-body,.case-excerpt,.aga-case { padding: 22px 20px; }
  .svc-mini { grid-template-columns: 80px minmax(0,1fr); padding: 16px; gap: 14px; }
  .svc-mini img { width: 80px; height: 80px; }
  .price-table th { width: 40%; }
  .price-table th,.price-table td { padding: 16px 12px; }
  .price-table td b { overflow-wrap: anywhere; }
  .faga-table th,.faga-table td { padding: 14px 9px; line-height: 1.85; }
  .faga-table thead th:first-child { width: 29%; }
  .faga-table thead th:nth-child(2) { width: 36%; }
  .faga-page .aga-stages { grid-template-columns: 1fr; }
  .faga-page .aga-stages>div { display: grid; grid-template-columns: 62px minmax(0,1fr); align-items: start; gap: 16px; padding: 20px; }
  .faga-page .aga-stages span { margin: 0; }
  .aga-page .aga-doctor { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .aga-page .aga-doctor img { width: 170px; }
  .aga-visit-steps li { display: flex; gap: 12px; align-items: start; }
  .aga-visit-steps .polish-icon { margin: 0; }
  .aga-hormone-flow>span:has(small) { font-size: 18px; height: auto; }
  .aga-hormone-flow>span:has(small)::after { content: none; }
  .polish-flow-arrow { display: block; transform: rotate(90deg); }
  .aga-section { padding-bottom: 36px; margin-bottom: 36px; }
  .aga-masthead-visual img { height: 220px; }
  .faga-page .aga-masthead-visual img { object-position: 55% center; }
  .faqs summary,.aga-faqs summary { padding: 20px 16px; }
  .faqs details>p { padding: 0 16px 22px; }
  .aga-page .aga-mid-cta { padding: 20px; }
  .aga-mid-cta .button { width: 100%; }
  .contact-web-title { font-size: 22px; }
  .contact-web-card { padding-inline: 22px; }
  .contact-number>span:first-child { font-size: clamp(28px,8.4vw,36px); }
  .contact-number { gap: 8px; }
  .contact-free { margin-left: 0; }
  .consultation-bottom { flex-wrap: wrap; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .svc-card:hover,.contact-web-card:hover,.contact-number:hover .contact-call-arrow { transform: none; }
}
