/* ========================================================================== 
   Homepage reference-scale layout
   Restores the large editorial proportions of the supplied Prolio screenshots
   while preserving the existing tablet and mobile layouts.
   ========================================================================== */

@media (min-width: 1101px) {
  /* Shared homepage controls */
  .home-page .why-content .button,
  .home-page .trusted-copy .button,
  .home-page .portfolio-heading .button,
  .home-page .pricing-intro .button {
    min-height: 52px;
    padding-inline: 31px;
    border-radius: 4px;
    font-size: .78rem;
    letter-spacing: .015em;
  }

  /* Why choose us */
  .home-page .why-section {
    padding: clamp(64px, 6vw, 88px) 0 clamp(66px, 6vw, 92px);
  }

  .home-page .why-section > .container {
    width: min(calc(100% - 96px), 1440px);
    max-width: 1440px;
  }

  .home-page .why-top {
    grid-template-columns: minmax(430px, .82fr) minmax(560px, 1.18fr);
    gap: clamp(76px, 7.5vw, 150px);
    align-items: center;
  }

  .home-page .why-content {
    max-width: 590px;
  }

  .home-page .why-content .eyebrow {
    margin-bottom: 18px;
  }

  .home-page .why-content h2 {
    margin: 0 0 42px;
    font-size: clamp(3.1rem, 3.65vw, 4.25rem);
    line-height: 1.03;
    letter-spacing: -.045em;
  }

  .home-page .why-intro {
    max-width: 575px;
    margin: 0 0 36px;
    color: #525c77;
    font-size: clamp(.94rem, 1.08vw, 1.12rem);
    line-height: 1.62;
  }

  .home-page .why-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1.36 / 1;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
  }

  .home-page .why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
  }

  .home-page .why-features {
    margin-top: clamp(58px, 5vw, 78px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(38px, 4vw, 70px);
  }

  .home-page .why-feature {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 25px;
    align-items: start;
  }

  .home-page .feature-symbol {
    width: 78px;
    height: 78px;
    border-radius: 50%;
  }

  .home-page .feature-symbol svg {
    width: 39px;
    height: 39px;
  }

  .home-page .why-feature h3 {
    margin: 2px 0 13px;
    font-size: clamp(1.1rem, 1.2vw, 1.3rem);
    line-height: 1.25;
  }

  .home-page .why-feature p {
    max-width: 330px;
    color: #59627c;
    font-size: clamp(.83rem, .93vw, .98rem);
    line-height: 1.58;
  }

  /* Trusted image banner */
  .home-page .trusted-shell {
    padding: clamp(42px, 4vw, 58px) 30px clamp(62px, 5vw, 78px);
  }

  .home-page .trusted-strip {
    width: 100%;
    height: clamp(470px, 62vh, 632px);
    min-height: 470px;
    max-width: none;
    margin: 0 auto;
    border-radius: 8px;
  }

  .home-page .trusted-copy {
    padding: 58px 28px;
  }

  .home-page .trusted-copy .eyebrow {
    margin-bottom: 22px;
  }

  .home-page .trusted-copy h2 {
    max-width: 1100px;
    margin: 0;
    font-size: clamp(3.65rem, 4.6vw, 5.45rem);
    line-height: 1.02;
    letter-spacing: -.045em;
  }

  .home-page .trusted-copy .button {
    min-width: 180px;
    margin-top: 46px;
  }

  .home-page .trusted-progress {
    right: 30px;
    bottom: 24px;
    font-size: 1.05rem;
  }

  /* Portfolio */
  .home-page .portfolio-section {
    padding: 14px 0 0;
  }

  .home-page .portfolio-heading {
    width: min(calc(100% - 96px), 1440px);
    max-width: 1440px;
    margin: 0 auto 48px;
    align-items: flex-end;
    gap: 80px;
  }

  .home-page .portfolio-heading h2 {
    margin-top: 16px;
    font-size: clamp(3.15rem, 3.55vw, 4.15rem);
    line-height: 1.03;
    letter-spacing: -.045em;
  }

  .home-page .portfolio-heading .button {
    min-width: 216px;
    margin-bottom: 2px;
  }

  .home-page .portfolio-row {
    width: calc(100% - 60px);
    max-width: none;
    gap: 20px;
  }

  .home-page .portfolio-card {
    height: clamp(410px, 49vh, 530px);
    min-height: 410px;
    border-radius: 6px;
  }

  .home-page .portfolio-overlay {
    inset: auto 28px 28px;
  }

  /* Pricing keeps the reference's narrow editorial composition, but regains
     the breathing room that was removed by the laptop compression layer. */
  .home-page .pricing-section {
    padding: clamp(88px, 7vw, 122px) 0 clamp(102px, 8vw, 138px);
  }

  .home-page .pricing-layout {
    width: min(calc(100% - 80px), 920px);
    max-width: 920px;
    grid-template-columns: 360px 400px;
    gap: 160px;
  }

  .home-page .pricing-intro h2 {
    font-size: clamp(2.75rem, 3.05vw, 3.55rem);
    line-height: 1.03;
  }

  .home-page .pricing-intro > p:not(.eyebrow):not(.pricing-note) {
    margin: 34px 0 22px;
    font-size: .84rem;
    line-height: 1.78;
  }

  .home-page .pricing-note {
    margin-bottom: 31px;
    font-size: .82rem;
  }

  .home-page .pricing-accordion {
    gap: 12px;
  }

  .home-page .pricing-accordion-trigger {
    min-height: 62px;
    padding-inline: 28px;
    font-size: .9rem;
  }

  .home-page .pricing-accordion-item.is-open .pricing-accordion-panel {
    padding: 0 28px 27px;
  }

  .home-page .pricing-accordion-panel p {
    font-size: .77rem;
    line-height: 1.72;
  }

  .home-page .pricing-accordion-bottom strong {
    font-size: .95rem;
  }

  .home-page .pricing-accordion-bottom .button {
    min-height: 38px;
    padding-inline: 22px;
    font-size: .65rem;
  }

  /* Footer */
  .home-page .home-footer .container {
    width: min(calc(100% - 96px), 1440px);
    max-width: 1440px;
  }

  .home-page .footer-main {
    padding: clamp(68px, 6vw, 88px) 0 clamp(58px, 5vw, 72px);
    grid-template-columns: .95fr .88fr 1.12fr;
    gap: clamp(80px, 9vw, 168px);
  }

  .home-page .footer-column h3 {
    margin-bottom: 31px;
    font-size: clamp(1.18rem, 1.35vw, 1.45rem);
  }

  .home-page .footer-column p,
  .home-page .footer-contact {
    font-size: clamp(.88rem, .98vw, 1.02rem);
    line-height: 1.7;
  }

  .home-page .footer-about p {
    max-width: 430px;
  }

  .home-page .footer-socials {
    margin-top: 29px;
    gap: 12px;
  }

  .home-page .footer-socials a {
    width: 52px;
    height: 52px;
    font-size: .95rem;
  }

  .home-page .footer-contact {
    gap: 19px;
  }

  .home-page .footer-newsletter {
    max-width: 470px;
  }

  .home-page .newsletter-form {
    min-height: 58px;
    border-radius: 32px;
  }

  .home-page .newsletter-form input {
    padding-inline: 27px 60px;
    font-size: .92rem;
  }

  .home-page .footer-newsletter > .button {
    min-height: 54px;
    margin-top: 26px;
    padding-inline: 36px;
    border-radius: 28px;
    font-size: .77rem;
  }

  .home-page .footer-lower {
    min-height: 126px;
    gap: 44px;
  }

  .home-page .footer-brand .brand-mark {
    width: 62px;
    height: 62px;
  }

  .home-page .footer-brand .brand-copy strong {
    font-size: 1.85rem;
  }

  .home-page .footer-brand .brand-copy small {
    font-size: .73rem;
  }

  .home-page .footer-lower nav {
    gap: 34px;
    font-size: .9rem;
  }

  .home-page .footer-up {
    font-size: 1.35rem;
  }
}

/* Common 15.6-inch laptop viewport: preserve the same composition while
   reducing only enough to fit comfortably at 1366×768 and 1536×864. */
@media (min-width: 1101px) and (max-width: 1536px) {
  .home-page .why-section > .container,
  .home-page .portfolio-heading,
  .home-page .home-footer .container {
    width: min(calc(100% - 64px), 1240px);
  }

  .home-page .why-top {
    grid-template-columns: minmax(390px, .85fr) minmax(520px, 1.15fr);
    gap: clamp(58px, 6vw, 92px);
  }

  .home-page .why-content h2 {
    margin-bottom: 30px;
    font-size: clamp(2.75rem, 3.55vw, 3.45rem);
  }

  .home-page .why-intro {
    margin-bottom: 28px;
    font-size: .94rem;
  }

  .home-page .why-features {
    margin-top: 52px;
    gap: 34px;
  }

  .home-page .why-feature {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 19px;
  }

  .home-page .feature-symbol {
    width: 64px;
    height: 64px;
  }

  .home-page .feature-symbol svg {
    width: 32px;
    height: 32px;
  }

  .home-page .trusted-shell {
    padding-inline: 24px;
  }

  .home-page .trusted-strip {
    height: clamp(440px, 60vh, 540px);
  }

  .home-page .trusted-copy h2 {
    font-size: clamp(3.25rem, 4.7vw, 4.4rem);
  }

  .home-page .portfolio-row {
    width: calc(100% - 48px);
    gap: 16px;
  }

  .home-page .portfolio-card {
    height: clamp(390px, 47vh, 460px);
    min-height: 390px;
  }

  .home-page .pricing-layout {
    width: min(calc(100% - 64px), 860px);
    grid-template-columns: 340px 370px;
    gap: 150px;
  }

  .home-page .footer-main {
    gap: clamp(62px, 7vw, 105px);
  }
}

@media (min-width: 1101px) and (max-width: 1366px) and (max-height: 820px) {
  .home-page .why-section {
    padding: 50px 0 60px;
  }

  .home-page .why-section > .container,
  .home-page .portfolio-heading,
  .home-page .home-footer .container {
    width: min(calc(100% - 52px), 1160px);
  }

  .home-page .why-top {
    grid-template-columns: 410px minmax(0, 1fr);
    gap: 58px;
  }

  .home-page .why-content h2 {
    margin-bottom: 24px;
    font-size: 2.75rem;
  }

  .home-page .why-intro {
    margin-bottom: 24px;
    font-size: .86rem;
  }

  .home-page .why-content .button,
  .home-page .trusted-copy .button,
  .home-page .portfolio-heading .button,
  .home-page .pricing-intro .button {
    min-height: 46px;
  }

  .home-page .why-features {
    margin-top: 42px;
    gap: 25px;
  }

  .home-page .why-feature {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
  }

  .home-page .feature-symbol {
    width: 58px;
    height: 58px;
  }

  .home-page .why-feature h3 {
    font-size: 1rem;
  }

  .home-page .why-feature p {
    font-size: .78rem;
  }

  .home-page .trusted-shell {
    padding: 32px 20px 52px;
  }

  .home-page .trusted-strip {
    height: 450px;
    min-height: 450px;
  }

  .home-page .trusted-copy h2 {
    font-size: 3.5rem;
  }

  .home-page .portfolio-heading {
    margin-bottom: 34px;
  }

  .home-page .portfolio-heading h2 {
    font-size: 3rem;
  }

  .home-page .portfolio-row {
    width: calc(100% - 40px);
    gap: 13px;
  }

  .home-page .portfolio-card {
    height: 390px;
    min-height: 390px;
  }

  .home-page .pricing-section {
    padding: 74px 0 92px;
  }

  .home-page .pricing-layout {
    width: min(calc(100% - 52px), 800px);
    grid-template-columns: 315px 340px;
    gap: 145px;
  }

  .home-page .pricing-accordion-trigger {
    min-height: 54px;
  }

  .home-page .footer-main {
    padding: 58px 0 50px;
    gap: 58px;
  }

  .home-page .footer-column h3 {
    margin-bottom: 22px;
    font-size: 1.08rem;
  }

  .home-page .footer-column p,
  .home-page .footer-contact {
    font-size: .82rem;
  }

  .home-page .footer-socials a {
    width: 44px;
    height: 44px;
  }

  .home-page .newsletter-form {
    min-height: 52px;
  }

  .home-page .footer-lower {
    min-height: 100px;
  }
}

/* Final screenshot alignment corrections */
@media (min-width: 1537px) {
  .home-page .why-section {
    padding: 54px 0 68px;
  }

  .home-page .why-top {
    grid-template-columns: 610px 700px;
    gap: 130px;
  }

  .home-page .why-content {
    max-width: 610px;
  }

  .home-page .why-content h2 {
    font-size: 3.62rem;
  }
}

@media (min-width: 1101px) and (max-width: 1536px) {
  .home-page .why-section {
    padding: 58px 0 68px;
  }

  .home-page .pricing-section {
    padding: 62px 0 78px;
  }

  .home-page .pricing-layout {
    width: min(calc(100% - 52px), 800px);
    max-width: 800px;
    grid-template-columns: 330px 335px;
    gap: 135px;
  }

  .home-page .pricing-intro h2 {
    font-size: clamp(2.25rem, 2.65vw, 2.7rem);
  }
}

@media (min-width: 1537px) {
  .home-page .pricing-section {
    padding: 68px 0 84px;
  }

  .home-page .pricing-layout {
    width: min(calc(100% - 64px), 820px);
    max-width: 820px;
    grid-template-columns: 340px 350px;
    gap: 130px;
  }

  .home-page .pricing-intro h2 {
    font-size: 2.7rem;
  }
}

@media (min-width: 1101px) and (max-width: 1366px) and (max-height: 820px) {
  .home-page .why-top {
    grid-template-columns: 450px minmax(0, 1fr);
    gap: 50px;
  }

  .home-page .why-content h2 {
    font-size: 2.55rem;
  }

  .home-page .pricing-section {
    padding: 56px 0 70px;
  }

  .home-page .pricing-layout {
    width: min(calc(100% - 52px), 770px);
    grid-template-columns: 310px 325px;
    gap: 135px;
  }
}
