/* IDEAMIA – Custom overrides for AROLAX AI Agency theme */

:root {
  --ideamia-green: #00c853;
  --ideamia-green-bright: #39ff14;
  --ideamia-dark: #0a0a0a;
}

/* Video intro splash */
.video-intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.video-intro.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.video-intro__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.video-intro__logo {
  max-width: min(420px, 80vw);
  height: auto;
  animation: ideamiaFadeIn 1.2s ease forwards;
}

.video-intro__skip {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.video-intro__skip:hover {
  border-color: var(--ideamia-green);
  color: var(--ideamia-green);
}

@keyframes ideamiaFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Brand banner */
.brand-banner {
  background: #000;
  padding: 3rem 0;
  text-align: center;
}

.brand-banner__logo {
  max-width: min(600px, 90vw);
  height: auto;
  margin: 0 auto;
  display: block;
}

.brand-banner__tagline {
  margin-top: 1rem;
  color: var(--ideamia-green);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* IDEAMIA accent overrides */
.body-ai-agency .wc-btn-primary,
.body-ai-agency .ai-fill-btn {
  --btn-bg: var(--ideamia-green);
}

.body-ai-agency .section-title .text-underline,
.body-ai-agency a:hover {
  color: var(--ideamia-green);
}

/* Section images – consistent sizing */
.ideamia-section-img {
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
}

.ideamia-section-img img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

/* About split: imagen izquierda + texto derecha (páginas de servicio) */
.ideamia-about-split {
  padding: 70px 0;
  overflow: hidden;
}

.ideamia-about-split .section-content {
  padding: 0 !important;
  position: relative;
  z-index: 1;
}

/* Anula márgenes del template .about-area (diseñados para imagen de fondo) */
.ideamia-about-split .section-content .section-title {
  max-width: none;
}

.ideamia-about-split .section-content .text-wrapper {
  margin-top: 1.25rem !important;
}

.ideamia-about-split .section-content .text {
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.65;
}

.ideamia-about-split .section-content .btn-wrapper {
  margin-top: 1.75rem !important;
}

.ideamia-about-split__img {
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
}

.ideamia-about-split .ideamia-section-img img,
.ideamia-about-split__img img {
  width: 100%;
  height: auto;
  min-height: unset;
  max-height: 380px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.about-area .thumb.ideamia-section-img {
  min-height: unset;
  align-self: auto;
}

.about-area .thumb.ideamia-section-img img {
  min-height: unset;
  max-height: 380px;
  height: auto;
}

@media (max-width: 991px) {
  .ideamia-about-split {
    padding: 50px 0;
  }

  .ideamia-about-split .ideamia-section-img img,
  .ideamia-about-split__img img {
    max-height: 300px;
  }
}

.hero-area .ideamia-section-img img {
  max-height: 360px;
}

.ideamia-hero-bg img {
  max-height: 520px;
  width: 100%;
  object-fit: cover;
}

.ideamia-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ideamia-green);
  color: #000;
  font-size: 0.75rem;
}

/* About section */
.ideamia-about__img img {
  max-height: 480px;
}

/* Stats section */
.ideamia-stats {
  padding: 60px 0;
}

.ideamia-stats__inner {
  padding: 0;
}

.ideamia-stats__img img {
  max-height: 400px;
}

.ideamia-stats__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.ideamia-stats__tags span {
  font-size: 0.8rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 30px;
  color: rgba(255,255,255,0.75);
}

.ideamia-stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.ideamia-stat-card {
  padding: 1.25rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}

.ideamia-stat-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ideamia-green);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.ideamia-stat-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0.8;
}

/* Feature thumb – services image */
.ideamia-feature-thumb .thumb img {
  max-height: 380px;
  width: 100%;
  object-fit: cover;
}

.ideamia-feature-badge img {
  max-width: 72px !important;
  border-radius: 12px;
}

.ideamia-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  background: rgba(0, 200, 83, 0.12);
  color: var(--ideamia-green);
  font-size: 1.25rem;
}

.ideamia-feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ideamia-feature-item .thumb {
  margin-bottom: 0;
}

/* Video section background */
.ideamia-video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}

/* Testimonials – compact elegant slider */
.ideamia-testimonials {
  padding: 70px 0 80px;
}

.ideamia-testimonials__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ideamia-testimonials__label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ideamia-green);
  margin-bottom: 0.75rem;
}

.ideamia-testimonials__header .section-title {
  margin-bottom: 0.5rem;
}

.ideamia-testimonials__subtitle {
  font-size: 1rem;
  opacity: 0.65;
  margin: 0;
}

.ideamia-testimonial-slider {
  padding-bottom: 3rem;
}

.ideamia-testimonial-card {
  height: 100%;
  min-height: 220px;
  max-height: 280px;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.ideamia-testimonial-card:hover {
  border-color: rgba(0, 200, 83, 0.35);
  transform: translateY(-3px);
}

.ideamia-testimonial-card__quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.ideamia-testimonial-card__quote > i {
  font-size: 1.25rem;
  color: var(--ideamia-green);
  opacity: 0.7;
}

.ideamia-testimonial-card__stars {
  color: var(--ideamia-green);
  font-size: 0.75rem;
}

.ideamia-testimonial-card__stars i {
  margin-left: 2px;
}

.ideamia-testimonial-card__text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.9;
}

.ideamia-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: auto;
}

.ideamia-testimonial-card__author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 200, 83, 0.4);
  flex-shrink: 0;
}

.ideamia-testimonial-card__author cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
}

.ideamia-testimonial-card__author span {
  display: block;
  font-size: 0.78rem;
  color: var(--ideamia-green);
  opacity: 0.9;
  line-height: 1.3;
}

.ideamia-testimonial-slider__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.ideamia-testimonial-slider__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ideamia-testimonial-slider__btn:hover {
  border-color: var(--ideamia-green);
  color: var(--ideamia-green);
}

.ideamia-testimonial-slider__pagination {
  position: static !important;
  width: auto !important;
}

.ideamia-testimonial-slider__pagination .swiper-pagination-bullet {
  background: rgba(255,255,255,0.3);
  opacity: 1;
}

.ideamia-testimonial-slider__pagination .swiper-pagination-bullet-active {
  background: var(--ideamia-green);
}

/* Contact form */
.contact-form-ideamia .form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: inherit;
  padding: 0.875rem 1.25rem;
  border-radius: 8px;
}

.contact-form-ideamia .form-control:focus {
  border-color: var(--ideamia-green);
  box-shadow: 0 0 0 2px rgba(0,200,83,0.15);
  outline: none;
}

/* Header / footer logos */
.header-area .header__logo img {
  max-height: 48px;
  width: auto;
}

.footer-area .footer-logo img {
  max-height: 60px;
  width: auto;
}

.customer-wrapper .thumb img {
  max-width: 80px;
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 991px) {
  .ideamia-stats__grid {
    grid-template-columns: 1fr;
  }

  .ideamia-testimonial-card {
    max-height: 300px;
  }
}

/* Services page – tech slider */
.ideamia-tech-area__label {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ideamia-green);
  margin-bottom: 1.5rem;
}

.ideamia-tech-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  min-width: 120px;
}

.ideamia-tech-slide i {
  font-size: 2rem;
}

.ideamia-tech-slide span {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.ideamia-tech-slider .swiper-slide {
  width: auto;
}

/* Services page – process steps */
.ideamia-process-area .ideamia-process-title {
  font-size: 1.5rem !important;
  line-height: 1.3;
}

.ideamia-process-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.ideamia-process-grid .pricing-box {
  height: 100%;
}

.ideamia-process-grid .feature-list .text {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.85;
}

/* Services page – highlights grid */
.ideamia-dev-highlights .client-area-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ideamia-dev-highlights .client-area-text {
  position: static;
  width: 100%;
  text-align: center;
}

.ideamia-dev-highlights .client-area-text .text {
  position: static !important;
  inset-inline-start: unset !important;
  top: unset !important;
  max-width: none;
  width: 100%;
  text-align: center;
  margin: 0 auto 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

.ideamia-dev-highlights .clients-wrapper-box {
  width: 100%;
}

.ideamia-highlights-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.ideamia-highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s ease;
}

.ideamia-highlight-item:hover {
  border-color: rgba(0, 200, 83, 0.35);
}

.ideamia-highlight-item i {
  font-size: 1.5rem;
  color: var(--ideamia-green);
}

.ideamia-highlight-item span {
  font-size: 0.85rem;
  line-height: 1.4;
}

.ideamia-highlight-item strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.body-corporate-agency .wc-btn-primary {
  --btn-bg: var(--ideamia-green);
}

/* Courses catalog */
.ideamia-courses-catalog {
  padding: 70px 0;
}

.ideamia-courses-catalog__header {
  text-align: center;
  margin-bottom: 2rem;
}

.ideamia-courses-catalog__header .text {
  opacity: 0.7;
  margin-top: 0.5rem;
}

.ideamia-course-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.ideamia-course-filter {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: inherit;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ideamia-course-filter:hover,
.ideamia-course-filter.active {
  border-color: var(--ideamia-green);
  color: var(--ideamia-green);
}

.ideamia-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.ideamia-course-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  height: 100%;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.ideamia-course-card:hover {
  border-color: rgba(0, 200, 83, 0.35);
  transform: translateY(-4px);
}

.ideamia-course-card__img {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.ideamia-course-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ideamia-course-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  background: rgba(0,0,0,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ideamia-course-card__badge--open { background: rgba(0, 200, 83, 0.85); color: #000; }
.ideamia-course-card__badge--full { background: rgba(244, 67, 54, 0.85); }

.ideamia-course-card__body {
  padding: 1.25rem;
  flex: 1;
}

.ideamia-course-card__category {
  font-size: 0.75rem;
  color: var(--ideamia-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ideamia-course-card__title {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  line-height: 1.3;
}

.ideamia-course-card__desc {
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ideamia-course-card__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.8rem;
}

.ideamia-course-card__meta li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  opacity: 0.8;
}

.ideamia-course-card__meta i {
  width: 16px;
  color: var(--ideamia-green);
  font-size: 0.75rem;
}

.ideamia-spots--ok { color: var(--ideamia-green); }
.ideamia-spots--full { color: #f44336; }

.ideamia-course-card__footer {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.ideamia-courses-empty {
  grid-column: 1 / -1;
  text-align: center;
  opacity: 0.7;
}

/* Quote form */
.ideamia-quote-section {
  padding: 40px 0 70px;
}

.ideamia-quote-form {
  max-width: 700px;
  margin: 0 auto;
}

.ideamia-quote-form .quote-step {
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}

.ideamia-quote-form .quote-step h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.ideamia-quote-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.ideamia-quote-form .form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: inherit;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  width: 100%;
}

.ideamia-quote-form .form-control:focus {
  border-color: var(--ideamia-green);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,200,83,0.15);
}

.ideamia-quote-form .form-control.is-invalid {
  border-color: #f44336;
}

.ideamia-quote-form select.form-control option {
  background: #1a1a1a;
  color: #fff;
}

.ideamia-quote-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ideamia-alert {
  max-width: 700px;
  margin: 0 auto 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  text-align: center;
}

.ideamia-alert--error {
  background: rgba(244, 67, 54, 0.15);
  border: 1px solid rgba(244, 67, 54, 0.4);
  color: #ff8a80;
}

.ideamia-quote-modal {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
}

/* About page */
.ideamia-about-counter .counter-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ideamia-about-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 200, 83, 0.12);
  color: var(--ideamia-green);
  font-size: 1.25rem;
}

.ideamia-about-icon i {
  font-size: 1.25rem;
}

.ideamia-values-section {
  padding: 60px 0;
}

.ideamia-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ideamia-value-card {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  text-align: center;
  transition: border-color 0.3s ease;
}

.ideamia-value-card:hover {
  border-color: rgba(0, 200, 83, 0.35);
}

.ideamia-value-card i {
  font-size: 2rem;
  color: var(--ideamia-green);
  margin-bottom: 1rem;
}

.ideamia-value-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.ideamia-value-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
}

.ideamia-team-section {
  padding: 60px 0 80px;
}

.ideamia-team-section .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.ideamia-team-section .text {
  opacity: 0.7;
}

/* Contact page */
.ideamia-contact-hero__visual {
  display: grid;
  gap: 1.5rem;
}

.ideamia-contact-direct {
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}

.ideamia-contact-direct .title {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ideamia-green);
  margin-bottom: 0.5rem;
}

.ideamia-contact-direct .link {
  margin: 0.25rem 0;
}

.ideamia-contact-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.ideamia-contact-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.ideamia-contact-social a:hover {
  border-color: var(--ideamia-green);
  color: var(--ideamia-green);
}

.ideamia-contact-form-arolax .contact-formfield input,
.ideamia-contact-form-arolax .contact-formfield textarea,
.ideamia-contact-form-arolax .ideamia-select {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: inherit;
  padding: 0.875rem 1.25rem;
  border-radius: 8px;
}

.ideamia-contact-form-arolax .contact-formfield input:focus,
.ideamia-contact-form-arolax .contact-formfield textarea:focus,
.ideamia-contact-form-arolax .ideamia-select:focus {
  border-color: var(--ideamia-green);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,200,83,0.15);
}

.ideamia-contact-form-arolax .ideamia-select option {
  background: #1a1a1a;
  color: #fff;
}

.ideamia-alert--success {
  background: rgba(0, 200, 83, 0.15);
  border: 1px solid rgba(0, 200, 83, 0.4);
  color: var(--ideamia-green);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

@media (max-width: 767px) {
  .ideamia-about-counter .counter-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Blog */
.ideamia-blog-hero {
  padding: 60px 0 30px;
  text-align: center;
}

.ideamia-blog-hero .section-title {
  margin-bottom: 0.5rem;
}

.ideamia-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 40px 0 80px;
}

.ideamia-blog-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.ideamia-blog-card:hover {
  border-color: rgba(0, 200, 83, 0.35);
  transform: translateY(-4px);
}

.ideamia-blog-card__img {
  height: 200px;
  overflow: hidden;
}

.ideamia-blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ideamia-blog-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ideamia-blog-card__title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.ideamia-blog-card__excerpt {
  font-size: 0.9rem;
  opacity: 0.75;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.ideamia-blog-card__date {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-bottom: 1rem;
}

.ideamia-blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  opacity: 0.7;
}

.ideamia-blog-post {
  padding: 40px 0 80px;
  max-width: 800px;
  margin: 0 auto;
}

.ideamia-blog-post__img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.ideamia-blog-post__img img {
  width: 100%;
  height: auto;
}

.ideamia-blog-post__meta {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 1.5rem;
}

.ideamia-blog-post__content {
  line-height: 1.8;
  font-size: 1rem;
}

.ideamia-blog-post__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Auth & profile panels */
.ideamia-panel-section {
  padding: 60px 0 80px;
}

.ideamia-auth-box,
.ideamia-profile-box {
  max-width: 480px;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}

.ideamia-profile-box {
  max-width: 600px;
}

.ideamia-auth-box h1,
.ideamia-profile-box h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.ideamia-form-field {
  margin-bottom: 1.25rem;
}

.ideamia-form-field label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.ideamia-form-field input,
.ideamia-form-field select,
.ideamia-form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: inherit;
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

.ideamia-form-field input:focus,
.ideamia-form-field select:focus,
.ideamia-form-field textarea:focus {
  border-color: var(--ideamia-green);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0,200,83,0.15);
}

.ideamia-form-field input[readonly] {
  opacity: 0.6;
}

.ideamia-form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ideamia-form-link {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.ideamia-form-link a {
  color: var(--ideamia-green);
}

.ideamia-panel-box {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
}

.ideamia-panel-box h1,
.ideamia-panel-box h2 {
  margin-bottom: 1.5rem;
}

.ideamia-enroll-details {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.ideamia-enroll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.ideamia-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ideamia-green);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

.ideamia-material-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s ease;
}

.ideamia-material-item:hover {
  border-color: rgba(0, 200, 83, 0.35);
}

.ideamia-material-item a {
  color: inherit;
  text-decoration: none;
}

.ideamia-material-item i {
  color: var(--ideamia-green);
}

@media (max-width: 767px) {
  .video-intro__skip {
    bottom: 1rem;
    right: 1rem;
  }

  .brand-banner {
    padding: 2rem 0;
  }

  .ideamia-testimonials {
    padding: 50px 0 60px;
  }

  .ideamia-testimonial-card {
    min-height: 200px;
    max-height: 260px;
  }

  .ideamia-testimonial-card__text {
    -webkit-line-clamp: 4;
  }

  .ideamia-process-grid {
    grid-template-columns: 1fr;
  }
}
