.agency-plan-dialog{width:min(1080px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:1px solid #dbe0eb;border-radius:22px;background:#fff;color:#293659;overflow:auto;box-shadow:0 28px 90px #07152b40}.agency-plan-dialog::backdrop{background:#0b182fa3;backdrop-filter:blur(6px)}.agency-plan-dialog *{box-sizing:border-box}.agency-plan-dialog__head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:25px 30px 20px;background:#fff;border-bottom:1px solid #e6eaf0}.agency-plan-dialog .agency-plan-dialog__eyebrow{margin:0 0 8px;color:#c73833;font-size:12px;font-weight:700;text-transform:uppercase}.agency-plan-dialog h2{margin:0;font-size:30px;line-height:1.15;font-weight:800}.agency-plan-dialog__head p:last-child{margin:10px 0 0;font-size:15px;line-height:1.5;color:#60708b}.agency-plan-dialog__close{width:44px;height:44px;flex:none;position:static;border:0;border-radius:12px;background:#eef7fa;color:#293659;font-size:28px;line-height:1;cursor:pointer}.agency-plan-dialog__body{padding:24px 30px 30px}.agency-plan-dialog__body>section+section{margin-top:30px}.agency-plan-dialog h3{margin:0 0 16px;font-size:23px;line-height:1.25}.agency-plan-dialog h4{margin:0 0 10px;font-size:18px;line-height:1.3}.agency-plan-dialog__body p{margin:0 0 14px;font-size:15px;line-height:1.7;color:#52627e}.agency-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.agency-plan-grid article{padding:20px;border:1px solid #d4dbe7;border-radius:12px;background:#fafbfe}.agency-plan-grid article:nth-child(2n){background:#fffdf3}.agency-plan-grid article p{margin:0}.agency-plan-benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin:0;padding:0;list-style:none}.agency-plan-benefits li{display:flex;gap:10px;font-size:15px;line-height:1.5}.agency-plan-benefits li::before{content:'✓';color:#c73833;font-weight:700}.agency-plan-table-wrap{overflow-x:auto;margin-bottom:22px;border:1px solid #d4dbe7;border-radius:12px}.agency-plan-dialog table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;line-height:1.5}.agency-plan-dialog caption{text-align:left;padding:16px;font-size:17px;font-weight:700;background:#f6f9fd;color:#293659}.agency-plan-dialog th,.agency-plan-dialog td{padding:13px 16px;border-top:1px solid #e2e7ef}.agency-plan-dialog thead th{font-size:13px;background:#fbf8db;white-space:nowrap}.agency-plan-dialog tbody th{font-weight:500}.agency-plan-dialog td{text-align:center;white-space:nowrap;font-weight:700}.agency-plan-dialog .agency-plan-note{padding:16px;border-radius:12px;background:#f6f9fd}.agency-plan-contact{text-align:center;margin-top:28px;padding-top:24px;border-top:1px solid #dbe1ec}.agency-plan-contact .button{margin-bottom:16px}.agency-plan-contact a{color:inherit}.agency-plan-contact a.button{color:#fff}.agency-plan-dialog button:focus-visible,.agency-plan-dialog a:focus-visible{outline:3px solid #4b9bd1;outline-offset:3px}@media(max-width:600px){.agency-plan-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:18px}.agency-plan-dialog__head{padding:20px 17px 16px;gap:12px}.agency-plan-dialog h2{font-size:25px}.agency-plan-dialog__body{padding:20px 17px 24px}.agency-plan-dialog h3{font-size:21px}.agency-plan-grid,.agency-plan-benefits{grid-template-columns:1fr}.agency-plan-dialog th,.agency-plan-dialog td{padding:11px 12px}.agency-plan-dialog table{font-size:13px}.agency-plan-dialog__head p:last-child{font-size:14px}}

/* Collaboration section only: shared visual language for the four plans. */
html body.about-page #collabora-con-noi .about-why__grid {gap:18px;}
html body.about-page #collabora-con-noi .about-why__grid article {position:relative;overflow:hidden;border-radius:18px;border:1px solid #d8dfeb;background:linear-gradient(150deg,#fff 55%,#f6f8fc);box-shadow:0 8px 28px #29365907;}
html body.about-page #collabora-con-noi .about-why__grid article::before {content:'';position:absolute;top:0;left:24px;right:24px;height:4px;background:#e64a42;border-radius:0 0 5px 5px;}
html body.about-page #collabora-con-noi .about-why__grid article:nth-child(2n)::before {background:#e9d35b;}
html body.about-page #collabora-con-noi .about-why__grid article>span {box-shadow:4px 4px 0 #e5eaf5;border:1px solid #d4c365;}
html body.about-page #collabora-con-noi .collab-plan-link {border-radius:12px;box-shadow:0 3px 0 #29365912;transition:background .18s,box-shadow .18s;}
html body.about-page #collabora-con-noi .collab-plan-link:hover {background:#fbf8db;box-shadow:0 4px 12px #29365918;}
.agency-plan-dialog {border:0;border-radius:24px;background:#fcfcfa;box-shadow:0 32px 110px #07152b60;}
.agency-plan-dialog__head {padding:22px 30px 20px;background:#fff;border-bottom:1px solid #e5e8ef;}
.agency-plan-dialog__head>div {min-width:0;flex:1;}
.agency-plan-brand {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px;}
.agency-plan-brand img {display:block;width:164px;height:40px;object-fit:contain;object-position:left center;}
.agency-plan-brand>span {color:#71809a;font-size:11px;letter-spacing:.03em;}
.agency-plan-dialog .agency-plan-dialog__eyebrow {color:#b7332f;font-size:10px;letter-spacing:.08em;margin:0 0 6px;}
.agency-plan-dialog h2 {font-size:32px;letter-spacing:-.025em;}
.agency-plan-dialog__head p:last-child {margin-top:8px;max-width:760px;}
.agency-plan-dialog__close {border:1px solid #dce2ed;background:#f6f8fc;border-radius:50%;}
.agency-plan-dialog__body {padding:24px 30px 30px;}
.agency-plan-journey {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:18px;margin-bottom:32px;padding:18px 22px;background:#edf2f8;border:1px solid #e1e7f0;border-radius:16px;}
.agency-plan-journey>div {position:relative;display:flex;align-items:center;gap:12px;font-size:13px;font-weight:650;line-height:1.35;min-width:0;}
.agency-plan-journey>div:not(:last-child)::after {content:'→';position:absolute;right:-11px;color:#94a2b7;font-weight:400;}
.agency-plan-journey__number {display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:#fff;color:#293659;box-shadow:0 2px 5px #29365909;font-size:12px;letter-spacing:.02em;}
.agency-plan-journey>div:last-child .agency-plan-journey__number {background:#fbf3b2;}
.agency-plan-dialog h3 {display:flex;align-items:center;gap:10px;font-size:22px;line-height:1.3;}
.agency-plan-section-icon {display:grid;place-items:center;flex:none;width:34px;height:34px;border:1px solid #e5dfbf;border-radius:11px;background:#fbf8e8;color:#293659;}
.agency-plan-section-icon svg {width:18px;height:18px;}
.agency-plan-dialog__body>section+section {margin-top:34px;}
.agency-plan-grid {gap:16px;}
.agency-plan-grid article {position:relative;padding:22px;background:#fff;border:1px solid #dce2ec;border-radius:16px;box-shadow:0 5px 18px #29365904;}
.agency-plan-grid article:nth-child(2n) {background:#fffef9;}
.agency-plan-card-icon {display:grid;place-items:center;width:42px;height:42px;margin-bottom:16px;border-radius:13px;background:#edf3fa;color:#293659;}
.agency-plan-card-icon svg {width:23px;height:23px;}
.agency-plan-grid article:nth-child(2n) .agency-plan-card-icon {background:#fbf3bf;color:#736322;}
.agency-plan-dialog h4 {font-size:18px;}
.agency-plan-dialog__body p {color:#52627e;}
.agency-plan-table-wrap {border:1px solid #dce2ec;border-radius:16px;background:#fff;}
.agency-plan-dialog caption {padding:18px 20px;background:#293659;color:#fff;font-size:16px;}
.agency-plan-dialog thead th {background:#fbf7d9;padding-block:12px;}
.agency-plan-dialog th,.agency-plan-dialog td {padding:14px 18px;}
.agency-plan-dialog tbody tr:nth-child(even) {background:#f8fafd;}
.agency-plan-dialog tbody td {color:#293659;font-size:15px;font-weight:750;}
.agency-plan-dialog tbody th {color:#52627e;}
#leader-plan-dialog tbody td {white-space:normal;min-width:160px;}
.agency-plan-dialog .agency-plan-note {padding:16px 18px;border:1px solid #e5dfc2;border-left:4px solid #e5ce59;border-radius:12px;background:#fffcf0;font-size:14px;}
.agency-plan-benefits {gap:12px;}
.agency-plan-benefits li {align-items:flex-start;padding:15px 16px;background:#fff;border:1px solid #e0e5ed;border-radius:12px;font-size:14px;}
.agency-plan-benefits li::before {display:grid;place-items:center;flex:none;width:21px;height:21px;margin-top:1px;border-radius:50%;background:#fbf3c5;color:#706022;font-size:12px;}
.agency-plan-contact {margin-top:34px;padding:26px;border:0;border-radius:20px;background:#293659;text-align:left;}
.agency-plan-contact__person {display:flex;align-items:center;gap:20px;}
.agency-plan-contact__person>img {width:80px;height:92px;flex:none;object-fit:cover;object-position:center 22%;border:3px solid #fff;border-radius:18px;}
.agency-plan-contact__person>div>span {display:block;margin-bottom:6px;color:#f7e89e;font-size:11px;font-weight:650;letter-spacing:.07em;text-transform:uppercase;}
.agency-plan-dialog .agency-plan-contact h3 {margin:0 0 8px;color:#fff;font-size:24px;}
.agency-plan-dialog .agency-plan-contact p {margin:0;color:#d9e0ef;font-size:14px;line-height:1.6;}
.agency-plan-contact__actions {display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;padding-top:22px;border-top:1px solid #ffffff24;}
.agency-plan-contact__actions .button {display:inline-flex;align-items:center;justify-content:center;gap:10px;margin:0;min-height:48px;padding:12px 20px;border-radius:12px;font-size:14px;}
.agency-plan-contact__actions .button svg {width:18px;height:18px;flex:none;}
.agency-plan-contact__actions .button--primary {border:1px solid #f6766e;background:#e64a42;color:#fff;}
.agency-plan-contact__actions .button--outline {border:1px solid #ffffff65;background:transparent;color:#fff;box-shadow:none;}
.agency-plan-contact__actions .button--outline:hover {background:#ffffff12;}
@media(max-width:600px){
 .agency-plan-dialog {border-radius:18px;}
 .agency-plan-dialog__head {padding:18px 17px 16px;gap:12px;}
 .agency-plan-brand {margin-bottom:14px;}
 .agency-plan-brand img {width:138px;height:32px;}
 .agency-plan-brand>span {display:none;}
 .agency-plan-dialog h2 {font-size:25px;}
 .agency-plan-dialog__close {width:38px;height:38px;}
 .agency-plan-dialog__body {padding:20px 17px 22px;}
 .agency-plan-journey {gap:12px;padding:14px 10px;margin-bottom:26px;align-items:start;}
 .agency-plan-journey>div {flex-direction:column;gap:8px;text-align:center;font-size:10px;}
 .agency-plan-journey>div:not(:last-child)::after {top:8px;right:-10px;}
 .agency-plan-journey__number {width:30px;height:30px;font-size:11px;}
 .agency-plan-dialog h3 {font-size:20px;gap:8px;}
 .agency-plan-grid article {padding:18px;}
 .agency-plan-dialog th,.agency-plan-dialog td {padding:12px;}
 .agency-plan-dialog tbody td {font-size:13px;}
 .agency-plan-dialog caption {padding:16px;font-size:15px;}
 .agency-plan-benefits li {padding:13px 14px;}
 .agency-plan-contact {padding:20px 17px;}
 .agency-plan-contact__person {align-items:flex-start;gap:14px;}
 .agency-plan-contact__person>img {width:60px;height:74px;border-radius:14px;}
 .agency-plan-dialog .agency-plan-contact h3 {font-size:21px;}
 .agency-plan-dialog .agency-plan-contact p {font-size:13px;}
 .agency-plan-contact__actions {flex-direction:column;}
 .agency-plan-contact__actions .button {width:100%;font-size:13px;}
}
@media(prefers-reduced-motion:reduce){html body.about-page #collabora-con-noi .collab-plan-link {transition:none;}}
