/* ==========================================================================
   Home Page — Edge Pharma
   Hero section design. The carousel mechanics (Swiper shell, pagination
   dots) live in css/components/slider.css — this file is the Hero's own
   content layout, typography, image treatment, and decorative shapes.

   Remaining homepage sections (Stats, Products Highlight, Therapeutic
   Areas Preview, Partners Marquee, News Preview, CTA) are implemented in
   later steps.
   ========================================================================== */

/* ---------------------------------------------------------------------
   Hero shell
   --------------------------------------------------------------------- */

.hero {
  padding-block: 0;
}

/* ---------------------------------------------------------------------
   Slide layout — full-bleed photo fills the whole slide; text is
   overlaid on top, held legible by a dark gradient scrim over the image.
   --------------------------------------------------------------------- */

.hero__slide {
  position: relative;
  height: 560px;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(9, 20, 32, 0.82) 0%,
    rgba(9, 20, 32, 0.6) 40%,
    rgba(9, 20, 32, 0.25) 65%,
    rgba(9, 20, 32, 0.05) 85%
  );
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

/* ---------------------------------------------------------------------
   Typography — white, set against the dark scrim
   --------------------------------------------------------------------- */

.hero__title {
  max-width: 580px;
  font-family: var(--font-family-base);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--color-white);
  font-size: clamp(2rem, 1.55rem + 2vw, 3rem); /* 32px → 48px */
}

.hero__subtitle {
  max-width: 520px;
  margin-top: var(--space-5);
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.125rem); /* 16px → 18px */
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: rgba(255, 255, 255, 0.82);
}

/* ---------------------------------------------------------------------
   CTA buttons — 52px height, 16px gap, both variants
   --------------------------------------------------------------------- */

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-4);
  margin-top: var(--space-7);
  width: 100%;
}

.hero__actions .btn {
  height: 52px;
  border-radius: var(--radius-sm);
}

.hero__actions .btn--primary {
  background-color: var(--color-secondary);
}

.hero__actions .btn--primary:hover {
  background-color: #0f9c8d;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero__actions .btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.hero__actions .btn--outline:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.hero__actions .btn--outline:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------------
   Slide content animation — fade + upward movement, staggered
   ========================================================================== */

.hero__title,
.hero__subtitle,
.hero__actions,
.hero__media {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-default), transform 600ms var(--ease-default);
}

.swiper-slide-active .hero__title { transition-delay: 0ms; }
.swiper-slide-active .hero__subtitle { transition-delay: 120ms; }
.swiper-slide-active .hero__actions { transition-delay: 240ms; }
.swiper-slide-active .hero__media { transition-delay: 360ms; }

.swiper-slide-active .hero__title,
.swiper-slide-active .hero__subtitle,
.swiper-slide-active .hero__actions,
.swiper-slide-active .hero__media {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero__title,
  .hero__subtitle,
  .hero__actions,
  .hero__media {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------------------
   Tablet (≥768px) — taller slide, row of CTAs
   --------------------------------------------------------------------- */

@media (min-width: 768px) {
  .hero__slide {
    height: 620px;
  }

  .hero__actions {
    flex-direction: row;
    align-items: center;
    width: auto;
  }

  .hero__actions .btn {
    width: auto;
  }
}

/* ---------------------------------------------------------------------
   Desktop (≥992px) — fixed 760px height
   --------------------------------------------------------------------- */

@media (min-width: 992px) {
  .hero {
    height: 760px;
    display: flex;
    align-items: center;
  }

  .hero__slide {
    height: 100%;
  }

  .hero__content {
    max-width: 560px;
  }
}

/* ==========================================================================
   About Edge Pharma
   Introduces the company and builds trust immediately after the Hero.
   ========================================================================== */

.about {
  background-color: var(--color-white);
  padding-block: var(--space-12); /* 80px mobile base */
}

/* ---------------------------------------------------------------------
   Grid — mobile-first (stacked: text, CTA, then image, in DOM order)
   --------------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-8);
}

.about__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ---------------------------------------------------------------------
   Label + Heading
   --------------------------------------------------------------------- */

.about__header {
  display: flex;
  flex-direction: column;
}

.about__label {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.about__divider {
  display: block;
  width: 48px;
  height: 3px;
  margin-top: var(--space-3);
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.about__heading {
  max-width: 560px;
  margin-top: var(--space-4);
  font-family: var(--font-family-base);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--color-text-primary);
  font-size: clamp(1.75rem, 1.45rem + 1.5vw, 2.5rem); /* 28px → 40px */
}

/* ---------------------------------------------------------------------
   Description
   --------------------------------------------------------------------- */

.about__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 600px;
  margin-top: var(--space-6);
}

.about__paragraph {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.125rem); /* 16px → 18px */
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
}

/* ---------------------------------------------------------------------
   CTA — pill button, full width on mobile
   --------------------------------------------------------------------- */

.about__cta {
  width: 100%;
  height: 52px;
  margin-top: var(--space-7);
}

/* ---------------------------------------------------------------------
   Image + decorative shapes
   --------------------------------------------------------------------- */

.about__media {
  position: relative;
  height: 420px;
}

.about__shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.about__shape--circle {
  top: -15%;
  left: -18%;
  width: 65%;
  height: 65%;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(15, 94, 168, 0.2), rgba(15, 94, 168, 0) 70%);
  filter: blur(30px);
}

.about__shape--dots {
  top: -8%;
  right: -6%;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(var(--color-primary) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.25;
}

.about__shape--accent {
  bottom: -6%;
  right: 10%;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background-color: var(--color-secondary);
}

.about__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  object-position: center 20%;
  box-shadow: var(--shadow-lg);
}

/* ---------------------------------------------------------------------
   Scroll animation — fade up, staggered 80ms per element
   --------------------------------------------------------------------- */

.about__label,
.about__divider,
.about__heading,
.about__paragraph,
.about__cta,
.about__media {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-default), transform 600ms var(--ease-default);
}

.about.is-visible .about__label,
.about.is-visible .about__divider { transition-delay: 0ms; }
.about.is-visible .about__heading { transition-delay: 80ms; }
.about.is-visible .about__paragraph { transition-delay: 160ms; }
.about.is-visible .about__cta { transition-delay: 240ms; }
.about.is-visible .about__media { transition-delay: 320ms; }

.about.is-visible .about__label,
.about.is-visible .about__divider,
.about.is-visible .about__heading,
.about.is-visible .about__paragraph,
.about.is-visible .about__cta,
.about.is-visible .about__media {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .about__label,
  .about__divider,
  .about__heading,
  .about__paragraph,
  .about__cta,
  .about__media {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------------------
   Tablet (≥768px) — two columns, reduced gap
   --------------------------------------------------------------------- */

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-7); /* 32px, reduced from desktop's 80px */
  }

  .about__media {
    height: 100%;
    min-height: 460px;
  }

  .about__cta {
    width: auto;
  }
}

/* ---------------------------------------------------------------------
   Desktop (≥992px) — 55% / 45% split, 120px vertical padding, 80px gap
   --------------------------------------------------------------------- */

@media (min-width: 992px) {
  .about {
    padding-block: var(--space-14); /* 120px */
  }

  .about__grid {
    /* fr units (not %) so the gap doesn't push the total past 100% */
    grid-template-columns: 55fr 45fr;
    gap: var(--space-12); /* 80px */
  }

  .about__media {
    min-height: 480px;
  }
}

/* ==========================================================================
   Company Video
   A single centered trust-building section: label, heading, description,
   and a large video thumbnail that opens the shared modal (structural
   shell + play-button chrome live in css/components/modal.css).
   ========================================================================== */

.video-section {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  padding-block: var(--space-12); /* 80px mobile base */
}

.video-section__container {
  max-width: 1140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.video-section__label {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.video-section__divider {
  display: block;
  width: 48px;
  height: 3px;
  margin-top: var(--space-3);
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.video-section__heading {
  max-width: 760px;
  margin-top: var(--space-4);
  font-family: var(--font-family-base);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--color-text-primary);
  font-size: clamp(1.75rem, 1.3rem + 2vw, 2.625rem); /* 28px → 42px */
}

.video-section__description {
  max-width: 720px;
  margin-top: var(--space-5);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.125rem); /* 16px → 18px */
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
}

/* ---------------------------------------------------------------------
   Video thumbnail
   --------------------------------------------------------------------- */

.video-section__frame {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin-top: var(--space-9);
}

.video-section__glow {
  position: absolute;
  z-index: 0;
  inset: -12%;
  background: radial-gradient(circle at 50% 50%, rgba(15, 94, 168, 0.16), rgba(15, 94, 168, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
}

.video-section__thumbnail {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  overflow: hidden;
}

.video-section__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-section__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(9, 20, 32, 0.25);
}

/* ---------------------------------------------------------------------
   Scroll animation — fade up, staggered 80ms per element
   --------------------------------------------------------------------- */

.video-section__label,
.video-section__divider,
.video-section__heading,
.video-section__description,
.video-section__frame {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-default), transform 600ms var(--ease-default);
}

.video-section.is-visible .video-section__label,
.video-section.is-visible .video-section__divider { transition-delay: 0ms; }
.video-section.is-visible .video-section__heading { transition-delay: 80ms; }
.video-section.is-visible .video-section__description { transition-delay: 160ms; }
.video-section.is-visible .video-section__frame { transition-delay: 240ms; }

.video-section.is-visible .video-section__label,
.video-section.is-visible .video-section__divider,
.video-section.is-visible .video-section__heading,
.video-section.is-visible .video-section__description,
.video-section.is-visible .video-section__frame {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .video-section__label,
  .video-section__divider,
  .video-section__heading,
  .video-section__description,
  .video-section__frame {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------------------
   Desktop (≥992px) — full section padding
   --------------------------------------------------------------------- */

@media (min-width: 992px) {
  .video-section {
    padding-block: var(--space-14); /* 120px */
  }
}

/* ==========================================================================
   Partners Marquee
   Trust-building strip: label/heading/description, then an infinite
   two-track logo marquee. Only one placeholder logo exists for now
   (assets/images/partners/partner-logo-placeholder.svg) — each repetition
   is a single <img>, so real partner logos can later replace the src/alt
   on each one without touching the marquee markup or animation.
   ========================================================================== */

.partners {
  background-color: var(--color-white);
  padding-block: 100px;
  overflow: hidden;
}

.partners__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.partners__label {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.partners__divider {
  display: block;
  width: 48px;
  height: 3px;
  margin-top: var(--space-3);
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.partners__heading {
  margin-top: var(--space-4);
  font-family: var(--font-family-base);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--color-text-primary);
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); /* 28px → 40px */
}

.partners__description {
  max-width: 700px;
  margin-top: var(--space-5);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
}

/* ---------------------------------------------------------------------
   Marquee — two identical tracks, translated exactly -50% to loop
   --------------------------------------------------------------------- */

.partners__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: var(--space-9);
}

.partners__marquee::before,
.partners__marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 80px;
  pointer-events: none;
}

.partners__marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white), transparent);
}

.partners__marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white), transparent);
}

.partners__track-group {
  display: flex;
  width: max-content;
  animation: partners-marquee 25s linear infinite;
}

.partners__track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.partners__logo {
  height: 40px;
  width: auto;
  margin-inline: 20px;
  opacity: 0.75;
  transition: opacity 300ms var(--ease-default), transform 300ms var(--ease-default);
}

.partners__logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes partners-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partners__track-group {
    animation: none;
  }
}

/* ---------------------------------------------------------------------
   Tablet (≥768px) — larger logos, wider spacing, full-speed loop
   --------------------------------------------------------------------- */

@media (min-width: 768px) {
  .partners__track-group {
    animation-duration: 35s;
  }

  .partners__logo {
    height: 48px;
    margin-inline: 28px;
  }

  .partners__marquee::before,
  .partners__marquee::after {
    width: 100px;
  }
}

/* ---------------------------------------------------------------------
   Desktop (≥992px) — full logo size and spacing per spec
   --------------------------------------------------------------------- */

@media (min-width: 992px) {
  .partners__logo {
    height: 56px;
    margin-inline: 40px;
  }

  .partners__marquee::before,
  .partners__marquee::after {
    width: 120px;
  }
}

/* ==========================================================================
   Latest News
   Label/heading/description (centered), then a responsive grid of editorial
   news cards (left-aligned) with hover lift, image zoom, and an animated
   "Read More" link.
   ========================================================================== */

.news {
  background-color: #f8fbff;
  padding-block: var(--space-12); /* 80px mobile base */
}

.news__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.news__label {
  font-size: 14px;
  font-weight: var(--fw-semibold);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.news__divider {
  display: block;
  width: 48px;
  height: 3px;
  margin-top: var(--space-3);
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
}

.news__heading {
  max-width: 760px;
  margin-top: var(--space-4);
  font-family: var(--font-family-base);
  font-weight: var(--fw-bold);
  line-height: 1.2;
  color: var(--color-text-primary);
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem); /* 28px → 42px */
}

.news__description {
  max-width: 700px;
  margin-top: var(--space-5);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.125rem); /* 16px → 18px */
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
}

/* ---------------------------------------------------------------------
   Grid — mobile-first (1 → 2 → 3 columns)
   --------------------------------------------------------------------- */

.news__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7); /* 32px */
  width: 100%;
  margin-top: var(--space-10);
  text-align: left;
}

@media (min-width: 768px) {
  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .news__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------------------------------------------------------------------
   Card
   --------------------------------------------------------------------- */

.news-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border: 1px solid #e8eef6;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 300ms var(--ease-default), box-shadow 300ms var(--ease-default);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.news-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms var(--ease-default);
}

.news-card:hover .news-card__image {
  transform: scale(1.05);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-6); /* 24px */
}

.news-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--color-primary);
}

/* Overrides css/components/cards.css's absolute-positioned placeholder —
   this spec keeps the date inline as "Category • Date", not an image badge. */
.news-card__date {
  position: static;
}

.news-card__title {
  margin-top: var(--space-3);
  font-size: 24px;
  font-weight: var(--fw-semibold);
  line-height: 1.3;
  color: var(--color-text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__excerpt {
  flex: 1;
  margin-top: var(--space-3);
  font-size: 16px;
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  color: var(--color-text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  margin-top: var(--space-5);
  font-weight: var(--fw-semibold);
  color: var(--color-primary);
}

.news-card__link-text {
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 250ms var(--ease-default);
}

.news-card__arrow {
  transition: transform 250ms var(--ease-default);
}

.news-card:hover .news-card__link-text,
.news-card__link:focus-visible .news-card__link-text {
  text-decoration-color: currentColor;
}

.news-card:hover .news-card__arrow,
.news-card__link:focus-visible .news-card__arrow {
  transform: translateX(4px);
}

.news-card__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ---------------------------------------------------------------------
   Scroll animation — fade up, staggered 100ms per element
   --------------------------------------------------------------------- */

.news__label,
.news__divider,
.news__heading,
.news__description,
.news-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--ease-default), transform 600ms var(--ease-default);
}

.news.is-visible .news__label,
.news.is-visible .news__divider { transition-delay: 0ms; }
.news.is-visible .news__heading { transition-delay: 100ms; }
.news.is-visible .news__description { transition-delay: 200ms; }
.news.is-visible .news-card:nth-child(1) { transition-delay: 300ms; }
.news.is-visible .news-card:nth-child(2) { transition-delay: 400ms; }
.news.is-visible .news-card:nth-child(3) { transition-delay: 500ms; }

.news.is-visible .news__label,
.news.is-visible .news__divider,
.news.is-visible .news__heading,
.news.is-visible .news__description,
.news.is-visible .news-card {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .news__label,
  .news__divider,
  .news__heading,
  .news__description,
  .news-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------------------
   Tablet (≥768px) — slightly taller image than mobile
   --------------------------------------------------------------------- */

@media (min-width: 768px) {
  .news-card__media {
    height: 230px;
  }
}

/* ---------------------------------------------------------------------
   Desktop (≥992px) — full section padding, full image height
   --------------------------------------------------------------------- */

@media (min-width: 992px) {
  .news {
    padding-block: var(--space-14); /* 120px */
  }

  .news-card__media {
    height: 240px;
  }
}

/* ==========================================================================
   Contact CTA Strip
   A lightweight, single-line strip that transitions the page into the
   footer — deliberately understated next to the Hero/CTA sections above.
   ========================================================================== */

.contact-strip {
  background-color: #eaf8fb;
  border: 1px solid rgba(11, 94, 215, 0.08);
  padding: 40px 24px; /* mobile base per spec */
}

.contact-strip__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  text-align: center;
}

.contact-strip__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background-color: #0b5ed7;
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.contact-strip__content {
  display: flex;
  flex-direction: column;
}

.contact-strip__heading {
  font-family: var(--font-family-base);
  font-weight: var(--fw-bold);
  line-height: 1.3;
  color: var(--color-text-primary);
  font-size: 1.5rem; /* 24px, scales up at desktop */
}

.contact-strip__description {
  margin-top: var(--space-2);
  font-size: 16px;
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--color-text-secondary);
}

.contact-strip__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  padding-inline: 30px;
  flex-shrink: 0;
  border-radius: 10px;
  background-color: #0b5ed7;
  color: var(--color-white);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  transition: background-color 250ms var(--ease-default),
              transform 250ms var(--ease-default),
              box-shadow 250ms var(--ease-default);
}

.contact-strip__btn:hover {
  background-color: #094aad;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-strip__btn:focus-visible {
  outline: 2px solid #0b5ed7;
  outline-offset: 3px;
}

/* ---------------------------------------------------------------------
   Scroll animation — fade up, staggered 80ms per element
   --------------------------------------------------------------------- */

.contact-strip__icon,
.contact-strip__heading,
.contact-strip__description,
.contact-strip__btn {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--ease-default), transform 500ms var(--ease-default);
}

.contact-strip.is-visible .contact-strip__icon { transition-delay: 0ms; }
.contact-strip.is-visible .contact-strip__heading { transition-delay: 80ms; }
.contact-strip.is-visible .contact-strip__description { transition-delay: 160ms; }
.contact-strip.is-visible .contact-strip__btn { transition-delay: 240ms; }

.contact-strip.is-visible .contact-strip__icon,
.contact-strip.is-visible .contact-strip__heading,
.contact-strip.is-visible .contact-strip__description,
.contact-strip.is-visible .contact-strip__btn {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .contact-strip__icon,
  .contact-strip__heading,
  .contact-strip__description,
  .contact-strip__btn {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------------------
   Tablet (≥768px) — row layout, reduced heading size
   --------------------------------------------------------------------- */

@media (min-width: 768px) {
  .contact-strip {
    padding-block: 28px;
    padding-inline: 0;
  }

  .contact-strip__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    text-align: left;
  }

  .contact-strip__content {
    flex: 1;
  }

  .contact-strip__btn {
    width: auto;
  }
}

/* ---------------------------------------------------------------------
   Desktop (≥992px) — full heading size per spec
   --------------------------------------------------------------------- */

@media (min-width: 992px) {
  .contact-strip__heading {
    font-size: 30px;
  }
}
