/* Quiet Luxury / Editorial European — minimal, high whitespace, refined type system */
:root{
  --headerH: 66px;
  --bg:#ffffff;
  --ink:#0b0c0f;
  --muted:#60646c;
  --line:#e9eaee;
  --panel:#f7f7f9;
  --panel2:#fbfbfc;

  --radius:16px;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
  --shadow2: 0 16px 40px rgba(0,0,0,.08);

  --serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", Times, serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;

  --max: 1160px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  padding-top:var(--headerH);
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  letter-spacing:.01em;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
a{ color:inherit; text-decoration:none; }
img{ display:block; }

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 22px;
}

/* Topbar */
.topbar{
  border-bottom:1px solid var(--line);
  background:var(--panel2);
}
.topbar__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:10px 0;
  font-size:12px;
}
.topbar__left{
  display:flex; align-items:center; gap:10px;
  color:var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.dot{
  width:6px;height:6px;border-radius:999px;background:var(--ink);
  opacity:.25;
}
.topbar__right{ color:var(--muted); }

/* Header */
.header{
  position:fixed;
  top:0;
  left:0;
  right:0;
z-index:50;
  background:rgba(255,255,255,.88);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand__logo{
  /* No filters, no effects, no recolor. Only safe sizing while preserving aspect ratio. */
  height:28px;
  width:auto;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
  font-size:13px;
  color:rgba(11,12,15,.86);
}
.nav a{
  position:relative;
  padding:8px 2px;
  transition:opacity .2s ease;
}
.nav a:hover{ opacity:.65; }
.nav a::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:4px;
  height:1px;
  background:var(--ink);
  opacity:0;
  transform:scaleX(.6);
  transition:opacity .2s ease, transform .2s ease;
}
.nav a:hover::after{ opacity:.18; transform:scaleX(1); }

.header__controls{
  display:flex; align-items:center; gap:12px;
}

/* Language selector */
.lang{
  display:flex;
  gap:6px;
  border:1px solid var(--line);
  border-radius:999px;
  padding:4px;
  background:rgba(255,255,255,.8);
}
.lang__btn{
  border:0;
  background:transparent;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  color:rgba(11,12,15,.72);
  cursor:pointer;
  transition:background .2s ease, color .2s ease;
}
.lang__btn:hover{ background:rgba(11,12,15,.04); }
.lang__btn.is-active{
  background:rgba(11,12,15,.08);
  color:rgba(11,12,15,.9);
}

/* Mobile menu button */
.menuBtn{
  display:none;
  width:40px;height:38px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.8);
  border-radius:12px;
  cursor:pointer;
  padding:10px;
}
.menuBtn span{
  display:block;
  height:1px;
  background:rgba(11,12,15,.82);
  margin:6px 0;
}

/* Drawer */
.drawer{
  display:none;
  border-top:1px solid var(--line);
  background:rgba(255,255,255,.95);
}
.drawer__inner{
  padding:16px 0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.drawer__link{
  padding:12px 10px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(11,12,15,.02);
}

/* Sections */
.section{
  padding:84px 0;
}
.section--alt{
  background:linear-gradient(180deg, rgba(247,247,249,.9), rgba(255,255,255,1));
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.sectionHead{
  max-width:820px;
  margin-bottom:32px;
}
.sectionHead h2{
  margin:0 0 10px 0;
  font-family:var(--serif);
  font-weight:600;
  font-size:36px;
  letter-spacing:.01em;
}
.sectionHead p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
}

/* Hero */
.hero{
  padding:86px 0 72px;
}
.hero__inner{
  display:grid;
  grid-template-columns: 1.25fr .9fr;
  gap:34px;
  align-items:start;
}
.eyebrow{
  margin:0 0 12px 0;
  font-size:12px;
  color:rgba(11,12,15,.64);
  letter-spacing:.14em;
  text-transform:uppercase;
}
.hero__title{
  margin:0 0 16px 0;
  font-family:var(--serif);
  font-size:46px;
  line-height:1.07;
  letter-spacing:.01em;
}
.hero__sub{
  margin:0 0 22px 0;
  color:rgba(11,12,15,.74);
  font-size:15px;
  line-height:1.7;
}
.hero__cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:22px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(11,12,15,.16);
  background:rgba(11,12,15,.92);
  color:#fff;
  font-size:13px;
  letter-spacing:.02em;
  transition:transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  box-shadow: var(--shadow);
}
.btn:hover{ transform:translateY(-1px); box-shadow:var(--shadow2); }
.btn--ghost{
  background:transparent;
  color:rgba(11,12,15,.9);
  box-shadow:none;
}
.btn--ghost:hover{ opacity:.75; transform:translateY(0); box-shadow:none; }

.hero__meta{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
}
.metaCard{
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 14px;
  background:rgba(255,255,255,.8);
}
.metaCard__k{
  font-size:11px;
  color:rgba(11,12,15,.6);
  margin-bottom:6px;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.metaCard__v{
  font-size:13px;
  color:rgba(11,12,15,.88);
  line-height:1.35;
}

/* Right panel */
.panel{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:rgba(255,255,255,.85);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.panel__header{
  padding:14px 16px;
  border-bottom:1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.panel__tag{
  font-size:11px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(11,12,15,.12);
  background:rgba(11,12,15,.03);
}
.panel__tag--muted{
  color:rgba(11,12,15,.64);
}
.panel__body{ padding:16px; }
.panel__line{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
}
.label{
  color:rgba(11,12,15,.62);
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.value{
  color:rgba(11,12,15,.9);
  font-size:13px;
  text-align:right;
  max-width:62%;
}
.divider{
  height:1px;
  background:var(--line);
  margin:16px 0;
}
.fine{
  margin:0;
  font-size:12px;
  color:rgba(11,12,15,.56);
  line-height:1.6;
}

/* Grids / cards */
.grid2{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
}
.grid3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}
.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.85);
  padding:18px 18px;
  box-shadow: var(--shadow);
}
.card h3{
  margin:0 0 8px 0;
  font-family:var(--serif);
  font-weight:600;
  font-size:20px;
}
.card p{ margin:0 0 12px 0; color:var(--muted); line-height:1.7; font-size:14px; }
.bullets{
  margin:0;
  padding-left:18px;
  color:rgba(11,12,15,.78);
  line-height:1.7;
  font-size:13px;
}
.steps{
  margin:0;
  padding-left:18px;
  color:rgba(11,12,15,.78);
  line-height:1.7;
  font-size:13px;
}
.muted{ color:var(--muted); }

.kpiRow{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:10px;
  margin-top:10px;
}
.kpi{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  background:rgba(11,12,15,.02);
}
.kpi__k{
  font-size:11px;
  color:rgba(11,12,15,.6);
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:6px;
}
.kpi__v{
  font-family:var(--mono);
  font-size:13px;
  color:rgba(11,12,15,.88);
}

/* Global timeline */
.timeline{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.85);
  box-shadow:var(--shadow);
  padding:18px;
  display:grid;
  gap:10px;
}
.timeline__item{
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
.timeline__item:last-child{ border-bottom:0; }
.timeline__k{
  font-size:12px;
  color:rgba(11,12,15,.58);
  letter-spacing:.12em;
  text-transform:uppercase;
}
.timeline__v{
  font-size:14px;
  color:rgba(11,12,15,.88);
  text-align:right;
  max-width:70%;
}

/* Courses */
.courseGrid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:14px;
  margin-top:22px;
}
.courseCard{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.9);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.courseCard__head{
  padding:18px;
  border-bottom:1px solid var(--line);
  background:linear-gradient(180deg, rgba(11,12,15,.02), rgba(255,255,255,.9));
}
.courseCard__head h3{
  margin:0 0 8px 0;
  font-family:var(--serif);
  font-size:22px;
  font-weight:600;
}
.courseCard__head p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
}
.courseCard__body{
  padding:18px;
  display:grid;
  gap:14px;
}
.courseBlock h4{
  margin:0 0 8px 0;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(11,12,15,.66);
}
.courseBlock p{ margin:0; color:rgba(11,12,15,.74); line-height:1.7; font-size:13px; }

/* Forms */
.form{ display:grid; gap:12px; }
.field{ display:grid; gap:6px; }
.field span{
  font-size:12px;
  color:rgba(11,12,15,.62);
  letter-spacing:.12em;
  text-transform:uppercase;
}
input, textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  font-size:14px;
  font-family:var(--sans);
  outline:none;
  background:rgba(255,255,255,.9);
}
input:focus, textarea:focus{
  border-color:rgba(11,12,15,.28);
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:26px 0;
  background:var(--panel2);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
}
.footer__brand{
  font-family:var(--serif);
  font-weight:600;
  letter-spacing:.01em;
}
.footer__muted{
  margin-top:6px;
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
}
.footer__cols{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}
.footer__col{
  min-width:220px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  background:rgba(255,255,255,.8);
}
.footer__k{
  font-size:11px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(11,12,15,.6);
  margin-bottom:6px;
}
.footer__v{
  font-size:12px;
  color:rgba(11,12,15,.84);
  line-height:1.5;
}

/* Reveal animation */
.reveal{
  opacity:0;
  transform:translateY(10px);
  transition:opacity .55s ease, transform .55s ease;
}
.reveal.is-in{
  opacity:1;
  transform:translateY(0);
}

/* RTL support */
html[dir="rtl"] body{
  letter-spacing:0;
}
html[dir="rtl"] .nav{ direction:rtl; }
html[dir="rtl"] .hero__inner{ direction:rtl; }
html[dir="rtl"] .panel__line .value{ text-align:left; }
html[dir="rtl"] .timeline__v{ text-align:left; }
html[dir="rtl"] .bullets, html[dir="rtl"] .steps{
  padding-left:0;
  padding-right:18px;
}
html[dir="rtl"] .sectionHead p,
html[dir="rtl"] .hero__sub,
html[dir="rtl"] .card p,
html[dir="rtl"] .courseCard__head p,
html[dir="rtl"] .courseBlock p{
  text-align:right;
}

/* Drawer open state (simple) */
.drawer.is-open{ display:block; }

/* Responsive */
@media (max-width: 980px){
  .hero__inner{ grid-template-columns:1fr; }
  .hero__meta{ grid-template-columns:1fr; }
  .grid3{ grid-template-columns:1fr; }
  .grid2{ grid-template-columns:1fr; }
  .courseGrid{ grid-template-columns:1fr; }
  .nav{ display:none; }
  .menuBtn{ display:block; }
  .drawer{ display:block; }
}

@media (max-width: 520px){
  .section{ padding:66px 0; }
  .hero__title{ font-size:38px; }
  .topbar__right{ display:none; }
}


/* Large centered top logo */
.top-logo{
    width:100%;
    text-align:center;
    padding:40px 0 20px 0;
    background:white;
}

.top-logo img{
    width:260px;
    max-width:90%;
    height:auto;
}

/* Remove any background */
.top-logo img{
    background:transparent;
}

/* Fashion imagery section */
.fashion-visuals{
    padding:80px 10%;
    background:#f8f8f8;
}

.visual-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.visual-grid img{
    width:100%;
    height:420px;
    object-fit:cover;
}


/* Vogue-style centered logo */

.floating-logo{
    position:fixed;
    top:70px; /* below menu */
    left:50%;
    transform:translateX(-50%);
    z-index:999;
    background:transparent;
    pointer-events:none;
}



.floating-logo img{
    width:260px;
    max-width:70vw;
    height:auto;
}




.footer-logo{
    text-align:center;
    padding:80px 0 40px 0;
    border-top:1px solid #eee;
    margin-top:80px;
}



.footer-logo img{
    display:block;
    margin:0 auto;
    width:220px;
}


.header{
    min-height:140px;
    display:flex;
    align-items:center;
}


/* Large centered logo */
.hero-logo-wrapper{
    width:100%;
    text-align:center;
    padding-top:60px;
    padding-bottom:40px;
}

.hero-logo{
    height:480px; /* 4x large */
    width:auto;
    transition:all 0.4s ease;
}

/* Shrink on scroll */
.shrink .hero-logo{
    height:120px;
}

/* Adjust header spacing */
.header{
    justify-content:center;
}


/* Corporate visible header logo (Tecmilenio style) */
.header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:18px 40px;
}

.logo img{
    height:90px; /* very visible but elegant */
    width:auto;
}

/* shrink on scroll */
.shrink .logo img{
    height:48px;
    transition:all .35s ease;
}


/* tighter corporate header spacing */
.header{
    padding:10px 24px; /* reduces gap */
    gap:18px;
}

/* bring logo closer */
.logo{
    margin-right:8px;
}

.logo img{
    height:110px;
}
