/* Contact v2: the invitation, every department's line, and the three offices in one place.
   The previous version is kept in backups/contact-section.html (+ backups/offices-section.html). */
.cta-section { padding-block: 72px 76px; }
.cta-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta-copy h2 { margin-bottom: 16px; }
.cta-copy h2 > span + span { margin-inline-start: .16em; }
.cta-text { color: #4f5b70; font-size: 16px; line-height: 2.05; max-width: 500px; }
.cta-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.cta-actions .angle-button { min-height: 54px; font-size: 15px; gap: 20px; }
.cta-actions .button-orb { width: 40px; height: 40px; font-size: 14px; }
.cta-wa { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-size: 15px; font-weight: 800; padding-bottom: 2px; border-bottom: 1px solid rgb(7 21 46 / 20%); transition: border-color .2s; }
.cta-wa i { color: var(--blue); font-size: 20px; }
.cta-wa:hover { border-color: var(--navy); }

/* Departments: a navy panel, cut at the brand angle, one row per line from the client's flyer. */
.dept-panel { position: relative; isolation: isolate; overflow: hidden; padding: 30px 30px 18px; background: var(--navy); color: #fff; clip-path: polygon(0 0,100% 0,100% calc(100% - 34px),calc(100% - 34px) 100%,0 100%); }
.dept-panel::after { content: ''; position: absolute; z-index: -1; top: -30px; inset-inline-end: -70px; width: 200px; height: 260px; background: rgb(255 255 255 / 4%); clip-path: polygon(0 0,43% 0,100% 50%,43% 100%,0 100%,57% 50%); }
.dept-title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 19px; font-weight: 900; }
.dept-title::before { content: ''; width: 26px; height: 4px; background: var(--blue); clip-path: polygon(4px 0,100% 0,calc(100% - 4px) 100%,0 100%); }
.dept-row { display: flex; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid rgb(255 255 255 / 9%); }
.dept-row:last-child { border-bottom: 0; }
.dept-num { color: #4a6496; font: 800 13px Arial, sans-serif; width: 22px; flex-shrink: 0; }
.dept-name { flex: 1; display: flex; flex-direction: column; gap: 6px; line-height: 1.5; }
.dept-name strong { font-size: 15px; font-weight: 800; }
.dept-name bdi { align-self: flex-start; color: #8d9ab5; font: 700 15px Arial, sans-serif; letter-spacing: .03em; }
.dept-actions { display: flex; gap: 8px; flex-shrink: 0; }
.dept-btn { width: 40px; height: 40px; display: grid; place-items: center; background: rgb(255 255 255 / 8%); color: #fff; font-size: 15px; clip-path: polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%); transition: background .2s; }
.dept-btn:hover, .dept-btn:focus-visible { background: var(--blue); }

/* Offices */
.contact-offices { margin-top: 48px; padding-top: 34px; border-top: 1px solid var(--line); }
.contact-offices-title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; color: var(--navy); font-size: 20px; font-weight: 900; }
.contact-offices-title::before { content: ''; width: 28px; height: 4px; background: var(--blue); clip-path: polygon(4px 0,100% 0,calc(100% - 4px) 100%,0 100%); }
.office-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.office-card { display: flex; align-items: flex-start; gap: 16px; padding: 22px 22px 20px; background: #fff; border: 1px solid #e6ebf3; box-shadow: 0 14px 34px rgb(7 21 46 / 6%); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.office-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px rgb(7 21 46 / 11%); }
.office-card-icon { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; background: #eaf0ff; color: var(--blue); font-size: 18px; clip-path: polygon(9px 0,100% 0,calc(100% - 9px) 100%,0 100%); }
.office-card h3 { margin-bottom: 4px; color: var(--navy); font-size: 18px; font-weight: 900; line-height: 1.6; }
.office-card p { color: #5a667a; font-size: 14px; line-height: 1.9; }
.office-card-map { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--blue); font-size: 14px; font-weight: 800; border-bottom: 1px solid rgb(7 84 255 / 30%); transition: border-color .2s; }
.office-card-map i { font-size: 11px; }
.office-card-map:hover { border-color: var(--blue); }

@media (max-width: 1023px) {
  .cta-section { padding-block: 56px 60px; }
  .cta-layout { grid-template-columns: 1fr; }
  .office-cards { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 767px) {
  .cta-section { padding-block: 44px 48px; }
  .cta-text { font-size: 14px; }
  .dept-panel { padding: 24px 18px 12px; clip-path: polygon(0 0,100% 0,100% calc(100% - 22px),calc(100% - 22px) 100%,0 100%); }
  .dept-row { gap: 12px; }
  .dept-num { display: none; }
  .dept-name strong { font-size: 14px; }
  .dept-name bdi { font-size: 14px; }
  .dept-btn { width: 38px; height: 38px; }
  .contact-offices { margin-top: 32px; padding-top: 26px; }
  .office-card { padding: 18px 16px; }
}
