/*
 * Ethos Migration Lawyers — Partner Visa landing page
 * Stylesheet for page-partner-visa.php
 * Enqueued conditionally — see functions-snippet.php
 */

@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.pv-page {
  --teal: #267394;
  --teal-2: #2b7594;
  --teal-dark: #17454f;
  --teal-tint: #2b75944d;
  --teal-tint-solid: #e7eef1;
  --tan: #e2dcb7;
  --gray-bg: #f4f4f4;
  --text-gray: #585959;
  --ink: #242424;
  --white: #ffffff;
  --border: #e3e3e3;
  --gutter: clamp(24px, 6vw, 104px);
  --font:
    "Proxima Nova", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
.pv-page,
.pv-page * {
  box-sizing: border-box;
}
.pv-page {
  font-family: var(--font);
  color: var(--text-gray);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.pv-page h1,
.pv-page h2,
.pv-page h3,
.pv-page h4 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.pv-page p,
.pv-page ul,
.pv-page li {
  margin: 0;
  padding: 0;
}
.pv-page a {
  text-decoration: none;
  color: inherit;
}
.pv-page img {
  max-width: 100%;
  display: block;
}
.pv-page .wrap {
  max-width: 1255px !important;
  margin: 0 auto;
  padding: 0 !important;
}
@media (max-width: 900px) {
  /* Above 1255px, .wrap's own auto margins already create side spacing
     (viewport width minus the 1255px box, split evenly). Below that, .wrap
     fills 100% width with zero built-in spacing, so content touches the
     screen edges without this. Desktop is untouched — this only applies
     under 900px. */
  .pv-page .wrap {
    padding: 0 var(--gutter) !important;
  }
}
.pv-page section {
  position: relative;
}
.pv-page button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.pv-page .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.pv-page .reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .pv-page .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- HEADER ---------- */
.pv-page header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.pv-page .nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px var(--gutter);
  max-width: 1440px;
  margin: 0 auto;
  gap: 24px;
}
.pv-page .logo img {
  height: 42px;
  width: auto;
}
.pv-page .nav-cta {
  display: flex;
  align-items: center;
  gap: 32px;
}
.pv-page .nav-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--teal-2);
}
.pv-page .nav-phone img {
  width: 20px;
  height: 20px;
}
.pv-page .btn {
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.pv-page .btn-teal {
  background: var(--teal);
  color: var(--white);
}
.pv-page .btn-teal:hover {
  background: var(--teal-dark);
}
.pv-page .btn-tan {
  background: var(--tan);
  color: var(--ink);
}
.pv-page .btn-tan:hover {
  filter: brightness(0.95);
}
@media (max-width: 600px) {
  .pv-page .logo img {
    height: 32px;
  }
  .pv-page .nav-row {
    padding: 16px var(--gutter);
  }
  .pv-page .nav-cta {
    gap: 14px;
  }
  .pv-page .nav-phone span {
    display: none;
  }
  .pv-page .btn {
    padding: 11px 18px;
    font-size: 13.5px;
  }
}

/* ---------- HERO ---------- */
.pv-page .hero {
  position: relative;
  padding: 60px 40px 60px 40px!important;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin: 0px!important;
  background:
    linear-gradient(
      90deg,
      rgba(23, 69, 79, 0.96) 0%,
      rgba(38, 115, 148, 1.5) 35%,
      rgba(38, 115, 148, 0.55) 62%,
      rgba(38, 115, 148, 0.15) 82%,
      rgba(38, 115, 148, 0) 100%
    ),
    var(--img-hero);
  background-size: cover;
  background-position: center right;
}
.pv-page .hero-grid {
  width: 100%;
  padding: 90px 0;
}
.pv-page .hero-copy {
  width: min(48%, 620px);
  position: relative;
  z-index: 2;
}
.pv-page .hero h1 {
  font-size: 32px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.pv-page .hero p.body {
  font-size: 16px;
  line-height: 1.8;
  color: #dceaf0;
  margin-bottom: 32px;
}
.pv-page .checklist {
  margin-bottom: 38px;
}
.pv-page .checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.pv-page .checklist li + li {
  margin-top: 12px;
}
.pv-page .checklist img {
  width: 20px;
  height: 20px;
  flex: none;
}
.pv-page .quiz-embed {
  min-width: 565px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.pv-page .quiz-embed iframe {
  width: 100%;
  height: 420px;
  border: none;
}
.pv-page .hero-photo {
  display: none;
}
/* =========================================================
   PARTNER VISA HERO
   Narrow mobile: Text above image
   Does not affect desktop/tablet layouts
   ========================================================= */

/*@media (max-width: 900px) {*/
/*  .pv-page .hero {*/
/*    min-height: auto;*/
/*    background-position: 70% center;*/
    /* .wrap now supplies the horizontal gutter below 900px (see above) —
       zero out .hero's own left/right padding here so it isn't doubled up.
       Desktop's 40px sides are untouched since this is inside the query. */
/*    padding-left: 0 !important;*/
/*    padding-right: 0 !important;*/
/*  }*/
/*  .pv-page .hero-copy {*/
/*    width: 100%;*/
/*  }*/
/*  .pv-page .hero-grid {*/
/*    padding: 60px 0;*/
/*  }*/
/*  .pv-page .hero h1 {*/
/*    font-size: 34px;*/
/*  }*/
/*  .pv-page .quiz-embed {*/
/*    max-width: 100%;*/
/*    min-width: 0;*/
/*  }*/
/*  .pv-page .quiz-embed iframe {*/
/*    height: 420px;*/
/*  }*/
/*}*/
@media (max-width: 900px) {

    .pv-page .hero {
        min-height: 0 !important;
        height: auto !important;
        padding: 0 !important;
        display: block;
        background: var(--teal) !important;
        overflow: hidden;
    }

    .pv-page .hero-grid {
        padding: 28px 12px 0 !important;
        width: 100%;
    }

    .pv-page .hero-copy {
        width: 100% !important;
        position: relative;
        z-index: 2;

        padding: 0 12px 28px;
    }

    .pv-page .hero h1 {
        font-size: 18px !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }

    .pv-page .hero p.body {
        font-size: 11px !important;
        line-height: 1.45 !important;
        margin-bottom: 18px !important;
        color: #dceaf0;
    }

    .pv-page .checklist {
        margin-bottom: 0 !important;
    }

    .pv-page .checklist li {
        font-size: 9px;
        line-height: 1.25;
        gap: 6px;
        align-items: flex-start;
    }

    .pv-page .checklist li + li {
        margin-top: 7px;
    }

    .pv-page .checklist img {
        width: 11px;
        height: 11px;
        margin-top: 1px;
    }

    .pv-page .hero-cta {
        margin-top: 20px;
    }

    /*
     * Convert the hero background image into a separate
     * image area underneath the content.
     */
    .pv-page .hero::after {
        content: "";
        display: block;

        width: 100%;
        height: 190px;

        background:
            linear-gradient(
                to bottom,
                rgba(38, 115, 148, 0.75) 0%,
                rgba(38, 115, 148,0.25) 30%,
                rgba(38, 115, 148, 0.45) 60%
            ),
            var(--img-hero);

        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
    }
}

/* ---------- TRUST + PROCESS panel ---------- */
.pv-page .panel-section {
  padding: 64px 0 100px;
  background: #f4f4f4!important;
}
.pv-page .panel {
  background: linear-gradient(180deg, var(--teal-tint-solid), transparent);
  padding: 64px 56px;
}
.pv-page .panel-head h2 {
  font-size: clamp(24px, 2.7vw, 32px);
  max-width: 600px;
  margin-bottom: 52px;
}
.pv-page .trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}
.pv-page .trust-card {
  text-align: center;
}
.pv-page .trust-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.pv-page .trust-card p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.75);
}
.pv-page .process-block {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.pv-page .process-eyebrow {
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 8px;
}
.pv-page .process-title {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 40px;
}
.pv-page .steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.pv-page .step {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.pv-page .step-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  flex: none;
  margin-bottom: 16px;
}
.pv-page .step h4 {
  font-size: 19px;
  margin-bottom: 9px;
}
.pv-page .step p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-gray);
}
@media (max-width: 900px) {
  .pv-page .panel {
    padding: 40px 24px;
  }
  .pv-page .panel-head h2 {
    margin-bottom: 36px;
  }
  .pv-page .trust-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 48px;
  }
}

/* ---------- TESTIMONIALS ----------
 * Live Trustindex widget ([trustindex] shortcode) — the widget renders and
 * styles its own cards/arrows via the loader script (cdn.trustindex.io), so
 * there's nothing to style here beyond the section wrapper/heading. Adding
 * more specific rules would just fight with Trustindex's own output. */
.pv-page .testimonials-section {
  padding: 80px 0;
  background: #ececec;
  overflow: hidden;
}
.pv-page .testimonials-section .section-title {
  font-size: clamp(24px, 2.7vw, 32px);
  margin-bottom: 24px;
}

/* ---------- WHY ETHOS ---------- */
.pv-page .why {
  padding: 100px 0;
  background: var(--white);
}
.pv-page .section-head {
    width:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  margin-bottom: 24px;
}
.pv-page .section-head .eyebrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  display: block;
}
.pv-page .section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 12px;
}
.pv-page .section-head p {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.6;
}
.pv-page .compare {
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 56px 0 64px;
}
.pv-page .compare-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.3fr;
}
.pv-page .compare-row.head {
  background: var(--teal-tint-solid);
}
.pv-page .compare-row.head .cell {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  padding: 20px 28px;
}
.pv-page .compare-row:not(.head) {
  border-top: 1px solid var(--border);
}
.pv-page .compare-row:not(.head):nth-child(odd) {
  background: var(--gray-bg);
}
.pv-page .cell {
  padding: 22px 28px;
  font-size: 15px;
  line-height: 1.6;
}
.pv-page .compare-row:not(.head) .cell:first-child {
  font-weight: 700;
  color: var(--ink);
}
.pv-page .compare-row:not(.head) .cell:nth-child(2) {
  color: #8b8b8b;
}
.pv-page .compare-row:not(.head) .cell:nth-child(3) {
  color: var(--teal);
  font-weight: 600;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.pv-page .compare-row:not(.head) .cell:nth-child(3) img {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 1px;
}

/* ---------- STATS / VALUES ---------- */
.pv-page .values-section {
  padding: 64px 0;
  background: var(--white);
}
.pv-page .values-section.top-space-100 {
  padding-top: 100px;
}
.pv-page .values-section.bottom-space-100 {
  padding-bottom: 100px;
}
.pv-page .values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.pv-page .value-card {
  text-align: center;
}
.pv-page .value-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--tan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.pv-page .value-icon img {
  width: 32px;
  height: 32px;
}
.pv-page .value-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 8px;
}
.pv-page .value-description {
  font-size: 14.5px;
  color: var(--text-gray);
  line-height: 1.5;
}
@media (max-width: 900px) {
  /* Keep the 3-column table (not the old stacked/labelled-card layout) —
     just tighten padding/font/icon size so it fits a narrow screen. */
  .pv-page .compare-row {
    grid-template-columns: 1fr 1fr 1.2fr;
  }
  .pv-page .compare-row.head .cell {
    padding: 10px 8px;
    font-size: 10.5px;
  }
  .pv-page .cell {
    padding: 10px 8px;
    font-size: 12px;
    line-height: 1.45;
  }
  .pv-page .compare-row:not(.head) .cell:nth-child(3) {
    gap: 6px;
  }
  .pv-page .compare-row:not(.head) .cell:nth-child(3) img {
    width: 14px;
    height: 14px;
  }
  .pv-page .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }
  .pv-page .values-section.top-space-100 {
    padding-top: 56px;
  }
  .pv-page .values-section.bottom-space-100 {
    padding-bottom: 56px;
  }
}

/* ---------- FAQ ---------- */
.pv-page .faq {
  padding: 100px 0;
  background: #F4F4F4;
}
.pv-page .faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 12px;
}
.pv-page .faq-item.open {
  background: #FFFFFF;
  border-bottom-color: transparent;
}
.pv-page .faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  background: #FFFFFF;
}
.pv-page .faq-item.open .faq-q{
    background: var(--tan)!important;
}
.pv-page .faq-q img {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.3s ease;
}
.pv-page .faq-item.open .faq-q img {
  transform: rotate(180deg);
}
.pv-page .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.pv-page .faq-item.open .faq-a {
  max-height: 100%;
}
.pv-page .faq-a p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-gray);
  padding: 24px;
}

/* ---------- BOTTOM CTA (hero-block) ---------- */
.pv-page .hero-block {
    margin: 0px auto 50px auto!important;
    background: #F4F4F4!important;
}
.pv-page .hero-block {
  padding: 0 0 100px;
  background: var(--white);
}
.pv-page .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.pv-page .hero-block .hero-block-inner {
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      to right,
      rgba(38, 115, 148, 1) 40%,
      rgba(38, 115, 148, 0.9) 60%,
      rgba(38, 115, 148, 0.3) 70%,
      rgba(38, 115, 148, 0) 100%
    ),
    var(--img-cta) no-repeat right center;
  background-size: contain;
}
.pv-page .hero-block-photo {
  display: none;
}
.pv-page .hero-content {
  padding: 60px;
  color: var(--white);
  max-width: 560px;
}
.pv-page .hero-content h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 18px;
}
.pv-page .hero-content p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #dceaf0;
  margin-bottom: 14px;
}
.pv-page .hero-buttons {
  margin-top: 14px;
}
.pv-page .btn-secondary {
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  background: var(--tan);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: filter 0.2s ease;
}
.pv-page .btn-secondary:hover {
  filter: brightness(0.95);
}
@media (max-width: 640px) {
  /* Mobile-only: the photo is its own properly-proportioned block on top
     (not stretched full-card via background-size:cover, which was zooming
     it down to one cropped face), sitting above a solid-blue text block —
     matching the target screenshot rather than the single-background
     approach. .hero-block-photo inherits --img-cta from the parent's
     existing inline style, so no extra style attribute was needed in PHP. */
  .pv-page .hero-block .hero-block-inner {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    background: var(--teal);
  }
  .pv-page .hero-block-photo {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    background: var(--img-cta) no-repeat center center;
    background-size: cover;
  }
  .pv-page .hero-block-photo::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(
      to bottom,
      rgba(38, 115, 148, 0) 0%,
      rgba(38, 115, 148, 0.9) 100%
    );
  }
  .pv-page .hero-content {
    padding: 28px 24px 32px;
    max-width: 100%;
    background: var(--teal);
  }
}

/* ---------- FOOTER ---------- */
.pv-page footer {
  background: var(--gray-bg);
  padding: 64px 0 0;
}
.pv-page .footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 48px;
  padding-bottom: 48px;
}
.pv-page .footer-logo img {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
}
.pv-page .social {
  display: flex;
  gap: 14px;
}
.pv-page .social a {
  width: 40px;
  height: 40px;
  /*border-radius: 50%;*/
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
/*.pv-page .social img {*/
/*  width: 18px;*/
/*  height: 18px;*/
/*}*/
.pv-page .footer-contact h4 {
  font-size: 16px;
  margin-bottom: 16px;
}
.pv-page .contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 12px;
  color: var(--text-gray);
}
.pv-page .contact-row img {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}
.pv-page .copyright {
  background: #000;
  padding: 20px var(--gutter);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  text-align: center;
}
@media (max-width: 640px) {
  .pv-page .footer-grid {
    flex-direction: column;
  }
  /* Divider between the social icons and Contact Us — added via border on
     .footer-contact (no new element needed) since the two blocks are only
     stacked on top of each other below this breakpoint; side-by-side on
     desktop, so a horizontal rule wouldn't make sense there. */
  .pv-page .footer-contact {
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }
  .pv-page .footer-contact h4 {
    font-size: 18px;
  }
  .pv-page .contact-row {
    font-size: 14px;
    line-height: 1.6;
  }
}
.gform-conversational.gform-theme--foundation .gform-conversational__screens{
    overflow: hidden !important;
}
.quiz-embed iframe {
    width: 100% !important;
    height: 100vh !important;
    max-height: 500px !important;
    border: 0 !important;
    overflow: hidden !important;
    display: block !important;
}

@media (min-width: 1700px) and (max-width: 2310px) {
    .pv-page .hero {
        background: linear-gradient(
            90deg,
            rgba(23, 69, 79, 0.96) 0%,
            rgba(38, 115, 148, 1) 55%,
            rgba(38, 115, 148, 0.85) 62%,
            rgba(38, 115, 148, 0.15) 82%,
            rgba(38, 115, 148, 0) 100%
        ), var(--img-hero);
        background-position: center right;
    }
}