/* ═══════════════════════════════════════════════
   SIB DIGITAL — Global Stylesheet
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --coral:   #FF5F7E;
  --orange:  #FF914D;
  --gold:    #FFB347;
  --grad:    linear-gradient(135deg, #FF5F7E 0%, #FF914D 50%, #FFB347 100%);
  --grad-r:  linear-gradient(135deg, #FFB347 0%, #FF914D 50%, #FF5F7E 100%);
  --grad-bg: linear-gradient(135deg, rgba(255,95,126,0.07) 0%, rgba(255,179,71,0.07) 100%);
  --ivory:   #F8F5F2;
  --ivory2:  #F2EDE8;
  --navy:    #111827;
  --text:    #2D2D2D;
  --muted:   #6B7280;
  --border:  rgba(45,45,45,0.09);
  --white:   #ffffff;
  --radius:  20px;
  --shadow:  0 8px 40px rgba(45,45,45,0.09);
  --shadow-lg: 0 20px 70px rgba(45,45,45,0.13);
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background: var(--ivory); color: var(--text); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: 'Poppins', sans-serif; line-height: 1.15; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 5%; }
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.bg-white { background: var(--white); }
.bg-ivory { background: var(--ivory); }
.bg-dark  { background: var(--navy); }
.bg-grad  { background: var(--grad); }

/* ── SECTION HEADER ── */
.sec-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--coral);
  margin-bottom: .9rem;
}
.sec-tag::before {
  content: ''; width: 18px; height: 2px;
  background: var(--grad); border-radius: 2px; display: inline-block;
}
.sec-title {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  font-weight: 800; color: var(--navy); margin-bottom: 1rem;
}
.sec-desc {
  font-size: 1.02rem; color: var(--muted); max-width: 580px; line-height: 1.8;
}
.center { text-align: center; }
.center .sec-desc { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600;
  font-size: .92rem; border-radius: 50px;
  padding: .82rem 2rem; cursor: pointer; border: none;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-grad {
  background: var(--grad); color: white;
  box-shadow: 0 8px 28px rgba(255,95,126,.32);
}
.btn-grad:hover { box-shadow: 0 14px 40px rgba(255,95,126,.42); }
.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid rgba(45,45,45,.18);
}
.btn-outline:hover { border-color: var(--coral); color: var(--coral); }
.btn-white {
  background: white; color: var(--coral);
  box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.btn-white:hover { box-shadow: 0 14px 40px rgba(0,0,0,.22); }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 70px; padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(248,245,242,.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,95,126,.1);
  transition: box-shadow .3s;
}
#nav.scrolled { box-shadow: 0 4px 24px rgba(45,45,45,.08); }

.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 38px; background: transparent; }
.nav-logo-text {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.nav-links {
  display: flex; align-items: center; gap: 1.8rem;
}
.nav-links a {
  font-family: 'Poppins', sans-serif; font-size: .84rem; font-weight: 500;
  color: var(--text); position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--grad); border-radius: 2px;
  transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--coral); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

.nav-mobile {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1.5rem 5%; flex-direction: column; gap: 1rem; z-index: 199;
  box-shadow: 0 8px 24px rgba(45,45,45,.1);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem; color: var(--text); padding: .5rem 0; border-bottom: 1px solid var(--border); }
.nav-mobile a:last-child { border: none; }

/* ── FADE-UP ANIMATION ── */
.fu {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fu.in { opacity: 1; transform: translateY(0); }

/* ── MARQUEE ── */
.marquee-wrap { position: relative; overflow: hidden; }
.marquee-wrap::before, .marquee-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 140px; z-index: 2; pointer-events: none;
}
.marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--white) 0%, transparent 100%); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left, var(--white) 0%, transparent 100%); }
.marquee-track {
  display: flex; align-items: center; width: max-content;
  animation: marq 22s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marq { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.logo-slot { display: flex; align-items: center; justify-content: center; padding: 0 80px; height: 120px; flex-shrink: 0; border-right: 1px solid var(--border); }
.logo-slot img { height: 80px; max-width: 220px; object-fit: contain; background: transparent; opacity: .8; transition: opacity .3s, transform .3s; }
.logo-slot img:hover { opacity: 1; transform: scale(1.06); }

/* ── CARDS ── */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255,95,126,.2); }
.card-grad-top::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--grad); border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.card-grad-top:hover::before { transform: scaleX(1); }

/* ── ICON BOX ── */
.icon-box {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}

/* ── CHECK LIST ── */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.check-list li::before {
  content: '✓';
  width: 20px; height: 20px; min-width: 20px; border-radius: 50%;
  background: var(--grad); color: white;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}

/* ── GRID HELPERS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* ── FOOTER ── */
.footer-main {
  background: var(--navy); color: rgba(255,255,255,.6);
  padding: 70px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem;
}
.footer-brand img { height: 40px; background: transparent; margin-bottom: 1rem; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-family: 'Poppins', sans-serif; font-weight: 700; font-size: .85rem;
  color: white; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col ul a { font-size: .87rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col ul a:hover { color: var(--coral); }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom span { font-size: .82rem; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  transition: background .2s, border-color .2s;
}
.footer-social a:hover { background: rgba(255,95,126,.2); border-color: var(--coral); }

/* ── FORM ── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 1rem; }
.form-label { font-size: .8rem; font-weight: 600; color: var(--text); }
.form-input, .form-select, .form-textarea {
  padding: .82rem 1rem; border-radius: 12px;
  border: 1.5px solid rgba(45,45,45,.12);
  font-family: 'Inter', sans-serif; font-size: .9rem;
  color: var(--text); background: var(--ivory);
  outline: none; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--coral); background: white;
  box-shadow: 0 0 0 3px rgba(255,95,126,.1);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}

/* ── ACCORDION (FAQ) ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 0;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .97rem;
  color: var(--navy); text-align: left; gap: 1rem;
}
.faq-q .faq-icon {
  width: 28px; height: 28px; min-width: 28px; border-radius: 50%;
  background: var(--grad-bg); display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--coral); transition: transform .3s;
}
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; }
.faq-a p { padding-bottom: 1.2rem; font-size: .9rem; color: var(--muted); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 300px; }

/* ── PILL TAG ── */
.pill {
  display: inline-flex; align-items: center;
  padding: .3rem .9rem; border-radius: 50px; font-size: .75rem; font-weight: 600;
  background: var(--grad-bg); color: var(--coral); border: 1px solid rgba(255,95,126,.18);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
