/* Campusfera — institutional editorial layer
   Load after the original page styles. The original markup and behavior stay intact. */
:root {
  --ink: #1c3932;
  --green: #6ca789;
  --deep: #17654e;
  --pale: #edf3ef;
  --line: #d8e3dc;
  --muted: #5b7068;
  --white: #fbfcf9;
  --serif: 'Figtree', sans-serif;
  --sans: 'Figtree', sans-serif;
  --cf-paper: #fbfcf9;
  --cf-sage: #f0f5f1;
  --cf-deep: #163e33;
  --cf-border: #d8e3dc;
}

html {
  scroll-padding-top: 100px;
}

body {
  background: var(--cf-paper);
  color: var(--ink);
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 1.68;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: 'Figtree', sans-serif;
}

h1,
h2 {
  letter-spacing: -0.045em;
  font-weight: 580;
}

h1 {
  font-size: clamp(48px, 5.3vw, 76px);
  line-height: 1.035;
}

h2 {
  font-size: clamp(38px, 4vw, 54px);
  line-height: 1.1;
}

h3 {
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

.wrap {
  max-width: 1328px;
  padding-right: 52px;
  padding-left: 52px;
}

.section {
  padding-top: clamp(76px, 8vw, 112px);
  padding-bottom: clamp(76px, 8vw, 112px);
}

.eyebrow {
  color: var(--deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.site-header {
  background: rgba(251, 252, 249, 0.94);
  border-bottom-color: var(--cf-border);
  box-shadow: 0 4px 20px rgba(25, 57, 47, 0.035);
}

.header-inner {
  height: 80px;
}

.brand img {
  width: 172px;
}

.nav {
  gap: clamp(16px, 2vw, 27px);
  color: #334f46;
  font-size: 13px;
  font-weight: 560;
}

.nav a {
  transition: color 180ms ease;
}

.nav a:hover {
  color: var(--deep);
}

.btn {
  min-height: 48px;
  padding: 12px 22px;
  background: var(--deep);
  border-color: var(--deep);
  border-radius: 5px;
  box-shadow: 0 5px 13px rgba(22, 101, 78, 0.12);
  font-weight: 650;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  background: #10553f;
  border-color: #10553f;
  box-shadow: 0 8px 18px rgba(22, 101, 78, 0.17);
  transform: translateY(-2px);
}

.header-cta {
  color: #0fba81;
  background: transparent;
  border-color: #0fba81;
  box-shadow: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  white-space: nowrap;
}

.header-cta.is-solid {
  color: #fff;
  background: #0fba81;
  border-color: #0fba81;
  box-shadow: none;
}

.header-cta:focus,
.header-cta:focus-visible {
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .header-cta:hover {
    color: #fff;
    background: #0fba81;
    border-color: #0fba81;
    box-shadow: none;
  }
}

.btn.outline {
  color: var(--ink);
  background: transparent;
  border-color: #b9ccc1;
  box-shadow: none;
}

.btn.outline:hover {
  color: var(--deep);
  background: #f0f5f1;
  border-color: var(--deep);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  padding: clamp(78px, 8vw, 118px) 0 clamp(76px, 7vw, 102px);
  background: linear-gradient(90deg, var(--cf-paper) 0 55%, #eef4ef 55% 100%);
}

.hero-grid {
  gap: clamp(44px, 6vw, 88px);
}

.hero h1 {
  max-width: 690px;
  color: #193a31;
  font-weight: 590;
}

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

.hero p {
  max-width: 495px;
  margin-top: 27px;
  color: #536b62;
  font-size: 17px;
  line-height: 1.75;
}

.hero .actions {
  margin-top: 31px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 50%;
  overflow: hidden;
  border-radius: 0 0 0 clamp(72px, 7vw, 120px);
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
}

.hero-image.is-visible {
  opacity: 1;
}

.modules {
  padding-top: 90px;
}

.section-heading {
  gap: clamp(35px, 7vw, 100px);
  margin-bottom: 52px;
}

.section-heading p {
  color: #5b7068;
  line-height: 1.75;
}

.module-grid {
  border-color: var(--cf-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.35);
}

.module {
  padding: clamp(30px, 3.5vw, 46px);
}

.module + .module {
  background: #f1f6f2;
  border-left-color: var(--cf-border);
}

.module-top {
  margin-bottom: 30px;
}

.module-num {
  color: #739985;
}

.module-icon,
.feature svg,
.audience-card svg {
  color: var(--deep);
}

.module h3 {
  margin-bottom: 16px;
  font-size: 24px;
}

.module p {
  line-height: 1.75;
}

.check-list li {
  color: #334c43;
}

.check-list li:before {
  color: var(--deep);
  font-size: 13px;
}

.text-link {
  color: var(--deep);
  text-underline-offset: 5px;
}

.detail {
  background: #edf3ef;
  border-top-color: #dce7df;
}

.detail-grid {
  gap: clamp(52px, 8vw, 112px);
}

.detail .intro {
  max-width: 560px;
  color: #526a60;
  line-height: 1.75;
}

.ideal {
  color: #365147;
  border-top-color: #cbd9d0;
}

.features {
  margin-top: 9px;
}

.feature {
  padding: 25px 25px 31px;
  border-bottom-color: #d1ded5;
}

.feature:nth-child(odd) {
  border-right-color: #d1ded5;
}

.feature h3 {
  font-size: 17px;
  font-weight: 650;
}

.feature p {
  color: #5a7066;
  line-height: 1.75;
}

.management {
  background: var(--cf-paper);
}

.management .feature {
  border-bottom-color: #e0e8e2;
}

.management .feature:nth-child(odd) {
  border-right-color: #e0e8e2;
}

.problem-solution {
  background: #173d33;
  color: #f5f8f5;
}

.section.problem-solution {
  padding-bottom: 0;
}

.problem-solution h2 {
  color: #f5f8f5;
  font-size: clamp(37px, 3.5vw, 46px);
  letter-spacing: -0.04em;
}

.problem-solution p {
  color: #c4d5cc;
  line-height: 1.75;
}

.problem-solution .eyebrow {
  color: #9ac5aa;
}

.problem-solution .pair {
  gap: clamp(48px, 8vw, 100px);
}

.problem-solution .pair > div + div {
  border-left-color: rgba(220, 237, 227, 0.2);
}

.problem-solution li {
  color: #e0eae4;
  border-bottom-color: rgba(220, 237, 227, 0.15);
  line-height: 1.65;
}

.problem-solution li:before {
  color: #9db7a8;
}

.problem-solution .solution li:before {
  color: #9cd0b2;
}

.benefits .section-heading {
  margin-bottom: 43px;
}

.benefit-row {
  grid-template-columns: 0.88fr 1.12fr 1fr;
  gap: 34px;
  padding: 29px 0;
  border-top-color: var(--cf-border);
}

.benefit-row:last-child {
  border-bottom-color: var(--cf-border);
}

.benefit-row h3 {
  color: #24473a;
  font-size: 16px;
  font-weight: 650;
}

.benefit-row p {
  color: #5c7068;
  line-height: 1.75;
}

.benefit-row .result {
  color: var(--deep);
}

.audience {
  background: #f0f5f1;
}

.audience-grid {
  border-top-color: #d8e3dc;
}

.audience-card {
  padding: 34px 31px 34px 0;
  border-bottom-color: #d8e3dc;
}

.audience-card:nth-child(3n + 2),
.audience-card:nth-child(3n + 3) {
  border-left-color: #d8e3dc;
}

.audience-card h3 {
  margin-bottom: 11px;
  color: #24473a;
  font-size: 18px;
}

.audience-card p {
  color: #5a7066;
  line-height: 1.75;
}

.faq-list,
details {
  border-color: var(--cf-border);
}

.faq-intro h2 {
  letter-spacing: -0.045em;
}

summary {
  color: #24473a;
  font-weight: 620;
  transition: color 160ms ease;
}

summary:hover {
  color: var(--deep);
}

summary:after {
  color: var(--deep);
}

details p {
  color: #5b7068;
  line-height: 1.75;
}

.closing-box {
  padding: clamp(38px, 5vw, 66px);
  background: #edf3ef;
  border: 1px solid #e1e9e3;
  border-radius: 8px;
}

.closing h2 {
  color: #193a31;
  font-size: clamp(39px, 4.1vw, 50px);
}

.closing p {
  color: #5b7068;
  line-height: 1.75;
}

.closing .btn.outline {
  border-color: #b6c9bd;
}

.site-footer {
  background: #f7f9f6;
  border-top-color: var(--cf-border);
}

.footer-top p,
.footer-bottom {
  color: #65766f;
}

.footer-bottom {
  border-top-color: var(--cf-border);
}

.footer-links {
  align-items: center;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-instagram {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 24px;
  border-left: 1px solid transparent;
  color: #29483c;
}

.footer-instagram::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 20px;
  background: var(--cf-border);
  content: "";
  transform: translateY(-50%);
}

.footer-instagram svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.footer-links a:hover,
.attribution a:hover {
  color: var(--deep);
}

.attribution a {
  color: #29483c;
}

.modal {
  border-radius: 9px;
  background: var(--cf-paper);
  box-shadow: 0 28px 90px rgba(12, 37, 29, 0.28);
}

.modal-copy {
  background: #173d33;
}

.modal-copy h2 {
  color: #f7faf7;
}

.modal-copy p {
  color: #d0ddd5;
}

.modal-copy .eyebrow {
  color: #9bd0b2;
}

.modal-close {
  border-radius: 4px;
}

.field input,
.field select {
  color: var(--ink);
  background: #fff;
  border-color: #cbd9d0;
  border-radius: 5px;
}

.field input:focus,
.field select:focus {
  border-color: var(--deep);
}

.consent-info {
  color: #52675d;
  background: #eef4ef;
  border-radius: 4px;
}

.consent {
  color: #40594f;
}

.form-status.success {
  color: var(--deep);
}

:focus-visible {
  outline-color: #338465;
  outline-offset: 4px;
}

.campusfera-editorial-photo {
  width: min(100% - 104px, 1224px);
  height: clamp(230px, 30vw, 390px);
  margin: 44px auto 0;
  overflow: hidden;
  border-radius: 8px;
  background: #dfe9e2;
  box-shadow: 0 16px 38px rgba(17, 47, 35, 0.14);
}

.campusfera-editorial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.campusfera-editorial-photo--postgrado {
  width: 50vw;
  height: clamp(320px, 30vw, 520px);
  margin: 72px 0 0;
  border: 0;
  border-radius: 0 clamp(72px, 7vw, 120px) 0 0;
  box-shadow: none;
}

.campusfera-editorial-photo--postgrado img {
  object-position: center 48%;
}

@media (min-width: 1500px) {
  .hero {
    padding-top: 124px;
    padding-bottom: 110px;
  }
}

@media (max-width: 1100px) {
  .wrap {
    padding-right: 32px;
    padding-left: 32px;
  }

  .hero h1 {
    font-size: clamp(52px, 5.4vw, 66px);
  }

  .campusfera-editorial-photo {
    width: calc(100% - 64px);
  }

  .campusfera-editorial-photo--postgrado {
    width: 50vw;
  }
}

@media (max-width: 820px) {
  .brand img {
    width: 164px;
  }

  .header-inner {
    height: 74px;
  }

  .header-cta {
    min-height: 40px;
    padding: 9px 16px;
    font-size: 12px;
  }

  .hero {
    min-height: 0;
    padding: 62px 0 72px;
    padding-bottom: 0;
    background: linear-gradient(180deg, var(--cf-paper) 0 57%, #eef4ef 57% 100%);
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-visual {
    position: relative;
    inset: auto;
    width: 100vw;
    height: clamp(320px, 56vw, 460px);
    margin-left: calc(50% - 50vw);
    border-radius: 0 0 0 72px;
  }

  .hero h1 {
    font-size: clamp(54px, 8vw, 67px);
  }

  .hero p {
    margin-top: 23px;
  }

  .hero .btn.outline {
    background: var(--cf-paper);
  }

  .hero .btn.outline:hover {
    background: var(--cf-sage);
  }

  .section {
    padding-top: 74px;
    padding-bottom: 74px;
  }

  .section-heading {
    gap: 22px;
    margin-bottom: 38px;
  }

  .detail-grid,
  .management .detail-grid {
    gap: 34px;
  }

  .problem-solution .pair {
    gap: 45px;
  }

  .problem-solution .pair > div + div {
    border-top-color: rgba(220, 237, 227, 0.2);
  }

  .benefit-row {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 14px 24px;
  }

  .campusfera-editorial-photo {
    width: calc(100% - 64px);
    height: clamp(220px, 42vw, 330px);
    margin-top: 32px;
  }

  .campusfera-editorial-photo--postgrado {
    width: 75vw;
    margin-top: 56px;
    border-radius: 0 72px 0 0;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 160px;
  }

  .wrap {
    padding-right: 22px;
    padding-left: 22px;
  }

  .hero {
    padding-top: 43px;
    padding-bottom: 0;
  }

  .hero-visual {
    height: clamp(240px, 68vw, 340px);
    border-bottom-left-radius: 52px;
  }

  .hero h1 {
    font-size: clamp(46px, 12vw, 53px);
    line-height: 1.04;
  }

  .hero p {
    font-size: 16px;
  }

  .hero .actions {
    gap: 9px;
  }

  .hero .btn {
    padding-right: 10px;
    padding-left: 10px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .module-grid {
    border-radius: 7px;
  }

  .module {
    padding: 28px 24px;
  }

  .module + .module {
    border-left: 0;
    border-top-color: var(--cf-border);
  }

  .feature:nth-child(n) {
    border-bottom-color: #d8e3dc;
  }

  .problem-solution h2 {
    font-size: 36px;
  }

  .benefit-row {
    grid-template-columns: 1fr;
    padding: 24px 0;
    gap: 10px;
  }

  .benefit-row .result {
    grid-column: 1;
  }

  .audience-card:nth-child(n) {
    padding: 25px 0;
    border-bottom-color: #d8e3dc;
  }

  .closing-box {
    padding: 31px 24px;
  }

  .site-footer {
    padding-top: 32px;
    padding-bottom: 22px;
  }

  .footer-top {
    gap: 10px;
    padding-bottom: 18px;
  }

  .footer-top img {
    width: 136px;
  }

  .footer-top p {
    font-size: 11px;
    line-height: 1.45;
  }

  .footer-bottom {
    gap: 14px;
    padding-top: 16px;
  }

  .footer-links {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    gap: 8px 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--cf-border);
    font-size: 10.5px;
  }

  .footer-legal-links {
    display: contents;
  }

  .footer-legal-links a {
    white-space: nowrap;
  }

  .footer-instagram {
    flex: 0 0 auto;
    gap: 5px;
    padding-left: 11px;
    border-left: 1px solid transparent;
    font-size: 10.5px;
  }

  .footer-instagram::before {
    display: block;
    height: 16px;
  }

  .footer-instagram svg {
    width: 14px;
    height: 14px;
  }

  .attribution {
    color: #65766f;
    font-size: 9.75px;
    line-height: 1.45;
  }

  .campusfera-editorial-photo {
    width: calc(100% - 44px);
    height: 235px;
    margin-top: 25px;
    border-radius: 6px;
  }

  .campusfera-editorial-photo--postgrado {
    width: 100vw;
    margin-top: 40px;
    border-radius: 0 52px 0 0;
  }

  .modal form {
    padding: 40px 22px 25px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
