/* Heading Color */
h1,
h2,
h3,
h4,
h5,
h6,
.art-banner .art-banner-overlay .art-banner-title h1,
.content-sidebar .widget-title {
  color: #ffffff;
}

@media (max-width: 1600px) {
  .art-banner .art-banner-overlay .art-banner-title h1 {
    color: #ffffff;
  }
}

@media (max-width: 1400px) {
  .art-banner .art-banner-overlay .art-banner-title h1 {
    color: #ffffff;
  }
}

@media (max-width: 920px) {
  .art-banner .art-banner-overlay .art-banner-title h1 {
    color: #ffffff;
  }
}

/* Text Color */
body,
a,
.art-table,
.art-link,
.art-preloader .art-preloader-content .art-preloader-load .progressbar-text,
.art-info-bar .art-header .art-avatar .art-lamp-light .art-available-lamp:after,
.art-info-bar .art-lang-skills .art-lang-skills-item .art-cirkle-progress .progressbar-text,
.art-info-bar .art-hard-skills .art-hard-skills-item .art-skill-heading .art-skill-value,
.art-info-bar .art-knowledge-list li,
.art-info-bar .art-ls-social a,
.art-menu-bar nav .main-menu .menu-item a,
.art-menu-bar nav .main-menu .menu-item.current-menu-item .sub-menu .menu-item a,
.art-menu-bar nav .main-menu .menu-item.current-menu-parent .sub-menu .menu-item a,
.art-contact-form label,
.art-pagination span.dots,
.footer,
.art-filter a,
.wp-block-categories-list li,
.wp-block-archives-list li,
.widget.widget_nav_menu ul li,
.widget.widget_pages ul li,
.widget_categories ul li,
.comment-info,
.art-blog-card .art-project-category {
  color: #8c8c8e;
}

/* Skill percentages sit in the heading row (Arter already flexes it). */
.art-info-bar .art-hard-skills .art-hard-skills-item .art-skill-heading {
  align-items: baseline;
}

.art-info-bar .art-hard-skills .art-hard-skills-item .art-skill-heading .art-skill-value {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  color: #cacace;
  white-space: nowrap;
  flex-shrink: 0;
}

.art-info-bar .art-hard-skills .art-hard-skills-item .art-skill-heading .art-skill-ch {
  display: inline-block;
  width: 0.66em;
  text-align: center;
}

.art-menu-bar-btn span,
.art-menu-bar-btn span:after,
.art-menu-bar-btn span:before,
.art-slider-navigation .swiper-pagination-bullet {
  background: #8c8c8e;
}

/* Menu Color */
.art-menu-bar nav .main-menu,
.art-menu-bar nav .main-menu .menu-item a {
  color: #8c8c8e;
}

/* Theme Color */
.art-btn,
.art-info-bar .art-header .art-avatar .art-lamp-light .art-available-lamp,
.art-menu-bar .art-language-change li.art-active-lang,
.art-price.art-popular-price:before,
.art-slider-navigation .swiper-pagination-bullet.swiper-pagination-bullet-active,
.art-contact-form .art-input.art-active+label,
.art-contact-form .art-input:focus+label,
.art-contact-form label.focused,
.content-sidebar td#today,
.single-post-text table td#today,
.single-post-text ul>li:before,
.comment-text ul>li:before,
.comment-form .btn.fill,
form.post-password-form input[type="submit"],
.sticky:before,
.wp-block-button a.wp-block-button__link,
.wp-block-button.is-style-outline a.wp-block-button__link,
.art-menu-bar .cart-btn .cart-icon .cart-count,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button .woocommerce-mini-cart__buttons #respond input#submit,
.woocommerce-mini-cart__buttons a.button,
.woocommerce-mini-cart__buttons button.button,
.woocommerce-mini-cart__buttons input.button,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover .woocommerce-mini-cart__buttons #respond input#submit:hover,
.woocommerce-mini-cart__buttons a.button:hover,
.woocommerce-mini-cart__buttons button.button:hover,
.woocommerce-mini-cart__buttons input.button:hover,
.woocommerce span.onsale,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link.is-active a {
  background-color: #61CE70;
}

.art-link.art-color-link,
.art-link.art-color-link:hover,
.art-info-bar .art-name:hover a,
.art-info-bar .art-knowledge-list li:before,
.art-code i,
.art-counter-frame .art-counter-box .art-counter,
.art-counter-frame .art-counter-box .art-counter-plus,
.art-price .art-price-body .art-price-cost .art-number,
.art-price .art-price-body .art-price-list ul li:before,
.art-price .art-price-body .art-price-list ul li.art-empty-item:before,
.art-testimonial .art-testimonial-footer .art-star-rate,
.post-page-numbers.current,
.art-pagination span,
.art-pagination a.next,
.art-pagination a.prev,
.art-pagination a.next:hover,
.art-pagination a.prev:hover,
.single-post-text p a,
.comment-text p a,
.post-text-bottom span.cat-links a,
.post-text-bottom .tags-links a,
.post-text-bottom .tags-links span,
.content-sidebar .tagcloud a,
.wp-block-tag-cloud .tag-cloud-link,
.content-sidebar a:hover,
.wp-block-button.is-style-outline a.wp-block-button__link,
.error-page__num,
.woocommerce-mini-cart__buttons #respond input#submit,
.woocommerce-mini-cart__buttons a.button,
.woocommerce-mini-cart__buttons button.button,
.woocommerce-mini-cart__buttons input.button,
.woocommerce .star-rating,
.woocommerce p.stars a,
.art-info-bar .art-knowledge-list li i {
  color: #149ddd;
}

.art-custom-list li:before,
.art-timeline .art-timeline-item .art-timeline-mark,
.art-form-field textarea.art-active,
.art-form-field textarea:focus,
.post-text-bottom .tags-links a,
.post-text-bottom .tags-links span,
.content-sidebar .tagcloud a,
.wp-block-tag-cloud .tag-cloud-link,
.wp-block-pullquote blockquote {
  border-color: #149ddd;
}

.art-preloader-load path:last-child,
.art-line-progress path:last-child,
.art-cirkle-progress path:last-child {
  stroke: #149ddd;
}

.e-con.e-parent:nth-of-type(n + 4):not(.e-lazyloaded):not(.e-no-lazyload),
.e-con.e-parent:nth-of-type(n + 4):not(.e-lazyloaded):not(.e-no-lazyload) * {
  background-image: none !important;
}

@media screen and (max-height: 1024px) {

  .e-con.e-parent:nth-of-type(n + 3):not(.e-lazyloaded):not(.e-no-lazyload),
  .e-con.e-parent:nth-of-type(n + 3):not(.e-lazyloaded):not(.e-no-lazyload) * {
    background-image: none !important;
  }
}

@media screen and (max-height: 640px) {

  .e-con.e-parent:nth-of-type(n + 2):not(.e-lazyloaded):not(.e-no-lazyload),
  .e-con.e-parent:nth-of-type(n + 2):not(.e-lazyloaded):not(.e-no-lazyload) * {
    background-image: none !important;
  }
}

/* View Transitions API */
@view-transition {
  navigation: auto;
}

/* Solo animar el contenido principal, dejar menu y sidebar fuera de la transicion */
.art-content {
  view-transition-name: main-content;
}

/* Animar solo el area de contenido con un fade suave */
::view-transition-old(main-content) {
  animation: 0.4s ease-in-out both fade-out;
}

::view-transition-new(main-content) {
  animation: 0.5s ease-in-out both fade-in;
}

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {

  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}

/* ============================================================
   Contact Hub — Direct Contact Center
   ============================================================ */

/* Intro paragraph */
.contact-hub-intro {
  margin-bottom: 2rem;
}

.contact-hub-lead {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #8c8c8e;
  max-width: 680px;
}

/* Cards grid */
.contact-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

/* Individual card */
.contact-hub-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem 1.6rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none !important;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
  position: relative;
  overflow: hidden;
}

.contact-hub-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.contact-hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  text-decoration: none !important;
}

/* Icon wrapper */
.contact-hub-card__icon-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  transition: transform 0.28s ease;
}

.contact-hub-card:hover .contact-hub-card__icon-wrap {
  transform: scale(1.1);
}

/* Text body */
.contact-hub-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.contact-hub-card__platform {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.contact-hub-card__copy {
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  color: #8c8c8e;
  line-height: 1.45;
  white-space: normal;
}

/* Arrow icon */
.contact-hub-card__arrow {
  flex-shrink: 0;
  color: #8c8c8e;
  font-size: 0.9rem;
  transition: transform 0.28s ease, color 0.28s ease;
}

.contact-hub-card:hover .contact-hub-card__arrow {
  transform: translateX(4px);
  color: #ffffff;
}

/* ---- Per-platform accent colors ---- */

/* WhatsApp */
.contact-hub-card--whatsapp .contact-hub-card__icon-wrap {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-hub-card--whatsapp {
  border-color: rgba(37, 211, 102, 0.18);
}

.contact-hub-card--whatsapp:hover {
  border-color: rgba(37, 211, 102, 0.45);
  background: rgba(37, 211, 102, 0.06);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.12);
}

/* Calendly / Schedule */
.contact-hub-card--calendly .contact-hub-card__icon-wrap {
  background: linear-gradient(135deg, #149ddd, #0f7ab0);
}

.contact-hub-card--calendly {
  border-color: rgba(20, 157, 221, 0.18);
}

.contact-hub-card--calendly:hover {
  border-color: rgba(20, 157, 221, 0.45);
  background: rgba(20, 157, 221, 0.06);
  box-shadow: 0 12px 40px rgba(20, 157, 221, 0.14);
}

/* LinkedIn */
.contact-hub-card--linkedin .contact-hub-card__icon-wrap {
  background: linear-gradient(135deg, #0077B5, #004f8b);
}

.contact-hub-card--linkedin {
  border-color: rgba(0, 119, 181, 0.18);
}

.contact-hub-card--linkedin:hover {
  border-color: rgba(0, 119, 181, 0.45);
  background: rgba(0, 119, 181, 0.06);
  box-shadow: 0 12px 40px rgba(0, 119, 181, 0.14);
}

/* GitHub */
.contact-hub-card--github .contact-hub-card__icon-wrap {
  background: linear-gradient(135deg, #6e40c9, #3a1f87);
}

.contact-hub-card--github {
  border-color: rgba(110, 64, 201, 0.18);
}

.contact-hub-card--github:hover {
  border-color: rgba(110, 64, 201, 0.45);
  background: rgba(110, 64, 201, 0.06);
  box-shadow: 0 12px 40px rgba(110, 64, 201, 0.14);
}

/* Email */
.contact-hub-card--email .contact-hub-card__icon-wrap {
  background: linear-gradient(135deg, #f59e0b, #b45309);
}

.contact-hub-card--email {
  border-color: rgba(245, 158, 11, 0.18);
}

.contact-hub-card--email:hover {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.06);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.13);
}

/* Phone */
.contact-hub-card--phone .contact-hub-card__icon-wrap {
  background: linear-gradient(135deg, #06b6d4, #0e7490);
}

.contact-hub-card--phone {
  border-color: rgba(6, 182, 212, 0.18);
}

.contact-hub-card--phone:hover {
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(6, 182, 212, 0.06);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.13);
}

/* ---- Availability footer ---- */
.contact-hub-footer {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-hub-availability {
  font-family: 'Poppins', sans-serif;
  font-size: 0.82rem;
  color: #8c8c8e;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Pulsing green dot */
.contact-hub-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25D366;
  flex-shrink: 0;
  animation: contact-hub-pulse 2.2s ease-in-out infinite;
}

@keyframes contact-hub-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
  }
}

.contact-hub-email {
  color: #149ddd !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.contact-hub-email:hover {
  color: #ffffff !important;
}

/* ---- Responsive — single column on mobile ---- */
@media (max-width: 768px) {
  .contact-hub-grid {
    grid-template-columns: 1fr;
  }

  .contact-hub-card {
    padding: 1.1rem 1.2rem;
  }

  .contact-hub-card__icon-wrap {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .contact-hub-card__copy {
    display: none;
  }
}

/* Arter hides counters until anime.js fades them in; we don't load that script. */
.art-counter-frame {
  opacity: 1;
}

.art-counter-frame .art-counter-box .art-counter,
.art-counter-frame .art-counter-box .art-counter-plus {
  font-weight: 400;
}

.art-title-frame .art-post-subtitle {
  margin: 6px 0 0;
  color: #8c8c8e;
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
}

.page-body figure.image {
  margin: 1.5rem 0 2rem;
}

.page-body figure.image > a {
  cursor: zoom-in;
  display: block;
}

.page-body figure.image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #f4f7fb;
}

.page-body figure.image figcaption {
  margin-top: 0.6rem;
  color: #8c8c8e;
  font-size: 13px;
  font-style: italic;
}

.mfp-svg .mfp-iframe-scaler,
.mfp-svg-scaler {
  padding-top: 0 !important;
  height: 85vh;
  width: min(1040px, 92vw);
  max-width: 92vw;
  overflow: hidden;
  background: #f4f7fb;
  border-radius: 8px;
}

.mfp-svg .mfp-iframe-scaler iframe,
.mfp-svg-scaler iframe {
  background: #f4f7fb;
}

/* Elementor containers lose --display during instant nav; keep flex working. */
.e-con.e-flex {
  display: flex;
}

/* About page (elementor-215) — must live in the global stylesheet so Home → About keeps layout. */
.elementor-215 .elementor-element.elementor-element-91efa96,
.elementor-215 .elementor-element.elementor-element-0a84519,
.elementor-215 .elementor-element.elementor-element-9115f88,
.elementor-215 .elementor-element.elementor-element-63082fc,
.elementor-215 .elementor-element.elementor-element-c38957d {
  --display: flex;
  --background-transition: 0.3s;
}

.elementor-215 .elementor-element.elementor-element-177c3f6 > .elementor-widget-container,
.elementor-215 .elementor-element.elementor-element-14120b6 > .elementor-widget-container,
.elementor-215 .elementor-element.elementor-element-9f2c9c7 > .elementor-widget-container {
  padding: 0 0 0 10px;
}

.elementor-215 .elementor-element.elementor-element-e52f838 {
  --display: flex;
  --flex-direction: row;
  --container-widget-width: initial;
  --container-widget-height: 100%;
  --container-widget-flex-grow: 1;
  --container-widget-align-self: stretch;
  --flex-wrap-mobile: wrap;
  --gap: 0px 0px;
  --background-transition: 0.3s;
}

.elementor-215 .elementor-element.elementor-element-17b44e6 {
  --display: flex;
  --gap: 0px 0px;
  --background-transition: 0.3s;
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-right: 0px;
}

.elementor-215 .elementor-element.elementor-element-ba7ea8b {
  --display: flex;
  --flex-direction: row;
  --container-widget-width: initial;
  --container-widget-height: 100%;
  --container-widget-flex-grow: 1;
  --container-widget-align-self: stretch;
  --flex-wrap-mobile: wrap;
  --background-transition: 0.3s;
}

.elementor-215 .elementor-element.elementor-element-4b63ded {
  padding: 15px 15px 0 6px;
}

@media (min-width: 768px) {
  .elementor-215 .elementor-element.elementor-element-c38957d,
  .elementor-215 .elementor-element.elementor-element-17b44e6 {
    --width: 50%;
  }
}

.elementor-8 .elementor-element.elementor-element-464a6bf9,
.elementor-8 .elementor-element.elementor-element-1890d75 {
  --display: flex;
  --background-transition: 0.3s;
}

/* ============================================================
   Journey — personal timeline gallery
   ============================================================ */

.journey-intro {
  margin-bottom: 2rem;
}

.journey-lead {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #8c8c8e;
  max-width: 720px;
  margin: 0;
}

.journey-timeline {
  position: relative;
  padding-left: 28px;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 24px;
  left: 6px;
  width: 2px;
  background: #191923;
}

.journey-chapter {
  position: relative;
  margin-bottom: 2.75rem;
}

.journey-chapter:last-child {
  margin-bottom: 0;
}

.journey-chapter__mark {
  position: absolute;
  top: 8px;
  left: -28px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #149ddd;
  background: #1e1e28;
  box-shadow: 0 3px 8px 0 rgba(15, 15, 20, 0.2);
}

.journey-chapter__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
}

.journey-chapter__heading {
  min-width: 0;
}

.journey-chapter__title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.journey-chapter__emoji {
  font-size: 1.15rem;
  line-height: 1;
}

.journey-chapter__role {
  margin: 0;
  color: #8c8c8e;
  font-size: 0.85rem;
}

.journey-chapter__period {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 15px;
  background: rgba(20, 157, 221, 0.12);
  color: #149ddd;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.journey-chapter__story {
  color: #8c8c8e;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 720px;
}

.journey-chapter__story p {
  margin: 0 0 0.85rem;
}

.journey-chapter__story p:last-child {
  margin-bottom: 0;
}

.journey-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.15rem;
}

.journey-stack__tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
}

.journey-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.journey-gallery .art-grid-item {
  width: auto;
  margin: 0;
}

.journey-gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #191923;
}

.journey-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.journey-gallery__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.95rem;
  background: rgba(15, 15, 20, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.journey-gallery__item:hover img {
  transform: scale(1.06);
}

.journey-gallery__item:hover .journey-gallery__zoom {
  opacity: 1;
}

.journey-about-cta {
  margin-top: 0.75rem;
}

.about-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 8px;
}

.home-journey__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.home-journey__item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  background: #191923;
}

.home-journey__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-journey__item:hover img {
  transform: scale(1.06);
}

@media (max-width: 992px) {
  .home-journey__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .home-journey__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

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

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

  .journey-chapter__title {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .journey-gallery {
    grid-template-columns: 1fr;
  }

  .journey-timeline {
    padding-left: 22px;
  }
}

/* Home Interests: bento cards */
.home-interests__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.home-interest-card {
  --interest-accent: #149ddd;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
  margin-bottom: 0;
  padding: 1.45rem 1.5rem 1.35rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  box-shadow: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.home-interest-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 58%);
  pointer-events: none;
}

.home-interest-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--interest-accent);
  opacity: 0.85;
}

.home-interest-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.home-interest-card__icon {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #ffffff;
  background: linear-gradient(135deg, #149ddd, #0f7ab0);
  transition: transform 0.28s ease;
}

.home-interest-card:hover .home-interest-card__icon {
  transform: scale(1.08);
}

.home-interest-card .home-interest-card__body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.home-interest-card__kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--interest-accent);
}

.home-interest-card h5 {
  margin: 0 0 0.65rem;
  color: #ffffff;
}

.home-interest-card p {
  margin: 0 0 1rem;
  color: #8c8c8e;
  line-height: 1.65;
}

.home-interest-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.home-interest-card__tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #d8d8dc;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-interest-card__link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.85rem;
  font-size: 0.82rem;
}

.home-interest-card a.art-link {
  color: var(--interest-accent);
}

.home-interest-card--ai {
  --interest-accent: #8b5cf6;
}

.home-interest-card--ai .home-interest-card__icon {
  background: linear-gradient(135deg, #8b5cf6, #5b21b6);
}

.home-interest-card--cloud {
  --interest-accent: #06b6d4;
}

.home-interest-card--cloud .home-interest-card__icon {
  background: linear-gradient(135deg, #06b6d4, #0e7490);
}

.home-interest-card--web {
  --interest-accent: #149ddd;
}

.home-interest-card--web .home-interest-card__icon {
  background: linear-gradient(135deg, #149ddd, #0f7ab0);
}

.home-interest-card--design {
  --interest-accent: #f59e0b;
}

.home-interest-card--design .home-interest-card__icon {
  background: linear-gradient(135deg, #f59e0b, #b45309);
}

.home-interest-card--product {
  --interest-accent: #25d366;
}

.home-interest-card--product .home-interest-card__icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.home-interest-card--ai:hover {
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.16);
}

.home-interest-card--cloud:hover {
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 12px 40px rgba(6, 182, 212, 0.14);
}

.home-interest-card--web:hover {
  border-color: rgba(20, 157, 221, 0.45);
  box-shadow: 0 12px 40px rgba(20, 157, 221, 0.14);
}

.home-interest-card--design:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.13);
}

.home-interest-card--product:hover {
  border-color: rgba(37, 211, 102, 0.45);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.12);
}

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

  .home-interest-card--ai {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.7rem 1.75rem 1.5rem;
  }

  .home-interest-card--ai .home-interest-card__icon {
    width: 56px;
    height: 56px;
    font-size: 1.4rem;
  }
}

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

  .home-interest-card--ai {
    grid-column: span 4;
  }

  .home-interest-card--cloud,
  .home-interest-card--web,
  .home-interest-card--design,
  .home-interest-card--product {
    grid-column: span 2;
  }
}
