/* ================================================
   EF DESIGN — CSS
   ================================================ */
:root {
  --design-primary: #2d6a9f;
  --design-light: #4ecdc4;
  --design-dark: #0d1f2e;
  --design-hover: #4ecdc4;
  --design-hover-text: #0d1f2e;
}

/* ================================================
   EF DESIGN PAGE — CLEAN CONSOLIDATED VERSION
=================================================== */

.ef-design-page {
  background: var(--bg-body, #070708);
  min-height: 100vh;
  padding: 4rem 0 6rem;
}

/* ================================================
   GLOBAL DESIGN PAGE TEXT
=================================================== */

.ef-divider {
  width: 34px;
  height: 2px;
  border: 0;
  border-radius: 2px;
  margin: 3rem 0 2rem;
  background: linear-gradient(90deg, #4f95d6, #8fc1ef);
}

.ef-section-intro {
  margin-bottom: 1.4rem;
}

.ef-section-label {
  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.7rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #4f95d6;
  margin-bottom: 1.1rem;
}

.ef-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.4rem;
}

.ef-section-title {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  font-weight: 400;
  letter-spacing: 1px;
  color: #edf6ff;
}

.ef-section-copy {
  max-width: 760px;
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #b8cfe0;
}

/* ================================================
   HERO
=================================================== */

.ef-design-hero {
  position: relative;
  padding: 1.25rem 0 2.5rem;
  margin-bottom: 0.5rem;
}

.ef-hero-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
}

.ef-hero-logo {
  width: 34px;
  height: auto;
  opacity: 0.9;
  filter: brightness(1.05) contrast(1.05);
}

.ef-hero-division {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 1rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(143, 193, 239, 0.78);
}

.ef-hero-title-wrap {
  margin-bottom: 1.4rem;
}

.ef-page-title-main {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(4.6rem, 11vw, 8rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: 8px;
  color: #8fc1ef;
  text-transform: uppercase;
}

.ef-page-title-support {
  margin: 1rem 0 0;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(2.2rem, 5.6vw, 4.8rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 2px;
  color: #8fc1ef;
}

.ef-page-title-support span {
  color: #5fd0d6;
}

.ef-hero-tagline {
  margin: 1rem 0 0;
  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.72rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(143, 193, 239, 0.58);
  position: relative;
}

.ef-hero-tagline::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 1px;
  background: rgba(95, 208, 214, 0.5);
  margin-right: 12px;
  vertical-align: middle;
}

.ef-hero-lead {
  max-width: 760px;
  margin: 1.5rem 0 0;
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.9;
  color: #d6e7f6;
}

.ef-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}

.ef-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.ef-hero-btn-primary {
  background: linear-gradient(135deg, #163a5c 0%, #1d4f7f 50%, #245f99 100%);
  color: #dfefff !important;
  border: 1px solid rgba(143, 193, 239, 0.20);
  box-shadow:
    0 10px 26px rgba(20, 53, 84, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ef-hero-btn-primary:hover {
  background: linear-gradient(135deg, #67d9de 0%, #39c1cf 52%, #229fb1 100%);
  color: #061923 !important;
  transform: translateY(-2px);
  box-shadow:
    0 12px 34px rgba(47, 182, 196, 0.34),
    0 0 18px rgba(95, 208, 214, 0.18);
}

.ef-hero-btn-secondary {
  background: transparent;
  color: #8fc1ef;
  border: 1px solid rgba(121, 183, 232, 0.34);
}

.ef-hero-btn-secondary:hover {
  background: rgba(79, 149, 214, 0.10);
  color: #dff3ff;
  border-color: rgba(143, 193, 239, 0.55);
  transform: translateY(-2px);
}

.ef-hero-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2rem;
}

.ef-hero-stat {
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(121, 183, 232, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(121, 183, 232, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(8, 18, 32, 0.85);
}

.ef-hero-stat-number {
  display: block;
  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #5fd0d6;
  margin-bottom: 0.4rem;
}

.ef-hero-stat-label {
  display: block;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #d7e8f7;
}

/* ================================================
   HERO IMAGE
=================================================== */

.ef-hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ef-hero-image-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(121, 183, 232, 0.18);
  background: #0a1a2e;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(79, 149, 214, 0.08);
}

.ef-hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(95, 208, 214, 0.25),
    transparent 40%,
    rgba(143, 193, 239, 0.18)
  );
  opacity: 0.5;
  pointer-events: none;
}

.ef-hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 24, 44, 0.2) 0%,
    rgba(7, 24, 44, 0.55) 100%
  );
  pointer-events: none;
}

.ef-hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.95) saturate(1.05);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.ef-hero-image-wrap:hover .ef-hero-image {
  transform: scale(1.03);
  filter: contrast(1.1) brightness(1) saturate(1.1);
}

.ef-hero-floating {
  position: absolute;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(121, 183, 232, 0.22);
  background:
    linear-gradient(135deg, rgba(95, 208, 214, 0.12), rgba(255,255,255,0.02)),
    rgba(7, 18, 32, 0.85);
  backdrop-filter: blur(14px);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.25),
    0 0 14px rgba(95, 208, 214, 0.08);
  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #dff3ff;
}

.ef-hero-floating-one {
  top: 10%;
  right: -6%;
}

.ef-hero-floating-two {
  bottom: 12%;
  left: 6%;
}

.ef-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;

  background: linear-gradient(
    120deg,
    #bcdcff,
    #8fc1ef,
    #5fa6e0
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  opacity: 0.9;
}

/* ── DESIGN HERO WATERMARK (EF LOGO) ── */
.ef-design-hero {
  position: relative;
  overflow: hidden;
}

/* ── DESIGN WATERMARK — PREMIUM SYSTEM ── */
.ef-design__logo-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 760px;
  height: 760px;

  pointer-events: none;
  z-index: 1;
}

/* LOGO BASE */
.ef-design__logo-watermark::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("../images/works/design/efD_logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  opacity: 0.05;
  filter: brightness(1.5) contrast(0.8);
}

/* ✨ BLUE LIGHT SWEEP */
.ef-design__logo-watermark::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    115deg,
    transparent 38%,
    rgba(95, 208, 214, 0.8) 48%,
    rgba(0, 188, 212, 1) 50%,
    rgba(95, 208, 214, 0.8) 52%,
    transparent 62%
  );

  background-size: 250% 250%;
  background-position: -180% center;

  /* CLIP A LA FORMA DEL LOGO */
  -webkit-mask-image: url("../images/works/design/efD_logo.png");
  mask-image: url("../images/works/design/efD_logo.png");

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;

  -webkit-mask-position: center;
  mask-position: center;

  -webkit-mask-size: contain;
  mask-size: contain;

  mix-blend-mode: screen;

  opacity: 0.45;
  filter: blur(1px);

  animation: design-light-sweep 8s ease-in-out infinite;
}

/* ANIMACIÓN */
@keyframes design-light-sweep {
  0%, 55% {
    background-position: -150% center;
    opacity: 0;
  }

  65% {
    opacity: 0.5;
  }

  75% {
    background-position: 50% center;
    opacity: 0.8;
  }

  85% {
    opacity: 0.4;
  }

  100% {
    background-position: 150% center;
    opacity: 0;
  }
}

.ef-design-hero .row,
.ef-design-hero .col-12,
.ef-design-hero .ef-hero-visual {
  position: relative;
  z-index: 2;
}

/* ================================================
   FULL-WIDTH DESIGN REEL
=================================================== */

.ef-design-reel {
  margin: 1rem 0 3.5rem;
}

.ef-design-reel-media {
  position: relative;
  overflow: hidden;
  border-radius: 24px;

  /* ❌ quitamos el borde */
  border: none;

  background: #08111c;

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 60px rgba(79, 149, 214, 0.12); /* más elegante y suave */

  min-height: 420px;
}

.ef-design-reel-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  /* más suave */
  box-shadow: inset 0 0 40px rgba(0, 150, 255, 0.05);

  pointer-events: none;
  z-index: 1;
}

.ef-design-reel-media:hover {
  box-shadow:
    0 40px 120px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(95, 208, 214, 0.18);
}

.ef-design-reel-image,
.ef-design-reel-video {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) brightness(0.88) saturate(1.05);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.ef-design-reel-media:hover .ef-design-reel-image,
.ef-design-reel-media:hover .ef-design-reel-video {
  transform: scale(1.03);
  filter: contrast(1.08) brightness(0.94) saturate(1.08);
}

.ef-design-reel-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 11, 18, 0.12) 0%, rgba(5, 11, 18, 0.58) 100%),
    linear-gradient(90deg, rgba(8, 28, 46, 0.52) 0%, rgba(8, 28, 46, 0.12) 52%, rgba(8, 28, 46, 0.42) 100%);
  pointer-events: none;
}

/* REEL overlay — texto centrado dentro del full-width */
.ef-design-reel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
  background: linear-gradient(to top, rgba(6,8,16,0.85) 0%, transparent 100%);
}

.ef-design-reel-overlay-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.ef-design-reel-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #5fd0d6;
}

.ef-design-reel-title {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 1px;
  color: #f1f8ff;
}

.ef-hero-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ef-hero-btn-primary:hover,
.ef-hero-btn-primary:hover:link,
.ef-hero-btn-primary:hover:visited {
  color: #04141c !important;
}

.ef-hero-btn-secondary,
.ef-hero-btn-secondary:link,
.ef-hero-btn-secondary:visited {
  color: #8fc1ef !important;
}

.ef-hero-btn-primary {
  background: linear-gradient(135deg, #163a5c 0%, #1d4f7f 50%, #245f99 100%);
  color: #dfefff !important;
  border: 1px solid rgba(143, 193, 239, 0.20);
  box-shadow:
    0 10px 26px rgba(20, 53, 84, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ef-hero-btn-primary:hover {
  background: linear-gradient(135deg, #67d9de 0%, #39c1cf 52%, #229fb1 100%);
  color: #061923 !important;
}

/* ================================================
   SERVICES SHOWCASE — PREMIUM
=================================================== */

.ef-services-showcase {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.ef-service-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
  padding: 26px;
  border-radius: 18px;
  border: 1px solid rgba(121, 183, 232, 0.06);
  background:
    linear-gradient(135deg, rgba(18, 30, 46, 0.7), rgba(8, 16, 26, 0.9)),
    #0b1622;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.28),
    0 0 40px rgba(79, 149, 214, 0.04);
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

/* glow debajo del contenido */
.ef-service-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(
    circle at 22% 50%,
    rgba(95, 208, 214, 0.38),
    transparent 65%
  );
  pointer-events: none;
}

.ef-service-feature-reverse::before {
  background: radial-gradient(
    circle at 78% 50%,
    rgba(95, 208, 214, 0.38),
    transparent 65%
  );
}

/* borde glow sutil */
.ef-service-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: radial-gradient(
    circle at 70% 40%,
    rgba(95, 208, 214, 0.18),
    transparent 60%
  );

  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ef-service-feature img {
  position: relative;
  z-index: 2;
}

.ef-service-feature:hover {
  transform: translateY(-6px) scale(1.01);

  background: linear-gradient(
    135deg,
    #0a1118,
    #0c1420
  );

  border: transparent;

  box-shadow:
    0 18px 48px rgba(6, 12, 18, 0.8),
    0 0 24px rgba(95, 208, 214, 0.12);
}

.ef-service-feature:hover::after {
  opacity: 1;
}

.ef-service-feature:hover::before,
.ef-service-feature:hover::after {
  opacity: 1;
}

.ef-service-feature-reverse {
  grid-template-columns: 0.92fr 1.08fr;
}

.ef-service-feature-reverse .ef-service-feature-media {
  order: 2;
}

.ef-service-feature-reverse .ef-service-feature-content {
  order: 1;
}

.ef-service-feature-media {
  position: relative;
  z-index: 3;
}

.ef-service-feature-content {
  position: relative;
  z-index: 3;
  max-width: 520px;
}

.ef-service-feature-media img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
  border: 1px solid rgba(121, 183, 232, 0.14);
  transition: transform 0.45s ease, filter 0.45s ease;
  filter: contrast(1.02) saturate(1.03);
  position: relative;
  z-index: 3;
}

.ef-service-feature:hover .ef-service-feature-media img {
  transform: scale(1.05);
  filter: contrast(1.1) saturate(1.16) brightness(1.03);
}

.ef-service-feature-kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #5fd0d6;
  transition: color 0.35s ease;
}

.ef-service-feature-title {
  margin: 0 0 0.9rem;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 400;
  letter-spacing: 1px;

  background: linear-gradient(
    135deg,
    #8fbdef 0%,
    #5f9ed6 35%,
    #3c7bb5 65%,
    #1d4f7f 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  color: #8fbdef;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.ef-service-feature-desc {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.85;
  color: #c7dced;
  transition: color 0.35s ease;
}

.ef-service-feature:hover .ef-service-feature-title {
  filter: brightness(1.22) saturate(1.15);
  transform: translateX(2px);
}

.ef-service-feature:hover .ef-service-feature-desc {
  color: #f2fbff;
}

.ef-service-feature:hover .ef-service-feature-kicker {
  color: #8ff7ff;
}

.ef-service-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1.35rem;
}

.ef-service-feature-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(121, 183, 232, 0.18);
  background: rgba(10, 22, 36, 0.72);
  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.66rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d8eaf9;
  transition: all 0.3s ease;
}

.ef-service-feature:hover .ef-service-feature-tags span {
  border-color: rgba(95, 208, 214, 0.55);
  color: #f4feff;
  background: rgba(13, 28, 44, 0.96);
}

.ef-service-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;

  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;

  /* 🔥 MISMO ESTILO QUE HERO (sin hover) */
  background: linear-gradient(135deg, #163a5c 0%, #1d4f7f 50%, #245f99 100%);
  color: #dfefff !important;

  border: 1px solid rgba(143, 193, 239, 0.20);

  box-shadow:
    0 10px 26px rgba(20, 53, 84, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  transition: all 0.25s ease;
}

.ef-service-feature-link:hover {
  background: linear-gradient(135deg, #67d9de 0%, #39c1cf 52%, #229fb1 100%);
  color: #061923 !important;
  border-color: transparent;
  box-shadow:
    0 12px 32px rgba(47, 182, 196, 0.32),
    0 0 14px rgba(95, 208, 214, 0.14);
  text-shadow: none;
  transform: translateY(-2px);
}

/* ================================================
   PORTFOLIO SECTION — IRREGULAR GRID
=================================================== */

.ef-portfolio-section {
  margin-top: 100px;
}

.ef-portfolio-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 22px;
  align-items: stretch;
}

.ef-portfolio-card:nth-child(5) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}

.ef-portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  background: #0b1622;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.ef-portfolio-card-featured {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.ef-portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.ef-portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82),
    rgba(0, 0, 0, 0.22),
    transparent
  );
  opacity: 0.92;
  transition: opacity 0.35s ease;
}

.ef-portfolio-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #7ce7ee;
}

.ef-portfolio-overlay h4 {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.ef-portfolio-card-featured .ef-portfolio-overlay h4 {
  font-size: 2rem;
}

.ef-portfolio-overlay p {
  margin: 0;
  color: #d5edf7;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 440px;
}

.ef-portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(95, 208, 214, 0.22);
}

.ef-portfolio-card:hover img {
  transform: scale(1.06);
  filter: contrast(1.08) saturate(1.15);
}

.ef-portfolio-card:hover .ef-portfolio-overlay {
  opacity: 1;
}

@media (max-width: 991.98px) {
  .ef-portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 320px 240px 240px;
  }

  .ef-portfolio-card-featured {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
}

@media (max-width: 600px) {
  .ef-portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .ef-portfolio-card,
  .ef-portfolio-card-featured {
    grid-column: auto;
    grid-row: auto;
    height: 280px;
  }

  .ef-portfolio-card-featured .ef-portfolio-overlay h4 {
    font-size: 1.6rem;
  }
}

.ef-services-showcase .ef-service-feature:nth-child(5) .ef-service-feature-title {
  max-width: 420px;
}

/* CARD BASE */
.ef-portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

/* IMAGEN */
.ef-portfolio-card img {
  transition: transform 0.6s ease, filter 0.6s ease;
}

/* OVERLAY */
.ef-portfolio-overlay {
  transition: background 0.45s ease, backdrop-filter 0.45s ease;
}

/* 🔥 HOVER */
.ef-portfolio-card:hover {
  transform: translateY(-10px) scale(1.02);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(95, 208, 214, 0.18); /* glow turquesa */
}

/* ZOOM IMAGEN */
.ef-portfolio-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.1) saturate(1.1);
}

/* OVERLAY MÁS INTENSO */
.ef-portfolio-card:hover .ef-portfolio-overlay {
  background: linear-gradient(
    to top,
    rgba(3, 18, 30, 0.85),
    rgba(3, 18, 30, 0.55),
    rgba(3, 18, 30, 0.15)
  );

  backdrop-filter: blur(6px);
}

/* DATA CARD ESPECIAL */
.ef-portfolio-card:nth-child(5):hover {
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(80, 200, 255, 0.35); /* azul eléctrico */
}

/* PORTFOLIO TITLES — MATCH SERVICES */
.ef-portfolio-overlay h4 {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-weight: 400;
  letter-spacing: 1px;

  background: linear-gradient(
    135deg,
    #a9cfff 0%,
    #6fa8dc 50%,
    #3e7db8 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  transition: all 0.4s ease;
}

.ef-portfolio-card:hover .ef-portfolio-overlay h4 {
  background: linear-gradient(
    135deg,
    #c6e6ff 0%,
    #7fd8e2 50%,
    #4bbbd1 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================================================
   CREDENTIALS — PREMIUM SYSTEM
=================================================== */

.ef-credentials {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  padding: 2.4rem;
  border-radius: 18px;
  border: 1px solid rgba(121, 183, 232, 0.08);

  background:
    radial-gradient(circle at 18% 45%, rgba(95, 208, 214, 0.08), transparent 46%),
    linear-gradient(135deg, rgba(18, 30, 46, 0.82), rgba(8, 16, 26, 0.95)),
    #0b1622;

  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.38),
    0 0 40px rgba(79, 149, 214, 0.04);
}

.ef-credentials-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ef-credential-kicker {
  margin-bottom: 0.8rem;
  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #5fd0d6;
}

.ef-credentials h3 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 1px;

  background: linear-gradient(
    135deg,
    #a9cfff 0%,
    #6fa8dc 50%,
    #3e7db8 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ef-credential-desc {
  max-width: 720px;
  margin: 0 0 1.45rem;
  color: #c7dced;
  font-size: 1rem;
  line-height: 1.8;
}

.ef-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ef-skill-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;

  border: 1px solid rgba(121, 183, 232, 0.18);
  background: rgba(10, 22, 36, 0.72);

  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.66rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d8eaf9;

  transition: all 0.3s ease;
}

.ef-skill-pill:hover {
  border-color: rgba(95, 208, 214, 0.45);
  color: #061923;
  background: linear-gradient(135deg, #67d9de, #229fb1);
  box-shadow:
    0 10px 28px rgba(47, 182, 196, 0.25),
    0 0 18px rgba(95, 208, 214, 0.14);
  transform: translateY(-2px);
}

.ef-credentials-side {
  display: grid;
  gap: 14px;
}

.ef-credential-mini-card {
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: rgba(7,24,44,.48);
  border: 1px solid rgba(0,188,212,.1);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.ef-credential-mini-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27,58,92,.0);
  transition: background .3s ease;
  border-radius: inherit;
  pointer-events: none;
}
.ef-credential-mini-card:hover::before {
  background: rgba(27,58,92,.45);
}
.ef-credential-mini-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,188,212,.3);
  box-shadow: 0 16px 42px rgba(0,0,0,.3);
}

.ef-credential-mini-card span {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: #5fd0d6;
}

.ef-credential-mini-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #e9f4ff;
  font-size: 1rem;
}

.ef-credential-mini-card p {
  margin: 0;
  color: #b8ccdc;
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .ef-credentials {
    grid-template-columns: 1fr;
    padding: 1.6rem;
  }
}

/* ================================================
   CONTACT FORM — PREMIUM
=================================================== */

.ef-contact-form {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(121, 183, 232, 0.06);

  background:
    radial-gradient(circle at 18% 18%, rgba(95, 208, 214, 0.08), transparent 42%),
    linear-gradient(135deg, rgba(18, 30, 46, 0.82), rgba(8, 16, 26, 0.95)),
    #0b1622;

  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.38),
    0 0 40px rgba(79, 149, 214, 0.04);
}

.ef-form-group {
  margin-bottom: 1.35rem;
}

.ef-form-group label {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8fc1ef;
}

.ef-required {
  color: #5fd0d6;
}

.ef-form-group input,
.ef-form-group select,
.ef-form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 16px;
  border-radius: 10px;

  background: rgba(6, 14, 22, 0.82);
  border: 1px solid rgba(121, 183, 232, 0.12);

  color: #eaf4fd;
  font-family: var(--font-body, "DM Sans", sans-serif);
  font-size: 0.95rem;

  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.ef-form-group input:hover,
.ef-form-group select:hover,
.ef-form-group textarea:hover {
  border-color: rgba(121, 183, 232, 0.28);
  background: rgba(8, 18, 30, 0.95);
}

.ef-form-group input:focus,
.ef-form-group select:focus,
.ef-form-group textarea:focus {
  border-color: rgba(95, 208, 214, 0.55);
  background: rgba(9, 22, 36, 0.98);
  box-shadow:
    0 0 0 3px rgba(95, 208, 214, 0.08),
    0 0 22px rgba(95, 208, 214, 0.10);
}

.ef-form-group input::placeholder,
.ef-form-group textarea::placeholder {
  color: #607b95;
}

.ef-form-group select option {
  background: #0f1722;
  color: #dcecff;
}

.ef-form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.ef-form-message {
  margin-bottom: 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
}

.ef-form-message.error {
  color: #ffdada;
  background: rgba(224, 112, 112, 0.10);
  border: 1px solid rgba(224, 112, 112, 0.22);
}

.ef-form-message.success {
  color: #d8ffe0;
  background: rgba(122, 191, 122, 0.10);
  border: 1px solid rgba(122, 191, 122, 0.22);
}

.ef-submit-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 14px 2.5rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;

  font-family: var(--font-mono, "Courier Prime", monospace);
  font-size: 0.78rem;
  letter-spacing: 3px;
  text-transform: uppercase;

  color: #dfefff;
  background: linear-gradient(135deg, #163a5c 0%, #1d4f7f 50%, #245f99 100%);

  box-shadow:
    0 10px 26px rgba(20, 53, 84, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.ef-submit-btn:hover {
  background: linear-gradient(135deg, #67d9de 0%, #39c1cf 52%, #229fb1 100%);
  color: #061923;
  transform: translateY(-2px);
  box-shadow:
    0 12px 34px rgba(47, 182, 196, 0.34),
    0 0 18px rgba(95, 208, 214, 0.18);
}

@media (max-width: 767.98px) {
  .ef-contact-form {
    padding: 2rem 1.25rem;
  }
}

/* ================================================
   RESPONSIVE
=================================================== */

@media (max-width: 991.98px) {
  .ef-page-title-main {
    font-size: clamp(3.4rem, 11vw, 5.8rem);
    letter-spacing: 4px;
  }

  .ef-page-title-support {
    font-size: clamp(1.9rem, 7vw, 3.6rem);
  }

  .ef-hero-visual {
    min-height: 420px;
  }

  .ef-hero-floating-one {
    right: 2%;
  }

  .ef-service-feature,
  .ef-service-feature-reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ef-service-feature-reverse .ef-service-feature-media,
  .ef-service-feature-reverse .ef-service-feature-content {
    order: initial;
  }

  .ef-service-feature-content {
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .ef-design-page {
    padding: 2.5rem 0 4rem;
  }

  .ef-hero-lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .ef-page-title-main {
    font-size: clamp(2.9rem, 14vw, 4.8rem);
    letter-spacing: 3px;
  }

  .ef-page-title-support {
    font-size: clamp(1.7rem, 8vw, 2.8rem);
    line-height: 1.08;
  }

  .ef-hero-tagline {
    font-size: 0.66rem;
    letter-spacing: 4px;
  }

  .ef-hero-tagline::before {
    width: 22px;
    margin-right: 8px;
  }

  .ef-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ef-hero-btn {
    width: 100%;
  }

  .ef-hero-mini-stats {
    flex-direction: column;
  }

  .ef-hero-visual {
    min-height: 320px;
  }

  .ef-hero-floating {
    display: none;
  }

  .ef-design-reel {
    margin: 0.5rem 0 2.5rem;
  }

  .ef-design-reel-media {
    min-height: 280px;
    border-radius: 18px;
  }

  .ef-design-reel-image,
  .ef-design-reel-video {
    height: 280px;
  }

  .ef-design-reel-overlay {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }

  .ef-design-reel-title {
    font-size: 1.7rem;
    line-height: 1.08;
  }

  .ef-service-feature {
    padding: 18px;
    border-radius: 14px;
  }

  .ef-service-feature-media img {
    min-height: 240px;
    border-radius: 12px;
  }

  .ef-service-feature-title {
    font-size: 1.8rem;
  }

  .ef-service-feature-desc {
    font-size: 0.96rem;
    line-height: 1.75;
  }

  .ef-service-feature-tags {
    gap: 8px;
  }

  .ef-service-feature-tags span {
    font-size: 0.62rem;
    letter-spacing: 1.5px;
  }

  .ef-contact-form,
  .ef-credentials {
    padding: 2rem 1.25rem;
  }

  .ef-section-title {
    font-size: 1.5rem;
  }

  .ef-section-copy {
    font-size: 0.95rem;
  }
}

@media (max-width: 992px) {
  .ef-portfolio-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ef-design__logo-watermark {
    left: 50%;
    width: 600px;
    height: 600px;
  }
}

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

/* ── DESIGN CTA — full width turquoise ── */
.ef-design-cta {
  padding: 6rem 2rem;
  text-align: center;
  background: #00BCD4;
  width: 100%;
  margin-top: 0;
}
.ef-design-cta__eyebrow {
  font-family: var(--font-mono, 'Courier Prime', monospace);
  font-size: .62rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: rgba(0,40,46,.6);
  margin-bottom: .75rem;
}
.ef-design-cta__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: #00252b;
  margin: 0 0 2rem;
  line-height: 1.2;
}
.ef-design-cta__btn {
  display: inline-block;
  padding: .9rem 2.5rem;
  background: #00252b;
  color: #00BCD4;
  font-family: var(--font-mono, 'Courier Prime', monospace);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background .25s ease;
}
.ef-design-cta__btn:hover {
  background: #003840;
  color: #4dd9e8;
}

@media (max-width: 600px) {
  .ef-design-cta { padding: 4rem 1.25rem; }
}

/* ── DESIGN STYLE UPGRADE ── */

/* Section labels — brighter blue */
.ef-section-label {
  color: #5fd0d6 !important;
}

/* Service feature cards — darker, richer bg */
.ef-service-feature {
  background:
    linear-gradient(135deg, rgba(10,20,34,.9), rgba(5,12,22,.98)),
    #060e18 !important;
  border: 1px solid rgba(95,208,214,.1) !important;
}
.ef-service-feature:hover {
  border-color: rgba(95,208,214,.3) !important;
  transform: translateY(-6px) scale(1.01) !important;
}

/* Portfolio cards — richer shadows */
.ef-portfolio-card:hover {
  box-shadow:
    0 35px 90px rgba(0,0,0,.6),
    0 0 40px rgba(95,208,214,.2) !important;
}

/* Credentials block */
.ef-credentials {
  border: 1px solid rgba(95,208,214,.1) !important;
}

/* Skill pills hover — turquoise */
.ef-skill-pill:hover {
  background: linear-gradient(135deg, #00BCD4, #0097a7) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* Hero buttons — solid dark blue */
.ef-hero-btn-primary {
  background: #1B3A5C !important;
  color: #dfefff !important;
  border: 1px solid rgba(95,208,214,.25) !important;
}
.ef-hero-btn-primary:hover {
  background: #00BCD4 !important;
  color: #02181c !important;
  border-color: transparent !important;
}

/* Service links — solid dark blue */
.ef-service-feature-link {
  background: #1B3A5C !important;
  color: #dfefff !important;
  border: 1px solid rgba(95,208,214,.2) !important;
}
.ef-service-feature-link:hover {
  background: #00BCD4 !important;
  color: #02181c !important;
  border-color: transparent !important;
}

/* Submit button */
.ef-submit-btn {
  background: #1B3A5C !important;
  color: #dfefff !important;
}
.ef-submit-btn:hover {
  background: #00BCD4 !important;
  color: #02181c !important;
}

/* Reel image section — richer overlay */
.ef-design-reel-media {
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 60px rgba(0,188,212,.1) !important;
}

/* ══════════════════════════════════════════════
   DESIGN STYLE UPGRADE — Match Media/Studio tone
   Keeps blue palette · Darker · More dramatic
══════════════════════════════════════════════ */

/* PAGE BASE — deeper black like Media/Studio */
.ef-design-page {
  background: #060810 !important;
}

/* HERO — more dramatic dark bg */
.ef-design-hero {
  background: radial-gradient(ellipse at 30% 50%,
    #0d1a2e 0%, #060810 60%, #03050a 100%);
  padding: 2rem 0 3rem;
}

/* HERO TITLE — more impactful */
.ef-page-title-main {
  font-size: clamp(5rem, 13vw, 10rem) !important;
  letter-spacing: 10px !important;
  color: #7ab8f5 !important;
}
.ef-page-title-support {
  color: #5fd0d6 !important;
}
.ef-page-title-support span {
  color: #00BCD4 !important;
  font-style: italic;
}

/* SECTION LABELS — cyan accent like Media */
.ef-section-label {
  color: #00BCD4 !important;
  font-size: .68rem !important;
  letter-spacing: 7px !important;
}

/* DIVIDER — cyan */
.ef-divider {
  background: linear-gradient(90deg, #00BCD4, #1B3A5C) !important;
  height: 1px !important;
  width: 100% !important;
  margin: 3rem 0 !important;
  opacity: .4;
}

/* SECTION TITLES */
.ef-section-title {
  color: #c8dcf5 !important;
}

/* SERVICE FEATURES — darker cards like Media/Studio */
.ef-service-feature {
  background: #080e1a !important;
  border: 1px solid rgba(0,188,212,.08) !important;
  border-radius: 8px !important;
}
.ef-service-feature:hover {
  background: #0a1220 !important;
  border-color: rgba(0,188,212,.25) !important;
  box-shadow:
    0 20px 60px rgba(0,0,0,.5),
    0 0 40px rgba(0,188,212,.1) !important;
}

/* SERVICE FEATURE KICKER — cyan */
.ef-service-feature-kicker { color: #00BCD4 !important; }

/* SERVICE TAGS */
.ef-service-feature-tags span {
  border-color: rgba(0,188,212,.15) !important;
  color: #a8d4f5 !important;
}
.ef-service-feature:hover .ef-service-feature-tags span {
  border-color: rgba(0,188,212,.4) !important;
  color: #e0f5ff !important;
}

/* PORTFOLIO SECTION */
.ef-portfolio-section { margin-top: 4rem !important; }
.ef-portfolio-card {
  border-radius: 8px !important;
}
.ef-portfolio-card:hover {
  box-shadow:
    0 30px 80px rgba(0,0,0,.6),
    0 0 50px rgba(0,188,212,.2) !important;
}
.ef-portfolio-kicker { color: #00BCD4 !important; }

/* CREDENTIALS */
.ef-credentials {
  background: #080e1a !important;
  border: 1px solid rgba(0,188,212,.08) !important;
  border-radius: 8px !important;
}
.ef-credential-kicker { color: #00BCD4 !important; }
.ef-skill-pill {
  border-color: rgba(0,188,212,.15) !important;
  color: #a8d4f5 !important;
}
.ef-skill-pill:hover {
  background: #00BCD4 !important;
  color: #02181c !important;
  border-color: transparent !important;
}
.ef-credential-mini-card {
  background: rgba(0,188,212,.04) !important;
  border-color: rgba(0,188,212,.1) !important;
}
.ef-credential-mini-card span { color: #00BCD4 !important; }

/* REEL SECTION */
.ef-design-reel-media {
  border-radius: 8px !important;
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 60px rgba(0,188,212,.08) !important;
}
.ef-design-reel-kicker { color: #00BCD4 !important; }

/* CONTACT FORM — darker */
.ef-contact-form {
  background: #080e1a !important;
  border: 1px solid rgba(0,188,212,.08) !important;
  border-radius: 8px !important;
}
.ef-form-group label { color: #5fd0d6 !important; }
.ef-form-group input,
.ef-form-group select,
.ef-form-group textarea {
  background: rgba(0,8,20,.8) !important;
  border-color: rgba(0,188,212,.12) !important;
  color: #c8dcf5 !important;
}
.ef-form-group input:focus,
.ef-form-group select:focus,
.ef-form-group textarea:focus {
  border-color: rgba(0,188,212,.5) !important;
  box-shadow: 0 0 0 3px rgba(0,188,212,.08) !important;
}

/* HERO STATS — darker */
.ef-hero-stat {
  background: rgba(0,8,20,.7) !important;
  border-color: rgba(0,188,212,.15) !important;
}
.ef-hero-stat-number { color: #00BCD4 !important; }

/* HERO IMAGE WRAP */
.ef-hero-image-wrap {
  border-color: rgba(0,188,212,.2) !important;
  box-shadow:
    0 30px 80px rgba(0,0,0,.5),
    0 0 40px rgba(0,188,212,.08) !important;
}

/* FLOATING BADGES */
.ef-hero-floating {
  background: rgba(0,8,20,.85) !important;
  border-color: rgba(0,188,212,.2) !important;
  color: #c8dcf5 !important;
}

/* BREADCRUMB */
.eter-breadcrumb {
  padding: 1.5rem 0 0 2rem;
}
.eter-back-link {
  font-family: 'DM Sans', sans-serif;
  font-size: .68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: color .2s;
}
.eter-back-link:hover { color: #00BCD4; }

/* ── REEL FULL WIDTH ── */
.ef-design-reel--fw {
  width: 100%;
  margin: 0;
  padding: 0;
}
.ef-design-reel--fw .ef-design-reel-media {
  border-radius: 0 !important;
  margin: 0;
  min-height: 480px;
  box-shadow: none !important;
}
.ef-design-reel--fw .ef-design-reel-image,
.ef-design-reel--fw .ef-design-reel-video {
  height: 480px;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 600px) {
  .ef-design-reel--fw .ef-design-reel-media { min-height: 300px; }
  .ef-design-reel--fw .ef-design-reel-image { height: 300px; }
}

/* ── FULL WIDTH HERO — like Media/Studio ── */
.ef-design-fw-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 6rem 2rem 4rem;
  background: radial-gradient(ellipse at center,
    #0d1a2e 0%, #060810 60%, #030508 100%);
  width: 100%;
}
.ef-design-fw-hero__bg-text {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(6rem, 22vw, 20rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,188,212,.05);
  letter-spacing: 10px;
  white-space: nowrap;
  user-select: none;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.ef-design-fw-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;   /* ← esto es clave */
}

.ef-design-fw-hero__back {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: .68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #666666;
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color .2s ease;
}
.ef-design-fw-hero__back:hover { color: #00BCD4; }
.ef-design-fw-hero__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #4573a4;
  margin-bottom: 1rem;
}
.ef-design-fw-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 12vw, 9rem);
  font-weight: 300;
  color: #c8dcf5;
  letter-spacing: 8px;
  line-height: .9;
  margin: 0 0 .75rem;
}
.ef-design-fw-hero__subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #3a5a7a;
  margin-bottom: 1.5rem;
}
.ef-design-fw-hero__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: .92rem;
  color: #4a6a8a;
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto;
}

/* Scroll hint line */
.ef-design-fw-hero::after {
  content: '';
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, #00BCD4, transparent);
  animation: designScroll 2s ease infinite;
}
@keyframes designScroll {
  0%   { transform: translateX(-50%) scaleY(0); transform-origin: top; }
  50%  { transform: translateX(-50%) scaleY(1); transform-origin: top; }
  51%  { transform: translateX(-50%) scaleY(1); transform-origin: bottom; }
  100% { transform: translateX(-50%) scaleY(0); transform-origin: bottom; }
}

/* Remove old breadcrumb since back link is in new hero */
.eter-breadcrumb { display: none; }

@media (max-width: 600px) {
  .ef-design-fw-hero { padding: 5rem 1.25rem 3rem; min-height: 70vh; }
  .ef-design-fw-hero__title { font-size: clamp(3rem, 18vw, 6rem); }
}

/* ── SERVICES GRID — consolidated, see bottom of file ── */

/* ── PORTFOLIO SECTION ── */
.ed-portfolio {
  padding: 6rem 2rem;
  background: #060810;
  border-top: 1px solid rgba(0,188,212,.08);
}

/* ── PAGE RESET — remove old padding ── */
.ef-design-page {
  padding: 0 !important;
}

@media (max-width: 900px) {
  .ed-grid { grid-template-columns: 1fr 1fr; }
  .ed-card:nth-child(5) { grid-column: auto; }
}
@media (max-width: 600px) {
  .ed-grid { grid-template-columns: 1fr; }
  .ed-card:nth-child(5) { grid-column: auto; }
  .ed-services,
  .ed-portfolio { padding: 4rem 1.25rem; }
}

/* ── SERVICES CLEAN — consolidated, see bottom of file ── */

/* Hide old showcase if still present */
.ef-services-showcase { display: none !important; }

/* ── CONSISTENT LAYOUT SYSTEM — consolidated below ── */
/* ============================================================
   ── DESIGN PAGE — SISTEMA CONSOLIDADO (fuente única) ──
   Reemplaza todos los bloques duplicados anteriores.
   6 servicios en grid 3×2 (desktop) → 2×3 (tablet) → 1×6 (mobile)
   ============================================================ */

/* Page reset */
.ef-design-page { padding: 0 !important; }

/* Label centrado reutilizable */
.ed-label {
  font-family: 'DM Sans', sans-serif;
  font-size: .63rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #00BCD4;
  text-align: center;
  margin-bottom: 3rem;
}

/* ── SERVICES SECTION ── */
.ed-services {
  padding: 6rem 2rem;
  background: #080e1a;
  border-top: 1px solid rgba(0,188,212,.08);
}

/* Grid 3×2 para 6 servicios */
.ed-services-clean {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0,188,212,.08);
  max-width: 1100px;
  margin: 0 auto;
}

.ed-card {
  background: #060810;
  padding: 3rem 2.5rem;
  min-height: 220px;
  transition: background .3s ease;
  position: relative;
  overflow: hidden;
}
.ed-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: #00BCD4;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.ed-card:hover { background: rgba(0,188,212,.05); }
.ed-card:hover::before { transform: scaleX(1); }

.ed-card__num {
  font-family: 'DM Sans', sans-serif;
  font-size: .6rem;
  letter-spacing: 4px;
  color: #00BCD4;
  margin-bottom: 1rem;
  display: block;
}
.ed-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: #c8dcf5;
  margin: 0 0 .75rem;
  letter-spacing: 1px;
  transition: color .3s ease;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}
.ed-card:hover .ed-card__title { color: #00BCD4; }
.ed-card__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  color: #4a6a8a;
  line-height: 1.75;
  margin: 0;
}

/* ── PORTFOLIO SECTION ── */
.ed-portfolio {
  padding: 6rem 2rem;
  background: #060810;
  border-top: 1px solid rgba(0,188,212,.08);
}
.ed-portfolio .ef-portfolio-grid {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── REEL ── */
.ef-design-reel--fw { width: 100%; overflow: hidden; }
.ef-design-reel-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.ef-design-reel-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.ef-design-reel-overlay {
  position: absolute;
  left: 40px; right: 40px; bottom: 40px;
}
.ef-design-reel-kicker {
  font-family: 'DM Sans', sans-serif;
  font-size: .6rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #00BCD4;
  display: block;
  margin-bottom: .75rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.8);
}

.ef-design-reel-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 300;
  color: #ffffff;
  margin: 0;
  max-width: 700px;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.7);
}

/* ══════════════════════════════════════════════
   RESPONSIVE — mobile-first breakpoints
   ══════════════════════════════════════════════ */

/* Tablet: 2 columnas */
@media (max-width: 900px) {
  .ed-services-clean {
    grid-template-columns: repeat(2, 1fr);
  }
  .ed-card {
    min-height: auto;
    padding: 2.5rem 2rem;
  }
}

/* Mobile: 1 columna */
@media (max-width: 600px) {
  .ed-services-clean {
    grid-template-columns: 1fr;
    gap: 1px;
  }
  .ed-card {
    padding: 2rem 1.5rem;
    min-height: auto;
  }
  .ed-card__title {
    font-size: 1.25rem;
  }
  .ed-services,
  .ed-portfolio {
    padding: 3.5rem 1.25rem;
  }
  .ef-design-reel-image,
  .ef-design-reel-media { height: 240px; min-height: 240px; }

  .ef-design-reel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem;
  background: linear-gradient(to top, rgba(4,8,18,0.92) 0%, rgba(4,8,18,0.45) 60%, transparent 100%);
}
  .ef-design-reel-title { font-size: 1.4rem; }
  .ef-credentials { grid-template-columns: 1fr !important; }
}

/* Portfolio grid responsive */
@media (max-width: 1024px) {
  .ef-portfolio-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
  }
  .ef-portfolio-card-featured {
    grid-column: 1 / 3 !important;
    grid-row: auto !important;
    height: 300px;
  }
  .ef-portfolio-card { height: 220px; }
  .ef-portfolio-card:nth-child(n) {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}
@media (max-width: 600px) {
  .ef-portfolio-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  .ef-portfolio-card-featured,
  .ef-portfolio-card {
    grid-column: auto !important;
    grid-row: auto !important;
    height: 240px;
  }
}

/* Hide legacy */
.ef-services-showcase { display: none !important; }

.ef-design-fw-hero__back,
.eter-back-link {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}



/* ── Portfolio card link wrapper ── */
.ef-portfolio-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* ── Portfolio tech tags ── */
.ef-portfolio-tags {
  display: block;
  font-family: 'Courier Prime', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(196, 154, 64, 0.7);
  margin-top: 0.5rem;
}

/* ── PORTFOLIO WORKS — Clean card grid ── */
.ef-pw-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto 4rem;
}
.ef-pw-card {
  background: #080e1a;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  border: 1px solid rgba(0,188,212,0.1);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}
.ef-pw-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,188,212,0.6);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,188,212,0.15), 0 0 30px rgba(0,188,212,0.1);
}
.ef-pw-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #040a14;
}
.ef-pw-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.45s ease;
}
/* ─────────────────────────────────────────
   SCREENSHOT MOCKUP — Browser-style frame
   Wraps screenshots in a minimalist Chrome-like
   browser window for professional portfolio look.
   ──────────────────────────────────────────── */
.ef-pw-card--screenshot .ef-pw-image {
  position: relative;
  background: #0d1421; /* darker than card bg for contrast */
  padding: 32px 12px 12px 12px; /* room for top bar */
  aspect-ratio: 16 / 10; /* slightly taller for browser chrome */
}

/* Top bar with traffic light dots */
.ef-pw-card--screenshot .ef-pw-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(180deg, #1a2333 0%, #131a28 100%);
  border-bottom: 1px solid rgba(0, 188, 212, 0.15);
}

/* Traffic light dots */
.ef-pw-card--screenshot .ef-pw-image::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 12px;
  width: 36px;
  height: 10px;
  background:
    radial-gradient(circle at 5px center, #ff5f57 4px, transparent 4.5px),
    radial-gradient(circle at 18px center, #febc2e 4px, transparent 4.5px),
    radial-gradient(circle at 31px center, #28c840 4px, transparent 4.5px);
}

.ef-pw-card--screenshot .ef-pw-image img {
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) inset;
}

/* Hover: subtle lift of the screenshot */
.ef-pw-card--screenshot:hover .ef-pw-image::before {
  border-bottom-color: rgba(0, 188, 212, 0.35);
}

/* Mobile: reduce padding to maintain proportion */
@media (max-width: 600px) {
  .ef-pw-card--screenshot .ef-pw-image {
    padding: 26px 8px 8px 8px;
  }
  
  .ef-pw-card--screenshot .ef-pw-image::before {
    height: 22px;
  }
  
  .ef-pw-card--screenshot .ef-pw-image::after {
    top: 6px;
    left: 8px;
    width: 30px;
    height: 8px;
    background:
      radial-gradient(circle at 4px center, #ff5f57 3px, transparent 3.5px),
      radial-gradient(circle at 15px center, #febc2e 3px, transparent 3.5px),
      radial-gradient(circle at 26px center, #28c840 3px, transparent 3.5px);
  }
}
.ef-pw-card:hover .ef-pw-image img {
  transform: scale(1.12);
}
.ef-pw-body {
  padding: 1.25rem 1.5rem 1.5rem;
  transition: background 0.35s ease;
}
.ef-pw-card:hover .ef-pw-body {
  background: rgba(0,188,212,0.03);
}
.ef-pw-kicker {
  display: block;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #00BCD4;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.ef-pw-card:hover .ef-pw-kicker { color: #4dd9ec; }
.ef-pw-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: #c8dcf5;
  margin: 0 0 0.5rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}
.ef-pw-card:hover .ef-pw-title { color: #00BCD4; }
.ef-pw-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  color: rgba(200,220,245,0.6);
  line-height: 1.55;
  margin: 0;
  transition: color 0.3s ease;
}
.ef-pw-card:hover .ef-pw-desc { color: rgba(200,220,245,0.85); }
.ef-pw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.85rem;
}
.ef-pw-tags span {
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(196,154,64,0.3);
  padding: 2px 7px;
  border-radius: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.ef-pw-card:hover .ef-pw-tags span {
  color: #d4aa50;
  border-color: rgba(196,154,64,0.55);
}
@media (max-width: 900px) {
  .ef-pw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ef-pw-grid { grid-template-columns: 1fr; }
}

/* ── PORTFOLIO PAGINATION ── */
.ef-pw-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 0 3rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.ef-pw-pagination a {
  color: #00BCD4;
  text-decoration: none;
  border: 1px solid rgba(0,188,212,0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}
.ef-pw-pagination a:hover {
  border-color: #00BCD4;
  background: rgba(0,188,212,0.08);
  color: #4dd9ec;
}
.ef-pw-pagination span {
  color: rgba(200,220,245,0.4);
}

.ef-pw-case-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #00BCD4;
  text-decoration: none;
  transition: color 0.3s ease;
}
.ef-pw-case-link:hover { color: #4dd9ec; }


/* ================================================
   PORTFOLIO CARD — LINKED VARIANT
   Make the entire card clickable when it has a case study.
=================================================== */
.ef-pw-card--linked {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.ef-pw-card--linked:hover {
  text-decoration: none;
}

/* Preserve original card hover effects via the linked variant */
.ef-pw-card--linked:hover .ef-pw-title {
  color: var(--design-light, #4ecdc4);
}

/* Style the inner "View Case Study" as visual only (not interactive) */
.ef-pw-card--linked .ef-pw-case-link {
  pointer-events: none; /* prevents nested click weirdness */
}


/* ================================================
   FEATURED PROJECT CARD
   Full-width treatment for the most important work.
   Bigger, more dramatic, with FEATURED PROJECT badge.
=================================================== */

.ef-pw-featured-wrap {
  max-width: 1400px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.ef-pw-card--featured {
  display: flex;
  flex-direction: column;
  background: #080e1a;
  border: 1px solid rgba(0, 188, 212, 0.25);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.ef-pw-card--featured .ef-pw-image {
  aspect-ratio: 21 / 9;
  width: 100%;
}

.ef-pw-card--featured .ef-pw-body {
  padding: 2.5rem 3rem;
}

.ef-pw-card--featured .ef-pw-kicker {
  font-size: 0.7rem;
  letter-spacing: 4px;
  margin-bottom: 0.8rem;
  color: rgba(78, 205, 196, 0.95);
}

.ef-pw-card--featured .ef-pw-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1.2rem;
  line-height: 1.1;
  color: #f5e1be;
}

.ef-pw-card--featured .ef-pw-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: rgba(245, 225, 190, 0.85);
}

/* Dramatic hover */
.ef-pw-card--featured:hover {
  border-color: rgba(0, 188, 212, 0.7);
  transform: translateY(-6px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(0, 188, 212, 0.2),
    0 0 60px rgba(0, 188, 212, 0.15);
}

/* Scale en hover SOLO para fotos (no screenshots) */
.ef-pw-card--featured:hover .ef-pw-image img {
  transform: scale(1.05);
}

/* Anular scale para screenshots — preserva info del dashboard/UI */
.ef-pw-card--featured.ef-pw-card--screenshot:hover .ef-pw-image img {
  transform: scale(1.01);
}

.ef-pw-card--featured:hover .ef-pw-title {
  color: var(--design-light, #4ecdc4);
}

/* FEATURED PROJECT badge */
.ef-pw-card--featured::before {
  content: 'FEATURED PROJECT';
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  font-family: 'DM Mono', 'Courier New', monospace;
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: rgba(78, 205, 196, 0.95);
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(78, 205, 196, 0.5);
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .ef-pw-featured-wrap {
    margin-bottom: 2.5rem;
    padding: 0 1rem;
  }

  .ef-pw-card--featured .ef-pw-image {
    aspect-ratio: 16 / 9;
  }

  .ef-pw-card--featured .ef-pw-body {
    padding: 1.5rem;
  }

  .ef-pw-card--featured::before {
    top: 1rem;
    right: 1rem;
    font-size: 0.55rem;
    padding: 0.35rem 0.7rem;
    letter-spacing: 3px;
  }
}
