@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,600;0,700;1,600;1,700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* =========================================================
   SLOVENIA — Adriatic Karst (v2)
   Stone · deep teal · ochre · editorial · sharp
   Inspired by: Italy’s italic emphasis + Romania’s technical badge energy
   ========================================================= */

:root {
  --forest: #0C2A29 !important;
  --forest-light: #174240 !important;
  --sage: #1B6661 !important;
  --sage-light: #EFE9DE !important;
  --mint: #7BA9A3 !important;
  --vibrant-green: #C48A2A !important;
  --vibrant-green-hover: #A8731F !important;
  --off-white: #F3EEE4 !important;
  --white: #FAF7F0 !important;
  --gray-100: #DDD3C3 !important;
  --gray-300: #7F7668 !important;
  --gray-500: #4E473D !important;
  --gray-700: #1F1C17 !important;

  --radius-sm: 2px !important;
  --radius-md: 3px !important;
  --radius-lg: 4px !important;
  --radius-full: 3px !important;

  --shadow-sm: none !important;
  --shadow-md: 0 12px 32px rgba(12, 42, 41, 0.08) !important;
  --shadow-lg: 0 24px 60px rgba(12, 42, 41, 0.12) !important;

  --font-heading: 'Libre Bodoni', 'Times New Roman', serif !important;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif !important;

  --si-ink: #0C2A29;
  --si-teal: #1B6661;
  --si-ochre: #C48A2A;
  --si-stone: #F3EEE4;
  --si-paper: #FAF7F0;
}

body {
  background: var(--si-stone) !important;
  color: var(--si-ink) !important;
  font-family: var(--font-body) !important;
}

h1, h2, h3, h4,
.hero-title,
.subpage-hero-title,
.logo-text strong {
  font-family: var(--font-heading) !important;
  color: var(--si-ink) !important;
  letter-spacing: -0.02em;
  font-weight: 700 !important;
}

p, li, .hero-subtitle { color: var(--gray-500) !important; }
/* Dark panels need light copy — override the global p/li rule */
.sidebar-card p,
.sidebar-card li,
.why-us p,
.why-us li,
.quote-cta p,
.quote-content p,
.subpage-hero p,
.subpage-hero-desc {
  color: rgba(250, 247, 240, 0.9) !important;
}
.sidebar-card h3,
.why-us h2,
.why-card-content h3,
.quote-content h2,
.subpage-hero-title {
  color: #fff !important;
}
/* Cream structural footer keeps dark text */
.site-footer .footer-brand p,
.site-footer .footer-links a,
.site-footer .footer-contact li {
  color: #4E473D !important;
}

.logo-text strong { color: var(--si-ink) !important; }
.logo-text span { color: var(--si-teal) !important; letter-spacing: 0.14em !important; }
.nav-link {
  color: var(--si-ink) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
}
.nav-link:hover { color: var(--si-ochre) !important; }

/* ----- Header: flat editorial rule ----- */
.site-header .header-inner {
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(12, 42, 41, 0.16) !important;
  background: rgba(250, 247, 240, 0.97) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.btn, .btn-primary, .btn-sage, .btn-outline {
  border-radius: 2px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 14px 22px !important;
  min-height: 46px;
}
.btn-primary {
  background: var(--si-ink) !important;
  color: #fff !important;
  border: 1px solid var(--si-ink) !important;
}
.btn-primary:hover {
  background: var(--si-teal) !important;
  border-color: var(--si-teal) !important;
  color: #fff !important;
  transform: none !important;
}
.btn-sage {
  background: transparent !important;
  color: var(--si-ink) !important;
  border: 1px solid var(--si-ink) !important;
}
.btn-sage:hover {
  background: var(--si-ochre) !important;
  border-color: var(--si-ochre) !important;
  color: #fff !important;
}
.btn-outline {
  border: 1px solid var(--si-ink) !important;
  color: var(--si-ink) !important;
  background: transparent !important;
}

.section-label {
  background: transparent !important;
  color: var(--si-ochre) !important;
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 2px solid var(--si-ochre) !important;
  padding: 0 0 6px !important;
  letter-spacing: 0.16em !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
}

/* ----- Hero: asymmetric editorial ----- */
.hero {
  background: var(--si-stone) !important;
  padding: 140px 0 88px !important;
  border-bottom: 1px solid rgba(12, 42, 41, 0.12);
}
.hero-shape { display: none !important; }
.hero-grid {
  grid-template-columns: 1.4fr 0.9fr !important;
  gap: 56px !important;
  align-items: stretch !important;
}
.hero-content { opacity: 1 !important; transform: none !important; }
.hero-title {
  font-size: clamp(3.2rem, 6.5vw, 5.8rem) !important;
  line-height: 0.94 !important;
  color: var(--si-ink) !important;
}
.hero-title em {
  color: var(--si-teal) !important;
  font-style: italic !important;
}
.hero-subtitle {
  color: var(--gray-500) !important;
  font-size: 1.1rem !important;
  max-width: 32rem !important;
  border-left: 3px solid var(--si-ochre);
  padding-left: 1rem;
}
.hero-content::after {
  content: "";
  display: block;
  width: 88px;
  height: 2px;
  background: var(--si-ochre);
  margin-top: 28px;
}

.hero-image-wrapper {
  min-height: 560px !important;
  height: 100% !important;
  border-radius: 0 !important;
  border: 1px solid rgba(12, 42, 41, 0.2) !important;
  box-shadow: none !important;
  overflow: hidden !important;
  position: relative;
}
.hero-image-wrapper::after {
  content: "KOPER · 45.5481° N · ADRIATIC";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 16px;
  background: rgba(12, 42, 41, 0.88);
  color: #E8D5A8;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  font-family: var(--font-body);
  font-weight: 600;
}
.hero-image-wrapper img {
  border-radius: 0 !important;
  height: 100% !important;
  object-fit: cover !important;
}
.hero-badge {
  display: none !important; /* replaced by image caption bar */
}

@keyframes siRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
/* reveal forced-visible removed — see UX PASS v5 */
.reveal.active { animation: siRise 0.55s ease both; }

/* ----- Cards ----- */
.service-card,
.why-card {
  border-radius: 0 !important;
  border: 1px solid rgba(12, 42, 41, 0.16) !important;
  background: var(--si-paper) !important;
  box-shadow: none !important;
}
.service-card:hover,
.why-card:hover {
  transform: none !important;
  border-color: var(--si-teal) !important;
  background: #fff !important;
}
.service-card h3 { color: var(--si-ink) !important; }
.service-card p { color: var(--gray-500) !important; }

.about-content h2 { color: var(--si-ink) !important; }
.about-portugal, .about-content { background: var(--si-paper) !important; }

/* ----- Why us: newspaper column ledger ----- */
.why-us {
  background: var(--si-ink) !important;
  color: #fff !important;
  border-radius: 0 !important;
  border-top: 3px solid var(--si-ochre) !important;
  border-bottom: 3px solid var(--si-ochre) !important;
  margin: 0 !important;
  padding: 96px 0 !important;
}
.why-us-header {
  text-align: left !important;
  max-width: 36rem !important;
  margin: 0 0 40px !important;
  padding-bottom: 24px !important;
  border-bottom: 1px solid rgba(255,255,255,0.18) !important;
}
.why-us-header h2,
.why-card-content h3 { color: #fff !important; }
.why-us-header p,
.why-card-content p { color: rgba(255,255,255,0.72) !important; }
.why-us-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0 !important;
  border-top: 1px solid rgba(255,255,255,0.16) !important;
}
.why-card {
  background: transparent !important;
  border: none !important;
  border-right: 1px solid rgba(255,255,255,0.14) !important;
  border-bottom: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 0 !important;
  padding: 28px 24px !important;
  box-shadow: none !important;
}
.why-card:nth-child(2n) { border-right: none !important; }
.why-card:hover {
  border-color: rgba(255,255,255,0.14) !important;
  background: rgba(196, 138, 42, 0.08) !important;
  transform: none !important;
}
.why-card-icon {
  background: transparent !important;
  color: var(--si-ochre) !important;
  border-radius: 0 !important;
  border: 1px solid var(--si-ochre) !important;
  width: 42px !important;
  height: 42px !important;
}

.vessels { background: var(--si-stone) !important; }
.vessels-header h2 { color: var(--si-ink) !important; }
.vessel-tag, .vessels-grid span, .vessels-grid .vessel-item {
  border-radius: 0 !important;
  border: 1px solid rgba(12,42,41,0.18) !important;
  background: var(--si-paper) !important;
  color: var(--si-ink) !important;
}

.quote-cta {
  background: var(--si-teal) !important;
}
.quote-content h2,
.quote-content p { color: #fff !important; }
.quote-cta .btn {
  background: var(--si-ochre) !important;
  color: #0C2A29 !important;
  border: none !important;
}

/* ----- Port coverage: coastline rail ----- */
.covered-ports-section {
  background: #E8E0D2 !important;
  padding: 96px 0 72px !important;
}
.covered-ports-section h2 { color: var(--si-ink) !important; }
.covered-ports-section .section-header p { color: var(--gray-500) !important; }
.covered-ports-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  border-left: 2px solid var(--si-teal) !important;
}
.covered-port-card {
  display: grid !important;
  grid-template-columns: 160px 1fr !important;
  gap: 1.25rem !important;
  padding: 1.35rem 1rem 1.35rem 1.85rem !important;
  border: none !important;
  border-bottom: 1px solid rgba(12,42,41,0.14) !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: relative;
}
.covered-port-card::before {
  content: "";
  position: absolute;
  left: -6px; top: 1.55rem;
  width: 10px; height: 10px;
  background: var(--si-ochre);
  border: 2px solid var(--si-teal);
  border-radius: 50%;
}
.covered-port-card:hover {
  background: rgba(250,247,240,0.7) !important;
  transform: none !important;
}
.covered-port-card h3 {
  margin: 0 !important;
  color: var(--si-ink) !important;
  border-right: 1px solid rgba(12,42,41,0.12);
  padding-right: 1rem;
  font-size: 1.2rem !important;
}
.covered-port-card p { margin: 0 !important; color: var(--gray-500) !important; }
.covered-ports-note {
  margin-top: 1.75rem !important;
  padding-top: 1rem !important;
  border-top: 2px solid var(--si-ochre) !important;
  color: var(--si-ink) !important;
}

/* ----- Forms: underline ----- */
.contact-form-wrapper,
.quote-form-wrapper {
  background: transparent !important;
  border: none !important;
  border-top: 2px solid var(--si-ink) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 1.75rem 0 !important;
  outline: none !important;
}
.form-group label,
.form-field label {
  font-family: var(--font-heading) !important;
  color: var(--si-ink) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
}
.form-group input,
.form-group select,
.form-group textarea,
.form-field input,
.form-field select,
.form-field textarea,
.input-shell,
.input-shell input {
  border: none !important;
  border-bottom: 1.5px solid rgba(12,42,41,0.35) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--si-ink) !important;
  box-shadow: none !important;
  min-height: 46px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--si-teal) !important;
  box-shadow: none !important;
}
.form-grid { grid-template-columns: 1fr !important; }

.service-item,
.service-image-container,
.service-image-container img { border-radius: 0 !important; }
.service-content h3 { color: var(--si-ink) !important; }
.service-content p, .service-features li { color: var(--gray-500) !important; }
.service-action a { color: var(--si-teal) !important; font-weight: 700 !important; }

/* ----- Subpages ----- */
.subpage-hero {
  background: var(--si-ink) !important;
  border-bottom: 3px solid var(--si-ochre);
}
.subpage-hero-bg { opacity: 0.28 !important; }
.subpage-hero-title,
.subpage-hero-desc,
.breadcrumb, .breadcrumb a, .breadcrumb li { color: #fff !important; }
.subpage-hero-title em { color: var(--si-ochre) !important; font-style: italic !important; }

.quick-nav a {
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid transparent !important;
  color: var(--si-ink) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}
.quick-nav a:hover,
.quick-nav a.active {
  color: var(--si-teal) !important;
  border-bottom-color: var(--si-ochre) !important;
  background: transparent !important;
}

.site-footer, footer {
  background: var(--si-ink) !important;
  border-top: 3px solid var(--si-ochre) !important;
  color: rgba(255,255,255,0.7) !important;
}
.site-footer h4, .footer-col h4, .footer-brand .logo-text strong { color: #fff !important; }
.footer-brand .logo-text span { color: var(--si-ochre) !important; }
.footer-col a { color: rgba(255,255,255,0.7) !important; }
.footer-col a:hover { color: #fff !important; }

.port-network-section h2 { color: var(--si-ink) !important; }
.port-network-header p { color: var(--gray-500) !important; }

/* =========================================================
   STRUCTURAL LAYOUTS — Ready-to-stock + Footer + sections
   Slovenia: editorial stacked CTA · ruled newspaper footer
   ========================================================= */

/* Ready to stock — full-bleed ink, stacked editorial */
.quote-cta {
  padding: 0 !important;
  background: #0C2A29 !important;
  border-top: 3px solid #C48A2A !important;
  border-bottom: 3px solid #C48A2A !important;
  overflow: hidden !important;
}
.quote-cta::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 6px !important;
  height: 100% !important;
  top: 0 !important;
  left: 0 !important;
  background: #C48A2A !important;
  border-radius: 0 !important;
}
.quote-cta .quote-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 28px !important;
  max-width: 720px !important;
  padding: 88px 24px 88px 48px !important;
  margin: 0 !important;
}
.quote-cta .quote-content h2 {
  color: #fff !important;
  font-size: clamp(2.4rem, 5vw, 3.6rem) !important;
  line-height: 1 !important;
  max-width: 16ch !important;
}
.quote-cta .quote-content h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  background: #C48A2A;
  margin-top: 18px;
}
.quote-cta .quote-content p {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 1.15rem !important;
  max-width: 38rem !important;
  border-left: 2px solid rgba(196, 138, 42, 0.5);
  padding-left: 1rem;
}
.quote-cta .btn,
.quote-cta a.btn-primary {
  background: transparent !important;
  color: #C48A2A !important;
  border: 1px solid #C48A2A !important;
  border-radius: 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  padding: 14px 22px !important;
}
.quote-cta .btn:hover,
.quote-cta a.btn-primary:hover {
  background: #C48A2A !important;
  color: #0C2A29 !important;
}

/* Footer — brand strip then ruled columns */
.site-footer {
  background: #FAF7F0 !important;
  color: #0C2A29 !important;
  padding: 0 !important;
  border-top: 1px solid rgba(12, 42, 41, 0.18) !important;
}
.site-footer > .container {
  padding-top: 0 !important;
}
.site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 0 !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(12, 42, 41, 0.14) !important;
}
.site-footer .footer-brand {
  grid-column: 1 / -1 !important;
  padding: 48px 0 36px !important;
  border-bottom: 1px solid rgba(12, 42, 41, 0.14) !important;
  margin-bottom: 0 !important;
}
.site-footer .footer-brand .logo-text strong { color: #fff !important; }
.site-footer .footer-brand .logo-text span { color: #B8944A !important; }
.site-footer .footer-brand p {
  color: #4E473D !important;
  max-width: 40rem !important;
  margin-top: 16px !important;
}
.site-footer .footer-col {
  padding: 32px 24px 40px !important;
  border-right: 1px solid rgba(12, 42, 41, 0.14) !important;
}
.site-footer .footer-col:last-child { border-right: none !important; }
.site-footer .footer-col h4 {
  color: #0C2A29 !important;
  font-size: 1.15rem !important;
  margin-bottom: 18px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid #C48A2A !important;
  display: inline-block;
}
.site-footer .footer-links a {
  color: #4E473D !important;
}
.site-footer .footer-links a:hover {
  color: #1B6661 !important;
  padding-left: 0 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer .footer-contact li {
  color: #4E473D !important;
}
.site-footer .footer-contact i { color: #C48A2A !important; }
.site-footer .footer-bottom {
  background: #0C2A29 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  padding: 18px 0 !important;
  justify-content: flex-start !important;
}
.site-footer .footer-bottom::before {
  content: "Koper · Izola · Piran";
  margin-right: 24px;
  color: #C48A2A;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Vessels — numbered list row */
.vessels {
  background: #EFE9DE !important;
  padding: 96px 0 !important;
  border-top: 1px solid rgba(12, 42, 41, 0.12);
}
.vessels-header {
  text-align: left !important;
  max-width: 40rem;
}
.vessels-header h2 { color: #0C2A29 !important; }
.vessels-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  border-top: 1px solid rgba(12, 42, 41, 0.16) !important;
}
.vessels-grid > * {
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 1px solid rgba(12, 42, 41, 0.14) !important;
  border-right: 1px solid rgba(12, 42, 41, 0.14) !important;
  background: transparent !important;
  padding: 18px 16px !important;
  color: #0C2A29 !important;
  font-family: var(--font-heading) !important;
  box-shadow: none !important;
}

/* Home service cards — hairline editorial */
.service-card {
  padding: 28px 24px !important;
  border: none !important;
  border-bottom: 1px solid rgba(12, 42, 41, 0.18) !important;
  background: transparent !important;
  border-radius: 0 !important;
}
.service-card:hover {
  background: transparent !important;
  border-color: #1B6661 !important;
}

/* Services catalog — image left slab */
.service-item {
  border: 1px solid rgba(12, 42, 41, 0.16) !important;
  border-radius: 0 !important;
  background: #FAF7F0 !important;
  margin-bottom: 0 !important;
  border-bottom: none !important;
}
.service-item + .service-item {
  border-top: none !important;
}
.service-image-container {
  border-right: 1px solid rgba(12, 42, 41, 0.14);
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr !important; }
  .hero-image-container { order: -1; }
  .hero-image-wrapper { min-height: 280px !important; }
  .covered-port-card { grid-template-columns: 1fr !important; }
  .covered-port-card h3 {
    border-right: none;
    border-bottom: 1px solid rgba(12,42,41,0.1);
    padding-bottom: 0.4rem;
  }
  .why-us-grid { grid-template-columns: 1fr !important; }
  .why-card { border-right: none !important; }
  .quote-cta .quote-container { padding: 56px 22px 56px 28px !important; }
  .site-footer .footer-grid { grid-template-columns: 1fr !important; }
  .site-footer .footer-col { border-right: none !important; border-bottom: 1px solid rgba(12,42,41,0.14) !important; }
  .vessels-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 575px) {
  .btn, .btn-primary, .btn-sage { min-height: 44px; }
  .vessels-grid { grid-template-columns: 1fr !important; }
}


/* =========================================================
   READABILITY — sizes + dark-panel contrast (Slovenia)
   ========================================================= */
.site-footer .footer-brand p,
.site-footer .footer-links a,
.site-footer .footer-contact li {
  color: #4E473D !important;
  font-size: 1.05rem !important;
}
.site-footer .footer-brand p { line-height: 1.75 !important; }
.site-footer .footer-col h4 { font-size: 1.25rem !important; color: #0C2A29 !important; }
.site-footer .footer-bottom {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.92rem !important;
}
.site-footer .footer-bottom::before { font-size: 0.8rem !important; }

/* Dark quote sidebar card — force light text */
.sidebar-card {
  background: #0C2A29 !important;
  color: #FAF7F0 !important;
}
.sidebar-card h3 { color: #fff !important; font-size: 1.75rem !important; }
.sidebar-card p {
  color: rgba(250, 247, 240, 0.88) !important;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
}
.sidebar-contact-text span {
  color: rgba(250, 247, 240, 0.72) !important;
  font-size: 0.88rem !important;
}
.sidebar-contact-text strong {
  color: #fff !important;
  font-size: 1.1rem !important;
}

.why-us p, .why-us li, .why-card-content p { color: rgba(255,255,255,0.86) !important; }
.why-us h2, .why-card-content h3 { color: #fff !important; }
.quote-cta p, .quote-content p { color: rgba(255,255,255,0.88) !important; }
.quote-content h2 { color: #fff !important; }
.subpage-hero-desc, .subpage-hero p { color: rgba(255,255,255,0.9) !important; }

.service-content p {
  font-size: 1.08rem !important;
  line-height: 1.75 !important;
  color: #4E473D !important;
}
.service-features li {
  font-size: 1rem !important;
  color: #1F1C17 !important;
}
.service-action a { font-size: 0.95rem !important; }
.services-sidebar p { font-size: 1.05rem !important; color: #4E473D !important; }
.filter-btn { font-size: 1rem !important; }
.contact-info > p,
.info-text p,
.info-text a { font-size: 1.1rem !important; color: #0C2A29 !important; }
.info-text h4 { font-size: 0.88rem !important; color: #1B6661 !important; }
.covered-port-card p { font-size: 1.02rem !important; color: #4E473D !important; }
.form-header p,
.contact-form-wrapper > p { font-size: 1.05rem !important; color: #4E473D !important; }

/* =========================================================
   SERVICES LAYOUT — Slovenia magazine stack (Portugal kept)
   ========================================================= */
.services-catalog .services-layout,
.services-section .services-layout,
section .services-layout {
  display: flex !important;
  flex-direction: column !important;
  gap: 36px !important;
}
.services-sidebar {
  position: static !important;
  top: auto !important;
  max-width: none !important;
  padding-bottom: 8px !important;
  border-bottom: 2px solid #C48A2A !important;
}
.services-sidebar h2 {
  max-width: 18ch !important;
  font-size: clamp(2rem, 3.5vw, 2.8rem) !important;
}
.services-sidebar .filter-list {
  display: flex !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
  gap: 8px !important;
  margin-top: 8px;
}
.services-sidebar .filter-btn {
  border: 1px solid rgba(12,42,41,0.2) !important;
  border-radius: 0 !important;
  padding: 10px 16px !important;
  background: #FAF7F0 !important;
}
.services-sidebar .filter-btn.active,
.services-sidebar .filter-btn:hover {
  background: #0C2A29 !important;
  color: #FAF7F0 !important;
  border-color: #0C2A29 !important;
}
.services-sidebar .filter-btn.active i,
.services-sidebar .filter-btn:hover i { color: #C48A2A !important; }
.services-sidebar .btn,
.services-sidebar a.btn {
  display: inline-flex !important;
  margin-top: 18px !important;
  width: auto !important;
}

.services-grid-content {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 28px !important;
}
.service-item {
  display: grid !important;
  grid-template-columns: 1fr !important;
  background: #FAF7F0 !important;
  border: 1px solid rgba(12,42,41,0.16) !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}
.service-item:hover {
  transform: none !important;
  border-color: #1B6661 !important;
  background: #FAF7F0 !important;
}
.service-image-container {
  min-height: 280px !important;
  height: 280px !important;
  border-right: none !important;
  border-bottom: 1px solid rgba(12,42,41,0.12) !important;
}
.service-image-container img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}
.service-content {
  padding: 28px 28px 32px !important;
}
.service-content h3 {
  font-size: 1.85rem !important;
  color: #0C2A29 !important;
}
.service-features {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (min-width: 901px) {
  .service-item {
    grid-template-columns: 1.05fr 1.2fr !important;
  }
  .service-image-container {
    height: auto !important;
    min-height: 100% !important;
    border-bottom: none !important;
    border-right: 1px solid rgba(12,42,41,0.12) !important;
  }
  .service-item:nth-child(even) {
    grid-template-columns: 1.2fr 1.05fr !important;
  }
  .service-item:nth-child(even) .service-image-container {
    order: 2;
    border-right: none !important;
    border-left: 1px solid rgba(12,42,41,0.12) !important;
  }
}



/* =========================================================
   UX PASS v5 — icons · forms · mid · footer · motion (SI)
   ========================================================= */

/* Icons — light */
.filter-btn i,
.service-content h3 i,
.service-icon i,
.info-icon,
.info-icon i,
.about-feature i,
.feature-item i,
.service-card i {
  color: #1B6661 !important;
}
.filter-btn:hover i,
.filter-btn.active i { color: #C48A2A !important; }

/* Icons — dark */
.why-card-icon,
.why-card-icon i,
.sidebar-card i,
.sidebar-contact-icon i,
.quote-cta i {
  color: #C48A2A !important;
}
.sidebar-contact-icon.whatsapp i { color: #25D366 !important; }
.site-footer .footer-contact i { color: #C48A2A !important; }

/* Forms — editorial inset */
.form-group label,
.form-field label {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}
.form-group input,
.form-group select,
.form-group textarea,
.form-field input,
.form-field select,
.form-field textarea,
.input-shell input,
.input-shell select,
.input-shell textarea {
  padding: 12px 4px 12px 8px !important;
  min-height: 50px !important;
  box-sizing: border-box !important;
}
.form-group input::placeholder,
.form-group textarea::placeholder,
.form-field input::placeholder,
.form-field textarea::placeholder,
.input-shell input::placeholder,
.input-shell textarea::placeholder {
  color: #7F7668 !important;
  opacity: 1 !important;
}
.form-section-title { font-size: 1.4rem !important; color: #0C2A29 !important; }

/* Mid aliases */
.why-us-grid,
.why-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 0 !important;
  border-top: 1px solid rgba(255,255,255,0.16) !important;
}
.why-grid .why-card,
.why-us-grid .why-card {
  border-right: 1px solid rgba(255,255,255,0.14) !important;
  border-bottom: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 0 !important;
  padding: 28px 24px !important;
}
.why-grid .why-card:nth-child(2n),
.why-us-grid .why-card:nth-child(2n) { border-right: none !important; }

section.services .service-card,
.services .service-card {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(12,42,41,0.18) !important;
  border-radius: 0 !important;
  padding: 28px 24px !important;
  box-shadow: none !important;
}
.about-slovenia .about-content,
.about-portugal.about-slovenia .about-content,
section.about-slovenia .about-content {
  text-align: left !important;
  max-width: 42rem !important;
  border-left: 3px solid #C48A2A !important;
  padding-left: 1.5rem !important;
}

/* Footer — cream masthead only (kill dark conflict) */
.site-footer,
footer.site-footer {
  background: #FAF7F0 !important;
  color: #0C2A29 !important;
  border-top: none !important;
  padding: 0 !important;
}
.site-footer::before {
  content: "Ship Chandler · Slovenia · Adriatic Desk";
  display: block;
  background: #0C2A29;
  color: #C48A2A;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 24px;
  text-align: center;
}
.site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr !important;
  gap: 0 !important;
  border-bottom: 1px solid rgba(12,42,41,0.14) !important;
}
.site-footer .footer-brand {
  grid-column: auto !important;
  border-bottom: none !important;
  padding: 48px 28px !important;
  border-right: 1px solid rgba(12,42,41,0.14) !important;
}
.site-footer .footer-col {
  padding: 48px 24px !important;
  border-right: 1px solid rgba(12,42,41,0.14) !important;
}
.site-footer .footer-col:last-child { border-right: none !important; }
.site-footer .footer-col h4 {
  color: #0C2A29 !important;
  border-bottom: 2px solid #C48A2A !important;
  font-size: 1.2rem !important;
}
.site-footer .footer-brand p,
.site-footer .footer-links a,
.site-footer .footer-contact li {
  color: #4E473D !important;
  font-size: 1.02rem !important;
}
.site-footer .footer-bottom {
  background: #0C2A29 !important;
  color: rgba(255,255,255,0.75) !important;
}

/* Motion */
.reveal {
  opacity: 0 !important;
  transform: translateY(24px) !important;
  transition: opacity 0.65s ease, transform 0.65s ease !important;
}
.reveal.active:not(.vessels-grid) {
  opacity: 1 !important;
  transform: none !important;
}
.service-item .service-image-container img {
  transition: transform 0.9s ease, filter 0.9s ease !important;
}
.service-item:hover .service-image-container img {
  transform: scale(1.04) !important;
  filter: saturate(1.05);
}
@keyframes siTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.vessels-grid,
.vessels-grid.reveal,
.vessels-grid.reveal.active {
  opacity: 1 !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  gap: 0 !important;
  animation: vesselsMarquee 35s linear infinite !important;
}
.vessels .container { overflow: hidden !important; }
.vessels-grid > * {
  border-right: 1px solid rgba(12,42,41,0.16) !important;
  min-width: 180px;
  text-align: center !important;
}

@media (max-width: 900px) {
  .why-us-grid, .why-grid { grid-template-columns: 1fr !important; }
  .site-footer .footer-grid { grid-template-columns: 1fr 1fr !important; }
  /* vessels-grid mobile animation:none removed — marquee always on */
}



/* =========================================================
   VESSELS MARQUEE — continuous left scroll (all breakpoints)
   ========================================================= */
.vessels .container {
  overflow: visible !important;
}
.vessels-marquee {
  overflow: hidden !important;
  width: 100% !important;
  margin-top: 28px !important;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.vessels-marquee .vessels-grid,
.vessels .vessels-grid,
.vessels-grid.reveal,
.vessels-grid.reveal.active {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 14px !important;
  width: max-content !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  border: none !important;
  grid-template-columns: none !important;
  opacity: 1 !important;
  animation: vesselsMarquee 35s linear infinite !important;
  will-change: transform;
}
.vessels-marquee .vessels-grid:hover {
  animation-play-state: paused !important;
}
.vessels-marquee .vessel-tag,
.vessels-marquee .vessels-grid > * {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
  min-width: auto !important;
}
@keyframes vesselsMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .vessels-marquee .vessels-grid {
    animation: none !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    justify-content: center !important;
  }
}

/* =========================================================
   CONTRAST FIXES v8 — cream footer links + mission shape
   ========================================================= */
.site-footer .footer-col a,
.site-footer .footer-contact a,
.site-footer .footer-contact li a,
.site-footer a[href^="mailto"] {
  color: #fff !important;
}
.site-footer .hero-whatsapp-bar,
.site-footer .hero-whatsapp-bar:hover {
  background: rgba(27, 102, 97, 0.1) !important;
  border: 1px solid rgba(27, 102, 97, 0.35) !important;
  color: #0C2A29 !important;
}
.site-footer .hero-whatsapp-tag,
.site-footer .hero-whatsapp-num,
.site-footer .hero-whatsapp-arrow {
  color: #0C2A29 !important;
}
.site-footer .hero-whatsapp-tag { color: #1B6661 !important; font-weight: 700 !important; }
.site-footer .hero-whatsapp-icon {
  background: #25D366 !important;
  color: #fff !important;
}

/* About mission image — Slovenia: diamond clip (≠ Portugal rounded arch) */
.mission-image-wrapper {
  border-radius: 0 !important;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%) !important;
  box-shadow: none !important;
  outline: 1px solid rgba(12, 42, 41, 0.18);
  outline-offset: 10px;
}
.mission-image-wrapper img {
  border-radius: 0 !important;
  filter: saturate(0.92) contrast(1.05);
}

/* v9-ports-pill */

/* =========================================================
   v9 — Ports nav pill left-right animation (all pages)
   ========================================================= */
.nav-item.has-mega > .nav-link {
  background: rgba(12, 42, 41, 0.08) !important;
  border-radius: 999px !important;
  animation: portsPillSlide 2.6s ease-in-out infinite !important;
  will-change: transform;
}
.nav-item.has-mega:hover > .nav-link,
.nav-item.has-mega.open > .nav-link {
  animation-play-state: paused !important;
}
@keyframes portsPillSlide {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-item.has-mega > .nav-link { animation: none !important; }
}

/* =========================================================
   v9 — Slovenia dark bold BGs + 3D footer shapes
   ========================================================= */
body {
  background:
    radial-gradient(ellipse 70% 40% at 0% 0%, rgba(12,42,41,0.14), transparent 55%),
    radial-gradient(ellipse 50% 35% at 100% 15%, rgba(184,148,74,0.12), transparent 50%),
    linear-gradient(180deg, #E8E2D4 0%, #D8D0BE 45%, #CFC6B2 100%) !important;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(135deg, transparent 48%, rgba(12,42,41,0.04) 48.5%, rgba(12,42,41,0.04) 51.5%, transparent 52%),
    linear-gradient(-25deg, transparent 60%, rgba(27,102,97,0.05) 60.5%, transparent 62%);
  background-size: 140px 140px, 220px 220px;
}
main, .site-footer, section { position: relative; z-index: 1; }

section.why-us,
.why-us,
.quote-cta,
section.quote-cta {
  background: #0C2A29 !important;
  color: #F3EEE3 !important;
}
.services,
section.services {
  background:
    linear-gradient(180deg, #1A3A38 0%, #0C2A29 100%) !important;
  color: #F3EEE3 !important;
}
.services .section-header h2,
.services .service-card h3,
.services .service-card p,
.services .service-card li {
  color: #F3EEE3 !important;
}
.services .service-card {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(184,148,74,0.35) !important;
  box-shadow: 10px 10px 0 rgba(0,0,0,0.25) !important;
}
.services-section {
  background:
    linear-gradient(180deg, #E4DDCF 0%, #D2C9B6 40%, #C4BAA5 100%) !important;
}
.services-section .service-block,
.services-section .service-item,
.services-section .service-row {
  background: #0C2A29 !important;
  color: #F3EEE3 !important;
  border: 1px solid rgba(184,148,74,0.4) !important;
  box-shadow: 14px 14px 0 rgba(12,42,41,0.35) !important;
}

.site-footer,
footer.site-footer {
  background:
    linear-gradient(145deg, #071C1B 0%, #0C2A29 40%, #123836 100%) !important;
  color: #F3EEE3 !important;
  position: relative !important;
  overflow: hidden !important;
  border-top: none !important;
  perspective: 800px;
}
.site-footer::before {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  right: -60px; top: -80px;
  background: linear-gradient(145deg, #B8944A, #7A6230);
  transform: rotateX(18deg) rotateY(-24deg) rotate(18deg);
  border-radius: 28px;
  box-shadow: 18px 28px 0 rgba(0,0,0,0.35), inset -8px -8px 0 rgba(0,0,0,0.15);
  opacity: 0.55;
  z-index: 0;
}
.site-footer::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  left: 8%; bottom: -40px;
  background: linear-gradient(160deg, #1B6661, #0C2A29);
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  box-shadow: 12px 16px 0 rgba(0,0,0,0.4);
  opacity: 0.7;
  z-index: 0;
}
.site-footer .container,
.site-footer .footer-grid,
.site-footer .footer-bottom {
  position: relative;
  z-index: 1;
}
.site-footer .footer-brand,
.site-footer .footer-col {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(184,148,74,0.28) !important;
  box-shadow: 8px 10px 0 rgba(0,0,0,0.28) !important;
  transform: translateZ(0);
  margin: 8px !important;
  border-radius: 4px 18px 4px 18px !important;
}
.site-footer .footer-brand p,
.site-footer .footer-links a,
.site-footer .footer-contact li,
.site-footer .footer-contact a,
.site-footer .footer-contact li a,
.site-footer .footer-col a,
.site-footer a[href^="mailto"],
.site-footer .hero-whatsapp-num,
.site-footer .hero-whatsapp-arrow,
.site-footer .hero-whatsapp-tag {
  color: #fff !important;
}
.site-footer .footer-col h4 {
  color: #B8944A !important;
}
.site-footer .hero-whatsapp-bar {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(184,148,74,0.4) !important;
}
.site-footer .footer-bottom {
  background: #050F0E !important;
  color: rgba(243,238,227,0.85) !important;
}

/* v9 service-item readable text on dark cards */
.services-section .service-item .service-content h3,
.services-section .service-item .service-content h3 i,
.services-section .service-item .service-content p,
.services-section .service-item .service-features li,
.services-section .service-item .service-features span,
.services-section .service-item a {
  color: #F3EEE3 !important;
}
.services-section .service-item .service-features li i,
.services-section .service-item .service-content h3 i {
  color: #B8944A !important;
}

/* =========================================================
   v10 — contrast + navbar + light Ready-to-stock
   ========================================================= */
.site-header {
  position: fixed !important;
  top: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 95% !important;
  max-width: 1300px !important;
  z-index: 10000 !important;
}
.site-header.scrolled { top: 12px !important; }
main, .site-footer, section { position: relative; z-index: 1; }

.services,
section.services {
  background: linear-gradient(180deg, #123836 0%, #0C2A29 100%) !important;
}
.services .services-header .section-label,
.services .section-label,
section.services .section-label {
  color: #C48A2A !important;
  background: transparent !important;
}
.services .services-header h2,
.services .section-header h2,
section.services h2,
.services-header h2 {
  color: #FAF7F0 !important;
}
.services .services-header p,
.services .section-header p,
section.services .services-header p {
  color: rgba(250, 247, 240, 0.9) !important;
}

section.services .service-card,
.services .service-card {
  background: #FAF7F0 !important;
  color: #0C2A29 !important;
  border: 1px solid rgba(184, 148, 74, 0.45) !important;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.22) !important;
  padding: 32px 28px 28px !important;
  border-radius: 4px 16px 4px 16px !important;
}
section.services .service-card h3,
.services .service-card h3 {
  padding-right: 4px !important;
}
section.services .service-card p,
.services .service-card p {
  padding-right: 2px !important;
  margin-bottom: 20px !important;
}
section.services .service-card .service-link,
.services .service-card .service-link {
  margin-top: auto !important;
  padding-top: 4px !important;
}
section.services .service-card h3,
.services .service-card h3,
section.services .service-card p,
.services .service-card p,
section.services .service-card li,
.services .service-card li,
section.services .service-card a,
.services .service-card a {
  color: #0C2A29 !important;
}
section.services .service-card .service-icon i,
.services .service-card .service-icon i,
section.services .service-card i,
.services .service-card i {
  color: #C48A2A !important;
}
.services .btn-outline,
section.services a.btn-outline {
  background: #C48A2A !important;
  color: #0C2A29 !important;
  border: 1px solid #C48A2A !important;
}

/* Ready-to-stock: light panel, dark type (separates from dark footer) */
.quote-cta,
section.quote-cta {
  background:
    linear-gradient(165deg, #FAF7F0 0%, #EDE6D6 55%, #E4DCC8 100%) !important;
  color: #0C2A29 !important;
  border-top: 1px solid rgba(12, 42, 41, 0.12) !important;
  border-bottom: 8px solid #C48A2A !important;
}
.quote-cta::before {
  background: #C48A2A !important;
  opacity: 1 !important;
}
.quote-cta .quote-content h2,
.quote-cta h2,
section.quote-cta h2 {
  color: #0C2A29 !important;
}
.quote-cta .quote-content h2::after {
  background: #C48A2A !important;
}
.quote-cta .quote-content p,
.quote-cta p,
section.quote-cta p {
  color: #3D3830 !important;
  border-left-color: rgba(196, 138, 42, 0.55) !important;
}
.quote-cta .btn,
.quote-cta a.btn-primary,
section.quote-cta .btn-primary,
.quote-cta a.btn {
  background: #0C2A29 !important;
  color: #FAF7F0 !important;
  border: 1px solid #0C2A29 !important;
}
.quote-cta .btn:hover,
.quote-cta a.btn-primary:hover,
.quote-cta a.btn:hover {
  background: #C48A2A !important;
  color: #0C2A29 !important;
  border-color: #C48A2A !important;
}

/* v12 — port quick-nav: all pills visible + stronger contrast */
.quick-nav-wrapper {
  background: rgba(250, 247, 240, 0.98) !important;
  border-bottom: 1px solid rgba(12, 42, 41, 0.14) !important;
  padding: 18px 0 14px !important;
}
.quick-nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  overflow: visible !important;
}
.quick-nav a {
  border-radius: 999px !important;
  background: #fff !important;
  border: 1.5px solid rgba(12, 42, 41, 0.28) !important;
  border-bottom: 1.5px solid rgba(12, 42, 41, 0.28) !important;
  color: #0C2A29 !important;
  text-transform: none !important;
  letter-spacing: 0.01em !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  padding: 10px 16px !important;
  box-shadow: 0 2px 0 rgba(12, 42, 41, 0.08) !important;
}
.quick-nav a:hover,
.quick-nav a.active {
  background: #0C2A29 !important;
  color: #FAF7F0 !important;
  border-color: #0C2A29 !important;
  border-bottom-color: #0C2A29 !important;
}

/* v14 — Fast Response card: Slovenia editorial cream */
.quote-sidebar .sidebar-card {
  background: #FAF7F0 !important;
  color: #0C2A29 !important;
  border-radius: 0 !important;
  border: 1px solid rgba(12,42,41,0.16) !important;
  border-top: 4px solid #C48A2A !important;
  border-left: none !important;
  padding: 32px 26px !important;
  box-shadow: 12px 12px 0 rgba(12,42,41,0.1) !important;
  overflow: hidden !important;
}
.quote-sidebar .sidebar-card::before {
  display: none !important;
}
.quote-sidebar .sidebar-card h3 {
  color: #0C2A29 !important;
  font-size: 1.65rem !important;
  border-bottom: 1px solid rgba(12,42,41,0.14) !important;
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
}
.quote-sidebar .sidebar-card > p {
  color: #4E473D !important;
  margin-bottom: 20px !important;
}
.quote-sidebar .sidebar-contact-item {
  display: grid !important;
  grid-template-columns: 44px 1fr !important;
  align-items: start !important;
  gap: 12px !important;
  background: transparent !important;
  border: none !important;
  border-top: none !important;
  border-bottom: 1px dashed rgba(12,42,41,0.18) !important;
  border-radius: 0 !important;
  padding: 14px 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  color: #0C2A29 !important;
}
.quote-sidebar .sidebar-contact-item:last-child {
  border-bottom: none !important;
}
.quote-sidebar .sidebar-contact-item:hover {
  transform: none !important;
}
.quote-sidebar .sidebar-contact-icon {
  border-radius: 0 !important;
  background: rgba(12,42,41,0.06) !important;
  color: #0C2A29 !important;
}
.quote-sidebar .sidebar-contact-icon.whatsapp {
  background: rgba(37,211,102,0.12) !important;
  color: #1B6661 !important;
}
.quote-sidebar .sidebar-contact-item:hover .sidebar-contact-icon {
  background: #0C2A29 !important;
  color: #FAF7F0 !important;
}
.quote-sidebar .sidebar-contact-item:hover .sidebar-contact-icon.whatsapp {
  background: #25D366 !important;
  color: #fff !important;
}
.quote-sidebar .sidebar-contact-text {
  min-width: 0 !important;
  overflow: hidden !important;
}
.quote-sidebar .sidebar-contact-text span {
  color: #1B6661 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
}
.quote-sidebar .sidebar-contact-text strong {
  display: block !important;
  color: #0C2A29 !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  white-space: normal !important;
}


/* =========================================================
   v17 — Footer responsive (all breakpoints)
   ========================================================= */
.site-footer,
footer.site-footer {
  overflow-x: clip !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box !important;
}
.site-footer > .container {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(16px, 4vw, 28px) !important;
  padding-right: clamp(16px, 4vw, 28px) !important;
}
.site-footer .footer-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(12px, 2vw, 20px) !important;
  width: 100% !important;
  min-width: 0 !important;
}
.site-footer .footer-brand,
.site-footer .footer-col {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}
.site-footer .footer-brand p,
.site-footer .footer-contact li,
.site-footer a[href^="mailto"] {
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  max-width: 100% !important;
}
.site-footer .footer-contact li {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}
.site-footer .footer-contact i { flex-shrink: 0 !important; }
.site-footer .hero-whatsapp-bar {
  max-width: 100% !important;
  flex-wrap: wrap !important;
  white-space: normal !important;
  row-gap: 6px !important;
}
.site-footer .footer-bottom {
  flex-wrap: wrap !important;
  gap: 8px 16px !important;
}

@media (max-width: 1100px) {
  .site-footer .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .site-footer .footer-brand {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 900px) {
  .site-footer::before,
  .site-footer::after {
    opacity: 0.28 !important;
    width: 140px !important;
    height: 140px !important;
  }
  .site-footer .footer-brand,
  .site-footer .footer-col {
    margin: 6px 0 !important;
    padding: 18px 16px !important;
    box-shadow: 5px 6px 0 rgba(0,0,0,0.22) !important;
  }
  .site-footer .footer-col {
    border-right: none !important;
  }
  .site-footer .footer-col:last-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 640px) {
  .site-footer::before,
  .site-footer::after {
    display: none !important;
  }
  .site-footer > .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .site-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }
  .site-footer .footer-brand,
  .site-footer .footer-col,
  .site-footer .footer-col:last-child {
    grid-column: auto !important;
    width: 100% !important;
    margin: 0 0 10px !important;
  }
  .site-footer .footer-brand p {
    max-width: none !important;
  }
  .site-footer .footer-contact li {
    justify-content: flex-start !important;
    text-align: left !important;
  }
  .site-footer .hero-whatsapp-bar {
    width: 100% !important;
    justify-content: flex-start !important;
  }
  .site-footer .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px 14px 24px !important;
  }
}

/* v18 — footer brand logo text visible on dark footer */
.site-footer .footer-brand .logo-text strong,
.site-footer .footer-brand .logo-text strong * {
  color: #fff !important;
}
.site-footer .footer-brand .logo-text span {
  color: #B8944A !important;
}

/* =========================================================
   v19 — Compact Slovenia footer (smaller type + layout)
   ========================================================= */
.site-footer > .container {
  padding-top: 1.25rem !important;
  padding-bottom: 0.5rem !important;
}
.site-footer .footer-grid {
  gap: 8px !important;
}
.site-footer .footer-brand,
.site-footer .footer-col {
  padding: 18px 16px !important;
  margin: 4px !important;
  box-shadow: 4px 5px 0 rgba(0,0,0,0.22) !important;
  border-radius: 3px 12px 3px 12px !important;
}
.site-footer .footer-brand .logo img {
  width: 42px !important;
  height: auto !important;
}
.site-footer .footer-brand .logo-text strong {
  font-size: 1.05rem !important;
  line-height: 1.15 !important;
}
.site-footer .footer-brand .logo-text span {
  font-size: 0.62rem !important;
  letter-spacing: 0.12em !important;
}
.site-footer .footer-brand p {
  font-size: 0.82rem !important;
  line-height: 1.5 !important;
  margin-top: 10px !important;
  max-width: 34rem !important;
}
.site-footer .footer-col h4,
.site-footer h4 {
  font-size: 0.78rem !important;
  margin-bottom: 10px !important;
  padding-bottom: 6px !important;
  letter-spacing: 0.04em !important;
}
.site-footer .footer-links {
  gap: 6px !important;
}
.site-footer .footer-links a,
.site-footer .footer-col a {
  font-size: 0.84rem !important;
  line-height: 1.35 !important;
}
.site-footer .footer-contact li {
  font-size: 0.84rem !important;
  margin-bottom: 10px !important;
  gap: 10px !important;
  line-height: 1.4 !important;
}
.site-footer .footer-contact i {
  font-size: 0.85rem !important;
  margin-top: 2px !important;
}
.site-footer a[href^="mailto"] {
  font-size: 0.84rem !important;
  font-weight: 600 !important;
}
.site-footer .hero-whatsapp-bar {
  padding: 8px 12px !important;
  margin-top: 4px !important;
  gap: 8px !important;
}
.site-footer .hero-whatsapp-tag,
.site-footer .hero-whatsapp-num,
.site-footer .hero-whatsapp-arrow {
  font-size: 0.72rem !important;
}
.site-footer .hero-whatsapp-icon {
  width: 22px !important;
  height: 22px !important;
}
.site-footer .hero-whatsapp-icon svg {
  width: 14px !important;
  height: 14px !important;
}
.site-footer .footer-bottom {
  padding: 12px 16px !important;
  font-size: 0.72rem !important;
}
.site-footer .footer-bottom::before {
  font-size: 0.65rem !important;
  margin-right: 12px !important;
}
.site-footer::before,
.site-footer::after {
  width: 120px !important;
  height: 120px !important;
  opacity: 0.35 !important;
}
@media (max-width: 900px) {
  .site-footer .footer-brand,
  .site-footer .footer-col {
    padding: 16px 14px !important;
    margin: 4px 0 !important;
  }
}
@media (max-width: 640px) {
  .site-footer > .container {
    padding-top: 0.85rem !important;
  }
  .site-footer .footer-brand .logo-text strong {
    font-size: 0.98rem !important;
  }
  .site-footer .footer-brand p,
  .site-footer .footer-links a,
  .site-footer .footer-contact li {
    font-size: 0.8rem !important;
  }
  .site-footer .footer-col h4 {
    font-size: 0.72rem !important;
  }
  .site-footer .hero-whatsapp-bar {
    width: 100% !important;
  }
}

/* =========================================================
   v20 — About section: Adriatic editorial (left, not centered)
   ========================================================= */
.about-slovenia,
section.about-slovenia {
  background:
    linear-gradient(180deg, #FAF7F0 0%, #F3EEE3 100%) !important;
  padding: 88px 0 72px !important;
  border-radius: 0 !important;
  margin-top: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}
.about-slovenia::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 8px !important;
  background: linear-gradient(180deg, #C48A2A, #1B6661) !important;
  z-index: 1 !important;
}
.about-slovenia .container {
  position: relative !important;
  z-index: 2 !important;
}
.about-slovenia .about-content,
.about-portugal.about-slovenia .about-content,
section.about-slovenia .about-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  text-align: left !important;
  border-left: none !important;
  padding: 0 !important;
  background: transparent !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) !important;
  grid-template-areas:
    "label label"
    "title copy"
    "features features" !important;
  column-gap: clamp(28px, 5vw, 64px) !important;
  row-gap: 18px !important;
  align-items: start !important;
}
.about-slovenia .about-content > .section-label {
  grid-area: label !important;
  justify-self: start !important;
  width: fit-content !important;
  margin: 0 0 4px !important;
  color: #C48A2A !important;
  border-bottom: 2px solid #C48A2A !important;
  padding-bottom: 8px !important;
  background: transparent !important;
}
.about-slovenia .about-content > h2 {
  grid-area: title !important;
  margin: 0 !important;
  color: #0C2A29 !important;
  font-size: clamp(2.1rem, 4.2vw, 3.35rem) !important;
  line-height: 1.08 !important;
  max-width: min(22rem, 100%) !important;
  position: relative !important;
  padding-bottom: 18px !important;
}
.about-slovenia .about-content > h2::after {
  content: "" !important;
  display: block !important;
  width: 64px !important;
  height: 3px !important;
  background: #C48A2A !important;
  margin-top: 16px !important;
}
.about-slovenia .about-content > .about-copy {
  grid-area: copy !important;
  min-width: 0 !important;
}
.about-slovenia .about-content > .about-copy p {
  margin: 0 0 14px !important;
  color: #3F4A45 !important;
  font-size: 1.02rem !important;
  line-height: 1.75 !important;
  max-width: 38rem !important;
  text-align: left !important;
}
.about-slovenia .about-content > .about-copy p:last-child {
  margin-bottom: 0 !important;
}
.about-slovenia .about-content > .about-features {
  grid-area: features !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 28px !important;
  justify-content: stretch !important;
  width: 100% !important;
}
.about-slovenia .feature-item,
.about-slovenia .about-features .feature-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 16px 16px 18px !important;
  background: #fff !important;
  border: 1px solid rgba(12, 42, 41, 0.12) !important;
  border-top: 3px solid #C48A2A !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  text-align: left !important;
  min-width: 0 !important;
}
.about-slovenia .feature-item:hover {
  background: #fff !important;
  transform: none !important;
  border-color: rgba(27, 102, 97, 0.35) !important;
}
.about-slovenia .feature-item i {
  color: #1B6661 !important;
  font-size: 1.05rem !important;
  margin-top: 3px !important;
  flex-shrink: 0 !important;
}
.about-slovenia .feature-item span,
.about-slovenia .feature-item strong,
.about-slovenia .feature-item em {
  color: #0C2A29 !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
}
.about-slovenia .feature-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  min-width: 0 !important;
}
.about-slovenia .feature-stack strong {
  font-size: 0.95rem !important;
}
.about-slovenia .feature-stack em {
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  color: #5A635E !important;
  overflow-wrap: anywhere !important;
}

@media (max-width: 900px) {
  .about-slovenia .about-content,
  section.about-slovenia .about-content {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas:
      "label"
      "title"
      "copy"
      "features" !important;
    row-gap: 14px !important;
  }
  .about-slovenia .about-content > h2 {
    max-width: none !important;
  }
  .about-slovenia .about-content > .about-features {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .about-slovenia,
  section.about-slovenia {
    padding: 56px 0 48px !important;
  }
  .about-slovenia::before {
    width: 5px !important;
  }
}

/* v20b — keep 40+ Ports on one line */
.about-slovenia .feature-item-ports .ports-count,
.about-slovenia .feature-stack strong.ports-count {
  display: inline-block !important;
  white-space: nowrap !important;
  font-size: 0.98rem !important;
  letter-spacing: 0.02em !important;
}
.about-slovenia .feature-item-ports .feature-stack {
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 8px 12px !important;
}
.about-slovenia .feature-item-ports .feature-stack em {
  white-space: normal !important;
}
