/* English locale — shared */

/* Service fee: compact paragraph gaps in right card */
html[lang="en"] #hinnakiri .pricing-note {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #d6d6d6;
}

html[lang="en"] #hinnakiri .pricing-note br + br {
  display: none;
}

html[lang="en"] #hinnakiri .pricing-note br {
  display: block;
  margin-bottom: 0.45em;
  content: "";
}

html[lang="en"] #hindamine .card form button[type="submit"].btn-primary,
html[lang="en"] #kontakt .card form button[type="submit"].btn-primary {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 630;
}

/* Contact profile: keep text block left edge consistent with EST */
html[lang="en"] .contact-agent.profile-photo-wrapper .contact-agent-text {
  width: 180px;
  max-width: 180px;
  margin: 0;
  text-align: left;
  align-self: center;
}

/* English locale — desktop */

@media (min-width: 769px) {
  /* Hero: two-line headline + single-line lead (match EST layout) */
  html[lang="en"] .hero h1 .gold-line,
  html[lang="en"] .hero h1 .gold-line-soft {
    white-space: nowrap;
    text-wrap: nowrap;
  }

  html[lang="en"] .hero-subtitle.hero-subtitle-lead {
    white-space: nowrap;
    max-width: none;
    text-wrap: nowrap;
    font-size: clamp(1.38rem, 1.12rem + 0.6vw, 1.7rem);
  }

  /* Case Studies & Experience: section title on one line */
  html[lang="en"] #juhtumid .section-title {
    max-width: none;
    white-space: nowrap;
  }

  /* Service fee: second card matches first card (desktop EN) */
  html[lang="en"] #hinnakiri .pricing-grid {
    align-items: stretch;
  }

  html[lang="en"] #hinnakiri .pricing-rate,
  html[lang="en"] #hinnakiri .pricing-note {
    height: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(201, 162, 74, 0.38);
    border-radius: 14px;
    padding: 26px;
    background:
      radial-gradient(circle at 80% 0%, rgba(201, 162, 74, 0.24), transparent 45%),
      linear-gradient(150deg, #16120a, #0c0c0c 62%);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }

  html[lang="en"] #hinnakiri .pricing-note {
    margin-top: 0;
    border-left: 1px solid rgba(201, 162, 74, 0.38);
  }

  html[lang="en"] #hinnakiri .pricing-rate:hover,
  html[lang="en"] #hinnakiri .pricing-note:hover {
    transform: translateY(-7px);
    border-color: rgba(201, 162, 74, 0.55);
    box-shadow: 0 26px 52px rgba(0, 0, 0, 0.56);
  }
}

/* English locale — mobile */

@media (max-width: 768px) {
  /* Hero CTAs: match EST visual position — EN hero content runs taller on mobile */
  html[lang="en"] .hero-subtitle:not(.hero-subtitle-lead) {
    margin-bottom: 18px;
  }

  html[lang="en"] .hero-buttons {
    margin-top: 46px;
  }

  html[lang="en"] #hindamine .card form button[type="submit"].btn-primary,
  html[lang="en"] #kontakt .card form button[type="submit"].btn-primary {
    font-size: 1.0625rem;
    -webkit-text-size-adjust: 100%;
  }

  /* Service fee: second card matches first card (mobile EN) */
  html[lang="en"] #hinnakiri .pricing-note {
    margin-top: 0;
    border: 1px solid rgba(201, 162, 74, 0.38);
    border-left: 1px solid rgba(201, 162, 74, 0.38);
    background:
      radial-gradient(circle at 80% 0%, rgba(201, 162, 74, 0.24), transparent 45%),
      linear-gradient(150deg, #16120a, #0c0c0c 62%);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
  }
}

@media (max-width: 390px) {
  html[lang="en"] .hero-buttons {
    margin-top: 46px;
  }

  html[lang="en"] .hero-subtitle:not(.hero-subtitle-lead) {
    margin-bottom: 18px;
  }
}

