/* SOCCERIP.com - clean rebuilt styles (2026) */
:root{
  --bg:#0a0a0a;
  --panel:#1b1b1b;
  --panel2:#232323;
  --text:#f3f3f3;
  --muted:#c9c9c9;
  --accent:#39ff14; /* SIP green */
  --line: rgba(57,255,20,.35);
  --shadow: 0 12px 30px rgba(0,0,0,.55);
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.container{width:min(1200px, calc(100% - 40px));margin:0 auto;}

.topbar{
  position:sticky; top:0; z-index:9999;
  background:linear-gradient(#050505,#0b0b0b);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar .row{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:8px 0;
  font-size:14px; color:var(--muted);
}
.topbar .row strong{color:var(--accent); font-weight:700;}
.topbar .row .sep{opacity:.5; padding:0 8px;}

.header{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-bottom:2px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:16px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
}
.brand img{width:72px; height:72px; object-fit:contain; background:#fff; border-radius:6px; padding:4px;}
.nav{
  display:flex; align-items:center; gap:18px;
}
.nav a{
  font-weight:700; letter-spacing:.5px; text-transform:uppercase;
  font-size:14px; opacity:.95;
  padding:10px 10px; border-radius:10px;
}
.nav a:hover{background:rgba(255,255,255,.06);}
.nav a.active{color:var(--accent); text-decoration:underline; text-underline-offset:6px;}

.cta{
  display:flex; align-items:center; gap:12px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 18px; border-radius:10px;
  background:var(--accent); color:#062b02;
  font-weight:900; letter-spacing:.6px; text-transform:uppercase;
  box-shadow: var(--shadow);
  border:0;
}
.btn:hover{filter:brightness(1.05);}
.btn:active{transform:translateY(1px);}

.lang{
  display:flex; align-items:center; gap:10px;
  padding:8px 10px;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.10);
  border-radius:12px;
}
.lang a{
  width:46px; height:32px;
  display:flex; align-items:center; justify-content:center;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  transition:transform .12s ease, filter .12s ease, border-color .12s ease;
}
.lang a:hover{transform:translateY(-1px); filter:brightness(1.05); border-color:rgba(57,255,20,.55);}
.lang a.active{outline:2px solid rgba(57,255,20,.8); border-color:rgba(57,255,20,.9);}
.lang img{width:34px; height:22px; border-radius:3px; object-fit:cover;}
/* Ensure no accidental text nodes appear */
.lang a span{display:none !important;}

.hamburger{
  display:none;
  width:44px;height:44px;border-radius:10px;border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.25); color:var(--text);
}
.hamburger:active{transform:translateY(1px);}

.hero{
  position:relative;
  min-height:520px;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
  overflow:hidden;
}
.hero .bg{
  position:absolute; inset:0;
  background:url("../img/hero-placeholder.jpg") center/cover no-repeat;
  filter:saturate(1.05) contrast(1.05);
}
.hero video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  opacity:.92;
}
.hero .overlay{
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.75) 100%);
}
.hero .content{
  position:relative;
  padding:90px 0;
}
.kicker{color:var(--muted); font-weight:800; letter-spacing:.8px; text-transform:uppercase;}
.h1{
  font-size:72px; line-height:.95; margin:14px 0 10px;
  text-transform:uppercase; letter-spacing:1px;
}
.h1 .accent{color:var(--accent);}
.sub{
  max-width:680px;
  color:#eaeaea; font-size:18px; line-height:1.6;
  margin:10px 0 26px;
}
.hero-actions{display:flex; gap:14px; flex-wrap:wrap;}
.btn.secondary{
  background:transparent; color:var(--text);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:none;
}
.btn.secondary:hover{background:rgba(255,255,255,.06);}

.section{padding:56px 0;}
.cardgrid{display:grid; grid-template-columns:repeat(3, 1fr); gap:16px;}
.card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:18px;
}
.card h3{margin:0 0 8px; font-size:18px;}
.card p{margin:0; color:var(--muted); line-height:1.55;}

.footer{
  margin-top:40px;
  border-top:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  padding:26px 0 34px;
  color:var(--muted);
}
.footer strong{color:var(--text);}
.footer .cols{display:grid; grid-template-columns: 1.2fr .8fr; gap:20px;}
.footer a{color:var(--muted);}
.footer a:hover{color:var(--text);}

.whatsapp{
  position:fixed; right:18px; bottom:18px; z-index:9999;
  width:64px; height:64px; border-radius:999px;
  background:#25D366; box-shadow: var(--shadow);
  display:flex; align-items:center; justify-content:center;
  border:0;
}
.whatsapp img{width:34px;height:34px;}
.whatsapp:active{transform:translateY(1px);}

.cookie-banner{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:10000;
  background:rgba(17,17,17,.92);
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  padding:14px 14px;
  box-shadow: var(--shadow);
  display:none;
}
.cookie-banner .row{
  display:flex; gap:12px; align-items:center; justify-content:space-between; flex-wrap:wrap;
}
.cookie-banner p{
  margin:0; color:var(--muted); line-height:1.4; max-width:760px;
}
.cookie-banner .actions{display:flex; gap:10px; flex-wrap:wrap;}
.cookie-banner button{
  border-radius:10px; padding:10px 14px; border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06); color:var(--text); font-weight:800;
}
.cookie-banner button.accept{background:var(--accent); color:#062b02; border:0;}
.cookie-banner button:hover{filter:brightness(1.06);}

@media (max-width: 980px){
  .nav{display:none;}
  .hamburger{display:inline-flex; align-items:center; justify-content:center;}
  .header-inner{gap:10px;}
  .h1{font-size:48px;}
  .cardgrid{grid-template-columns:1fr; }
  .footer .cols{grid-template-columns:1fr;}
}

.mobile-drawer{
  display:none;
  position:fixed; inset:0; z-index:10001;
  background:rgba(0,0,0,.6);
}
.mobile-drawer .panel{
  position:absolute; right:0; top:0; height:100%; width:min(360px, 92vw);
  background:#111; border-left:1px solid rgba(255,255,255,.12);
  padding:18px;
}
.mobile-drawer a{
  display:block; padding:12px 10px; border-radius:12px;
  text-transform:uppercase; font-weight:800; letter-spacing:.6px;
}
.mobile-drawer a:hover{background:rgba(255,255,255,.06);}
.mobile-drawer .close{margin-left:auto; display:block; width:44px; height:44px;}

.lang-switch a.active { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 6px; }

.hero { position: relative; overflow: hidden; }
.hero-video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover;
  z-index:0;
  filter: brightness(.55);
}
.hero > .container, .hero .overlay, .hero .hero-content { position: relative; z-index:1; }

.apply-form { display:block; }
.apply-form .container { padding: 0; }
.apply-form .grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:16px 0; }
.apply-form .field { display:flex; flex-direction:column; gap:6px; margin:12px 0; }
.apply-form input, .apply-form select, .apply-form textarea{
  background:#0f0f0f; border:1px solid rgba(255,255,255,.14);
  color:#fff; border-radius:12px; padding:12px 12px; font-size:15px;
}
.apply-form label{ font-weight:700; }
.apply-form .consent{ display:flex; align-items:flex-start; gap:10px; margin:18px 0; }
.apply-form .consent input{ width:18px; height:18px; margin-top:2px; }
.signature-block{ margin:18px 0; }
.sig-actions{ margin-top:10px; }
@media (max-width: 860px){
  .apply-form .grid{ grid-template-columns:1fr; }
}


/* ===== Language Switcher (EN/FR/ES/PT) ===== */
.lang-switcher{
  display:flex;
  align-items:center;
  gap:10px;
  padding:6px 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}
.lang-switcher a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:30px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  overflow:hidden;
  transition: transform .12s ease, border-color .12s ease;
}
.lang-switcher a img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter:none !important;
}
.lang-switcher a:hover{ transform: translateY(-1px); border-color: rgba(57,255,20,0.6); }
.lang-switcher a.active{ outline:2px solid rgba(57,255,20,0.75); outline-offset:2px; }

/* Keep flags aligned in header (never drop under CTA) */
.nav-actions{
  display:flex;
  align-items:center;
  gap:14px;
}
@media (max-width: 900px){
  .lang-switcher{ gap:8px; padding:6px 8px; }
  .lang-switcher a{ width:40px; height:28px; }
}



/* ===== Nav dropdowns (Academics / Soccer) ===== */
.nav-links .dropdown{ position:relative; }
.nav-links .dropdown > a{ display:flex; align-items:center; gap:6px; }
.nav-links .dropdown-menu{
  display:none;
  position:absolute;
  top: calc(100% + 10px);
  left:0;
  min-width: 240px;
  padding:10px;
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  z-index: 999;
}
.nav-links .dropdown-menu a{
  display:block;
  padding:10px 12px;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  text-decoration:none;
  opacity: .9;
}
.nav-links .dropdown-menu a:hover{
  background: rgba(57,255,20,0.12);
  opacity: 1;
}
.nav-links .dropdown:hover .dropdown-menu{ display:block; }
@media (max-width: 900px){
  .nav-links .dropdown-menu{ position:static; display:block; background: transparent; border:0; padding:6px 0; }
  .nav-links .dropdown-menu a{ padding:8px 0; }
}


/* ===== Framed Content Card (WELCOME + info blocks) ===== */
.card-frame{
  background: rgba(20,20,20,.85);
  border: 1.5px solid var(--accent);
  border-radius: 18px;
  padding: 32px 34px;
  box-shadow: 0 0 0 1px rgba(57,255,20,.18);
}
.card-frame h2{
  margin-top:0;
  color: var(--accent);
}
.card-frame p{
  line-height:1.65;
}


/* ===== Intro / Welcome Frame (distinct from cards) ===== */
.intro-frame{
  background: linear-gradient(180deg, rgba(20,20,20,.92), rgba(12,12,12,.88));
  border-left: 4px solid var(--accent);
  border-radius: 14px;
  padding: 36px 40px;
  box-shadow: 0 18px 40px rgba(0,0,0,.6);
  position: relative;
}
.intro-frame::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:14px;
  border:1px solid rgba(57,255,20,.18);
  pointer-events:none;
}
.intro-frame h2{
  margin-top:0;
  color:var(--accent);
  letter-spacing:.8px;
}
.intro-frame .kicker{
  color:var(--accent);
  font-weight:900;
}


/* ===== Locked Header Contact (Centered) ===== */
.topbar .row{
  justify-content: center;
  gap: 16px;
}
.topbar-contact{
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.topbar-contact a{
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

/* ===== Locked Footer (Compact Polished) ===== */
.footer-compact{
  text-align:center;
  padding:22px 0 26px;
}
.footer-compact .footer-topline{
  color:rgba(255,255,255,.75);
  margin-bottom:6px;
}
.footer-compact .footer-address{
  color:rgba(255,255,255,.55);
  margin-bottom:10px;
}
.footer-compact .footer-copy{
  color:rgba(255,255,255,.45);
  font-size:12px;
}
.site-footer {
  text-align: center;
  padding: 30px 15px;
  background: #000;
  color: #fff;
}

.content-frame {
  border: 1px solid #39ff14;
  border-radius: 10px;
  padding: 30px;
  margin: 40px auto;
  max-width: 1100px;
  background: rgba(0,0,0,0.85);
}

.content-frame h2 {
  color: #39ff14;
  margin-bottom: 15px;
}

.content-frame p {
  color: #fff;
  line-height: 1.7;
}
