/* ============================================
   Octogone Capital — Header + Footer styles
   ============================================ */

/* Header */
.oc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}
.oc-header.is-scrolled {
  background: rgba(253, 252, 249, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--ink-100);
}
.oc-header__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 18px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 40px;
}
.oc-header__logo { padding: 0; }
.oc-header__nav {
  display: flex;
  gap: 4px;
  justify-content: center;
}
.oc-nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 450;
  color: var(--ink-700);
  letter-spacing: 0.005em;
  position: relative;
  transition: color 0.15s;
}
.oc-nav-link:hover { color: var(--marine-800); }
.oc-nav-link.is-active { color: var(--marine-800); }
.oc-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 1px;
  background: var(--bordeaux-600);
}
.oc-header__right { display: flex; align-items: center; gap: 16px; }
.oc-lang {
  display: flex;
  gap: 2px;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.oc-lang__btn {
  padding: 6px 8px;
  font-weight: 500;
  color: var(--ink-400);
  transition: color 0.15s;
}
.oc-lang__btn.is-active { color: var(--marine-800); }
.oc-lang__btn:not(.is-active):hover { color: var(--ink-700); }
.oc-header__burger {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.oc-header__burger span {
  width: 20px; height: 1.5px; background: var(--marine-800);
}

.oc-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: var(--paper);
  border-top: 1px solid var(--ink-100);
}
.oc-mobile-menu__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--marine-800);
  border-bottom: 1px solid var(--ink-100);
}
.oc-mobile-menu .btn { margin-top: 16px; }

@media (max-width: 1024px) {
  .oc-header__nav { display: none; }
  .oc-header__cta { display: none; }
  .oc-header__burger { display: flex; }
  .oc-mobile-menu { display: flex; }
  .oc-header__inner { grid-template-columns: auto 1fr auto; }
  .oc-header__right { grid-column: 3; justify-self: end; }
}
@media (max-width: 640px) {
  .oc-header__inner { padding: 14px 20px; gap: 12px; }
  .oc-lang { display: none; }
}

/* Footer */
.oc-footer {
  position: relative;
  overflow: hidden;
  background: var(--marine-900);
  color: rgba(255,255,255,0.78);
  padding: 80px 0 24px;
  margin-top: 0;
}
.oc-footer__deco {
  position: absolute;
  right: -240px;
  bottom: -240px;
  pointer-events: none;
}
.oc-footer .container { position: relative; z-index: 2; }
.oc-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.oc-footer__tagline {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.75);
  margin: 24px 0 32px;
  max-width: 380px;
}
.oc-footer__h {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
.oc-footer__col { display: flex; flex-direction: column; gap: 12px; }
.oc-footer__col button {
  text-align: left;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  padding: 0;
  transition: color 0.15s;
}
.oc-footer__col button:hover { color: var(--white); }
.oc-footer__locations { gap: 28px; }
.oc-footer__locations .oc-footer__h { margin-bottom: 4px; }
.oc-loc__city { line-height: 1.2; }
.oc-loc__city {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--white);
  margin-bottom: 6px;
}
.oc-loc__city span { color: rgba(255,255,255,0.45); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.oc-loc__addr { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.65); }
.oc-loc__phone { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; }

.oc-newsletter-form {
  display: flex;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}
.oc-newsletter-form input {
  flex: 1;
  padding: 12px 14px;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
}
.oc-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.oc-newsletter-form input:focus { outline: none; }
.oc-newsletter-form button {
  padding: 0 16px;
  background: var(--bordeaux-600);
  color: var(--white);
  display: flex;
  align-items: center;
}
.oc-newsletter-form button:hover { background: var(--bordeaux-700); }

.oc-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.oc-footer__legal {
  display: flex;
  gap: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  align-items: center;
}
.oc-footer__legal button {
  color: rgba(255,255,255,0.5);
  font-size: 12px;
  transition: color 0.15s;
}
.oc-footer__legal button:hover { color: var(--white); }
.oc-footer__social {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.7);
}
.oc-footer__social a {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: all 0.2s;
}
.oc-footer__social a:hover { background: var(--bordeaux-600); border-color: var(--bordeaux-600); color: var(--white); }

@media (max-width: 1024px) {
  .oc-footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  .oc-footer__top { grid-template-columns: 1fr; }
  .oc-footer__bottom { flex-direction: column; align-items: flex-start; }
  .oc-footer__legal { flex-wrap: wrap; gap: 16px; }
}

/* Cookie banner */
.oc-cookie {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 200;
  max-width: 720px;
  background: var(--white);
  border: 1px solid var(--ink-100);
  box-shadow: var(--shadow-lg);
}
.oc-cookie__inner {
  padding: 20px 24px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 640px) {
  .oc-cookie { left: 12px; right: 12px; bottom: 12px; }
  .oc-cookie__inner { flex-direction: column; align-items: stretch; gap: 12px; }
}

.oc-mobile-menu[hidden],.oc-cookie[hidden]{display:none!important}
a.oc-lang__btn{text-decoration:none}
