/*
 * Template Name: MyPortfolio — adapted for miplanIA
 * Original author: BootstrapMade.com
 * Template URL: https://bootstrapmade.com/myportfolio-bootstrap-portfolio-website-template/
 * License: https://bootstrapmade.com/license/
 */
:root {
  --ink:#172f2b;
  --muted:#52645e;
  --paper:#fafbf7;
  --green:#286149;
  --lime:#d9edaa;
  --line:#dbe2d9
}

* {
  box-sizing:border-box
}
body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:Arial,Helvetica,sans-serif;
  font-size:17px;
  line-height:1.65
}
a {
  color:inherit;
  text-decoration:none
}
a:hover {
  color:var(--green)
}
h1,h2,h3,p {
  margin-top:0
}
h1,h2,h3 {
  font-weight:500;
  line-height:1.13;
  letter-spacing:-.045em
}
h1 {
  font-size:clamp(2.8rem,5.2vw,5rem);
  max-width:1000px
}
h2 {
  font-size:clamp(2rem,3.3vw,3.1rem)
}
h3 {
  font-size:1.5rem;
  letter-spacing:-.025em
}
p {
  margin-bottom:1.2rem
}
.container {
  max-width:1200px;
  padding-left:28px;
  padding-right:28px
}
.site-header {
  border-bottom:1px solid var(--line)
}
.header-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:100px;
  gap:20px
}
.brand {
  font-weight:700;
  font-size:1.85rem;
  letter-spacing:-.08em
}
.brand span {
  font-weight:400
}
.brand .brand-dot {
  color:var(--green);
  font-weight:700
}
#navigation {
  display:flex;
  gap:30px;
  font-size:.94rem
}
#navigation a {
  padding:10px 0
}
#navigation a[aria-current=page] {
  border-bottom:2px solid var(--green)
}
.menu-toggle {
  display:none
}
.eyebrow {
  font-size:.72rem;
  letter-spacing:.14em;
  font-weight:700;
  line-height:1.7;
  margin-bottom:22px
}
.status-dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--green);
  margin-right:8px
}
.hero {
  display:grid;
  grid-template-columns:1fr 280px;
  gap:65px;
  padding-top:85px;
  padding-bottom:85px;
  align-items:center
}
.hero h1 {
  margin-bottom:26px
}
.accent {
  color:var(--green)
}
.lead {
  font-size:1.15rem;
  line-height:1.75;
  color:var(--muted);
  max-width:720px
}
.hero .lead {
  max-width:630px
}
.actions {
  display:flex;
  align-items:center;
  gap:26px;
  flex-wrap:wrap;
  margin-top:28px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  padding:14px 22px;
  background:var(--ink);
  color:white;
  border:1px solid var(--ink);
  font-size:.92rem;
  line-height:1.5
}
.button:hover {
  background:var(--green);
  color:white
}
.text-link {
  font-weight:600;
  font-size:.94rem;
  border-bottom:1px solid var(--green);
  padding-bottom:5px
}
.hero-note {
  background:var(--lime);
  padding:30px;
  transform:rotate(2deg)
}
.note-number {
  font-size:3rem;
  letter-spacing:-.06em
}
.hero-note p {
  font-size:1.7rem;
  line-height:1.2;
  margin-top:24px;
  letter-spacing:-.04em
}
.hero-note>span:not(.note-number) {
  font-size:.75rem
}
.note-line {
  height:1px;
  background:#91a970;
  margin:23px 0
}
.hero-note small {
  font-size:.83rem;
  line-height:1.6;
  display:block
}
.expertise-strip {
  border-block:1px solid var(--line)
}
.expertise-strip .container {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding-top:20px;
  padding-bottom:20px;
  font-size:.84rem
}
.expertise-strip span:before {
  content:'+';
  margin-right:12px;
  color:var(--green)
}
.section {
  padding-top:80px;
  padding-bottom:80px
}
.section-heading {
  display:grid;
  grid-template-columns:1.3fr 1fr;
  align-items:end;
  gap:90px;
  margin-bottom:38px
}
.section-heading>p {
  color:var(--muted);
  font-size:.95rem;
  max-width:370px
}
.project-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:50px 30px
}
.project-card h3 {
  font-size:1.6rem;
  margin-bottom:12px
}
.project-card p {
  color:var(--muted);
  font-size:.97rem;
  max-width:460px
}
.project-card a {
  display:block
}
.project-card a:hover h3 {
  text-decoration:underline;
  text-underline-offset:5px
}
.project-art {
  aspect-ratio:1.65;
  background:#dce7df;
  padding:23px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  border:1px solid #cedbd1;
  overflow:hidden
}
.art-top {
  display:flex;
  justify-content:space-between;
  gap:16px;
  font:10px/1.5 monospace;
  letter-spacing:.08em
}
.art-icon {
  font-size:65px;
  text-align:center;
  line-height:1.2
}
.flow {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  font-size:11px
}
.flow span {
  padding:8px 10px;
  border:1px solid currentColor;
  background:#ffffff55;
  text-align:center
}
.flow span+span:before {
  content:''
}
.art-matriculas {
  background:#dbe5ed;
  border-color:#ccd9e3;
  color:#2d4b5d
}
.art-vehiculos {
  background:#e9e0d0;
  border-color:#dacdb7;
  color:#655134
}
.art-olfatometria {
  background:#e3e6d3;
  border-color:#d4d9bf;
  color:#4d5b2d
}
.card-meta {
  display:flex;
  justify-content:space-between;
  margin:18px 0 10px;
  text-transform:uppercase;
  font-size:.68rem;
  letter-spacing:.13em;
  font-weight:700
}
.card-meta span+span {
  font-size:1.4rem;
  line-height:1
}
.about-band,.training-band {
  background:#eef1e9
}
.two-column {
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:90px
}
.about-band>.two-column {
  padding-top:75px;
  padding-bottom:75px
}
.large-copy {
  font-size:1.25rem
}
.service-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  margin:45px 0 25px
}
.service-grid article {
  border-top:1px solid var(--line);
  padding-top:20px
}
.service-number {
  display:block;
  margin-bottom:30px;
  font:13px monospace;
  color:var(--green)
}
.service-grid p {
  font-size:.97rem;
  color:var(--muted)
}
.cta {
  background:var(--ink);
  color:var(--paper);
  padding:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  margin-bottom:75px
}
.cta h2 {
  font-size:2.1rem;
  margin-bottom:0
}
.cta .eyebrow {
  color:var(--lime)
}
.button.light {
  background:var(--lime);
  color:var(--ink);
  flex-shrink:0
}
.button.light:hover {
  background:white
}
footer {
  border-top:1px solid var(--line);
  padding:42px 0
}
.footer-inner {
  display:flex;
  justify-content:space-between;
  gap:35px
}
.footer-inner p {
  font-size:.86rem;
  margin-top:14px;
  color:var(--muted)
}
.footer-inner>div:last-child {
  text-align:right
}
.small {
  font-size:.85rem
}
.muted {
  color:var(--muted)
}
.page-intro {
  padding-top:70px;
  padding-bottom:40px
}
.page-intro h1 {
  margin-bottom:25px
}
.compact {
  padding-top:15px
}
.filters {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:32px
}
.filters button {
  border:1px solid #899c91;
  background:transparent;
  color:var(--ink);
  padding:9px 18px;
  font-size:.85rem
}
.filters button[aria-pressed=true] {
  background:var(--ink);
  color:white
}
.project-card[hidden] {
  display:none
}
.review-note {
  padding:22px;
  border-left:3px solid #8b9b71;
  background:#f0f2e9;
  font-size:.88rem;
  color:#42523e;
  margin-top:35px
}
.review-note p {
  margin:8px 0 0
}
.back-link {
  display:inline-block;
  font-size:.9rem;
  margin-bottom:28px
}
.case-layout {
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:55px;
  align-items:center
}
.case-layout .art-icon {
  font-size:100px
}
.caption {
  font-size:.8rem;
  color:var(--muted);
  margin-top:12px
}
.case-facts dt {
  font-size:.8rem;
  color:var(--muted);
  font-weight:400
}
.case-facts dd {
  margin:4px 0 22px;
  font-size:.97rem
}
.case-body {
  max-width:850px
}
.case-body>div {
  margin-bottom:45px
}
.case-body h2 {
  font-size:2.1rem
}
.case-body .eyebrow {
  margin-bottom:12px
}
.intro-detail {
  padding-top:20px;
  padding-bottom:25px
}
.identity-card {
  padding:35px;
  background:var(--lime);
  align-self:start
}
.initials {
  display:block;
  font-size:6rem;
  line-height:1;
  letter-spacing:-.08em;
  margin-bottom:45px
}
.initials span {
  color:var(--green)
}
.identity-card h2 {
  font-size:1.8rem
}
.tags {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:25px 0 18px
}
.tags span {
  border:1px solid var(--line);
  padding:6px 10px;
  font-size:.78rem
}
.timeline article {
  display:grid;
  grid-template-columns:180px 1fr;
  gap:35px;
  border-top:1px solid var(--line);
  padding:28px 0
}
.timeline-date {
  font:13px/1.6 monospace;
  color:var(--green)
}
.timeline p {
  max-width:780px;
  color:var(--muted);
  margin-bottom:0
}
.training-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  margin-top:40px
}
.training-grid article {
  border-top:1px solid #cbd4c6;
  padding-top:24px
}
.training-grid h3 {
  font-size:1.35rem;
  margin-top:12px
}
.training-grid p {
  font-size:.93rem;
  color:var(--muted)
}
.offer-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px
}
.offer-grid article {
  padding:35px;
  border:1px solid var(--line)
}
.offer-grid i {
  font-size:2rem;
  display:block;
  margin-bottom:30px
}
.offer-grid h2 {
  font-size:1.8rem
}
.offer-grid p {
  color:var(--muted)
}
.contact-layout {
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:70px;
  padding-bottom:90px;
  padding-top:20px
}
.contact-card {
  padding:35px;
  background:#eef1e9
}
.contact-card h2 {
  font-size:2rem
}
.email-link {
  font-size:clamp(1rem,2vw,1.45rem);
  border-bottom:1px solid var(--green);
  overflow-wrap:anywhere;
  display:inline-block;
  margin:12px 0 20px
}
.contact-card .actions {
  gap:12px;
  margin-bottom:25px
}
.outline {
  color:var(--ink);
  background:transparent
}
.contact-layout aside h2 {
  font-size:1.9rem
}
.contact-tips {
  padding-left:20px
}
.contact-tips li {
  margin:15px 0
}
:focus-visible {
  outline:3px solid #b24e20;
  outline-offset:5px
}
.skip {
  position:absolute;
  left:15px;
  top:-100px;
  background:var(--ink);
  color:white;
  padding:12px;
  z-index:10
}
.skip:focus {
  top:10px
}

@media(min-width:1400px) {
  .container {
  max-width:1240px
}
.hero {
  padding-top:100px;
  padding-bottom:100px
}

}

@media(max-width:900px) {
  .hero {
  grid-template-columns:1fr 220px;
  gap:30px
}
.hero-note {
  padding:22px
}
.section-heading,.two-column {
  gap:35px
}
.contact-layout {
  gap:30px
}
.cta {
  margin-left:20px;
  margin-right:20px;
  width:auto
}
.flow {
  gap:5px;
  font-size:9px
}
.flow span {
  padding:5px
}
.case-layout {
  gap:25px
}

}

@media(max-width:700px) {
  .container {
  padding-left:22px;
  padding-right:22px
}
.header-inner {
  min-height:78px;
  flex-wrap:wrap;
  gap:0
}
.brand {
  font-size:1.65rem
}
.menu-toggle {
  display:flex;
  gap:10px;
  align-items:center;
  background:transparent;
  border:1px solid #899c91;
  padding:5px 10px;
  font-size:.9rem
}
.menu-toggle i {
  font-size:1.3rem
}
#navigation {
  width:100%;
  display:flex;
  flex-wrap:wrap;
  gap:8px 24px;
  padding-bottom:20px
}
.js #navigation:not(.is-open) {
  display:none
}
.hero {
  grid-template-columns:1fr;
  padding-top:48px;
  padding-bottom:45px;
  gap:40px
}
h1 {
  font-size:2.9rem
}
.hero-note {
  transform:none;
  max-width:none;
  padding:25px
}
.hero-note .note-number {
  float:right
}
.hero-note p {
  margin-top:0
}
.hero-note small {
  max-width:360px
}
.hero-note .note-line {
  margin:16px 0
}
.expertise-strip .container {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
  font-size:.72rem
}
.expertise-strip span:before {
  margin-right:6px
}
.section {
  padding-top:50px;
  padding-bottom:50px
}
.section-heading,.two-column,.project-grid,.service-grid,.training-grid,.offer-grid,.contact-layout,.case-layout {
  grid-template-columns:1fr;
  gap:28px
}
.section-heading {
  gap:10px
}
.section-heading>p {
  max-width:none
}
.project-grid {
  gap:30px
}
.art-icon {
  font-size:65px
}
.flow {
  font-size:10px;
  gap:8px
}
.flow span {
  padding:8px
}
.about-band>.two-column {
  padding-top:45px;
  padding-bottom:45px
}
.service-grid {
  margin-top:25px
}
.service-number {
  margin-bottom:18px
}
.cta {
  display:block;
  padding:30px 24px;
  margin-bottom:45px
}
.cta h2 {
  font-size:1.8rem
}
.cta .button {
  margin-top:25px
}
.footer-inner {
  display:block
}
.footer-inner>div:last-child {
  text-align:left;
  margin-top:30px
}
.page-intro {
  padding-top:45px;
  padding-bottom:25px
}
.compact {
  padding-top:10px
}
.timeline article {
  grid-template-columns:1fr;
  gap:12px
}
.identity-card {
  padding:28px
}
.initials {
  font-size:4.5rem;
  margin-bottom:20px
}
.contact-card {
  padding:23px
}
.contact-layout {
  padding-bottom:50px
}
.offer-grid article {
  padding:25px
}
.case-layout .art-icon {
  font-size:65px
}
.filters {
  gap:8px
}
.filters button {
  padding:8px 11px
}
.actions {
  gap:20px
}
.review-note {
  margin-top:25px
}

}

.legal-links {
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:12px 24px;
  font-size:.9rem;
}
.legal-content {
  max-width:850px;
  padding-bottom:70px;
  overflow-wrap:anywhere;
}
.legal-content h2 {
  margin-top:36px;
  font-size:1.4rem;
}
.legal-content p {
  line-height:1.8;
}
.legal-content a:not(.button), .contact-card .small a {
  text-decoration:underline;
  text-underline-offset:3px;
}
@media(max-width:767px) {
  .legal-links { justify-content:flex-start; }
}

@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
  scroll-behavior:auto!important;
  animation:none!important;
  transition:none!important
}

}

/* Copiloto Investigador: esquema y recorrido accesible. */
.art-copiloto { background:#e4e0ef; border-color:#d1c9e2; color:#493963; }
.research-flow { padding-left:1.5rem; }
.research-flow li { padding:0 0 20px 10px; }
.art-copiloto { min-height:220px; }
.art-copiloto .flow { flex-wrap:wrap; }
.case-layout > figure { min-width:0; }

.research-layout { grid-template-columns:minmax(0,2fr) minmax(0,1fr); }
.research-layout > * { min-width:0; overflow-wrap:anywhere; }
.research-layout .art-top { flex-wrap:wrap; }
@media(max-width:700px) { .research-layout { grid-template-columns:minmax(0,1fr); } }
.art-copiloto { width:100%; aspect-ratio:auto; min-height:260px; }
.capture-link { display:block; }
.project-capture { display:block; width:100%; height:auto; border:1px solid var(--line); }
.case-body > figure { margin:0 0 45px; }

/* Tarjetas de proyectos: misma caja visual y altura entre filas. */
.project-grid { grid-auto-rows:1fr; }
.project-card > a { height:100%; display:flex; flex-direction:column; }
.project-card .project-art { height:260px; min-height:260px; width:100%; aspect-ratio:auto; flex-shrink:0; }
.project-card .flow { flex-wrap:wrap; }
.project-card h3 { min-height:2.3em; }
.project-card p { margin-bottom:0; }

/* Disclosure of AI assistance in creating this website. */
.ai-credit {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100vw - 32px);
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 24px;
  background: rgba(23, 47, 43, .85);
  color: #fff;
  font-size: 11px;
  line-height: 1.5;
  pointer-events: none;
}
.ai-credit-icon { display: block; width: 28px; height: 28px; flex-shrink: 0; }
footer { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
@media print { .ai-credit { display: none; } }

.ai-credit-text { display: block; text-align: center; font-size: 10px; line-height: 14px; }
