:root {
--ng-ui-navy: #0d1f2d;
--ng-ui-navy-soft: #1a2e3d;
--ng-ui-gold: #b8943f;
--ng-ui-gold-light: #d4b05c;
--ng-ui-cream: #f5f0e8;
--ng-ui-paper: #fbf9f4;
--ng-ui-gray: #6b7280;
} .ng-contact-modal,
.ng-contact-modal *,
.ng-contact-modal *::before,
.ng-contact-modal *::after {
box-sizing: border-box;
}
.ng-modal-open { overflow: hidden; }
.ng-contact-modal[hidden],
.ng-back-to-top[hidden] { display: none !important; }
.ng-contact-modal {
position: fixed;
inset: 0;
z-index: 1000;
display: grid;
place-items: center;
padding: 18px;
}
.ng-contact-modal__backdrop {
position: absolute;
inset: 0;
background: rgba(7, 17, 27, .78);
backdrop-filter: blur(7px);
}
.ng-contact-modal__dialog {
position: relative;
width: min(540px, 100%);
max-height: calc(100dvh - 36px);
overflow-y: auto;
padding: clamp(28px, 4vw, 40px);
background: var(--ng-ui-paper);
color: var(--ng-ui-navy);
border: 1px solid rgba(184, 148, 63, .62);
border-radius: 8px;
box-shadow: 0 34px 90px rgba(0, 0, 0, .38);
font-family: "Inter", system-ui, sans-serif;
}
.ng-contact-modal__eyebrow {
margin: 0 52px 6px 0;
color: #8d6b22;
font-size: 10px;
font-weight: 650;
letter-spacing: .14em;
text-transform: uppercase;
}
.ng-contact-modal h2 {
margin: 0 52px 26px 0;
color: var(--ng-ui-navy);
font-family: "Source Serif 4", serif;
font-size: clamp(30px, 5vw, 38px);
font-weight: 400;
line-height: 1.08;
}
.ng-contact-modal__close {
position: absolute;
top: 22px;
right: 22px;
display: grid;
width: 36px;
height: 36px;
place-items: center;
padding: 0;
background: transparent;
color: var(--ng-ui-navy-soft);
border: 1px solid rgba(13, 31, 45, .2);
border-radius: 4px;
cursor: pointer;
font: 20px/1 "Inter", system-ui, sans-serif;
}
.ng-contact-modal__close:hover { background: rgba(13, 31, 45, .05); }
.ng-contact-form { display: grid; gap: 15px; }
.ng-contact-form__field { display: grid; gap: 6px; }
.ng-contact-form label,
.ng-contact-form__legend {
color: #627484;
font-size: 10px;
font-weight: 600;
letter-spacing: .12em;
text-transform: uppercase;
}
.ng-contact-form input[type="text"],
.ng-contact-form input[type="email"],
.ng-contact-form input[type="tel"],
.ng-contact-form textarea {
width: 100%;
min-height: 46px;
padding: 11px 13px;
background: #fff;
color: var(--ng-ui-navy);
border: 1px solid #c8d0d6;
border-radius: 4px;
outline: none;
font: 15px/1.45 "Inter", system-ui, sans-serif;
transition: border-color .2s ease, box-shadow .2s ease;
}
.ng-contact-form textarea { min-height: 104px; resize: vertical; }
.ng-contact-form input:focus,
.ng-contact-form textarea:focus {
border-color: var(--ng-ui-gold);
box-shadow: 0 0 0 3px rgba(184, 148, 63, .14);
}
.ng-contact-form__consent {
display: grid;
grid-template-columns: 18px 1fr;
gap: 10px;
align-items: start;
margin: 3px 0 1px;
color: #56636c;
font-size: 12px;
line-height: 1.55;
}
.ng-contact-form__consent input {
width: 17px;
height: 17px;
margin: 1px 0 0;
accent-color: var(--ng-ui-gold);
}
.ng-contact-form__consent a {
color: #8a6924;
text-decoration: underline;
text-underline-offset: 3px;
}
.ng-contact-form__submit {
min-height: 48px;
margin-top: 4px;
padding: 13px 20px;
background: var(--ng-ui-gold);
color: var(--ng-ui-navy);
border: 0;
border-radius: 4px;
cursor: pointer;
font: 650 15px/1.2 "Inter", system-ui, sans-serif;
}
.ng-contact-form__submit:hover { background: var(--ng-ui-gold-light); }
.ng-contact-form__submit:disabled { cursor: wait; opacity: .7; }
.ng-contact-form__status {
min-height: 20px;
margin: 0;
color: #52636f;
font-size: 12px;
line-height: 1.5;
}
.ng-contact-form__status[data-state="success"] { color: #376646; }
.ng-contact-form__status[data-state="error"] { color: #8d3f3f; }
.ng-contact-form__honeypot {
position: absolute !important;
left: -10000px !important;
width: 1px !important;
height: 1px !important;
overflow: hidden !important;
}
.ng-back-to-top {
position: fixed;
right: 22px;
bottom: 22px;
z-index: 90;
display: inline-flex;
min-height: 44px;
align-items: center;
gap: 9px;
padding: 10px 15px;
background: var(--ng-ui-navy);
color: #f5e6c0;
border: 1px solid rgba(212, 176, 92, .55);
border-radius: 4px;
box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
cursor: pointer;
font: 600 12px/1 "Inter", system-ui, sans-serif;
transition: transform .2s ease, background .2s ease;
}
.ng-back-to-top:hover { background: var(--ng-ui-navy-soft); transform: translateY(-2px); }
.ng-back-to-top__arrow { color: var(--ng-ui-gold-light); font-size: 17px; }
@media (max-width: 760px) {
.ng-contact-modal { padding: 10px; }
.ng-contact-modal__dialog { max-height: calc(100dvh - 20px); padding: 28px 22px; }
.ng-contact-modal__close { top: 18px; right: 18px; }
.ng-contact-modal h2 { margin-bottom: 22px; }
.ng-back-to-top { right: 16px; bottom: 78px; width: 44px; padding: 0; justify-content: center; border-radius: 50%; }
.ng-back-to-top__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
.ng-back-to-top { transition: none; }
}