/* Kraulain - Complete design system */

/* ===== GLOBAL SPACING ===== */
.section.is-medium {
  padding: 5rem 1.5rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.section.is-medium > .container {
  width: 100%;
}

/* ===== TYPOGRAPHY ===== */
.title.is-2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.title.is-4 {
  font-size: 1.5rem;
  font-weight: 700;
}

.title.is-5 {
  font-size: 1.2rem;
  font-weight: 700;
}

.subtitle.is-5 {
  font-size: 1.15rem;
  line-height: 1.7;
}

p, .content p, li {
  font-size: 1.08rem;
  line-height: 1.8;
}

.content ul {
  margin-top: .75rem;
  margin-bottom: .75rem;
}

.content ul li + li {
  margin-top: .4rem;
}

.title-wrapper {
  margin-bottom: 2.5rem;
}

.title-wrapper .subtitle {
  margin-top: .75rem;
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.mt-60 { margin-top: 1.5rem !important; }
.mt-50 { margin-top: 1rem !important; }
.mt-20 { margin-top: .75rem !important; }
.mb-20 { margin-bottom: .75rem !important; }

/* Hide empty hero-foot when no client logos configured */
.hero-foot .tabs ul:empty {
  display: none;
}

.kraulain-hero .hero-foot {
  margin-bottom: 0 !important;
  padding: 0;
}

.kraulain-hero .hero-foot .tabs ul:empty {
  display: none;
}

/* ===== HERO ===== */
.kraulain-hero {
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

.kraulain-hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(245, 124, 0, .15) 0%, transparent 70%);
  pointer-events: none;
}

.kraulain-hero::after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  bottom: -200px;
  left: -100px;
  background: radial-gradient(circle, rgba(54, 214, 160, .12) 0%, transparent 70%);
  pointer-events: none;
}

.kraulain-hero .hero-body {
  position: relative;
  z-index: 1;
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.kraulain-hero .title.is-1 {
  color: #fff;
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.12;
  max-width: 18ch;
}

.kraulain-hero .subtitle {
  color: rgba(255, 255, 255, .75) !important;
  max-width: 48ch;
  font-size: 1.2rem;
  line-height: 1.75;
  margin-top: 1rem;
}

.kraulain-hero .landing-caption {
  padding-right: 2rem;
}

.kraulain-hero .image.is-4by3 {
  max-width: 460px;
  margin: 0 auto;
  padding-top: 0;
}

.kraulain-hero .image.is-4by3 img {
  object-fit: contain;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.3));
  border-radius: 12px;
}

.kraulain-hero .navbar.is-fresh {
  background: transparent !important;
}

.kraulain-hero .navbar .navbar-item,
.kraulain-hero .navbar .navbar-link,
.kraulain-hero .navbar .navbar-item.is-secondary {
  color: rgba(255, 255, 255, .85);
}

.kraulain-hero .navbar .navbar-item:hover {
  color: #fff;
}

.kraulain-hero .navbar .navbar-brand-text {
  color: #fff;
}

@media (max-width: 768px) {
  .kraulain-hero .title.is-1 { font-size: 2.25rem; }
  .kraulain-hero .landing-caption { padding-right: 0; }
  .title.is-2 { font-size: 2rem; }
  .kraulain-hero .navbar-menu {
    background: #1a1a2e;
  }
  .kraulain-hero .navbar-burger span {
    background-color: #fff;
  }
}

/* ===== NAVBAR (sticky clone) ===== */
#navbar-clone {
  background: #fff !important;
}

#navbar-clone .navbar-item.is-secondary {
  color: #444;
}

#navbar-clone .navbar-item:hover {
  color: #1a1a2e;
}

#navbar-clone .navbar-brand-text {
  color: #1a1a2e;
}

/* ===== NAVBAR ===== */
.navbar .navbar-item {
  gap: .6rem;
}

.navbar .navbar-logo {
  height: 34px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.navbar .navbar-brand-text {
  font-weight: 700;
  letter-spacing: .3px;
  font-size: 1.15rem;
}

/* ===== SECTION 1 - FEATURES GRID ===== */
#services {
  background: #fff;
}

#services .feature-card {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

#services .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
}

#services .feature-card .card-icon img {
  width: 64px;
  height: 64px;
}

#services .feature-card .card-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #444;
}

#services .feature-card .card-title h4 {
  font-size: 1.25rem;
  font-weight: 700;
}

#services .button.accent-btn {
  background-color: #F57C00;
  border-color: #F57C00;
  color: #fff;
}

#services .button.accent-btn:hover {
  background-color: #E65100;
  border-color: #E65100;
}

/* ===== SECTION 2 - VALUE PROPS ===== */
#about {
  background: #f8f9fa;
  position: relative;
  overflow: hidden;
}

#about .container {
  position: relative;
  z-index: 1;
}

#about::before,
#about::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

#about::before {
  width: 300px;
  height: 300px;
  top: -160px;
  left: -140px;
  background: rgba(245, 124, 0, .08);
}

#about::after {
  width: 260px;
  height: 260px;
  bottom: -170px;
  right: -150px;
  background: rgba(54, 214, 160, .08);
}

.kraulain-feature-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.kraulain-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
}

.kraulain-feature-icon img {
  width: 56px;
  height: 56px;
}

.kraulain-feature-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 1rem;
  margin-bottom: .5rem;
}

.kraulain-feature-text {
  color: #444;
  line-height: 1.75;
  font-size: 1.05rem;
}

/* ===== SECTION 3 - CTA BANNER ===== */
.kraulain-cta-section {
  background: #fff;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.kraulain-cta-title {
  color: #1a1a2e;
  max-width: 20ch;
}

.kraulain-cta-subtitle {
  color: #555;
  max-width: 48ch;
}

.kraulain-cta-image {
  max-width: 360px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

/* ===== SECTION 4 - VALUE HIGHLIGHTS ===== */
.section.kraulain-values-section {
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.kraulain-value-card {
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: transform .2s ease, background .2s ease;
}

.kraulain-value-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .12);
}

.kraulain-value-name {
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: .6rem;
}

.kraulain-value-quote {
  color: rgba(255, 255, 255, .78);
  line-height: 1.75;
  font-size: 1.05rem;
  margin-bottom: .85rem;
}

.kraulain-value-job {
  color: rgba(245, 124, 0, .9);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
}

/* ===== SECTION 5 - CONTACT ===== */
#contact .input.is-medium,
#contact .textarea {
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, .10);
  box-shadow: none;
}

#contact .input.is-medium:focus,
#contact .textarea:focus {
  border-color: rgba(245, 124, 0, .5);
  box-shadow: 0 0 0 3px rgba(245, 124, 0, .10);
}

#contact .input:invalid:not(:placeholder-shown),
#contact .textarea:invalid:not(:placeholder-shown) {
  border-color: #f14668;
}

#contact .input:valid:not(:placeholder-shown),
#contact .textarea:valid:not(:placeholder-shown) {
  border-color: #48c774;
}

/* ===== SINGLE PAGES (services/process/privacy) ===== */
.kraulain-page-hero {
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

.kraulain-page-hero .container {
  position: relative;
  z-index: 1;
}

.kraulain-page-hero .navbar.is-fresh {
  background: transparent !important;
}

.kraulain-page-hero .navbar .navbar-item,
.kraulain-page-hero .navbar .navbar-link,
.kraulain-page-hero .navbar .navbar-item.is-secondary {
  color: rgba(255, 255, 255, .85);
}

.kraulain-page-hero .navbar .navbar-item:hover {
  color: #fff;
}

.kraulain-page-hero .navbar .navbar-brand-text {
  color: #fff;
}

@media (max-width: 768px) {
  .kraulain-page-hero .navbar-menu {
    background: #1a1a2e;
  }
  .kraulain-page-hero .navbar-burger span {
    background-color: #fff;
  }
}

.kraulain-page-hero::before,
.kraulain-page-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.kraulain-page-hero::before {
  width: 420px;
  height: 420px;
  top: -220px;
  right: -180px;
  background: rgba(245, 124, 0, .12);
}

.kraulain-page-hero::after {
  width: 340px;
  height: 340px;
  bottom: -220px;
  left: -180px;
  background: rgba(54, 214, 160, .10);
}

.kraulain-page-title {
  color: #fff;
  max-width: 22ch;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -.02em;
}

.kraulain-page-subtitle {
  color: rgba(255, 255, 255, .75);
  max-width: 56ch;
  font-size: 1.2rem;
  line-height: 1.75;
  margin-top: .75rem;
}

.kraulain-page-cta {
  margin-top: 1.25rem;
}


/* ===== SINGLE PAGE CONTENT ===== */
.kraulain-single-section {
  background: #f8f9fa;
}

.kraulain-single-section .content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.kraulain-single-section .content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1a2e;
  font-size: 1.6rem;
}

.kraulain-single-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

/* Fix Bulma title/subtitle negative margin inside cards */
.kraulain-single-card .title + .subtitle,
.kraulain-single-card .title:not(.is-spaced) + .subtitle,
.kraulain-feature-card .title + .subtitle,
.kraulain-step-card .title + .subtitle {
  margin-top: .25rem;
}

.kraulain-single-card .subtitle {
  margin-top: .25rem;
}

/* ===== SERVICE DETAILS ===== */
.kraulain-service-details {
  margin-top: 1.5rem;
}

.kraulain-service-detail {
  margin-top: 1.25rem;
}

.kraulain-service-detail .media-left .image,
.kraulain-service-detail .media-left {
  display: flex;
  align-items: center;
  justify-content: center;
}

.kraulain-service-detail .media-left img {
  width: 56px;
  height: 56px;
}

.kraulain-service-detail h2 {
  margin-top: 0 !important;
}

/* ===== PROCESS STEPPER ===== */
.kraulain-stepper {
  margin-top: 1.5rem;
  max-width: 680px;
}

.kraulain-step {
  position: relative;
  padding-left: 3.25rem;
  padding-bottom: 1.5rem;
}

.kraulain-step:last-child {
  padding-bottom: 0;
}

.kraulain-step::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 38px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(245, 124, 0, .3), rgba(54, 214, 160, .3));
}

.kraulain-step:last-child::before {
  display: none;
}

.kraulain-step-badge {
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #F57C00, #FF9800);
  color: #fff;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(245, 124, 0, .3);
}

.kraulain-step-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
}

.kraulain-step-card .image.is-48x48 img {
  width: 40px;
  height: 40px;
}

/* ===== BOTTOM CTA ===== */
.kraulain-single-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: 14px;
  background: linear-gradient(160deg, #1a1a2e, #16213e);
  border: none;
}

.kraulain-single-cta .title {
  color: #fff;
  margin-bottom: .35rem;
}

.kraulain-single-cta .subtitle {
  color: rgba(255, 255, 255, .7);
  margin-bottom: 0;
}

.kraulain-single-cta .columns {
  flex-wrap: wrap;
}

.kraulain-single-cta-action {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 768px) {
  .kraulain-single-cta-action {
    justify-content: flex-start;
    margin-top: .75rem;
  }
}

/* ===== FOOTER ===== */
.footer-logo img {
  max-height: 44px;
  width: auto;
}

.kraulain-footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.kraulain-copyright {
  color: rgba(255, 255, 255, .5);
  font-size: .85rem;
}

/* ===== BUTTONS ===== */
.button.rounded,
.button.cta.rounded {
  border-radius: 6px !important;
}

.button.primary-btn {
  transition: transform .15s ease, box-shadow .15s ease;
}

.button.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 124, 0, .3);
}

.button.secondary-btn {
  transition: transform .15s ease, box-shadow .15s ease;
}

.button.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

/* ===== DIVIDER ===== */
.divider {
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, #F57C00, #FF9800);
  border-radius: 3px;
  margin: 1rem auto 0;
}
