.pro-template-showcase {
  padding: 70px 20px 90px;
  background:
    radial-gradient(circle at top left, rgba(61, 107, 181, 0.08), transparent 24%),
    linear-gradient(180deg, #f5f8fc 0%, #eef3f8 100%);
}

.template-demo-intro {
  max-width: 860px;
  margin: 0 auto 34px;
  text-align: center;
}

.template-demo-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(61, 107, 181, 0.12);
  color: #2f5ea5;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.template-demo-intro h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  color: #132033;
}

.template-demo-text {
  margin: 0 auto;
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #526173;
}

.pro-template-shell {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 34px 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(43, 89, 153, 0.1);
  box-shadow: 0 30px 80px rgba(24, 52, 89, 0.1);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.template-demo-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2d5f9f, #5d90d2);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(45, 95, 159, 0.25);
  z-index: 10;
}

.pro-template-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 22px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(43, 89, 153, 0.1);
}

.pro-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  font-weight: 800;
  color: #132033;
}

.pro-brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2d5f9f, #5d90d2);
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 10px 22px rgba(45, 95, 159, 0.2);
}

.pro-mini-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pro-mini-nav a {
  text-decoration: none;
  color: #4e6072;
  font-weight: 600;
  transition: 0.25s ease;
}

.pro-mini-nav a:hover {
  color: #2d5f9f;
}

.pro-mini-btn {
  padding: 11px 16px;
  border-radius: 999px;
  background: #132033;
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(19, 32, 51, 0.18);
}

.pro-mini-btn:hover {
  background: #2d5f9f;
  color: #fff !important;
}

.pro-hero-alt {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 40px;
}

.pro-hero-main {
  padding: 10px 0;
}

.pro-eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(61, 107, 181, 0.12);
  color: #2f5ea5;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pro-hero-main h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.08;
  color: #112033;
  max-width: 700px;
}

.pro-hero-description {
  margin: 0 0 24px;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #536171;
}

.pro-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.pro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.25s ease;
}

.pro-btn-primary {
  background: linear-gradient(135deg, #2f5ea5, #5f90d5);
  color: #fff;
  box-shadow: 0 14px 30px rgba(47, 94, 165, 0.22);
}

.pro-btn-primary:hover {
  transform: translateY(-2px);
}

.pro-btn-secondary {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(47, 94, 165, 0.14);
  color: #19304a;
}

.pro-btn-secondary:hover {
  background: #fff;
}

.pro-hero-side {
  display: grid;
  gap: 16px;
}

.pro-side-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fbff 0%, #eff5fc 100%);
  border: 1px solid rgba(43, 89, 153, 0.09);
  box-shadow: 0 14px 30px rgba(24, 52, 89, 0.05);
}

.pro-side-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #2d5f9f;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pro-side-card p {
  margin: 0;
  color: #516172;
  line-height: 1.7;
}

.pro-visual-band {
  position: relative;
  margin-bottom: 52px;
}

.pro-visual-image {
  min-height: 380px;
  border-radius: 28px;
  background:
    linear-gradient(rgba(19, 32, 51, 0.12), rgba(19, 32, 51, 0.12)),
    url("../images/templates/professionisti-hero.jpg") center/cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 24px 54px rgba(19, 32, 51, 0.12);
}

.pro-visual-caption {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #526173;
}

.pro-visual-caption strong {
  color: #132033;
  font-size: 1rem;
}

.pro-template-section {
  margin-top: 50px;
}

.pro-section-head {
  max-width: 760px;
  margin-bottom: 22px;
}

.pro-section-head h3 {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  color: #132033;
}

.pro-section-head p {
  margin: 0;
  line-height: 1.75;
  color: #526173;
}

.pro-scope-list {
  display: grid;
  gap: 18px;
}

.pro-scope-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(43, 89, 153, 0.09);
  box-shadow: 0 16px 34px rgba(24, 52, 89, 0.05);
}

.pro-scope-number {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(93, 144, 210, 0.12);
  color: #2d5f9f;
  font-weight: 800;
  font-size: 1rem;
}

.pro-scope-item h4 {
  margin: 0 0 8px;
  color: #132033;
  font-size: 1.08rem;
}

.pro-scope-item p {
  margin: 0;
  color: #516172;
  line-height: 1.7;
}

.pro-service-stack {
  display: grid;
  gap: 24px;
}

.pro-service-row {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(43, 89, 153, 0.09);
  box-shadow: 0 18px 42px rgba(24, 52, 89, 0.08);
}

.pro-service-row.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.pro-service-row.reverse .pro-service-row-image {
  order: 2;
}

.pro-service-row.reverse .pro-service-row-content {
  order: 1;
}

.pro-service-row-image {
  min-height: 280px;
}

.pro-service-row-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pro-service-row-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pro-row-tag {
  display: inline-block;
  margin-bottom: 10px;
  color: #6b89b7;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pro-service-row-content h4 {
  margin: 0 0 12px;
  color: #132033;
  font-size: 1.5rem;
}

.pro-service-row-content p {
  margin: 0;
  color: #516172;
  line-height: 1.8;
}

.pro-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pro-method-card {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  border: 1px solid rgba(43, 89, 153, 0.09);
  box-shadow: 0 16px 34px rgba(24, 52, 89, 0.05);
}

.pro-method-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: #8aa9d8;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.pro-method-card h4 {
  margin: 0 0 10px;
  font-size: 1.06rem;
  color: #132033;
}

.pro-method-card p {
  margin: 0;
  line-height: 1.7;
  color: #516172;
}

.pro-info-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.pro-info-box,
.pro-contact-box-alt {
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(43, 89, 153, 0.09);
  box-shadow: 0 18px 40px rgba(24, 52, 89, 0.07);
}

.pro-info-box h3,
.pro-contact-box-alt h3 {
  margin: 0 0 18px;
  color: #132033;
  font-size: 1.25rem;
}

.pro-location-list {
  display: grid;
  gap: 16px;
}

.pro-location-item {
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(43, 89, 153, 0.08);
}

.pro-location-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pro-location-item strong {
  color: #132033;
}

.pro-location-item span {
  color: #516172;
}

.pro-form {
  display: grid;
  gap: 16px;
}

.pro-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.pro-form input,
.pro-form select,
.pro-form textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(43, 89, 153, 0.14);
  background: #fbfdff;
  font: inherit;
  color: #203147;
  outline: none;
}

.pro-form input:focus,
.pro-form select:focus,
.pro-form textarea:focus {
  border-color: #5d90d2;
  box-shadow: 0 0 0 4px rgba(93, 144, 210, 0.14);
}

.pro-form textarea {
  min-height: 150px;
  resize: vertical;
}

.pro-submit-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 14px 22px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #2d5f9f, #5d90d2);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(45, 95, 159, 0.24);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pro-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(45, 95, 159, 0.3);
}

.pro-faq-list {
  display: grid;
  gap: 16px;
}

.pro-faq-item {
  padding: 22px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(43, 89, 153, 0.09);
  box-shadow: 0 14px 32px rgba(24, 52, 89, 0.05);
}

.pro-faq-item h4 {
  margin: 0 0 10px;
  color: #132033;
  font-size: 1.05rem;
}

.pro-faq-item p {
  margin: 0;
  color: #516172;
  line-height: 1.7;
}

.pro-template-cta {
  margin-top: 54px;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(135deg, #132033 0%, #24486f 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  box-shadow: 0 26px 56px rgba(19, 32, 51, 0.22);
}

.pro-cta-tag {
  margin: 0 0 10px;
  color: #9cc2f1;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pro-template-cta h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.2vw, 2.2rem);
}

.pro-template-cta p {
  margin: 0;
  max-width: 700px;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
}

.pro-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #5d90d2, #8bb3ea);
  color: #132033;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(0,0,0,0.18);
  transition: transform 0.25s ease;
}

.pro-cta-btn:hover {
  transform: translateY(-2px);
}

@media (max-width: 1100px) {
  .pro-hero-alt,
  .pro-method-grid,
  .pro-info-contact-grid {
    grid-template-columns: 1fr;
  }

  .pro-service-row,
  .pro-service-row.reverse {
    grid-template-columns: 1fr;
  }

  .pro-service-row.reverse .pro-service-row-image,
  .pro-service-row.reverse .pro-service-row-content {
    order: initial;
  }

  .pro-template-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 860px) {
  .pro-template-shell {
    padding: 68px 24px 24px;
  }

  .pro-template-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .pro-mini-nav {
    gap: 14px;
  }

  .pro-form-row {
    grid-template-columns: 1fr;
  }

  .pro-visual-image {
    min-height: 280px;
  }

  .pro-service-row-content,
  .pro-info-box,
  .pro-contact-box-alt,
  .pro-method-card,
  .pro-faq-item,
  .pro-scope-item {
    padding: 22px;
  }
}

@media (max-width: 640px) {
  .pro-template-showcase {
    padding: 46px 14px 70px;
  }

  .template-demo-intro h1 {
    font-size: 2rem;
  }

  .pro-template-shell {
    padding: 70px 18px 18px;
    border-radius: 22px;
  }

  .template-demo-badge {
    top: 16px;
    right: 16px;
    font-size: 0.7rem;
    padding: 8px 12px;
  }

  .pro-brand {
    font-size: 0.95rem;
  }

  .pro-mini-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .pro-btn,
  .pro-cta-btn,
  .pro-submit-btn {
    width: 100%;
  }

  .pro-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .pro-scope-item {
    grid-template-columns: 1fr;
  }
}