/* AI Ready Website — page styles */

.ev-arw-hero-v2 .ev-hero-v2-visual picture,
.ev-arw-hero-v2 .ev-hero-v2-visual img {
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

/* Showcase composite already bakes rounded corners + per-card shadows into a
   transparent PNG, so the wrapper must not add its own box shadow/rounding
   (that would draw a rectangle behind the transparent area). */
.ev-arw-hero-v2 .ev-arw-hero-showcase img {
  border-radius: 0;
  box-shadow: none;
}

.ev-arw-hero-v2 .ev-trust-col--link {
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

.ev-arw-hero-v2 .ev-trust-col--link:hover,
.ev-arw-hero-v2 .ev-trust-col--link:focus-visible {
  background-color: #f4f8fc;
}

.ev-arw-hero-v2 .ev-trust-col--link:hover .ev-trust-col-label,
.ev-arw-hero-v2 .ev-trust-col--link:focus-visible .ev-trust-col-label {
  color: #2f80ff;
}

.ev-arw-hero-v2 .ev-trust-col--link:focus-visible {
  outline: 2px solid #2f80ff;
  outline-offset: -2px;
}

@media (min-width: 601px) {
  .ev-arw-hero-v2 .ev-hero-v2-visual picture {
    display: block;
    width: 90%;
    max-width: 90%;
    margin-left: auto;
  }

  .ev-arw-hero-v2 .ev-hero-v2-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

.ev-arw-hero-v2 .ev-arw-hero-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60a5fa;
}

.ev-arw-hero-v2 .ev-hero-v2-mid h2 .ev-accent {
  color: #3b82f6;
}

.ev-arw-hero-v2 .ev-arw-hero-body {
  margin: 0 0 20px;
  max-width: 540px;
  font-size: 17px;
  line-height: 1.6;
  color: #c8d4e0;
}

.ev-arw-hero-v2 .ev-arw-hero-body--mobile {
  display: none;
}

.ev-arw-hero-v2 .ev-arw-hero-inclusion {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.5;
  color: #9fb0c3;
}

.ev-arw-hero-v2 .ev-arw-hero-inclusion img {
  flex-shrink: 0;
  margin-top: 1px;
}

.ev-arw-hero-v2 .ev-arw-hero-inclusion a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 700;
}

.ev-arw-hero-v2 .ev-arw-hero-inclusion a:hover {
  color: #fff;
}

.ev-arw-portfolio {
  position: relative;
  padding: 88px 0;
  background: #fff;
  border-top: 1px solid #e8eef4;
}

/* Match the standard section width (other pages cap .ev-wrap at 1250px;
   the default site wrap is 1440px, which made this section too wide). */
.ev-arw-portfolio > .ev-wrap {
  max-width: var(--ev-section-wrap-max, 1250px);
}

/* Bottom CTA banner spans the full section width (shared .ev-faq-cta caps at
   1060px, which looked inset against the 1250px card grid). */
.ev-arw-portfolio .ev-arw-portfolio-cta {
  width: 100%;
  max-width: none;
}

.ev-arw-portfolio-head {
  margin: 0 0 34px;
  text-align: center;
}

.ev-arw-portfolio-title {
  margin: 0 auto;
  max-width: var(--ev-section-title-max, 760px);
  font-family: var(--ev-section-title-font);
  font-size: var(--ev-section-title-size);
  font-weight: var(--ev-section-title-weight);
  line-height: var(--ev-section-title-line-height);
  letter-spacing: var(--ev-section-title-letter-spacing);
  color: var(--ev-section-title-color);
}

.ev-arw-portfolio-title .ev-accent {
  color: #2f80ff;
}

.ev-arw-portfolio-lead {
  margin: 16px auto 0;
  max-width: 720px;
  color: #5d7188;
  font-size: 17px;
  line-height: 1.65;
}

.ev-arw-portfolio-cta {
  margin-top: 44px;
}

.ev-arw-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ev-arw-portfolio-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid rgba(16, 35, 63, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(16, 35, 63, 0.12);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.ev-arw-portfolio-card:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 95, 168, 0.28);
  box-shadow: 0 28px 62px rgba(16, 35, 63, 0.16);
}

.ev-arw-portfolio-shot {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #dbe8f5;
}

.ev-arw-portfolio-shot::after {
  content: "View Live Site";
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.ev-arw-portfolio-card:hover .ev-arw-portfolio-shot::after {
  opacity: 1;
  transform: translateY(0);
}

.ev-arw-portfolio-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.2s ease;
}

.ev-arw-portfolio-card:hover .ev-arw-portfolio-shot img {
  transform: scale(1.025);
}

.ev-arw-portfolio-copy {
  padding: 20px 20px 22px;
}

.ev-arw-portfolio-tag {
  margin: 0 0 8px;
  color: #1a5fa8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.ev-arw-portfolio-copy h3 {
  margin: 0 0 6px;
  color: #10233f;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.ev-arw-portfolio-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.ev-arw-portfolio-copy h3 a:hover {
  color: #1a5fa8;
}

.ev-arw-portfolio-copy p:last-child {
  margin: 0;
  color: #6d7f93;
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .ev-arw-hero-v2 .ev-arw-hero-body--desktop {
    display: none;
  }

  .ev-arw-hero-v2 .ev-arw-hero-body--mobile {
    display: block;
  }
}

@media (max-width: 1020px) {
  .ev-arw-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .ev-arw-portfolio {
    padding: 64px 0;
  }

  .ev-arw-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .ev-arw-portfolio-copy {
    padding: 18px;
  }
}

.ev-arw-why .ev-s2-close-sub a,
.ev-arw-services .ev-s4-plan-line a,
.ev-arw-services .ev-s4-bar-sub a,
.ev-arw-faq .ev-faq-a-inner a {
  color: #1a5fa8;
  font-weight: 600;
  text-decoration: none;
}

.ev-arw-why .ev-s2-close-sub a:hover,
.ev-arw-services .ev-s4-plan-line a:hover,
.ev-arw-services .ev-s4-bar-sub a:hover,
.ev-arw-faq .ev-faq-a-inner a:hover {
  text-decoration: underline;
}
