/* ASIP.MD Footer CSS v3.1 - selected premium footer, footer-scoped only */
.asip-footer {
  --footer-dark: #17252A;
  --footer-deep: #102326;
  --footer-primary: #2B7A78;
  --footer-accent: #3AAFA9;
  --footer-white: #FEFFFF;
  --footer-card: rgba(254,255,255,.07);
  --footer-muted: rgba(254,255,255,.72);
  --footer-line: rgba(254,255,255,.14);
  --footer-line-strong: rgba(254,255,255,.2);
  position: relative;
  overflow: hidden;
  padding: 28px 0 30px;
  color: var(--footer-white);
  background:
    radial-gradient(circle at 88% 0%, rgba(58,175,169,.16), transparent 28%),
    linear-gradient(135deg, #102326 0%, #112A2E 54%, #12393B 100%);
}
.asip-footer-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(100% - 40px, var(--container, 1180px));
  margin-inline: auto;
}
.asip-footer-cta-panel,
.asip-footer-contact-card {
  border: 1px solid var(--footer-line-strong);
  background: var(--footer-card);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 60px rgba(0,0,0,.12);
}
.asip-footer-cta-panel {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 26px;
}
.asip-footer-cta-copy span,
.asip-footer-contact-card small {
  color: var(--footer-accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.asip-footer-cta-copy h2 {
  max-width: 720px;
  margin: 10px 0 8px;
  color: var(--footer-white);
  line-height: 1.14;
  letter-spacing: -.025em;
}
.asip-footer-cta-copy p {
  max-width: 760px;
  margin: 0;
  color: var(--footer-muted);
  line-height: 1.55;
}
.asip-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.asip-footer-btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.asip-footer-btn:hover { transform: translateY(-2px); }
.asip-footer-btn.primary {
  background: var(--footer-primary);
  color: var(--footer-white);
}
.asip-footer-btn.ghost {
  border-color: rgba(254,255,255,.28);
  color: var(--footer-white);
  background: rgba(254,255,255,.06);
}
.asip-footer-btn.ghost:hover {
  border-color: var(--footer-accent);
  background: rgba(58,175,169,.12);
}
.asip-footer-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.asip-footer-contact-card {
  display: grid;
  gap: 7px;
  padding: 20px;
  border-radius: 18px;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.asip-footer-contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(58,175,169,.48);
  background: rgba(254,255,255,.1);
}
.asip-footer-contact-card b {
  color: var(--footer-white);
  font-size: 19px;
  line-height: 1.25;
}
.asip-footer-contact-card span {
  color: var(--footer-muted);
  line-height: 1.38;
}
.asip-footer-menu {
  display: grid;
  grid-template-columns: 280px 165px 260px 120px;
  justify-content: space-between;
  column-gap: 0;
  row-gap: 24px;
  padding: 30px 0 24px;
}
.asip-footer-logo {
  display: inline-flex;
  text-decoration: none;
  color: var(--footer-white);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}
.asip-footer-logo span { color: var(--footer-accent); }
.asip-footer-brand p {
  max-width: 270px;
  margin: 18px 0 0;
  color: var(--footer-muted);
  line-height: 1.55;
}
.asip-footer-menu nav {
  display: grid;
  gap: 9px;
  align-content: start;
  width: auto;
  min-width: 0;
}
.asip-footer-menu nav:nth-of-type(1) { justify-self: start; min-width: 190px; }
.asip-footer-menu nav:nth-of-type(2) { justify-self: center; }
.asip-footer-menu nav:nth-of-type(3) { justify-self: end; }
.asip-footer-menu nav:nth-of-type(1) a { white-space: nowrap; }
.asip-footer-menu h3 {
  margin: 0 0 4px;
  color: var(--footer-white);
  font-size: 18px;
  line-height: 1.2;
}
.asip-footer-menu a,
.asip-footer-bottom-links a {
  color: rgba(254,255,255,.72);
  text-decoration: none;
  line-height: 1.35;
  transition: color .18s ease;
}
.asip-footer-menu a:hover,
.asip-footer-bottom-links a:hover { color: var(--footer-accent); }
.asip-footer-legal-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(254,255,255,.12);
  border-bottom: 1px solid rgba(254,255,255,.12);
}
.asip-footer-hours { white-space: nowrap; }
.asip-footer-socials {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.asip-footer-social {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  border: 1px solid rgba(254,255,255,.18);
  color: var(--footer-white);
  background: rgba(254,255,255,.06);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.asip-footer-social:hover {
  transform: translateY(-2px);
  border-color: rgba(58,175,169,.5);
  background: rgba(58,175,169,.14);
}
.asip-footer-social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.asip-footer-legal-row p {
  margin: 0;
  color: rgba(254,255,255,.58);
  font-size: 13px;
  line-height: 1.45;
}
.asip-footer-legal-row b { color: rgba(254,255,255,.74); }
.asip-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  color: rgba(254,255,255,.58);
  font-size: 13px;
}
.asip-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.asip-footer-bottom p { margin: 0; }
@media (max-width: 980px) {
  .asip-footer-cta-panel,
  .asip-footer-menu,
  .asip-footer-legal-row { grid-template-columns: 1fr; }
  .asip-footer-menu nav { width: auto; min-width: 0; justify-self: start; }
  .asip-footer-menu nav:nth-of-type(1),
  .asip-footer-menu nav:nth-of-type(2),
  .asip-footer-menu nav:nth-of-type(3) { justify-self: start; }
  .asip-footer-hours { white-space: normal; }
  .asip-footer-socials { justify-content: flex-start; }
  .asip-footer-cta-actions { justify-content: flex-start; }
  .asip-footer-contact-grid { grid-template-columns: 1fr; }
  .asip-footer-bottom { display: grid; }
}
@media (max-width: 620px) {
  .asip-footer { padding: 24px 0; }
  .asip-footer-shell { width: min(100% - 28px, var(--container, 1180px)); }
  .asip-footer-contact-grid { display: none; }
  .asip-footer-hours-break { display: block; margin-top: 2px; }
  .asip-footer-cta-panel { padding: 20px; border-radius: 24px; }
  .asip-footer-cta-copy h2 { font-size: 22px; }
  .asip-footer-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .asip-footer-btn { width: 100%; }
  .asip-footer-contact-card { padding: 18px; }
  .asip-footer-menu { gap: 20px; }
  .asip-footer-bottom-links { display: grid; gap: 10px; }
}

/* Footer request modal */
body.asip-footer-modal-open { overflow: hidden; }
.asip-footer-modal[hidden],
.asip-footer-success-modal[hidden] { display: none; }
.asip-footer-modal,
.asip-footer-success-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.asip-footer-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 35, 38, .62);
  backdrop-filter: blur(10px);
}
.asip-footer-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: min(92dvh, 760px);
  overflow: auto;
  padding: 34px;
  border: 1px solid rgba(43,122,120,.12);
  border-radius: 28px;
  background: #FEFFFF;
  box-shadow: 0 34px 90px rgba(16,35,38,.28);
  color: #17252A;
}
.asip-footer-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  background: #EEF5F4;
  color: #17252A;
}
.asip-footer-modal-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.asip-footer-modal-head {
  padding-right: 44px;
  margin-bottom: 22px;
}
.asip-footer-modal-head h2 {
  margin: 0;
  color: #17252A;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
.asip-footer-modal-head p {
  margin: 12px 0 0;
  color: rgba(23,37,42,.72);
  line-height: 1.55;
}
.asip-footer-modal-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.asip-footer-modal-field {
  display: grid;
  margin: 0;
}
.asip-footer-modal-full,
.asip-footer-modal-submit,
.asip-footer-modal-privacy { grid-column: 1 / -1; }
.asip-footer-modal-field input,
.asip-footer-modal-field select,
.asip-footer-modal-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(43,122,120,.2);
  border-radius: 16px;
  outline: 0;
  background: #FEFFFF;
  color: #17252A;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.asip-footer-modal-field textarea {
  min-height: 118px;
  resize: vertical;
}
.asip-footer-modal-field input:focus,
.asip-footer-modal-field select:focus,
.asip-footer-modal-field textarea:focus {
  border-color: #2B7A78;
  box-shadow: 0 0 0 4px rgba(58,175,169,.14);
}
.asip-footer-modal-submit {
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: #2B7A78;
  color: #FEFFFF;
  font-weight: 700;
}
.asip-footer-modal-submit:hover { background: #246C6A; }
.asip-footer-modal-privacy {
  margin: 2px 0 0;
  color: rgba(23,37,42,.64);
  font-size: 13px;
  line-height: 1.45;
}
.asip-footer-modal .hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
@media (max-width: 620px) {
  .asip-footer-modal,
  .asip-footer-success-modal { padding: 18px; align-items: center; }
  .asip-footer-modal-dialog {
    width: min(100%, 520px);
    max-height: 88dvh;
    padding: 28px 24px 24px;
    border-radius: 26px;
  }
  .asip-footer-modal-head { padding-right: 44px; }
  .asip-footer-modal-head h2 { font-size: 30px; }
  .asip-footer-modal-form { grid-template-columns: 1fr; }
  .asip-footer-modal-field input,
  .asip-footer-modal-field select { min-height: 56px; }
}

.asip-footer-modal-field select {
  appearance: none;
  padding-right: 50px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5' fill='none' stroke='%2317252A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 18px 18px;
}
.asip-footer-modal-submit:disabled {
  opacity: .72;
  cursor: wait;
}
.asip-footer-success-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(100%, 440px);
  padding: 28px;
  border: 1px solid rgba(43,122,120,.12);
  border-radius: 24px;
  background: #FEFFFF;
  box-shadow: 0 34px 90px rgba(16,35,38,.28);
  color: #17252A;
}
.asip-footer-success-dialog h2 {
  margin: 0;
  color: #17252A;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.asip-footer-success-dialog p {
  margin: 0;
  color: rgba(23,37,42,.72);
  font-size: 17px;
  line-height: 1.55;
}
.asip-footer-success-dialog button {
  min-height: 48px;
  margin-top: 8px;
  border: 1px solid #2B7A78;
  border-radius: 14px;
  background: transparent;
  color: #17252A;
  font-weight: 700;
}
.asip-footer-success-dialog button:hover {
  background: #DEF2F1;
}
