/* ====== Helpers ====== */
.sf-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ====== Hero ====== */
section#main-body .sf-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  padding: 64px 28px;
  background: linear-gradient(135deg, var(--main-clr), #1e2a8a);
}

section#main-body .sf-hero__bg {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(closest-side, rgba(255,255,255,0.14), rgba(255,255,255,0) 60%),
    radial-gradient(closest-side, rgba(0,0,0,0.18), rgba(0,0,0,0) 55%);
  transform: rotate(12deg);
}

section#main-body .sf-hero__inner {
  position: relative;
  /*max-width: 980px;*/
  margin: 0 auto;
}

section#main-body .sf-hero__header {
  text-align: center;
  margin: 0 auto 26px;
  max-width: 760px;
}

section#main-body .sf-hero__title {
  color: #fff;
  font-weight: 600;
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 10px;
}

section#main-body .sf-hero__subtitle {
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* ====== Domain form ====== */
.sf-domain__form { margin-top: 22px; }
.sf-domain__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: stretch;
}

.sf-domain__field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  padding: 12px 14px;
  backdrop-filter: blur(10px);
}

.sf-domain__icon { color: rgba(255,255,255,0.9); font-size: 18px; }

.sf-domain__input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 18px;
}
.sf-domain__input::placeholder { color: rgba(255,255,255,0.75); }

.sf-domain__actions {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
}

.sf-domain__captcha { margin-top: 14px; }
.domainchecker-homepage-captcha { color: #fff; }

.sf-domain__trust {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.sf-domain__trust i { margin-right: 6px; }

/* ====== Buttons ====== */
.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.sf-btn:active { transform: translateY(1px); }

.sf-btn--primary { background: var(--main-clr); color: #fff; }
.sf-btn--primary:hover { background: #242424; color: #fff; text-decoration: none; }

.sf-btn--dark { background: #242424; color: #fff; }
.sf-btn--dark:hover { box-shadow: 0 10px 26px rgba(0,0,0,0.18); }

.sf-btn--light {
  background: #fff;
  color: var(--main-clr);
  border-color: rgba(255,255,255,0.25);
}
.sf-btn--light:hover { box-shadow: 0 10px 26px rgba(0,0,0,0.12); }

/* ====== Sections ====== */
.sf-section { margin: 70px 0; }
.sf-section__header { text-align: center; max-width: 820px; margin: 0 auto 34px; }
.sf-section__title {
  color: #242424;
  font-size: 32px;
  line-height: 1.2;
  margin: 0 0 10px;
  font-weight: 600;
}
.sf-section__subtitle { color: #7e7e7e; margin: 0; font-size: 15px; line-height: 1.6; }

/* ====== Grid & Cards ====== */
.sf-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.sf-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px 22px;
  box-shadow: 0px 0px 1px rgba(0,0,0,.12), 0px 10px 34px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  min-height: 230px;
}

.sf-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-clr);
  background: rgba(0,0,0,0.03);
  margin-bottom: 14px;
  font-size: 20px;
}

.sf-card__title { margin: 0 0 8px; color: #242424; font-size: 18px; line-height: 1.35; }
.sf-card__desc { margin: 0 0 18px; color: #7e7e7e; font-size: 14px; line-height: 1.65; }
.sf-card__actions { margin-top: auto; }

.sf-card--news .sf-card__meta {
  color: #7e7e7e;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.sf-card--news a { text-decoration: none; }
.sf-card--news a:hover { text-decoration: underline; }

/* ====== Help tiles ====== */
.sf-grid--help { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.sf-tile {
  background: #fff;
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0px 0px 1px rgba(0,0,0,.12), 0px 10px 34px rgba(0,0,0,.08);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  transition: transform .12s ease, box-shadow .2s ease;
}
.sf-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0px 0px 1px rgba(0,0,0,.12), 0px 16px 44px rgba(0,0,0,.12);
  text-decoration: none;
}
.sf-tile__icon { font-size: 26px; color: var(--main-clr); }
.sf-tile__title { font-weight: 600; color: #242424; }
.sf-tile__meta { font-size: 13px; color: #7e7e7e; }

section#main-body .sf-hero {
  border-radius: 16px;
  background: linear-gradient(135deg, var(--main-clr), #1e2a8a);
  padding: 42px 34px 22px;
  position: relative;
  overflow: hidden;
}
section#main-body .sf-hero::before{
  content:"";
  position:absolute; inset:-30%;
  background: radial-gradient(closest-side, rgba(255,255,255,.16), rgba(255,255,255,0) 60%);
  transform: rotate(10deg);
  pointer-events:none;
}
.sf-hero__inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: stretch;
  max-width: 1160px;
  margin: 0 auto;
}
.sf-hero__title{
  color:#fff;
  margin:0 0 10px;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 650;
}
.sf-hero__subtitle{
  margin:0 0 18px;
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
}

/* Domain */
.sf-domain__row{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: stretch;
}
.sf-domain__field{
  display:flex;
  gap:10px;
  align-items:center;
  border-radius: 14px;
  padding: 14px 14px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.sf-domain__icon{ color: rgba(255,255,255,.9); }
.sf-domain__input{
  width:100%;
  border:0; outline:none;
  background:transparent;
  color:#fff;
  font-size: 18px;
}
.sf-domain__input::placeholder{ color: rgba(255,255,255,.72); }

.sf-domain__actions{ display:flex; gap:10px; }
.sf-domain__captcha{ margin-top: 12px; }
.domainchecker-homepage-captcha{ color:#fff; }

.sf-usp{
  margin-top: 10px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  color: rgba(255,255,255,.85);
  font-size: 13px;
}
.sf-usp i{ margin-right: 6px; }

/* Buttons */
.sf-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 15px;
  border: 1px solid transparent;
  text-decoration:none;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.sf-btn:active{ transform: translateY(1px); }
.sf-btn--dark{ background:#242424; color:#fff; }
.sf-btn--light{ background:#fff; color: var(--main-clr); }
.sf-btn--primary{ background: var(--main-clr); color:#fff; }
.sf-btn--ghost{
  background: rgba(255,255,255,.12);
  color:#fff;
  border-color: rgba(255,255,255,.18);
}
.sf-btn:hover{ text-decoration:none; box-shadow: 0 14px 34px rgba(0,0,0,.14); }

/* TLD pills row (home.pl vibe) */
.sf-tlds{
  margin-top: 16px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.sf-tld{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-size: 13px;
}
.sf-tld strong{ color:#fff; font-weight: 700; }
.sf-tld:hover{ background: rgba(255,255,255,.18); text-decoration:none; }

/* Right side card */
.sf-hero__side{ display:flex; }
.sf-sidecard{
  width:100%;
  border-radius: 16px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  padding: 18px;
  backdrop-filter: blur(10px);
  display:flex;
  flex-direction: column;
  gap: 14px;
}
.sf-sidecard__top{ display:flex; gap:10px; flex-wrap:wrap; }
.sf-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  color:#fff;
  font-size: 12px;
}
.sf-sidecard__headline{ color:#fff; font-weight:700; font-size: 18px; }
.sf-sidecard__text{ color: rgba(255,255,255,.86); font-size: 14px; line-height: 1.6; }
.sf-sidecard__ctas{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.sf-sidecard__ctas .sf-btn{ width: auto; }

/* Logos strip */
.sf-logos{
  position: relative;
  max-width: 1160px;
  /* margin: auto 0; */
  margin-top: 10px;
  padding: 15px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  display:flex;
  gap: 14px;
  align-items:center;
  flex-wrap: wrap;
}
.sf-logos__label{
  color: rgba(255,255,255,.78);
  font-size: 13px;
  margin-right: 6px;
}
.sf-logos__row{
  display:flex;
  gap: 18px;
  align-items:center;
  flex-wrap: wrap;
}
.sf-logos__row img{
  height: 3.5rem;
  width: auto;
  opacity: .92;
  filter: brightness(0) invert(1);
}

.sf-journeys__lead{color:#7e7e7e;margin:0 0 18px;max-width:84ch;}

/* Card = flex column (equal heights) */
.sf-journey{border-radius:14px;overflow:hidden;border:1px solid rgba(0,0,0,.06);box-shadow:0 10px 26px rgba(0,0,0,.06);display:flex;flex-direction:column;height:100%;}
.sf-journey .panel-body{display:flex;flex-direction:column;flex:1;padding:14px 14px 16px;}
.sf-journey__content{flex:1;}
.sf-journey__actions{margin-top:auto;}

/* Heading (equal height + badge positioning) */
.sf-journey__heading{min-height:72px;display:flex;align-items:center;gap:10px;position:relative;background:rgba(33,61,181,.06);border-bottom:1px solid rgba(33,61,181,.12);padding:14px 14px;}
.sf-journey__heading strong{color:#213db5;font-weight:800;flex:1;min-width:0;}
.sf-journey__headtxt{line-height:1.2;}
.sf-journey__meta{display:block;margin-top:2px;color:#6e6e6e;font-size:12px;}
.sf-journey__icon{width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:rgba(33,61,181,.10);color:#213db5;font-size:16px;flex:0 0 auto;}
.sf-journey__badge{position:static;flex:0 0 auto;margin-left:auto;white-space:nowrap;right:12px;top:12px;background:#213db5;color:#fff;border-radius:999px;padding:5px 9px;opacity:.95;font-size:11px;font-weight:700;}

/* Path pills */
.sf-journey__path{margin:8px 0 12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.sf-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:rgba(33,61,181,.10);color:#213db5;font-weight:800;font-size:12px;}
.sf-pill--ghost{background:rgba(0,0,0,.06);color:#555;}
.sf-arrow,.sf-plus{color:#7e7e7e;font-weight:800;}

/* Bullets (stable line-height + icons) */
.sf-journey__bullets{list-style:none;padding-left:0;margin:0 0 12px;}
.sf-journey__bullets li{display:flex;gap:8px;align-items:flex-start;line-height:1.45;margin:7px 0;color:#4a4a4a;}
.sf-journey__bullets i{min-width:16px;text-align:center;margin-top:2px;color:#213db5;}

/* Buttons */
.sf-journey .btn{padding:10px 12px;border-radius:10px;min-height:42px;}
.sf-journey .btn + .btn{margin-top:10px;}

/* Highlighted card */
.sf-journey--highlight{border:2px solid rgba(33,61,181,.25);box-shadow:0 16px 34px rgba(33,61,181,.12);}
.sf-journey--highlight .sf-journey__heading{background:rgba(33,61,181,.12);}

@media (max-width: 1024px) {
  .sf-hero__inner { grid-template-columns: 1fr !important; }
  .sf-hero__content { order: 1; }
  .sf-hero__side { order: 2; }
}

/* ====== Responsive ====== */
@media (max-width: 991px) {
  section#main-body .sf-hero__title { font-size: 32px; }
  .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-grid--help { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sf-hero__inner {
    grid-template-columns: 1fr !important;
  }
  .sf-hero__content { order: 1; }
  .sf-hero__side    { order: 2; }
  .sf-hero__title{ font-size: 34px; }
}

@media (max-width: 767px) {
  section#main-body .sf-hero { padding: 48px 18px; border-radius: 12px; }
  .sf-domain__row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .sf-domain__field {
    padding: 16px 16px !important;
    border-radius: 14px !important;
  }
  .sf-domain__input {
    font-size: 18px !important;
    line-height: 1.2;
    padding: 6px 0;            /* zwiększa wysokość wewnątrz */
    min-height: 48px;          /* cel dotykowy */
  }
  .sf-grid { grid-template-columns: 1fr; }
  .sf-grid--help { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sf-domain__actions {
    width: 100% !important;
    flex-direction: column;
    gap: 10px !important;
  }
  .sf-domain__actions .sf-btn {
    width: 100% !important;
    padding: 14px 18px !important;
    min-height: 48px;
    font-size: 16px !important;
  }
  .sf-domain__icon { font-size: 20px; }
  .sf-domain__actions .sf-btn i { font-size: 16px; }
  .sf-journeys { margin: 34px auto; height: auto; }
}

@media (max-width: 380px) {
  .sf-domain__actions .sf-btn {
    font-size: 15px !important;
  }
}
