/* ==========================================================================
   SKYLO GROUP — Global Stylesheet
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  --sg-primary: #126ef5;
  --sg-primary-hover: #0f5ed4;
  --sg-primary-light: #e8f1fe;
  --sg-dark: #111111;
  --sg-dark-2: #1a1a1a;
  --sg-gray-bg: #f7f7f5;
  --sg-gray-border: #e2e1da;
  --sg-gray-text: #5a5a52;
  --sg-white: #ffffff;
  --sg-black: #0a0a0a;
  --sg-radius: 12px;
  --sg-radius-lg: 20px;
  --sg-nav-height: 72px;
  --sg-font: "Poppins", sans-serif;
  --sg-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--sg-nav-height);
}

body {
  font-family: var(--sg-font);
  color: var(--sg-black);
  background: var(--sg-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sg-black);
  text-decoration: none;
  transition: color var(--sg-transition);
}

a:hover {
  color: var(--sg-primary-hover);
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 80px 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5em;
}

.sg-section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.25em;
}

.sg-section-subtitle {
  color: var(--sg-gray-text);
  font-size: 1.1rem;
  max-width: 600px;
}

.sg-section-subtitle.centered {
  margin-left: auto;
  margin-right: auto;
}

.sg-badge {
  display: inline-block;
  background: var(--sg-primary-light);
  color: var(--sg-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn-sg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sg-primary);
  color: var(--sg-white);
  font-family: var(--sg-font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 32px;
  border: 2px solid var(--sg-primary);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--sg-transition);
}

.btn-sg:hover {
  background: var(--sg-primary-hover);
  border-color: var(--sg-primary-hover);
  color: var(--sg-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 110, 245, 0.35);
}

.btn-sg-outline {
  background: transparent;
  color: var(--sg-black);
  border-color: var(--sg-black);
}

.btn-sg-outline:hover {
  background: var(--sg-black);
  color: var(--sg-white);
  border-color: var(--sg-black);
}

.btn-sg-dark {
  background: var(--sg-dark);
  color: var(--sg-white);
  border-color: var(--sg-dark);
}

.btn-sg-dark:hover {
  background: var(--sg-black);
  border-color: var(--sg-black);
  color: var(--sg-white);
}

/* ---------- Navbar ---------- */
.sg-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--sg-nav-height);
  z-index: 1050;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all var(--sg-transition);
}

.sg-navbar.scrolled {
  border-bottom-color: var(--sg-gray-border);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.sg-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sg-black);
  letter-spacing: -0.5px;
}

.sg-navbar .navbar-brand:hover {
  color: var(--sg-black);
}

.sg-navbar .navbar-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--sg-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sg-white);
}

.sg-navbar .nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sg-black);
  padding: 8px 18px !important;
  transition: color var(--sg-transition);
}

.sg-navbar .nav-link:hover,
.sg-navbar .nav-link.active {
  color: var(--sg-primary-hover);
}

.sg-navbar .navbar-toggler {
  border: none;
  padding: 4px 8px;
  font-size: 1.4rem;
}

.sg-navbar .navbar-toggler:focus {
  box-shadow: none;
}

/* ---------- Hero Slider ---------- */
.sg-hero {
  margin-top: var(--sg-nav-height);
  position: relative;
  overflow: hidden;
  background: var(--sg-white);
  min-height: 550px;
}

.sg-hero .carousel-item {
  min-height: 550px;
}

.sg-hero-slide {
  min-height: 550px;
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 0;
  background: var(--sg-white);
}

.sg-hero-slide::before {
  display: none;
}

.sg-hero-slide .bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}

.carousel-item.active .sg-hero-slide .bg-image {
  transform: scale(1.05);
}

.sg-hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.sg-hero-content .sg-badge {
  background: var(--sg-primary-light);
  color: var(--sg-primary);
  animation: fadeInUp 0.6s ease forwards;
}

.sg-hero-content h1 {
  font-size: 3.25rem;
  font-weight: 700;
  color: var(--sg-black);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s 0.1s ease both;
}

.sg-hero-content h1 span {
  color: var(--sg-primary);
  text-decoration: none;
}

.sg-hero-content p {
  font-size: 1.15rem;
  color: var(--sg-gray-text);
  margin-bottom: 30px;
  animation: fadeInUp 0.6s 0.2s ease both;
}

.sg-hero-illustration {
  text-align: center;
  animation: fadeInUp 0.8s 0.2s ease both;
}

.sg-hero-illustration img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
}

.sg-hero-content .hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.sg-hero-content .btn-sg-dark {
  background: var(--sg-primary);
  color: var(--sg-white);
  border-color: var(--sg-primary);
}

.sg-hero-content .btn-sg-dark:hover {
  background: var(--sg-primary-hover);
  color: var(--sg-white);
  border-color: var(--sg-primary-hover);
}

.sg-hero-content .btn-sg-outline {
  background: transparent;
  color: var(--sg-black);
  border-color: var(--sg-gray-border);
}

.sg-hero-content .btn-sg-outline:hover {
  background: var(--sg-black);
  color: var(--sg-white);
  border-color: var(--sg-black);
}

.sg-hero .carousel-indicators {
  bottom: 30px;
}

.sg-hero .carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--sg-gray-border);
  background: transparent;
  opacity: 1;
  transition: all var(--sg-transition);
}

.sg-hero .carousel-indicators .active {
  background: var(--sg-primary);
  border-color: var(--sg-primary);
  transform: scale(1.2);
}

/* ---------- About Section ---------- */
.sg-about {
  background: var(--sg-white);
}

.sg-about-img {
  position: relative;
  border-radius: var(--sg-radius-lg);
  overflow: hidden;
}

.sg-about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--sg-radius-lg);
}

.sg-about-image-placeholder {
  width: 100%;
  max-height: 420px;
  border-radius: var(--sg-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sg-about-image-placeholder img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
}

.sg-about-img .overlay-box {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--sg-primary);
  color: var(--sg-white);
  padding: 16px 24px;
  border-radius: var(--sg-radius);
  font-weight: 700;
  font-size: 1rem;
}

.sg-about-img .overlay-box span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.sg-about-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.sg-about-list li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.sg-about-list li i {
  color: var(--sg-primary);
  margin-top: 4px;
  font-size: 1rem;
}

/* ---------- Stats Strip ---------- */
.sg-stats {
  background: var(--sg-primary-light);
  padding: 50px 0;
}

.sg-stat-item {
  text-align: center;
  padding: 20px 10px;
}

.sg-stat-item .number {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--sg-primary);
  line-height: 1;
  margin-bottom: 6px;
}

.sg-stat-item .label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sg-gray-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- Brands Section ---------- */
.sg-brands {
  background: var(--sg-white);
}

.sg-brand-card {
  background: var(--sg-white);
  border-radius: var(--sg-radius-lg);
  overflow: hidden;
  border: 1px solid var(--sg-gray-border);
  transition: all var(--sg-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sg-brand-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--sg-primary);
}

.sg-brand-card .card-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sg-brand-card .card-visual.skylisto-bg {
  background: linear-gradient(135deg, var(--sg-primary) 0%, var(--sg-primary-hover) 100%);
}

.sg-brand-card .card-visual.skylowiki-bg {
  background: linear-gradient(135deg, #ff4500 0%, #ff6b35 100%);
}

.sg-brand-card .card-visual .brand-logo-text {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.sg-brand-card .card-visual.skylisto-bg .brand-logo-text {
  color: var(--sg-white);
}

.sg-brand-card .card-visual img {
  max-height: 50px;
  width: auto;
}

.sg-brand-card .card-visual.skylowiki-bg .brand-logo-text {
  color: var(--sg-white);
}

.sg-brand-card .card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sg-brand-card .card-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.sg-brand-card .card-body .brand-tagline {
  font-size: 0.85rem;
  color: var(--sg-primary-hover);
  font-weight: 600;
  margin-bottom: 12px;
}

.sg-brand-card .card-body p {
  color: var(--sg-gray-text);
  font-size: 0.93rem;
  flex: 1;
}

.sg-brand-card .card-body .brand-features {
  list-style: none;
  padding: 0;
  margin: 12px 0 20px;
}

.sg-brand-card .card-body .brand-features li {
  padding: 4px 0;
  font-size: 0.88rem;
  color: var(--sg-gray-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sg-brand-card .card-body .brand-features li i {
  color: var(--sg-primary);
  font-size: 0.75rem;
}

.sg-brand-card .card-footer {
  background: transparent;
  border-top: 1px solid var(--sg-gray-border);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sg-brand-card .card-footer a {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sg-brand-card .card-footer a:hover {
  color: var(--sg-primary-hover);
}

.sg-brand-card .card-footer a i {
  transition: transform var(--sg-transition);
}

.sg-brand-card .card-footer a:hover i {
  transform: translateX(4px);
}

/* ---------- Brand Card V2 (clean) ---------- */
.sg-brand-card-v2 {
  background: var(--sg-white);
  border-radius: var(--sg-radius-lg);
  border: 1px solid var(--sg-gray-border);
  padding: 36px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all var(--sg-transition);
}

.sg-brand-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--sg-primary);
}

.sg-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.sg-brand-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.sg-brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.sg-brand-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  color: var(--sg-black);
}

.sg-brand-url {
  font-size: 0.8rem;
  color: var(--sg-gray-text);
  font-weight: 500;
}

.sg-brand-card-v2 .sg-brand-tagline {
  font-size: 0.9rem;
  color: var(--sg-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.sg-brand-card-v2 p {
  font-size: 0.93rem;
  color: var(--sg-gray-text);
  line-height: 1.7;
  margin-bottom: 16px;
}

.sg-brand-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.sg-brand-features li {
  padding: 5px 0;
  font-size: 0.88rem;
  color: var(--sg-gray-text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sg-brand-features li i {
  color: var(--sg-primary);
  font-size: 0.75rem;
  width: 18px;
  height: 18px;
  background: var(--sg-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sg-brand-illustration {
  margin: 10px 0 24px;
  text-align: center;
}

.sg-brand-illustration img {
  max-width: 100%;
  height: auto;
  max-height: 220px;
}

.sg-brand-card-v2 .btn-sg {
  align-self: flex-start;
  margin-top: auto;
}

/* ---------- Values Section ---------- */
.sg-values {
  background: var(--sg-white);
}

.sg-value-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--sg-radius-lg);
  background: var(--sg-gray-bg);
  border: 1px solid transparent;
  transition: all var(--sg-transition);
  height: 100%;
}

.sg-value-card:hover {
  border-color: var(--sg-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.sg-value-card .icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  background: var(--sg-primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--sg-primary);
}

.sg-value-card h5 {
  font-size: 1.05rem;
  font-weight: 700;
}

.sg-value-card p {
  font-size: 0.88rem;
  color: var(--sg-gray-text);
  margin-bottom: 0;
}

/* ---------- Contact Section ---------- */
.sg-contact {
  background: var(--sg-gray-bg);
}

.sg-contact-card {
  background: var(--sg-white);
  border-radius: var(--sg-radius-lg);
  padding: 36px;
  height: 100%;
  border: 1px solid var(--sg-gray-border);
}

.sg-contact-card .icon-box {
  width: 56px;
  height: 56px;
  background: var(--sg-primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--sg-primary);
  margin-bottom: 16px;
}

.sg-contact-card h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.sg-contact-card p {
  font-size: 0.9rem;
  color: var(--sg-gray-text);
  margin-bottom: 0;
}

.sg-contact-card a {
  color: var(--sg-black);
  font-weight: 600;
}

.sg-contact-card a:hover {
  color: var(--sg-primary-hover);
}

/* Contact Form */
.sg-contact-form {
  background: var(--sg-white);
  border-radius: var(--sg-radius-lg);
  padding: 40px;
  border: 1px solid var(--sg-gray-border);
}

.sg-contact-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.sg-contact-form .form-control,
.sg-contact-form .form-select {
  border: 1px solid var(--sg-gray-border);
  border-radius: var(--sg-radius);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: var(--sg-font);
  transition: border-color var(--sg-transition), box-shadow var(--sg-transition);
}

.sg-contact-form .form-control:focus,
.sg-contact-form .form-select:focus {
  border-color: var(--sg-primary);
  box-shadow: 0 0 0 3px rgba(18, 110, 245, 0.15);
}

.sg-contact-form textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

.sg-form-alert {
  display: none;
  padding: 14px 18px;
  border-radius: var(--sg-radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.sg-form-alert.success {
  display: block;
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.sg-form-alert.error {
  display: block;
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* ---------- Footer ---------- */
.sg-footer {
  background: var(--sg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.sg-footer h5 {
  color: var(--sg-white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.sg-footer p {
  font-size: 0.88rem;
  line-height: 1.8;
}

.sg-footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--sg-transition);
}

.sg-footer a:hover {
  color: var(--sg-primary);
}

.sg-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--sg-white);
  margin-bottom: 14px;
}

.sg-footer-brand .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--sg-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--sg-white);
}

.sg-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sg-footer-links li {
  margin-bottom: 10px;
}

.sg-footer-links li a {
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sg-footer-links li a:hover {
  padding-left: 4px;
}

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

.sg-footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--sg-transition);
}

.sg-footer-social a:hover {
  background: var(--sg-primary);
  color: var(--sg-white);
  transform: translateY(-2px);
}

.sg-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  margin-top: 40px;
}

.sg-footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
}

.sg-footer-bottom .footer-legal a {
  font-size: 0.82rem;
  margin-left: 20px;
}

/* ---------- Page Banner (inner pages) ---------- */
.sg-page-banner {
  margin-top: var(--sg-nav-height);
  background: var(--sg-gray-bg);
  padding: 50px 0;
  text-align: center;
  border-bottom: 1px solid var(--sg-gray-border);
}

.sg-page-banner h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--sg-black);
  margin-bottom: 6px;
}

.sg-page-banner p {
  font-size: 0.9rem;
  color: var(--sg-gray-text);
  margin-bottom: 0;
}

.sg-page-banner .breadcrumb {
  justify-content: center;
  margin-top: 12px;
  margin-bottom: 0;
}

.sg-page-banner .breadcrumb-item a {
  color: var(--sg-primary);
  font-weight: 600;
  font-size: 0.85rem;
}

.sg-page-banner .breadcrumb-item.active {
  color: var(--sg-gray-text);
  font-size: 0.85rem;
}

/* ---------- Content Section (legal pages) ---------- */
.sg-content {
  padding: 60px 0;
}

.sg-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-top: 8px;
}

.sg-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
}

.sg-content p {
  color: var(--sg-gray-text);
  font-size: 0.93rem;
}

.sg-content ul {
  color: var(--sg-gray-text);
  font-size: 0.93rem;
  padding-left: 20px;
}

.sg-content ul li {
  margin-bottom: 6px;
}

.sg-content a {
  color: var(--sg-primary-hover);
  font-weight: 600;
}

.sg-content a:hover {
  text-decoration: underline;
}

/* Cookie table */
.sg-cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 20px 0;
}

.sg-cookie-table th {
  background: var(--sg-gray-bg);
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--sg-gray-border);
}

.sg-cookie-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--sg-gray-border);
  color: var(--sg-gray-text);
}

.sg-cookie-table code {
  background: var(--sg-gray-bg);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.82rem;
}

.sg-cookie-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

.sg-cookie-badge.essential {
  background: #e3f2fd;
  color: #1565c0;
}

.sg-cookie-badge.analytics {
  background: #fff3e0;
  color: #e65100;
}

.sg-cookie-badge.marketing {
  background: #fce4ec;
  color: #c62828;
}

/* Cookie categories cards */
.sg-cookie-cat {
  background: var(--sg-gray-bg);
  border-radius: var(--sg-radius);
  padding: 20px;
  height: 100%;
}

.sg-cookie-cat .icon-box {
  width: 44px;
  height: 44px;
  background: var(--sg-primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--sg-black);
  margin-bottom: 12px;
}

.sg-cookie-cat h6 {
  font-weight: 700;
  margin-bottom: 4px;
}

.sg-cookie-cat p {
  font-size: 0.82rem;
  color: var(--sg-gray-text);
  margin-bottom: 0;
}

/* ---------- Cookie Consent Banner ---------- */
.sg-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--sg-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 18px 0;
  z-index: 1060;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.sg-cookie-banner.show {
  transform: translateY(0);
}

.sg-cookie-banner p {
  margin: 0;
  font-size: 0.85rem;
}

.sg-cookie-banner a {
  color: var(--sg-primary);
  font-weight: 600;
}

/* ---------- Back to Top ---------- */
.sg-back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--sg-primary);
  color: var(--sg-white);
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--sg-transition);
  z-index: 1040;
}

.sg-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sg-back-to-top:hover {
  background: var(--sg-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(18, 110, 245, 0.35);
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .sg-hero-content h1 {
    font-size: 2.5rem;
  }

  .sg-section-title {
    font-size: 1.85rem;
  }

  section {
    padding: 60px 0;
  }

  .sg-navbar .navbar-collapse {
    background: var(--sg-white);
    border-radius: 0 0 var(--sg-radius) var(--sg-radius);
    padding: 16px;
    margin-top: 8px;
    border: 1px solid var(--sg-gray-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }

  .sg-contact-form {
    margin-top: 30px;
  }
}

@media (max-width: 767.98px) {
  .sg-hero-content h1 {
    font-size: 2rem;
  }

  .sg-hero .carousel-item,
  .sg-hero-slide,
  .sg-hero {
    min-height: 450px;
  }

  .sg-section-title {
    font-size: 1.65rem;
  }

  .sg-stat-item .number {
    font-size: 2rem;
  }

  .sg-contact-card {
    padding: 24px;
  }

  .sg-contact-form {
    padding: 24px;
  }

  .sg-footer-bottom .footer-legal {
    margin-top: 8px;
  }

  .sg-footer-bottom .footer-legal a {
    margin-left: 0;
    margin-right: 16px;
  }
}

@media (max-width: 575.98px) {
  .sg-hero-content h1 {
    font-size: 1.75rem;
  }

  .sg-hero-content p {
    font-size: 1rem;
  }

  .sg-page-banner h1 {
    font-size: 1.5rem;
  }

  .hero-btns .btn-sg {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Loading Spinner ---------- */
.btn-sg .spinner-border {
  width: 18px;
  height: 18px;
  border-width: 2px;
}
