.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;background-color:#F3F3F3;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* ==========================================================================
   1. FONTTIEN LATAUS JA MUUTTUJAT
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Damion&family=Oswald:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --s-red: #E01020; 
    --s-red-dark: #9B030E;
    --s-white: #FFFFFF;
    --s-black: #111111;
    --s-gray: #1C1C1E;
    --s-silver: #D0D0D0;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden !important;
    position: relative;
}

/* Kaikki otsikot ja brändi-fontit vaihdettu Oswaldiksi */
h1, h2, h3, h4, .brand-font {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ==========================================================================
   2. YLEISET KOMPONENTIT (Napit & Viisteet)
   ========================================================================== */

/* Mekaaniset, viistetyt napit ("Scania-kulma") */
.btn-slanted {
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--s-red);
    color: white;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
    white-space: nowrap !important; 
    flex-shrink: 0 !important;   
    min-width: max-content;    
}

.btn-slanted:hover {
    background: var(--s-red-dark);
    transform: scale(1.02);
}

/* Osioiden väliset vinot leikkaukset (Section Slants) */
.section-slant-container {
    position: relative;
    width: 100%;
    height: 100px;
}

.slant-silver { background: var(--s-silver); clip-path: polygon(0 0, 100% 30%, 100% 100%, 0 100%); height: 100%; position: absolute; width: 100%; z-index: 1; }
.slant-red { background: var(--s-red); clip-path: polygon(0 20%, 100% 50%, 100% 100%, 0 100%); height: 100%; position: absolute; width: 100%; z-index: 2; }
.slant-white { background: var(--s-white); clip-path: polygon(0 40%, 100% 70%, 100% 100%, 0 100%); height: 100%; position: absolute; width: 100%; z-index: 3; }

/* ==========================================================================
   3. HERO-OSIO (Aloitusnäkymä)
   ========================================================================== */

.sivenius-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.8) 0%, transparent 15%), 
                linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.85) 45%, rgba(10,10,10,0.3) 80%, rgba(10,10,10,0.1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
}

.badge-line { width: 50px; height: 3px; background: var(--s-red); }
.badge-text { 
    font-family: 'Oswald', sans-serif !important;
    color: var(--s-silver); 
    font-size: 0.85rem; 
    letter-spacing: 0.2em; 
    text-transform: uppercase; 
    font-weight: 600; 
}

.hero-text h1 {
    font-family: 'Oswald', sans-serif !important;
    font-size: clamp(3.5rem, 8vw, 7rem);
    line-height: 0.95;
    margin-bottom: 2rem;
    color: white;
}

.hero-text h1 .line { display: block; overflow: hidden; }
.hero-text h1 .line span {
    display: block; transform: translateY(100%);
    animation: revealText 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
.hero-text h1 .line:nth-child(2) span {
    animation-delay: 0.15s;
    color: var(--s-red);
}
.hero-text h1 .line:nth-child(3) span { animation-delay: 0.3s; }

@keyframes revealText { to { transform: translateY(0); } }

/* ==========================================================================
   4. PALVELUKORTIT (Kaikki 6 korttia kattava tyyli)
   ========================================================================== */

.sivenius-palvelukortti p:empty, 
.sivenius-palvelukortti br {
    display: none !important;
}

.sivenius-palvelukortti {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-bottom: 4px solid var(--s-red);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    min-height: 480px; 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    z-index: 1;
    overflow: hidden;
}

.sivenius-palvelukortti:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.sivenius-palvelukortti .haamunumero {
    position: absolute;
    right: 15px;
    top: -10px;
    font-family: "Oswald", sans-serif !important;
    font-size: 100px;
    font-weight: 900;
    color: rgba(17, 17, 17, 0.03); 
    line-height: 1;
    z-index: 0;
    transition: all 0.4s ease;
    pointer-events: none;
}

.sivenius-palvelukortti:hover .haamunumero {
    color: rgba(237, 28, 36, 0.07);
    transform: translateY(5px);
}

.sivenius-palvelukortti .kicker {
    font-family: "Oswald", sans-serif !important;
    background: rgba(237, 28, 36, 0.1);
    color: var(--s-red);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    width: fit-content;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.sivenius-palvelukortti h3 {
    font-family: "Oswald", sans-serif !important;
    font-size: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #111;
    position: relative;
    z-index: 2;
}

.sivenius-palvelukortti .kortti-teksti {
    font-family: 'Inter', sans-serif;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.sivenius-palvelukortti ul { list-style: none; padding: 0; margin: 0 0 30px 0; position: relative; z-index: 2;font-weight: 600;
 }
.sivenius-palvelukortti li { font-family: 'Inter', sans-serif; position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 14px; color: #333; }
.sivenius-palvelukortti li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--s-red); border-radius: 50%; }

.sivenius-palvelukortti a.sivenius-card-button {
    margin-top: auto;
    color: var(--s-red);
    text-decoration: none;
    font-family: "Oswald", sans-serif !important;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   5. INFOBAR (Yhteystietopalkki)
   ========================================================================== */

.info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a0a0a;
    padding: 20px 40px;
    gap: 20px;
}

.info-bar .item { display: flex; align-items: center; gap: 12px; flex: 1; position: relative; }
.info-bar .item .elementor-icon { color: var(--s-red); font-size: 22px; }
.info-bar .item h4 { font-family: 'Oswald', sans-serif !important; margin: 0; color: #fff; font-size: 16px; }
.info-bar .item p { font-family: 'Inter', sans-serif; margin: 0; color: #aaa; font-size: 12px; }

/* Väliviiva desktopissa */
.info-bar .item:not(:last-child)::after {
    content: ""; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); height: 30px; width: 1px; background: rgba(255,255,255,0.15);
}

/* Mobiilioptimointi infopalkille */
@media (max-width: 767px) {
    .info-bar { display: grid !important; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px; }
    .info-bar .item { width: 100% !important; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
    .info-bar .item::after { display: none !important; }
}

/* ==========================================================================
   6. PRELOADER (Sivenius-logo animaatio)
   ========================================================================== */

.preloader { position: fixed; inset: 0; background: var(--s-black); z-index: 999999; display: flex; align-items: center; justify-content: center; transition: opacity 0.6s ease, visibility 0.6s; }
.preloader.hidden { opacity: 0; visibility: hidden; }
.loader-logo { font-family: 'Damion', cursive; font-size: 5rem; color: var(--s-red); text-shadow: 0 0 20px rgba(224, 16, 32, 0.4); animation: pulse 2s infinite; }
.loader-bar { width: 200px; height: 3px; background: rgba(255,255,255,0.1); margin-top: 1rem; overflow: hidden; position: relative; }
.loader-progress { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: var(--s-red); animation: load 2s ease forwards; }

@keyframes load { to { width: 100%; } }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.8; transform: scale(0.98); } }

/* ==========================================================================
   7. MUUT ELEMENTORIN KORJAUKSET
   ========================================================================== */

.palvelu-item {
    display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #ffffff; border-radius: 8px; box-shadow: 0 6px 20px rgba(0,0,0,0.05); margin-bottom: 12px; transition: all 0.2s ease;
}

.palvelu-item h4 { font-family: 'Oswald', sans-serif !important; margin: 0; font-size: 16px; }
.palvelu-item p { font-family: 'Inter', sans-serif; margin: 2px 0 0; font-size: 13px; color: #666; }

/* Viistetty Container-leikkaus (Scania-tyyli laatikoille) */
.scania-box {
    background: #111111;
    color: white;
    padding: 3rem 2rem;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
    border-top: 2px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}
.elementor-kit-6 .elementor-button {
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.elementor-kit-6 .elementor-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 0 35%,
    rgba(255, 255, 255, 0.28) 48%,
    transparent 62% 100%
  );
  transform: translateX(-120%);
  transition: transform 0.45s ease;
  pointer-events: none;
}

.elementor-kit-6 .elementor-button:hover,
.elementor-kit-6 .elementor-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(237, 6, 18, 0.22);
}

.elementor-kit-6 .elementor-button:hover::before,
.elementor-kit-6 .elementor-button:focus::before {
  transform: translateX(120%);
}

.service-help-strip {
  position: relative;
  overflow: hidden;
  background: #111214 !important;
  padding: 48px 0 !important;
  isolation: isolate;
}

.service-help-strip::before {
  content: "";
  position: absolute;
  inset: -40% -10%;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 50%, rgba(237, 6, 18, 0.34), transparent 30%),
    radial-gradient(circle at 78% 45%, rgba(237, 6, 18, 0.18), transparent 28%),
    radial-gradient(circle at 50% 120%, rgba(255, 255, 255, 0.08), transparent 34%);
  filter: blur(12px);
  opacity: 0.95;
  pointer-events: none;
}

.service-help-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.035)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%, rgba(0, 0, 0, 0.2));
  pointer-events: none;
}
.service-help-strip::before {
  animation: redGlowDrift 6s ease-in-out infinite alternate;
}

@keyframes redGlowDrift {
  from {
    transform: translateX(-1.5%) scale(1);
    opacity: 0.75;
  }

  to {
    transform: translateX(1.5%) scale(1.04);
    opacity: 1;
  }
}
.person-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 30px 32px 28px;
  border-left: 4px solid #ed0612;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.person-card::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 18px;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(237, 6, 18, 0.14);
  transform: rotate(45deg);
  opacity: 0.7;
}

.person-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.22);
}

.person-role {
  display: inline-block;
  margin-bottom: 10px;
  color: #ed0612;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.person-card h3 {
  margin: 0 0 18px;
  color: #151618;
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.person-info {
  display: grid;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid rgba(17, 17, 17, 0.1);
}

.person-info a {
  color: #4f5660;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 180ms ease, transform 180ms ease;
}

.person-info a:hover {
  color: #ed0612;
  transform: translateX(4px);
}
.billing-section {
  position: relative;
  overflow: hidden;
  background: #111111 !important;
  padding: 92px 24px 112px !important;
  isolation: isolate;
}

.billing-section::before {
  content: "";
  position: absolute;
  inset: -35% -10%;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 35%, rgba(237, 6, 18, 0.20), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(237, 6, 18, 0.12), transparent 24%);
  filter: blur(16px);
  pointer-events: none;
}

.billing-section h2,
.billing-section .elementor-heading-title {
  color: #ffffff !important;
  font-family: "Oswald", sans-serif;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 0.95;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.billing-section p {
  max-width: 620px;
  margin: 16px auto 42px;
  color: rgba(255,255,255,0.68) !important;
  text-align: center;
  line-height: 1.6;
}

.billing-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  max-width: 1000px;
  margin: 0 auto;
}

.billing-card {
  position: relative;
  background: rgba(255,255,255,0.055);
  border-left: 4px solid #ed0612;
  padding: 32px;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(0,0,0,0.22);
  transition: transform 240ms ease, background-color 240ms ease, box-shadow 240ms ease;
}

.billing-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 28px 58px rgba(0,0,0,0.30);
}

.billing-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #ed0612;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.billing-card h3 {
  margin: 0 0 24px;
  color: #ffffff;
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.billing-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.billing-card dl div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.billing-card dt {
  color: rgba(255,255,255,0.50);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.billing-card dd {
  margin: 0;
  color: rgba(255,255,255,0.86);
  font-size: 15px;
  font-weight: 600;
  word-break: break-word;
}

.billing-card a {
  color: #ffffff;
  text-decoration: none !important;
}

.billing-card a:hover {
  color: #ed0612;
}
@media (max-width: 767px) {
  .billing-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .billing-block h4 {
    font-size: 18px;
  }
}/* End custom CSS */