/* Rekoup Advisors — site-wide styles (fonts, navigation, motion, responsive) */
@font-face { font-family: "Saira"; src: url("../fonts/Saira-Variable.woff") format("woff"); font-weight: 100 900; font-stretch: 50% 125%; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600 700; font-display: swap; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0B0D10; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video, iframe { max-width: 100%; }
::selection { background: #1F6FE5; color: #FFFFFF; }
:focus-visible { outline: 2px solid #2F8CFF; outline-offset: 3px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #1F6FE5; color: #FFFFFF; padding: 10px 16px; border-radius: 8px; font-family: Inter, sans-serif; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }
#main { position: absolute; top: 0; }

/* Fixed navigation that stays on screen */
.nav-slot { position: relative; z-index: 50; height: 88px; }
.site-nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 60; transition: padding .25s ease; }
.site-nav { transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
body.is-scrolled .site-nav-wrap { padding-top: 10px !important; }
body.is-scrolled .site-nav { background: rgba(11, 13, 16, 0.94) !important; border-color: rgba(47, 140, 255, 0.35) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.nav-links a { transition: color .15s ease, border-color .15s ease; }
.nav-links a:hover { color: #FFFFFF !important; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,0.18); border-radius: 10px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #FFFFFF; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.site-nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .site-nav { position: relative; flex-wrap: nowrap !important; }
  .nav-toggle { display: flex; }
  .nav-links { display: none !important; position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; align-items: stretch !important; gap: 0 !important; background: rgba(11, 13, 16, 0.98); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 10px 18px 18px; box-shadow: 0 18px 40px rgba(0,0,0,0.5); }
  .nav-links a { padding: 14px 4px !important; border-bottom: 1px solid #1C2128 !important; font-size: 17px; }
  .nav-links a:last-child { margin: 14px 0 0 !important; border-bottom: 0 !important; text-align: center; }
  .site-nav.is-open .nav-links { display: flex !important; }
}

/* Interaction polish */
a[style*="background: #1F6FE5"], button[style*="background: #1F6FE5"] { transition: filter .15s ease, transform .15s ease; }
a[style*="background: #1F6FE5"]:hover, button[style*="background: #1F6FE5"]:hover { filter: brightness(1.15); transform: translateY(-1px); }
.lift { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.lift:hover { transform: translateY(-4px); border-color: #2F8CFF !important; box-shadow: 0 16px 40px rgba(0,0,0,0.4); }
.lift img { transition: transform .6s ease; }
.lift:hover img { transform: scale(1.03); }
details summary span { transition: transform .2s ease; display: inline-block; }
details[open] summary span { transform: rotate(45deg); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Form states */
#contact-form .field-error { color: #FF8A8A; font-size: 13px; font-weight: 500; }
#contact-form [aria-invalid="true"] { border-color: #FF6B6B !important; }
#contact-form button[disabled] { opacity: .7; cursor: progress; }

/* Phones and small tablets */
@media (max-width: 720px) {
  section[style*="padding"], section > div[style*="padding"], header > div[style*="padding"], footer > div[style*="padding"], article[style*="padding"] { padding-left: 20px !important; padding-right: 20px !important; }
  #contact-form { grid-template-columns: 1fr !important; padding: 24px !important; }
  img[style*="height: 420px"], img[style*="height: 400px"], img[style*="height: 440px"] { height: 260px !important; }
  img[style*="height: 560px"] { height: 420px !important; }
  li[style*="padding: 36px 40px"] { padding: 26px 22px !important; }
  li[style*="padding: 36px 40px"] > div[style*="border-left"] { border-left: 0 !important; padding-left: 0 !important; }
}
