/* ============================================
   GiNOVA — Layout
   Header, Footer, Sections, Grids
   ============================================ */

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.5) 40%,
    rgba(255, 255, 255, 0.4) 100%,
    rgba(255, 255, 255, 0) 100%
  );

  backdrop-filter: blur(6px);   /* optional, premium feel */
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 2px solid var(--c-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
  width: min(1100px, 100% - 32px);
  margin-inline: auto;background:transparent;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 85px;
  height: 85px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  overflow: hidden;
  background:transparent;
}

.brand-mark img {
  display:block;
  width:85px;
  height:85px;
  object-fit: contain;
}

.brand-type { 
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  line-height: 1.3;
  margin:3px 0 0 -1em;
  width:240px;  max-width:240px;  
}

/* Navigation */
.nav {
  display: inline-flex;
  margin:0 auto;
  margin-inline-start: -110px;
  align-items: center;
}

.nav-link {
  position: relative;
  padding: 8px 12px;
  font-size: .9em;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  opacity: 0.85;
  transition: opacity var(--dur-fast) var(--ease);
  margin:0 auto;
}

.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link[data-highlight] {
  color: var(--c-accent);
}

/**************************/

.is-active {
  /*color: #b8956e;*/
  color: #a63d40;
  font-weight:400;
}

/************************/

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}


/* ---------- Language Switch ---------- */
.lang-switch {
  display: flex;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--c-bg);
  margin-inline-start: -200px;}

.lang-switch .is-active { background-color:#2196F3;color:aliceblue;border-color:white;border-radius:4px; }


.lang-btn {
  padding: 6px 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--c-muted);
  background: transparent;
  transition: 
    background var(--dur-fast) var(--ease), 
    color var(--dur-fast) var(--ease);
}

.lang-btn:active {
  font-weight:700;
}


/* ---------- Stylish language dropdown ---------- */
.lang-select{
  position: relative;
  display: inline-block;
  font-family: inherit;
  margin-inline-end:90px;
}

.lang-trigger{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-bg);
  color: var(--c-text);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.lang-trigger:hover{
  border-color:#f4f4f4;
}
.lang-trigger:focus-visible{
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
}

.lang-pill{
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .08em;
  color: #fff;
  background: var(--c-flag-en);
}

.lang-label{
  font-size: 12px;
  color: var(--c-muted);
  white-space: nowrap;
}

.lang-caret{
  width: 18px;
  height: 18px;
  opacity: .8;
  margin-left: 2px;
}

/* menu */
.lang-menu{
  position: absolute;
  top: calc(100% + 10px);
  min-width: 220px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  background: var(--c-bg);
  box-shadow: 0 18px 50px rgba(0,0,0,.14);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  z-index: 50;
}

/* open state (toggled by JS) */
.lang-select.is-open .lang-menu{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-option{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  color: var(--c-text);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.lang-option span{
  color: var(--c-muted);
  font-size: 12px;
}
.lang-option:hover{
  background: var(--c-soft);
}

.lang-option.is-active{
  background-color:#800;
  font-weight: 700;
}

/* compact on small screens */
@media (max-width: 520px){
  .lang-menu{ min-width: 200px; }
  .lang-label{ display:none; }
}


/* ---------- Sections ---------- */
.section {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
}

.section-soft {
  background: var(--c-soft);
}

.section-header {
  max-width: 72ch;
  margin-bottom: 32px;
}

.section-eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.section-title {
  margin: 0 0 12px;
  font-family: var(--f-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-family: 'Fraunces', serif; 
  font-size: 2.2rem; 
  color: #111827; margin: 0;
}

.section-lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-muted);
}

/* ---------- Grids ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.domains-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top:100px;
  background: var(--c-ink);
  color: var(--c-bg);
  position:relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.footer-brand-mark {
  width: 50%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--c-ink);
  padding-top:4px;
}

.footer-brand-name {
  margin-top: 14px;
  font-family: var(--f-serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-tag {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: background var(--dur-fast) var(--ease);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.footer-col h3 {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col a,
.footer-col p {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.footer-col a:hover {
  color: var(--c-bg);
}

.footer-small {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  position: relative;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff7a18, #ffb200);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-legal .sep {
  opacity: 0.4;
}


.to-top {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  transition: background var(--dur-fast) var(--ease);
}

.to-top:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}

@media (max-width: 768px) {
  .brand-type {
    display: none;
  }

  .domains-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-inner {
    width: calc(100% - 24px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
  }
}



/************/

.site-footer{
  background: #0b0d10;
  color: rgba(255,255,255,.82);
}

.site-footer .footer-top{
  padding: 0px 0 14px;
  border-top:3px solid #000;
}

.footer-top-inner{
  position:Relative;
  display: grid;
  padding:1em;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 48px;
  align-items: start;
}

.footer-brand{
  margin-top:1em;
}

.footer-brand-link{ display: inline-flex; width: fit-content; }
.footer-seal{
  float:left;
  width: 156px;
  height:156px;
  border-radius: 24px;
  padding-top:3px;
  border:1px solid #0b0d10;
  margin:0em 1em 0 0;
  background:#800
}

.footer-brand-name{
  font-weight: 600;
  margin:.5em .5em .25em;
  letter-spacing: .02em;
}

.footer-brand-tag{
  color: rgba(255,255,255,.62);
  font-size: .92rem;
  line-height: 1.35;
}

.footer-social{
  position:absolute;
  left:10px;bottom:-4em;
  display: block;
  height:100px;
  align-items: center;
  float:left;
}

.footer-social-link{
  color: rgba(255,255,255,.62);
  text-decoration: none;
  font-size: .9rem;
}
.footer-social-link:hover{ color: rgba(255,255,255,.88); }

.footer-cols{
  height:220px;
  padding:2em;
  margin:0px 0 0 5em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap:2em;
}

.footer-col{ display:grid; gap:20px; }
.footer-col a { padding:0;margin:0;}

.footer-h{
  color: rgba(255,255,255,.52);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-link{
  color: rgba(255,255,255,.72);
  text-decoration: none;
  margin:0; line-height:1em;
}

.footer-link:hover{ color: rgba(255,255,255,.92); }

.footer-kv{ display: grid; gap: 4px; margin-top: 6px; }
.footer-k{ color: rgba(255,255,255,.55); font-size: .86rem; }
.footer-v{ color: rgba(255,255,255,.74); }

.footer-mid{
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(255,255,255,.10);
  padding: 18px 0;
}

.footer-mid-inner{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
}

.footer-small{
  color: rgba(255,255,255,.64);
  margin: 0;
  line-height: 1.45;
  max-width: 54ch;
}

.footer-news{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.footer-news input{
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  padding: 0 12px;
  outline: none;
}
.footer-news input::placeholder{ color: rgba(255,255,255,.45); }
.footer-news input:focus{
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
}

.footer-bottom{
  padding: 18px 0 26px;
}

.footer-bottom-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-legal{
  color: rgba(255,255,255,.58);
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-legal,
.footer-legal a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

.footer-legal a:hover {
  color: rgba(255,255,255,0.85);
}


.to-top{
  background: transparent;
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.74);
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
}
.to-top:hover{
  border-color: rgba(255,255,255,.24);
  color: rgba(255,255,255,.92);
}

/* Accessibility utility */
.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* Responsive */
@media (max-width: 880px){
  .footer-top-inner{ grid-template-columns: 1fr; gap: 28px; }
  .footer-cols{ grid-template-columns: 1fr; gap: 24px; }
  .footer-mid-inner{ grid-template-columns: 1fr; }
  .footer-news{ grid-template-columns: 1fr; }
}

main.subPage {
  padding-top: 120px; 
  padding-bottom: 80px; 
  background-color:#faf9f8;
}

/* =========================================
   DARK INSTITUTIONAL FOOTER
   ========================================= */
.site-footer-dark {
  background-color: #0a0b0c; /* Deep institutional black */
  color: #d1d5db; /* Soft gray for readability */
  font-family: 'Inter', sans-serif;
  position: relative;
  padding-top: 2rem;
  border-top:1rem solid #000;
  border-top-left-radius :2rem;
  border-top-right-radius:2rem;
}

.site-footer-dark a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-dark a:hover {
  color: #ffffff;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* TOP SECTION */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem;
  padding-bottom: 1rem;
}

.brand-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-crest {
  width:  128px; /* Slightly smaller so it aligns perfectly with the text */
  height: 128px;
  opacity: 0.9; /* Softens the white slightly so it isn't blinding */
  border-radius: 24px;
  padding-top:3px;
  border:1px solid #0b0d10;
  background:#800
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.brand-tagline {
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.4;
}

.social-pills {
  display: flex;
  gap: 0.5rem;
}

.social-pill {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  line-height:2em;
}

.footer-col .social-pill {
  padding:.5em 2em;
  font-size: 0.6rem;
  font-weight: 600;
  color: #e5e7eb;
}

.nav-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.location-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-col .action-link {
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  line-height:2em;
  padding:.5em 1em;
  color: #e5e7eb;
}

.address-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.address-title {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.address-block address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #9ca3af;
}

/* MIDDLE SECTION */
.footer-mid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 2rem;
}

.newsletter-info {
  max-width: 400px;
}

.newsletter-info .eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.newsletter-info p {
  font-size: 0.9rem;
  color: #d1d5db;
  line-height: 1.5;
  margin: 0;
}

.newsletter-form {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.newsletter-form input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #fff;
  width: 300px;
  font-size: 0.9rem;
}

.newsletter-form input::placeholder {
  color: #6b7280;
}

.newsletter-form button {
  background: transparent;
  border: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

/* BOTTOM SECTION */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

.legal-links a {
  color: #9ca3af;
}

.to-top-pill {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

/* ACCENT LINE AT VERY BOTTOM */
.footer-accent-line {
  height: 4px;
  width: 100%;
  background-color: #f59e0b; /* The subtle orange/gold line at the bottom */
}


.displayTeam_h {
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 2.5rem; 
  margin-bottom: 4rem;
}

.displayTeam_v {
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 2.5rem; 
  margin-bottom: 4rem;
}
.displayTeam_V {
  grid-template-columns: repeat(3, 1fr); 
  gap: 0.5rem; 
  margin-bottom: 4rem;
  display: flex; 
  align-items: flex-start;
}

.displayTeam_h img {
  height: 180px;
  aspect-ratio: 16/9; 
  object-fit: cover; 
  filter: grayscale(100%); 
  border: 1px solid rgba(0,0,0,0.1); 
  border-radius:8px; 
  margin-bottom: 1.5rem; 
  display: block;
}
.displayTeam_v img {
  width: 180px;
  aspect-ratio: 10/16; 
  object-fit: cover; 
  filter: grayscale(100%); 
  border: 1px solid rgba(0,0,0,0.1); 
  border-radius:8px; 
  margin-bottom: 1.5rem; 
  display: block;
}
.displayTeam_V img {
  width: 210px;
  aspect-ratio: 9/16; 
  object-fit: cover; 
  filter: grayscale(100%); 
  border: 1px solid rgba(0,0,0,0.1); 
  border-radius:8px; 
  margin-bottom: 1.5rem; 
  display: block;
}
