/* Contact stays one tap away without crowding the mobile signup action. */
.header-contact { display: none; }
#rapoarte { scroll-margin-top: 94px; }
.header-contact:focus-visible,
.site-footer a:focus-visible { outline: 3px solid #da7100; outline-offset: 5px; }

@media (max-width: 719px) {
  .site-header,
  .site-header.is-scrolled { gap: 8px; padding-right: 10px; padding-left: 10px; }
  .site-header .brand { flex: none; gap: 7px; }
  .site-header .brand-mark { width: 38px; height: 38px; }
  .site-header .brand strong { font-size: 18px; }
  .site-header .brand small { display: none; }
  .site-header .header-contact {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    flex: none; min-height: 44px; margin-left: auto; padding: 9px;
    border: 1px solid currentColor; border-radius: 13px;
    color: inherit; background: transparent; text-decoration: none;
    font-size: 13px; font-weight: 850; line-height: 1; white-space: nowrap;
  }
  .header-contact svg { width: 16px; height: 16px; flex: none; }
  .site-header .header-signup { margin-left: 0; min-height: 44px; padding: 10px; font-size: 12px; }
  .site-header .menu-toggle { width: 44px; height: 44px; flex: none; }
}

@media (max-width: 379px) {
  .site-header .brand > span:last-child { display: none; }
}

/* A light, structured close to the page: contact first, company details last. */
.site-footer {
  position: relative; display: block; padding: 52px 22px 24px;
  color: #13283e; background: #f7f4ee; font-size: 16px; line-height: 1.5;
  border-top: 1px solid #e8dbc7;
}
.site-footer::before {
  content: ""; position: absolute; top: -2px; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, #ff9b18 30%, #ffd993 65%, transparent);
}
.footer-inner { max-width: 1160px; margin: 0 auto; }
.footer-main { display: grid; gap: 32px; }
.site-footer .brand { display: inline-flex; width: fit-content; color: #13283e; text-decoration: none; }
.site-footer .brand-mark { width: 48px; height: 48px; }
.site-footer .brand strong { font-size: 26px; }
.site-footer .brand small { color: #536477; font-size: 9px; letter-spacing: .12em; }
.footer-statement { margin: 24px 0 12px; font-size: clamp(26px, 6vw, 34px); font-weight: 850; line-height: 1.16; letter-spacing: -.035em; }
.footer-description { max-width: 350px; margin: 0; color: #536477; font-size: 16px; line-height: 1.65; }
.footer-contact { padding: 24px; border: 1px solid #e3d5c1; border-radius: 22px; background: #fffaf2; }
.site-footer h2 { margin: 0 0 16px; color: #13283e; font-size: 17px; font-weight: 800; line-height: 1.45; letter-spacing: 0; }
.footer-contact a { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: fit-content; max-width: 100%; min-height: 44px; color: #13283e; text-decoration: none; }
.footer-contact a span { color: #a45100; }
.footer-contact .footer-phone { width: 100%; font-size: clamp(25px, 6.5vw, 30px); font-weight: 850; letter-spacing: -.035em; white-space: nowrap; }
.footer-contact .footer-email { font-size: 18px; font-weight: 650; }
.footer-contact .footer-contact-link { margin-top: 14px; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; align-content: start; }
.footer-nav h2 { grid-column: 1 / -1; margin-bottom: 10px; }
.footer-nav a { display: flex; gap: 8px; align-items: center; min-height: 48px; padding: 7px 0; color: #334b63; text-decoration: none; font-size: 15px; font-weight: 650; }
.site-footer a:hover { color: #9c4c00; }
.footer-company { display: grid; gap: 22px; margin-top: 36px; padding: 26px 0; border-top: 1px solid #dfded9; border-bottom: 1px solid #dfded9; }
.footer-company strong { display: block; margin-bottom: 5px; font-size: 15px; }
.footer-company span { display: block; color: #536477; font-size: 14px; }
.footer-company address { margin: 0; color: #334b63; font-size: 15px; font-style: normal; }
.footer-company address span { margin-bottom: 5px; }
.footer-bottom { display: grid; gap: 14px; padding-top: 20px; }
.footer-bottom small { color: #536477; font-size: 13px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-legal a { display: flex; align-items: center; min-height: 44px; color: #536477; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 760px) {
  .site-footer { padding: 64px 32px 26px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-nav { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-company { grid-template-columns: 1fr 1fr; }
  .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
}
@media (min-width: 1050px) {
  .footer-main { grid-template-columns: 1.1fr 1.15fr .75fr; align-items: start; gap: 44px; }
  .footer-contact { padding: 26px; }
  .footer-nav { grid-column: auto; grid-template-columns: 1fr; padding-top: 4px; }
  .footer-company { grid-template-columns: 1.1fr 1.9fr; gap: 44px; }
}

/* Native modal behavior, using the site's light card, navy type and orange accents. */
html.contact-modal-open,
html.contact-modal-open body { overflow: hidden; }
.contact-modal {
  width: min(540px, calc(100% - 32px)); max-width: none; max-height: none;
  margin: auto; padding: 0; border: 0; border-radius: 25px;
  background: transparent; overflow: hidden; color: #13283e;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}
.contact-modal::backdrop { background: rgba(5, 13, 24, .68); backdrop-filter: blur(7px); }
.contact-modal .modal-card {
  width: 100%; max-height: calc(100svh - 32px); padding: 30px 24px 24px;
  overflow-y: auto; overscroll-behavior: contain; box-shadow: none;
}
.contact-modal .modal-close { z-index: 2; width: 44px; height: 44px; color: #13283e; }
.contact-modal .eyebrow { padding-right: 40px; font-size: 12px; }
.contact-modal .modal-card h2 { padding-right: 12px; font-size: clamp(27px, 7vw, 36px); line-height: 1.1; letter-spacing: -.045em; }
.contact-modal .modal-card > p:not(.eyebrow) { margin-top: 14px; font-size: 16px; line-height: 1.5; }
.contact-modal-actions { display: grid; gap: 12px; margin: 24px 0; }
.contact-modal-actions a {
  display: grid; gap: 4px; padding: 15px 18px; border: 1px solid #d8e1eb;
  border-radius: 15px; text-decoration: none; color: #13283e; background: #fff;
}
.contact-modal-actions a span { font-size: 13px; font-weight: 650; }
.contact-modal-actions a strong { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 21px; line-height: 1.3; }
.contact-modal-actions .contact-modal-phone { border-color: #ffb02a; background: linear-gradient(135deg, #ffc247, #ff8b08); box-shadow: 0 8px 22px rgba(255, 139, 8, .2); }
.contact-modal-actions a:hover { filter: brightness(.97); }
.contact-modal-details { margin: 0; padding-top: 20px; border-top: 1px solid #dce4ec; display: grid; gap: 16px; }
.contact-modal-details dt { margin-bottom: 3px; color: #536477; font-size: 13px; }
.contact-modal-details dd { margin: 0; color: #13283e; font-size: 16px; font-weight: 650; line-height: 1.5; }
.contact-modal :focus-visible { outline: 3px solid #b65d00; outline-offset: 3px; }
@media (max-width: 359px) {
  .contact-modal .modal-card { padding-right: 18px; padding-left: 18px; }
  .contact-modal-actions a strong { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-modal .modal-card { animation: none; }
}
