/* ============================================================
   OPHICA CONSULTING — PAGE-SPECIFIC LAYOUTS & GRIDS
   Home, About, Services, Contact Responsive Structures
   ============================================================ */

/* ------------------------------------------------------------
   1. HERO SECTIONS (COMMON & PAGE SPECIFIC)
   ------------------------------------------------------------ */
.hero-section {
  padding-top: calc(var(--header-height-desktop) + 54px);
  padding-bottom: var(--section-padding-desktop);
  background: radial-gradient(circle at 80% 25%, rgba(239, 91, 63, 0.08), transparent 35%),
              linear-gradient(180deg, var(--color-white) 0%, var(--color-paper) 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 {
  margin-top: 14px;
  margin-bottom: 22px;
}

.hero-copy h1 span {
  color: var(--color-orange);
}

.hero-copy .hero-lead {
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-meta {
  font-size: 13px;
  font-weight: 700;
  color: #7A7A7A;
  letter-spacing: 0.02em;
}

/* Hero Editorial Image Container */
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #EAE6DF;
  aspect-ratio: 4 / 3.3;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-smooth);
}

.hero-image-wrap:hover img {
  transform: scale(1.03);
}

.hero-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(17, 17, 17, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image-badge small {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-orange);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.hero-image-badge strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

/* Floating Image Tag */
.image-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background-color: var(--color-orange);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-section {
    padding-top: calc(var(--header-height-mobile) + 36px);
    padding-bottom: var(--section-padding-mobile);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-image-wrap {
    order: -1;
    aspect-ratio: 16 / 11;
  }

  .hero-copy {
    order: 1;
  }
}

/* ------------------------------------------------------------
   2. HOMEPAGE SPECIFIC SECTIONS
   ------------------------------------------------------------ */

/* The Challenge Section */
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.challenge-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}

.challenge-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .challenge-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .challenge-copy {
    text-align: left;
  }

  .challenge-copy .eyebrow {
    justify-content: flex-start;
    margin-left: 0;
    margin-right: auto;
  }
}

/* The Ophica Approach (4 Cards) */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.approach-card {
  min-height: auto;
  padding: 22px 20px;
}

.approach-card .card-number {
  margin-bottom: 14px;
}

.approach-card h3 {
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
  margin-bottom: 6px;
}

@media (max-width: 1024px) {
  .approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .approach-grid {
    grid-template-columns: 1fr;
  }
}

/* Our Services Carousel / Track (Homepage - All 13 Services: 3 in a row) */
.services-track-wrap {
  position: relative;
  margin-top: 36px;
  margin-bottom: 24px;
}

.services-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--color-orange) rgba(255, 255, 255, 0.1);
  -webkit-overflow-scrolling: touch;
}

.services-track::-webkit-scrollbar {
  height: 6px;
}

.services-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.services-track::-webkit-scrollbar-thumb {
  background: var(--color-orange);
  border-radius: 4px;
}

.service-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s ease,
              border-color 0.22s ease;
}

.service-slide:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 91, 63, 0.55);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45), 0 0 24px rgba(239, 91, 63, 0.15);
}

.service-slide-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #242424;
}

.service-slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-slide:hover .service-slide-image img {
  transform: scale(1.06);
}

.service-slide-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-slide-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  margin-bottom: 12px;
}

.service-slide-body h3 {
  font-size: 22px;
  font-weight: 750;
  color: var(--color-white);
  margin-bottom: 10px;
}

.service-slide-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-slide-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  background-color: #222222;
  border: 1px solid #383838;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.18s ease,
              border-color 0.18s ease,
              color 0.18s ease,
              transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.18s ease;
}

.service-slide:hover .service-slide-btn,
.service-slide-btn:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(239, 91, 63, 0.35);
}

.services-scroll-prompt {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-muted);
  text-align: right;
  margin-top: 14px;
}

@media (max-width: 1024px) {
  .service-slide {
    flex: 0 0 calc((100% - 20px) / 2);
    min-width: calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 600px) {
  .service-slide {
    flex: 0 0 88%;
    min-width: 88%;
    max-width: 88%;
  }
}

/* Why Ophica (Homepage Editorial Split Layout matching reference image) */
.why-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.why-editorial-left {
  display: flex;
  flex-direction: column;
}

.why-editorial-heading {
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--color-black);
  margin-top: 14px;
  margin-bottom: 0;
}

.why-editorial-heading span {
  color: var(--color-orange);
  display: block;
}

.why-editorial-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-editorial-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 44px 1fr 28px;
  gap: 16px;
  align-items: center;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.15s ease,
              border-color 0.15s ease,
              box-shadow 0.18s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.why-editorial-num {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  align-self: center;
  transition: color 0.12s ease;
}

.why-editorial-content h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-black);
  margin: 0 0 4px 0;
  line-height: 1.25;
  transition: color 0.12s ease;
}

.why-editorial-content p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-muted);
  margin: 0;
  transition: color 0.12s ease;
}

.why-editorial-arrow {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-orange);
  justify-self: end;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.12s ease;
}

.why-editorial-card:hover,
.why-editorial-card.is-held {
  background-color: var(--color-orange) !important;
  border-color: var(--color-orange) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(239, 91, 63, 0.25);
}

.why-editorial-card:hover .why-editorial-num,
.why-editorial-card:hover .why-editorial-content h3,
.why-editorial-card:hover .why-editorial-content p,
.why-editorial-card:hover .why-editorial-arrow,
.why-editorial-card.is-held .why-editorial-num,
.why-editorial-card.is-held .why-editorial-content h3,
.why-editorial-card.is-held .why-editorial-content p,
.why-editorial-card.is-held .why-editorial-arrow {
  color: var(--color-white) !important;
}

.why-editorial-card:hover .why-editorial-arrow,
.why-editorial-card.is-held .why-editorial-arrow {
  transform: translate(3px, -3px);
  color: var(--color-white) !important;
}

@media (max-width: 900px) {
  .why-editorial-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Why Ophica (3 Columns for Services Page) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.15s ease,
              border-color 0.15s ease,
              box-shadow 0.18s ease,
              color 0.12s ease;
  user-select: none;
  -webkit-user-select: none;
}

.why-card .card-number {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  margin-bottom: 20px;
  transition: color 0.12s ease;
}

.why-card h3 {
  font-size: 22px;
  font-weight: 750;
  color: var(--color-black);
  margin-bottom: 10px;
  transition: color 0.12s ease;
}

.why-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted);
  margin: 0;
  transition: color 0.12s ease;
}

/* Hover & Held Interactive Effect */
.why-card:hover,
.why-card.is-held {
  background-color: var(--color-orange) !important;
  border-color: var(--color-orange) !important;
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(239, 91, 63, 0.25);
}

.why-card:hover .card-number,
.why-card:hover h3,
.why-card:hover p,
.why-card.is-held .card-number,
.why-card.is-held h3,
.why-card.is-held p {
  color: var(--color-white) !important;
}

@media (max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   3. ABOUT PAGE SPECIFIC SECTIONS
   ------------------------------------------------------------ */

/* Our Story Section (Black background) */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.story-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.story-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-image:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Meet the Owners */
.owners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.owner-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.owner-photo {
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background-color: #E7E3DC;
}

.owner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-info {
  padding: 28px;
}

.owner-info .owner-tag {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.owner-info h3 {
  font-size: 26px;
  margin-bottom: 4px;
}

.owner-role {
  font-size: 14px;
  font-weight: 700;
  color: #555555;
  margin-bottom: 12px;
}

.owner-bio {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted);
}

@media (max-width: 768px) {
  .owners-grid {
    grid-template-columns: 1fr;
  }
}

/* What We Believe (4 Cards) */
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.belief-card {
  min-height: auto;
  padding: 22px 20px;
}

.belief-card .card-number {
  margin-bottom: 14px;
}

.belief-card h3 {
  font-size: 20px;
  font-weight: 750;
  margin-bottom: 6px;
}

@media (max-width: 1024px) {
  .beliefs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .beliefs-grid {
    grid-template-columns: 1fr;
  }
}

/* Our Vision (Black Background, 2 cols one row) */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.vision-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.vision-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.vision-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vision-image:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .vision-image {
    order: -1;
  }

  .vision-copy {
    order: 2;
  }
}

/* The Ophica Difference */
.difference-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

.difference-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.difference-image:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

.difference-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.difference-image:hover img {
  transform: scale(1.05);
}

@media (max-width: 900px) {
  .difference-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ------------------------------------------------------------
   4. SERVICES PAGE SPECIFIC SECTIONS
   ------------------------------------------------------------ */

/* Editorial Service Groups (4 Service Groups — Dark Cards #171717) */
.service-groups-stack {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin-top: 36px;
}

.service-group-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  background-color: var(--color-surface-dark); /* #171717 */
  border: 1px solid var(--color-border-dark); /* #383838 */
  border-radius: var(--radius-xl);
  padding: 42px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.service-group-row:hover {
  transform: translateY(-4px);
  border-color: rgba(239, 91, 63, 0.45);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.4), 0 0 30px rgba(239, 91, 63, 0.12);
}

.service-group-row.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.service-group-row.reverse .service-group-copy {
  order: 2;
}

.service-group-row.reverse .service-group-image {
  order: 1;
}

.service-group-header .group-num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.service-group-header h3 {
  font-size: 32px;
  color: var(--color-white);
  margin-bottom: 12px;
}

.service-group-header h3 span {
  color: var(--color-orange);
}

.service-group-header p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-muted-secondary);
  margin-bottom: 24px;
}

.service-item-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.service-pill {
  background-color: #202020;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.18s ease,
              background-color 0.18s ease,
              box-shadow 0.18s ease;
}

.service-pill:hover,
.service-pill:focus-visible {
  transform: translateX(4px);
  border-color: var(--color-orange);
  background-color: #282828;
  outline: none;
}

.service-pill.active {
  border-color: var(--color-orange);
  background-color: rgba(239, 91, 63, 0.12);
  box-shadow: 0 0 0 1px var(--color-orange), var(--shadow-sm);
  transform: translateX(4px);
}

.service-pill .pill-num {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-orange);
}

.service-pill strong {
  font-size: 14px;
  font-weight: 750;
  color: var(--color-white);
  flex: 1;
}

.service-pill .pill-indicator {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-orange);
  transition: transform 0.25s ease;
  line-height: 1;
}

.service-pill.active .pill-indicator {
  transform: rotate(45deg);
}

/* Service Detail Drawer */
.service-drawers-wrap {
  margin-top: 18px;
  position: relative;
}

.service-drawer {
  background: #181818;
  border: 1px solid rgba(239, 91, 63, 0.35);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  animation: drawerSlideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

@keyframes drawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-drawer[hidden] {
  display: none !important;
}

.drawer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.drawer-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  background: rgba(239, 91, 63, 0.15);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.drawer-header h4 {
  font-size: 18px;
  font-weight: 750;
  color: var(--color-white);
  line-height: 1.3;
}

.drawer-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-muted-secondary);
  margin-bottom: 14px;
}

.drawer-deliverables {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-deliverables li {
  font-size: 13px;
  line-height: 1.45;
  color: #ddd;
  position: relative;
  padding-left: 20px;
}

.drawer-deliverables li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-orange);
  font-weight: 800;
  font-size: 13px;
}

.drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.drawer-thumb {
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.service-group-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.service-group-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-group-row:hover .service-group-image img {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .service-group-row,
  .service-group-row.reverse {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 32px;
  }

  .service-group-row.reverse .service-group-copy {
    order: 1;
  }

  .service-group-row.reverse .service-group-image {
    order: 2;
  }

  .service-item-pills {
    grid-template-columns: 1fr;
  }
}

/* Who We Support (Dark Section: Medical & Dental Practices) */
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.who-card {
  background-color: var(--color-dark);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.who-card:hover {
  transform: translateY(-5px);
  border-color: rgba(239, 91, 63, 0.55);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 24px rgba(239, 91, 63, 0.18);
}

.who-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.who-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.who-card:hover .who-card-image img {
  transform: scale(1.04);
}

.who-card-copy {
  padding: 32px;
}

.who-card-copy small {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.who-card-copy h3 {
  font-size: 28px;
  color: var(--color-white);
  margin-bottom: 10px;
}

.who-card-copy p {
  font-size: 15px;
  color: var(--color-muted-secondary);
  line-height: 1.55;
}

@media (max-width: 768px) {
  .who-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   5. CONTACT PAGE SPECIFIC SECTIONS
   ------------------------------------------------------------ */

/* Contact Hero Editorial Side Panel */
.contact-hero-side {
  background-color: var(--color-dark);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-xl);
  padding: 40px;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
}

.contact-hero-side-body h2 {
  font-size: 38px;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 16px;
}

.contact-hero-side-body h2 span {
  color: var(--color-orange);
}

.contact-hero-side-body p {
  color: var(--color-muted-secondary);
  font-size: 14px;
}

@media (max-width: 900px) {
  .contact-hero-side {
    padding: 28px 22px;
    min-height: auto;
    gap: 24px;
    box-sizing: border-box;
  }

  .contact-hero-side-top {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .contact-hero-side-body h2 {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 12px;
    word-break: break-word;
    overflow-wrap: break-word;
  }
}

/* Get In Touch (3 Equal Columns) */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-card {
  min-height: auto;
  padding: 24px;
}

.contact-card .card-number {
  margin-bottom: 14px;
}

.contact-card h3 {
  font-size: 20px;
  font-weight: 750;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-muted-secondary);
}

.contact-card p a {
  color: inherit;
  font-weight: 600;
}

@media (max-width: 900px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* What to Expect (3 Editorial Rows - Vertically Centered Left Title & Interactive Cards) */
.expect-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: center;
}

.expect-intro {
  display: flex;
  flex-direction: column;
}

.expect-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.expect-row {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: grid;
  grid-template-columns: 40px 1fr 28px;
  gap: 16px;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.15s ease,
              border-color 0.15s ease,
              box-shadow 0.18s ease,
              color 0.12s ease;
  user-select: none;
  -webkit-user-select: none;
}

.expect-row .expect-num {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-orange);
  letter-spacing: 0.08em;
  transition: color 0.12s ease;
}

.expect-row h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 4px;
  line-height: 1.25;
  transition: color 0.12s ease;
}

.expect-row p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-muted);
  margin: 0;
  transition: color 0.12s ease;
}

.expect-row .expect-arrow {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-orange);
  justify-self: end;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.12s ease;
}

/* Hover & Held Interactive States */
.expect-row:hover,
.expect-row.is-held {
  background-color: var(--color-orange) !important;
  border-color: var(--color-orange) !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(239, 91, 63, 0.25);
}

.expect-row:hover .expect-num,
.expect-row:hover h3,
.expect-row:hover p,
.expect-row:hover .expect-arrow,
.expect-row.is-held .expect-num,
.expect-row.is-held h3,
.expect-row.is-held p,
.expect-row.is-held .expect-arrow {
  color: var(--color-white) !important;
}

.expect-row:hover .expect-arrow,
.expect-row.is-held .expect-arrow {
  transform: translate(3px, -3px);
  color: var(--color-white) !important;
}

@media (max-width: 900px) {
  .expect-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
