/* ============================================
   RESET & BASE
   ============================================ */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f8fafc;
  color: #0b1a33;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ============================================
   UTILITY CLASSES
   ============================================ */
.bg-deep {
  background-color: #0b1a33;
}

.text-deep {
  color: #0b1a33;
}

.bg-soft-gdpr {
  background: linear-gradient(145deg, #f2f6fc 0%, #ffffff 100%);
}

.btn-outline-deep {
  color: #0b1a33;
  border-color: #0b1a33;
}

.btn-outline-deep:hover {
  background-color: #0b1a33;
  color: #fff;
}

.btn-deep {
  background-color: #0b1a33;
  color: #fff;
}

.btn-deep:hover {
  background-color: #1f3557;
  color: #fff;
}

.btn-success-custom {
  background-color: #0b1a33;
  color: #fff;
  border: none;
}

.btn-success-custom:hover {
  background-color: #1f3557;
  color: #fff;
}

.navbar-brand {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-title {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-title {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero-sub {
  font-weight: 400;
  color: #334e77;
}

.feature-icon {
  font-size: 2rem;
  color: #0b1a33;
}

.accent-badge {
  background-color: #e6edf7;
  color: #0b1a33;
}

.card-shadow {
  box-shadow: 0 8px 20px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.03);
  transition: box-shadow 0.2s ease, transform 0.1s ease;
  border: 1px solid #eef2f6;
}

.card-shadow:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.04), 0 6px 16px rgba(0,0,0,0.03);
  transform: translateY(-2px);
}

/* ============================================
   NAVBAR & FOOTER
   ============================================ */
.navbar {
  flex-wrap: wrap !important;
  justify-content: space-between !important;
}	

.navbar-nav .btn {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

footer .row > div {
  text-align: center !important;
  margin-bottom: 0.5rem;
}

footer .row > div:last-child {
  margin-bottom: 0;
}

/* ============================================
   ALERT SUCCESS (usata in Recovery)
   ============================================ */
.alert-success-custom {
  border-radius: 12px;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #2e7d32;
  padding: 1rem 1.25rem;
  display: none;
}

.alert-success-custom i {
  font-size: 1.2rem;
  margin-right: 0.75rem;
}

/* ============================================
   COLLABORAZIONE SECTION
   ============================================ */
.collab-section {
  flex: 1;
  padding: 60px 0;
  background: linear-gradient(145deg, #f2f6fc 0%, #ffffff 100%);
}

.collab-header {
  text-align: center;
  margin-bottom: 3rem;
}

.collab-header h1 {
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: -0.03em;
  color: #0b1a33;
  margin-bottom: 0.5rem;
}

.collab-header .subtitle {
  font-size: 1.1rem;
  color: #4a668a;
  max-width: 750px;
  margin: 0 auto;
  line-height: 1.7;
}

.collab-card {
  background: white;
  border-radius: 24px;
  border: 1px solid #eef2f6;
  box-shadow: 0 8px 30px rgba(0,0,0,0.03);
  padding: 2.5rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  height: 100%;
}

.collab-card:hover {
  box-shadow: 0 16px 50px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

.collab-card .card-icon {
  font-size: 2.5rem;
  color: #0b1a33;
  margin-bottom: 1rem;
  display: block;
}

.collab-card h5 {
  font-weight: 600;
  font-size: 1.1rem;
  color: #0b1a33;
  margin-bottom: 0.5rem;
}

.collab-card p {
  font-size: 0.9rem;
  color: #4a668a;
  line-height: 1.6;
  margin-bottom: 0;
}

.collab-features {
  background: white;
  border-radius: 24px;
  border: 1px solid #eef2f6;
  padding: 2.5rem 3rem;
  margin-top: 2rem;
}

.collab-features h3 {
  font-weight: 600;
  font-size: 1.4rem;
  color: #0b1a33;
  margin-bottom: 0.5rem;
}

.collab-features .sub {
  color: #4a668a;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.collab-features .feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 2rem;
}

.collab-features .feature-grid .feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #1e2f47;
  padding: 0.4rem 0;
}

.collab-features .feature-grid .feature-item i {
  color: #0b1a33;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.collab-cta {
  background: #0b1a33;
  border-radius: 24px;
  padding: 2.5rem 3rem;
  margin-top: 2rem;
  color: white;
  text-align: center;
}

.collab-cta h3 {
  font-weight: 600;
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.collab-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 650px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.7;
}

.collab-cta .btn-cta {
  background: white;
  color: #0b1a33;
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: background 0.2s ease, transform 0.1s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.collab-cta .btn-cta:hover {
  background: #e6edf7;
  transform: translateY(-2px);
}

.collab-cta .btn-cta i {
  font-size: 1.2rem;
}

/* ============================================
   RSS & HERO IMG
   ============================================ */
.rss-feed-item {
  border-left: 3px solid #0b1a33;
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

.rss-feed-item small {
  color: #4a668a;
}

.rss-img-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #eef2f6;
}

.rss-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-img-wrapper {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  height: 320px;
  background: #e6edf7;
}

.card-img-top-custom {
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* ============================================
   SERVIZI - PILLS
   ============================================ */
.services-pills-container {
  max-width: 960px;
  margin: 0 auto;
}

.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1.5px solid transparent;
  border-radius: 50px;
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: default;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-decoration: none;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.service-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0);
  transition: background 0.3s ease;
  border-radius: 50px;
}

.service-pill:hover::after {
  background: rgba(255,255,255,0.15);
}

.service-pill:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-pill i {
  font-size: 1.1rem;
  opacity: 0.9;
}

.service-pill .pill-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.service-pill:hover .pill-number {
  background: rgba(255,255,255,0.4);
}

.service-pill .pill-text {
  white-space: nowrap;
}

.pill-color-1 { background: #0b1a33; }
.pill-color-2 { background: #1a3a5c; }
.pill-color-3 { background: #2a5a7a; }
.pill-color-4 { background: #1a4a6a; }
.pill-color-5 { background: #0d2f4f; }
.pill-color-6 { background: #1e4a6a; }
.pill-color-7 { background: #2a5a7a; }
.pill-color-8 { background: #163a5a; }
.pill-color-9 { background: #1a3a5a; }
.pill-color-10 { background: #0b1a33; }

.pill-tooltip {
  display: none;
  position: fixed;
  background: #0b1a33;
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 350px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  z-index: 9998;
  pointer-events: none;
  word-wrap: break-word;
  font-weight: 400;
  border: 1px solid rgba(255,255,255,0.1);
}

.pill-tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #0b1a33;
}

.pill-tooltip.show {
  display: block;
  animation: tooltipFadeIn 0.2s ease;
}

@keyframes tooltipFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   ROADMAP CTA & GALLERY
   ============================================ */
.roadmap-cta {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.roadmap-cta:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  transform: translateY(-2px);
}

.gallery-carousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.gallery-carousel .carousel-item {
  height: 350px;
  background: #f0f4fa;
}

.gallery-carousel .carousel-item .row {
  height: 100%;
}

.gallery-carousel .carousel-item .col-6 {
  height: 100%;
  padding: 6px;
}

.gallery-carousel .image-container {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.gallery-carousel .image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.gallery-carousel .carousel-control-prev,
.gallery-carousel .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(11, 26, 51, 0.6);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.gallery-carousel:hover .carousel-control-prev,
.gallery-carousel:hover .carousel-control-next {
  opacity: 1;
}

.gallery-carousel .carousel-control-prev {
  left: 12px;
}

.gallery-carousel .carousel-control-next {
  right: 12px;
}

.gallery-carousel .carousel-indicators {
  bottom: 0px;
  z-index: 10;
}

.gallery-carousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid black;
  background: transparent;
}

.gallery-carousel .carousel-indicators .active {
  background: white;
}

/* ============================================
   LOGIN, SIGNUP & RECOVERY (shared styles)
   ============================================ */
.login-section,
.signup-section,
.recovery-section {
  flex: 1;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #f2f6fc 0%, #ffffff 100%);
  padding: 40px 0;
}

.login-container,
.signup-container,
.recovery-container {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  border: 1px solid #eef2f6;
  overflow: hidden;
}

.login-left,
.signup-left,
.recovery-left {
  padding: 3rem 2.5rem;
  background: linear-gradient(145deg, #0b1a33 0%, #1a3555 100%);
  color: white;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.login-left .shield-icon,
.signup-left .shield-icon,
.recovery-left .shield-icon {
  font-size: 4rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}

.login-left h2,
.signup-left h2,
.recovery-left h2 {
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.login-left p,
.signup-left p,
.recovery-left p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
  font-weight: 500;
}

.signup-left a {
  color: white;
}

.login-left .feature-list,
.signup-left .feature-list,
.recovery-left .feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  font-weight: 500;
}

.login-left .feature-list li,
.signup-left .feature-list li,
.recovery-left .feature-list li {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  padding: 0.4rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.login-left .feature-list li i,
.signup-left .feature-list li i,
.recovery-left .feature-list li i {
  color: #4a9eff;
  font-size: 1.1rem;
}

.login-right,
.signup-right,
.recovery-right {
  padding: 3rem 2.5rem;
}

.login-right h3,
.signup-right h3,
.recovery-right h3 {
  font-weight: 700;
  font-size: 1.5rem;
  color: #0b1a33;
  margin-bottom: 0.5rem;
}

.login-right .subtitle,
.signup-right .subtitle,
.recovery-right .subtitle {
  color: #4a668a;
  font-size: 1rem;
  margin-bottom: 2rem;
}

.login-right .form-label,
.signup-right .form-label,
.recovery-right .form-label {
  font-weight: 500;
  font-size: 0.85rem;
  color: #0b1a33;
}

.login-right .form-control,
.signup-right .form-control,
.recovery-right .form-control {
  border-radius: 12px;
  border: 1.5px solid #e2e9f2;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-right .form-control:focus,
.signup-right .form-control:focus,
.recovery-right .form-control:focus {
  border-color: #0b1a33;
  box-shadow: 0 0 0 3px rgba(11, 26, 51, 0.08);
}

.login-right .btn-login,
.signup-right .btn-signup,
.recovery-right .btn-recovery {
  width: 100%;
  padding: 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  background-color: #0b1a33;
  color: white;
  border: none;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.login-right .btn-login:hover,
.signup-right .btn-signup:hover,
.recovery-right .btn-recovery:hover {
  background-color: #1f3557;
  transform: translateY(-1px);
}

.login-right .btn-login:active,
.signup-right .btn-signup:active,
.recovery-right .btn-recovery:active {
  transform: scale(0.98);
}

.login-right .forgot-password {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  color: #4a668a;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.login-right .forgot-password:hover {
  color: #0b1a33;
  text-decoration: underline;
}

.login-right .divider,
.signup-right .divider,
.recovery-right .divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: #a0b4c8;
  font-size: 0.8rem;
}

.login-right .divider::before,
.signup-right .divider::before,
.recovery-right .divider::before,
.login-right .divider::after,
.signup-right .divider::after,
.recovery-right .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e9f2;
}

.login-right .divider::before,
.signup-right .divider::before,
.recovery-right .divider::before {
  margin-right: 1rem;
}

.login-right .divider::after,
.signup-right .divider::after,
.recovery-right .divider::after {
  margin-left: 1rem;
}

.login-right .register-link,
.signup-right .login-link,
.recovery-right .login-link {
  text-align: center;
  font-size: 0.9rem;
  color: #4a668a;
}

.login-right .register-link a,
.signup-right .login-link a,
.recovery-right .login-link a {
  color: #0b1a33;
  font-weight: 600;
  text-decoration: none;
}

.login-right .register-link a:hover,
.signup-right .login-link a:hover,
.recovery-right .login-link a:hover {
  text-decoration: underline;
}

/* ============================================
   SIGNUP SPECIFIC
   ============================================ */
.signup-right .form-check-input {
  border-radius: 4px;
  border: 1.5px solid #c0cedf;
  cursor: pointer;
  margin-left: -15px;
}

.signup-right .form-check-input:checked {
  background-color: #0b1a33;
  border-color: #0b1a33;
}

.signup-right .form-check-label {
  font-size: 0.85rem;
  color: #1e2f47;
  cursor: pointer;
}

.signup-right .form-check-label a {
  color: #0b1a33;
  font-weight: 500;
  text-decoration: none;
}

.signup-right .form-check-label a:hover {
  text-decoration: underline;
}

.captcha-box {
  background: #f2f6fc;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  border: 1px solid #e2e9f2;
}

.captcha-box .captcha-code {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #0b1a33;
  background: white;
  padding: 0.3rem 1rem;
  border-radius: 8px;
  border: 1px solid #d0dce8;
  user-select: none;
  min-width: 100px;
  text-align: center;
}

.captcha-box .captcha-input {
  flex: 1;
  min-width: 150px;
}

.captcha-box .captcha-input input {
  border-radius: 8px;
  border: 1.5px solid #e2e9f2;
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.captcha-box .captcha-input input:focus {
  border-color: #0b1a33;
  box-shadow: 0 0 0 3px rgba(11, 26, 51, 0.08);
  outline: none;
}

.captcha-box .captcha-refresh {
  background: none;
  border: none;
  color: #4a668a;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.3rem;
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.captcha-box .captcha-refresh:hover {
  color: #0b1a33;
  transform: rotate(180deg);
}

/* ============================================
   COOKIE, PRIVACY, TERMS CONTENT
   ============================================ */
.cookie-content,
.privacy-content,
.terms-content {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  border: 1px solid #eef2f6;
}

.cookie-content h1,
.privacy-content h1,
.terms-content h1 {
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: -0.02em;
  color: #0b1a33;
}

.cookie-content h2,
.privacy-content h2,
.terms-content h2 {
  font-weight: 600;
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #0b1a33;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eef2f6;
}

.cookie-content h3,
.privacy-content h3,
.terms-content h3 {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #0b1a33;
}

.cookie-content h4 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  color: #0b1a33;
}

.cookie-content p,
.privacy-content p,
.terms-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #1e2f47;
  margin-bottom: 0.75rem;
}

.cookie-content ul,
.privacy-content ul,
.terms-content ul,
.cookie-content ol,
.privacy-content ol,
.terms-content ol {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.cookie-content li,
.privacy-content li,
.terms-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #1e2f47;
  margin-bottom: 0.4rem;
}

.cookie-content .highlight-box,
.privacy-content .highlight-box {
  background: #f2f6fc;
  border-left: 4px solid #0b1a33;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin: 1rem 0;
}

.cookie-content .highlight-box p,
.privacy-content .highlight-box p {
  margin-bottom: 0;
}

.cookie-content .badge-cookie {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-right: 0.3rem;
}

.badge-necessary { background: #0b1a33; color: white; }
.badge-functional { background: #1a3a5c; color: white; }
.badge-analytical { background: #2a5a7a; color: white; }
.badge-performance { background: #1a4a6a; color: white; }
.badge-advertising { background: #0d2f4f; color: white; }
.badge-thirdparty { background: #1e4a6a; color: white; }

.cookie-content .section-number,
.privacy-content .section-number,
.terms-content .section-number {
  display: inline-block;
  font-weight: 700;
  color: #0b1a33;
  margin-right: 0.5rem;
}

.cookie-content .cookie-type-box {
  background: #fafbfc;
  border: 1px solid #eef2f6;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  transition: box-shadow 0.2s ease;
}

.cookie-content .cookie-type-box:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.cookie-content .cookie-type-box .cookie-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.cookie-content .cookie-type-box .cookie-header h4 {
  margin: 0;
  font-size: 1rem;
}

.cookie-content .cookie-type-box p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.cookie-content .footer-note,
.privacy-content .footer-note,
.terms-content .footer-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid #eef2f6;
  font-size: 0.9rem;
  color: #4a668a;
}

.cookie-content .link-list {
  list-style: none;
  padding-left: 0;
}

.cookie-content .link-list li {
  margin-bottom: 0.3rem;
}

.cookie-content .link-list li a {
  color: #0b1a33;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.cookie-content .link-list li a:hover {
  border-bottom-color: #0b1a33;
}

/* PRIVACY SPECIFIC */
.privacy-content .table-privacy {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem 0;
  font-size: 0.9rem;
}

.privacy-content .table-privacy th {
  background: #f2f6fc;
  color: #0b1a33;
  font-weight: 600;
  text-align: left;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e9f2;
}

.privacy-content .table-privacy td {
  padding: 0.75rem 1rem;
  border: 1px solid #e2e9f2;
  color: #1e2f47;
}

.privacy-content .table-privacy tr:nth-child(even) td {
  background: #fafbfc;
}

.privacy-content .badge-privacy,
.terms-content .badge-terms {
  display: inline-block;
  background: #e6edf7;
  color: #0b1a33;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.7rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* TERMS SPECIFIC */
.terms-content .version {
  color: #4a668a;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* ============================================
   ROADMAP TIMELINE
   ============================================ */
.roadmap-section {
  flex: 1;
  padding: 60px 0;
  background: linear-gradient(145deg, #f2f6fc 0%, #ffffff 100%);
}

.roadmap-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.roadmap-header h1 {
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: -0.03em;
  color: #0b1a33;
  margin-bottom: 0.5rem;
}

.roadmap-header .subtitle {
  font-size: 1.1rem;
  color: #4a668a;
  max-width: 600px;
  margin: 0 auto;
}

.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, #0b1a33 0%, #2a5a7a 50%, #0b1a33 100%);
  opacity: 0.2;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item .timeline-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 2;
  position: relative;
  border: 3px solid white;
  box-shadow: 0 4px 12px rgba(11, 26, 51, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
}

.timeline-item:hover .timeline-icon {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(11, 26, 51, 0.25);
}

.timeline-item:nth-child(odd) .timeline-icon {
  background: #0b1a33;
}

.timeline-item:nth-child(even) .timeline-icon {
  background: #1a3a5c;
}

.timeline-item.future .timeline-icon {
  background: #2a5a7a;
}

.timeline-item .timeline-content {
  flex: 1;
  padding: 1.25rem 1.5rem;
  background: white;
  border-radius: 16px;
  border: 1px solid #eef2f6;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  margin: 0 1.5rem;
}

.timeline-item:hover .timeline-content {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.timeline-item:nth-child(odd) .timeline-content {
  border-left: 4px solid #0b1a33;
}

.timeline-item:nth-child(even) .timeline-content {
  border-left: 4px solid #1a3a5c;
}

.timeline-item.future .timeline-content {
  border-left: 4px solid #2a5a7a;
  background: #f8faff;
}

.timeline-item .timeline-content .item-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.5rem;
}

.timeline-item .timeline-content .item-header .date {
  font-weight: 600;
  font-size: 0.85rem;
  color: #0b1a33;
}

.timeline-item .timeline-content .item-header .version {
  background: #e6edf7;
  color: #0b1a33;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.7rem;
  border-radius: 20px;
}

.timeline-item .timeline-content .item-header .feature-tag {
  background: #2a5a7a;
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.7rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.timeline-item .timeline-content .item-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: #0b1a33;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-item .timeline-content .item-title i {
  font-size: 1.1rem;
  color: #0b1a33;
  opacity: 0.7;
}

.timeline-item.future .timeline-content .item-title i {
  color: #2a5a7a;
}

.timeline-item .timeline-content .item-description {
  font-size: 0.9rem;
  color: #4a668a;
  line-height: 1.6;
  margin-bottom: 0;
}

.timeline-item .timeline-content .item-description ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
  margin-top: 0.3rem;
}

.timeline-item .timeline-content .item-description ul li {
  font-size: 0.9rem;
  color: #4a668a;
  line-height: 1.6;
  margin-bottom: 0.1rem;
  list-style-type: none;
  position: relative;
  padding-left: 1.2rem;
}

.timeline-item .timeline-content .item-description ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0b1a33;
  font-weight: 700;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 1.5rem;
  margin-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: 1.5rem;
  margin-left: 0;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
  flex: 1;
  padding: 60px 0;
  background: linear-gradient(145deg, #f2f6fc 0%, #ffffff 100%);
}

.faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-header h1 {
  font-weight: 700;
  font-size: 2.8rem;
  letter-spacing: -0.03em;
  color: #0b1a33;
  margin-bottom: 0.5rem;
}

.faq-header .subtitle {
  font-size: 1.1rem;
  color: #4a668a;
  max-width: 600px;
  margin: 0 auto;
}

.faq-search {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}

.faq-search .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid #e2e9f2;
  background: white;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-search .input-group:focus-within {
  box-shadow: 0 4px 20px rgba(11, 26, 51, 0.08);
  border-color: #0b1a33;
}

.faq-search .input-group-text {
  background: white;
  border: none;
  color: #4a668a;
  padding-left: 1.25rem;
}

.faq-search .form-control {
  border: none;
  padding: 0.8rem 0.5rem 0.8rem 0;
  font-size: 0.95rem;
  background: white;
}

.faq-search .form-control:focus {
  box-shadow: none;
}

.faq-search .btn-search {
  background: white;
  border: none;
  color: #0b1a33;
  padding-right: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.faq-search .btn-search:hover {
  color: #1f3557;
}

.faq-search .btn-clear {
  background: none;
  border: none;
  color: #a0b4c8;
  padding-right: 1rem;
  display: none;
  font-size: 1.1rem;
}

.faq-search .btn-clear.visible {
  display: block;
}

.faq-search .btn-clear:hover {
  color: #0b1a33;
}

.no-results {
  display: none;
  text-align: center;
  padding: 3rem 0;
}

.no-results.visible {
  display: block;
}

.no-results i {
  font-size: 3rem;
  color: #a0b4c8;
  margin-bottom: 1rem;
}

.no-results h5 {
  font-weight: 600;
  color: #0b1a33;
}

.no-results p {
  color: #4a668a;
}

.faq-category {
  margin-bottom: 2.5rem;
}

.faq-category .category-title {
  font-weight: 600;
  font-size: 1.3rem;
  color: #0b1a33;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #eef2f6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-category .category-title i {
  color: #0b1a33;
  font-size: 1.4rem;
}

.faq-category .category-badge {
  background: #e6edf7;
  color: #0b1a33;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.1rem 0.7rem;
  border-radius: 20px;
  margin-left: 0.5rem;
}

.accordion-faq {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eef2f6;
}

.accordion-faq .accordion-item {
  border: none;
  border-bottom: 1px solid #eef2f6;
  background: white;
}

.accordion-faq .accordion-item:last-child {
  border-bottom: none;
}

.accordion-faq .accordion-header {
  margin: 0;
}

.accordion-faq .accordion-button {
  padding: 1rem 1.25rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: #0b1a33;
  background: white;
  border: none;
  box-shadow: none;
  border-radius: 0 !important;
  transition: background 0.2s ease;
  gap: 0.75rem;
}

.accordion-faq .accordion-button:hover {
  background: #f8fafc;
}

.accordion-faq .accordion-button:not(.collapsed) {
  background: #f8fafc;
  color: #0b1a33;
}

.accordion-faq .accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

.accordion-faq .accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: '';
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%230b1a33' viewBox='0 0 16 16'%3E%3Cpath d='M8 11.5a1 1 0 0 1-.707-.293l-5-5a1 1 0 0 1 1.414-1.414L8 9.086l4.293-4.293a1 1 0 0 1 1.414 1.414l-5 5A1 1 0 0 1 8 11.5z'/%3E%3C/svg%3E");
  background-size: 1.25rem;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.25s ease;
}

.accordion-faq .accordion-button .question-icon {
  color: #0b1a33;
  font-size: 0.9rem;
  flex-shrink: 0;
  opacity: 0.6;
}

.accordion-faq .accordion-body {
  padding: 1.25rem;
  background: white;
  color: #1e2f47;
  font-size: 0.95rem;
  line-height: 1.7;
}

.accordion-faq .accordion-body p {
  margin-bottom: 0;
}

.faq-category.hidden {
  display: none;
}

.accordion-item.hidden {
  display: none;
}

/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Tablet landscape */
@media (max-width: 1200px) {
  .hero-img-wrapper {
    height: 280px;
  }
}

/* Tablet */
@media (max-width: 992px) {
  .collab-header h1,
  .roadmap-header h1,
  .faq-header h1 {
    font-size: 2.2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-img-wrapper {
    height: 260px;
  }

  .gallery-carousel .carousel-item {
    height: 320px;
  }

  .card-img-top-custom {
    height: 160px;
  }

  .collab-features {
    padding: 2rem;
  }

  .collab-features .feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1.5rem;
  }

  .collab-cta {
    padding: 2rem;
  }

  .collab-cta h3 {
    font-size: 1.3rem;
  }

  .cookie-content,
  .privacy-content,
  .terms-content {
    padding: 2rem;
  }

  .cookie-content h1,
  .privacy-content h1,
  .terms-content h1 {
    font-size: 1.8rem;
  }

  .login-left,
  .signup-left,
  .recovery-left {
    min-height: auto;
    padding: 2rem;
  }

  .login-left .shield-icon,
  .signup-left .shield-icon,
  .recovery-left .shield-icon {
    font-size: 3rem;
  }

  .login-left h2,
  .signup-left h2,
  .recovery-left h2 {
    font-size: 1.6rem;
  }

  .login-right,
  .signup-right,
  .recovery-right {
    padding: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* General */
  .collab-section,
  .roadmap-section,
  .faq-section {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-img-wrapper {
    height: 220px;
    border-radius: 16px;
  }

  .section-title.display-6 {
    font-size: 1.8rem;
  }

  /* Header */
  .collab-header h1,
  .roadmap-header h1,
  .faq-header h1 {
    font-size: 1.8rem;
  }

  .collab-header .subtitle,
  .roadmap-header .subtitle,
  .faq-header .subtitle {
    font-size: 1rem;
  }

  /* Cards */
  .collab-card {
    padding: 1.5rem;
  }

  .collab-features {
    padding: 1.5rem;
  }

  .collab-features .feature-grid {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .collab-cta {
    padding: 1.5rem;
  }

  .collab-cta h3 {
    font-size: 1.1rem;
  }

  .collab-cta p {
    font-size: 0.9rem;
  }

  .collab-cta .btn-cta {
    padding: 0.6rem 1.8rem;
    font-size: 0.9rem;
  }

  /* Gallery */
  .gallery-carousel .carousel-item {
    height: 260px;
  }

  .gallery-carousel .carousel-item .col-6 {
    padding: 2px;
  }

  .gallery-carousel .carousel-control-prev,
  .gallery-carousel .carousel-control-next {
    width: 36px;
    height: 36px;
    opacity: 0.6;
  }

  .gallery-carousel .carousel-control-prev {
    left: 8px;
  }

  .gallery-carousel .carousel-control-next {
    right: 8px;
  }

  /* Cards */
  .card-img-top-custom {
    height: 140px;
  }

  /* RSS */
  .rss-feed-item {
    padding-left: 0.75rem;
  }

  .rss-img-wrapper {
    width: 50px;
    height: 50px;
  }

  /* Pills */
  .service-pill {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .service-pill .pill-number {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }

  .pill-tooltip {
    max-width: 280px;
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  /* Timeline */
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    flex-direction: row !important;
    margin-bottom: 1.5rem;
  }

  .timeline-item .timeline-icon {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .timeline-item .timeline-content {
    margin: 0 0 0 1rem !important;
    padding: 0.85rem 1rem;
  }

  .timeline-item .timeline-content .item-header {
    gap: 0.3rem 0.6rem;
  }

  .timeline-item .timeline-content .item-header .date {
    font-size: 0.75rem;
  }

  .timeline-item .timeline-content .item-title {
    font-size: 0.95rem;
  }

  .timeline-item .timeline-content .item-description {
    font-size: 0.85rem;
  }

  .timeline-item .timeline-content .item-description ul li {
    font-size: 0.85rem;
  }

  /* Login, Signup & Recovery */
  .login-section,
  .signup-section,
  .recovery-section {
    padding: 20px 0;
  }

  .login-container,
  .signup-container,
  .recovery-container {
    border-radius: 16px;
  }

  .login-left,
  .signup-left,
  .recovery-left {
    padding: 1.5rem;
    text-align: center;
  }

  .login-left .feature-list,
  .signup-left .feature-list,
  .recovery-left .feature-list {
    text-align: left;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .login-left .shield-icon,
  .signup-left .shield-icon,
  .recovery-left .shield-icon {
    font-size: 2.5rem;
  }

  .login-left h2,
  .signup-left h2,
  .recovery-left h2 {
    font-size: 1.4rem;
  }

  .login-right,
  .signup-right,
  .recovery-right {
    padding: 1.5rem;
  }

  .login-right h3,
  .signup-right h3,
  .recovery-right h3 {
    font-size: 1.3rem;
  }

  .captcha-box {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .captcha-box .captcha-code {
    text-align: center;
    font-size: 1.3rem;
  }

  /* Content pages */
  .cookie-content,
  .privacy-content,
  .terms-content {
    padding: 1.5rem;
  }

  .cookie-content h1,
  .privacy-content h1,
  .terms-content h1 {
    font-size: 1.5rem;
  }

  .cookie-content h2,
  .privacy-content h2,
  .terms-content h2 {
    font-size: 1.2rem;
  }

  .cookie-content p,
  .privacy-content p,
  .terms-content p,
  .cookie-content li,
  .privacy-content li,
  .terms-content li {
    font-size: 0.9rem;
  }

  .cookie-content .cookie-type-box {
    padding: 0.75rem 1rem;
  }

  .privacy-content .table-privacy {
    font-size: 0.8rem;
  }

  .privacy-content .table-privacy th,
  .privacy-content .table-privacy td {
    padding: 0.5rem 0.75rem;
  }

  /* FAQ */
  .faq-search {
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .faq-search .form-control {
    font-size: 0.9rem;
    padding: 0.6rem 0.3rem 0.6rem 0;
  }

  .faq-category .category-title {
    font-size: 1.1rem;
  }

  .accordion-faq .accordion-button {
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
  }

  .accordion-faq .accordion-body {
    font-size: 0.9rem;
    padding: 0 1rem 1rem 1rem;
  }

  /* Navbar & Footer */
  .navbar-brand {
    font-size: 1.1rem;
  }

  .navbar-nav .btn {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }

  footer .row > div {
    text-align: center !important;
    margin-bottom: 0.5rem;
  }

  footer .row > div:last-child {
    margin-bottom: 0;
  }
}

/* Mobile small */
@media (max-width: 576px) {
  /* General */
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-img-wrapper {
    height: 180px;
    border-radius: 12px;
  }

  .hero .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero .d-flex.gap-3 {
    flex-direction: column;
    width: 100%;
  }

  .hero .d-flex.gap-3 .btn {
    width: 100%;
  }

  .section-title.display-6 {
    font-size: 1.5rem;
  }

  /* Header */
  .collab-header h1,
  .roadmap-header h1,
  .faq-header h1 {
    font-size: 1.5rem;
  }

  /* Cards */
  .collab-card {
    padding: 1.25rem;
  }

  .collab-card .card-icon {
    font-size: 2rem;
  }

  .collab-card h5 {
    font-size: 1rem;
  }

  .collab-features {
    padding: 1.25rem;
  }

  .collab-features h3 {
    font-size: 1.1rem;
  }

  .collab-features .feature-grid .feature-item {
    font-size: 0.85rem;
  }

  .collab-cta {
    padding: 1.25rem;
  }

  /* Gallery */
  .gallery-carousel .carousel-item {
    height: 200px;
  }

  .gallery-carousel .carousel-item .col-6 {
    padding: 1px;
  }

  .gallery-carousel .carousel-control-prev,
  .gallery-carousel .carousel-control-next {
    width: 30px;
    height: 30px;
    opacity: 0.5;
  }

  .gallery-carousel .carousel-control-prev {
    left: 4px;
  }

  .gallery-carousel .carousel-control-next {
    right: 4px;
  }

  .gallery-carousel .carousel-indicators button {
    width: 8px;
    height: 8px;
  }

  /* Cards */
  .card-img-top-custom {
    height: 120px;
  }

  /* RSS */
  .rss-feed-item {
    flex-direction: column;
    align-items: flex-start !important;
    padding-left: 0.5rem;
  }

  .rss-feed-item .rss-img-wrapper {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
  }

  .rss-feed-item .rss-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Pills */
  .service-pill {
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    gap: 0.3rem;
  }

  .service-pill .pill-number {
    width: 16px;
    height: 16px;
    font-size: 0.5rem;
  }

  .service-pill i {
    font-size: 0.8rem;
  }

  .pill-tooltip {
    max-width: 240px;
    font-size: 0.75rem;
    padding: 0.5rem 0.85rem;
  }

  /* Timeline */
  .roadmap-header h1 {
    font-size: 1.5rem;
  }

  .timeline-item .timeline-content {
    padding: 0.75rem;
  }

  .timeline-item .timeline-content .item-title {
    font-size: 0.85rem;
  }

  .timeline-item .timeline-content .item-description {
    font-size: 0.8rem;
  }

  .timeline-item .timeline-content .item-description ul li {
    font-size: 0.8rem;
    padding-left: 1rem;
  }

  .timeline-item .timeline-icon {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
  }

  /* Login, Signup & Recovery */
  .login-left,
  .signup-left,
  .recovery-left {
    padding: 1.25rem;
  }

  .login-left .shield-icon,
  .signup-left .shield-icon,
  .recovery-left .shield-icon {
    font-size: 2rem;
  }

  .login-left h2,
  .signup-left h2,
  .recovery-left h2 {
    font-size: 1.2rem;
  }

  .login-left p,
  .signup-left p,
  .recovery-left p {
    font-size: 0.85rem;
  }

  .login-left .feature-list li,
  .signup-left .feature-list li,
  .recovery-left .feature-list li {
    font-size: 0.8rem;
  }

  .login-right,
  .signup-right,
  .recovery-right {
    padding: 1.25rem;
  }

  .login-right h3,
  .signup-right h3,
  .recovery-right h3 {
    font-size: 1.1rem;
  }

  .login-right .form-control,
  .signup-right .form-control,
  .recovery-right .form-control {
    font-size: 0.85rem;
    padding: 0.6rem 0.85rem;
  }

  .login-right .btn-login,
  .signup-right .btn-signup,
  .recovery-right .btn-recovery {
    font-size: 0.9rem;
    padding: 0.65rem;
  }

  .signup-right .form-check-label {
    font-size: 0.8rem;
  }

  .captcha-box .captcha-code {
    font-size: 1.1rem;
    min-width: 80px;
  }

  .captcha-box .captcha-input input {
    font-size: 0.85rem;
  }

  /* Content pages */
  .cookie-content,
  .privacy-content,
  .terms-content {
    padding: 1rem;
    border-radius: 12px;
  }

  .cookie-content h1,
  .privacy-content h1,
  .terms-content h1 {
    font-size: 1.3rem;
  }

  .cookie-content h2,
  .privacy-content h2,
  .terms-content h2 {
    font-size: 1rem;
  }

  .cookie-content p,
  .privacy-content p,
  .terms-content p,
  .cookie-content li,
  .privacy-content li,
  .terms-content li {
    font-size: 0.85rem;
  }

  .cookie-content .cookie-type-box .cookie-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-content .cookie-type-box .cookie-header h4 {
    font-size: 0.9rem;
  }

  .privacy-content .table-privacy {
    font-size: 0.7rem;
  }

  .privacy-content .table-privacy th,
  .privacy-content .table-privacy td {
    padding: 0.4rem 0.5rem;
  }

  /* FAQ */
  .faq-header h1 {
    font-size: 1.5rem;
  }

  .accordion-faq .accordion-button {
    font-size: 0.85rem;
    padding: 0.75rem;
  }

  .accordion-faq .accordion-body {
    font-size: 0.85rem;
    padding: 0 0.75rem 0.75rem 0.75rem;
  }

  /* Contatti */
  .contatti-box .row {
    flex-direction: column;
    text-align: center;
  }

  .contatti-box .col-4 {
    width: 100%;
    max-width: 150px;
    margin: 0 auto 0.5rem;
  }

  .contatti-box .col-8 {
    width: 100%;
  }
}

/* Very small phones */
@media (max-width: 400px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .gallery-carousel .carousel-item {
    height: 160px;
  }

  .card-img-top-custom {
    height: 100px;
  }

  .service-pill {
    font-size: 0.65rem;
    padding: 0.3rem 0.6rem;
    gap: 0.2rem;
  }

  .service-pill .pill-number {
    width: 14px;
    height: 14px;
    font-size: 0.45rem;
  }
}