/*
 * Capa visual aprobada para la portada de ORYSIS Agency.
 * Mantiene el contenido y la arquitectura PHP; solo recupera tipografia,
 * geometria, transparencia, botones y colocacion del logotipo.
 */

/* Tipografías variables autoalojadas (WOFF2, juegos latino y latino extendido) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/urbanist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Urbanist";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/urbanist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

.agency-surface {
  --type-heading: "Urbanist", ui-sans-serif, system-ui, sans-serif;
  --type-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --orysis-card-radius: 28px;
  --orysis-small-radius: 20px;
  --orysis-card-shadow: 0 20px 48px rgb(0 0 0 / 18%);
  --orysis-control-shadow: 0 10px 24px rgb(9 5 15 / 18%);
  font-family: var(--type-body);
}

.agency-surface h1,
.agency-surface h2,
.agency-surface h3,
.agency-surface h4 {
  font-family: var(--type-heading) !important;
  font-weight: 600;
}

.agency-surface .agency-hero h1 {
  font-family: var(--type-heading) !important;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

/* Logotipo transparente y sin el panel rectangular del build anterior. */
.agency-surface .agency-logo-responsive,
.agency-surface .agency-logo-responsive > img {
  background: transparent;
}

.agency-surface .agency-logo-responsive > img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.agency-surface .agency-header {
  background: rgb(5 5 8 / 72%);
  backdrop-filter: blur(18px);
  border-bottom-color: rgb(255 255 255 / 9%);
}

.agency-surface .agency-header .agency-logo-responsive {
  aspect-ratio: 1;
  height: 68px;
  overflow: visible;
  width: 68px;
}

.agency-hero-logo-stage {
  align-items: center;
  align-self: center;
  display: flex;
  justify-content: center;
  min-height: 590px;
  position: relative;
  transform: translateY(-18px);
  width: 100%;
  z-index: 2;
}

.hero-logo-glow {
  background: radial-gradient(circle, rgb(213 51 255 / 28%) 0, rgb(255 52 158 / 13%) 34%, transparent 70%);
  filter: blur(12px);
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.agency-surface .hero-agency-logo {
  aspect-ratio: 1;
  height: auto;
  max-width: 670px;
  overflow: visible;
  position: relative;
  width: min(48vw, 670px);
  z-index: 2;
}

/* Controles transparentes y redondeados. */
.agency-surface .header-cta,
.agency-surface .gold-button,
.agency-surface .line-link,
.agency-surface .training-private-access a,
.agency-surface .contact-action {
  align-items: center;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
  box-shadow: none;
  color: #ff4da6;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
}

.agency-surface .header-cta:hover,
.agency-surface .header-cta:focus-visible,
.agency-surface .gold-button:hover,
.agency-surface .gold-button:focus-visible,
.agency-surface .line-link:hover,
.agency-surface .line-link:focus-visible,
.agency-surface .training-private-access a:hover,
.agency-surface .training-private-access a:focus-visible,
.agency-surface .contact-action:hover,
.agency-surface .contact-action:focus-visible {
  background: rgb(255 255 255 / 3%);
  border-color: rgb(255 77 166 / 38%);
  box-shadow: none;
  color: #ff70b8;
}

.agency-surface .hero-signals,
.agency-surface .contact-brief {
  gap: 10px;
}

.agency-surface .hero-signals span,
.agency-surface .contact-brief span {
  background: rgb(255 255 255 / 2%);
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 999px;
  padding: 10px 15px;
}

/* Tarjetas separadas, redondeadas y con superficies translucidas. */
.agency-surface .agency-model-grid,
.agency-surface .route-grid,
.agency-surface .metric-grid,
.agency-surface .services-list,
.agency-surface .system-steps,
.agency-surface .evidence-loop {
  gap: 16px;
}

.agency-surface .agency-model-card,
.agency-surface .social-offer-banner,
.agency-surface .academy-atlas,
.agency-surface .academy-production-strip,
.agency-surface .training-private-access,
.agency-surface .route-card,
.agency-surface .lab-panel,
.agency-surface .governance-section,
.agency-surface .metric-grid article,
.agency-surface .services-list article,
.agency-surface .services-list .service-row-link,
.agency-surface .system-steps article,
.agency-surface .evidence-loop li,
.agency-surface .faq-list details,
.agency-surface .contact-section {
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--orysis-small-radius);
  box-shadow: var(--orysis-card-shadow);
  overflow: hidden;
}

.agency-surface .agency-model-card,
.agency-surface .route-card,
.agency-surface .metric-grid article,
.agency-surface .services-list article,
.agency-surface .services-list .service-row-link,
.agency-surface .faq-list details {
  background: linear-gradient(145deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 2%));
}

.agency-surface .academy-atlas,
.agency-surface .academy-production-strip,
.agency-surface .training-private-access,
.agency-surface .lab-panel,
.agency-surface .governance-section,
.agency-surface .contact-section {
  border-radius: var(--orysis-card-radius);
}

.agency-surface .faq-list {
  border-top: 0;
  display: grid;
  gap: 12px;
}

.agency-surface .faq-list details {
  padding-inline: 22px;
}

@media (min-width: 1101px) {
  .agency-surface .agency-hero {
    gap: clamp(24px, 4vw, 58px);
    min-height: calc(100svh - 82px);
    padding: 32px clamp(32px, 6vw, 78px);
  }

  .agency-surface .agency-kicker {
    font-size: 0.6rem;
  }

  .agency-surface .agency-hero h1 {
    font-size: clamp(3rem, 4.35vw, 5.15rem);
    margin: 18px 0;
  }

  .agency-surface .agency-lead {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .agency-surface .agency-actions {
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 24px;
  }

  .agency-surface .agency-actions .gold-button,
  .agency-surface .agency-actions .line-link {
    flex: 0 1 auto;
    font-size: 0.62rem;
    min-height: 44px;
    padding: 0 18px;
    white-space: nowrap;
  }

  .agency-surface .hero-signals {
    gap: 8px;
    margin-top: 24px;
    padding-top: 12px;
  }

  .agency-surface .hero-signals span {
    font-size: 0.64rem;
    padding: 8px 11px;
  }

  .agency-hero-logo-stage {
    height: min(70svh, 510px);
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .agency-surface {
    --orysis-card-radius: 22px;
    --orysis-small-radius: 16px;
  }

  .agency-surface .agency-header .agency-logo-responsive {
    height: 58px;
    width: 58px;
  }

  .agency-surface .header-cta {
    margin-left: 10px;
    min-height: 42px;
    padding-inline: 16px;
  }

  .agency-hero-logo-stage {
    min-height: 390px;
    transform: none;
  }

  .agency-surface .hero-agency-logo {
    max-width: 500px;
    width: min(92vw, 500px);
  }

  .agency-surface .agency-model-grid,
  .agency-surface .route-grid,
  .agency-surface .metric-grid,
  .agency-surface .services-list,
  .agency-surface .system-steps,
  .agency-surface .evidence-loop {
    gap: 12px;
  }
}
