.detail-hero { overflow: hidden; position: relative; background: var(--paper); }
.detail-hero-layout { min-height: 545px; padding-block: 76px; display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(42px, 7vw, 90px); }
.detail-hero-copy { max-width: 590px; }
.detail-hero h1 { font-size: clamp(40px, 4.8vw, 60px); }
.detail-hero h1 span { display: inline; }
.detail-hero .hero-lead { font-size: 15px; }
.detail-note { margin: 30px 0 0; display: flex; align-items: center; gap: 9px; color: #6c7b91; font-size: 10px; font-weight: 700; }
.detail-note span { width: 18px; height: 18px; display: grid; place-items: center; color: #168a76; border-radius: 50%; background: #e2f6f1; font-size: 10px; }
.detail-hero-media, .qualities-media, .case-media { min-height: 360px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(140deg, #e8eef9, #f8fafc 50%, #e3f3ef); }
.detail-hero-media .image-placeholder, .qualities-media .image-placeholder, .case-media .image-placeholder { position: absolute; inset: 0; min-height: 0; flex-direction: column; justify-content: center; border: 0; border-radius: inherit; background: transparent; color: #647692; font-size: 11px; }
.detail-hero-media .image-placeholder code, .qualities-media .image-placeholder code, .case-media .image-placeholder code { font-size: 9px; }
.media-caption { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 10px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #50617a; border: 1px solid rgb(255 255 255 / 72%); border-radius: 6px; background: rgb(255 255 255 / 88%); font: 500 8px var(--mono); letter-spacing: .05em; }
.web-solutions { background: white; }
.web-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.web-offer { min-height: 190px; padding: 23px; position: relative; display: grid; grid-template-columns: 42px 1fr; align-content: start; gap: 14px; border: 1px solid var(--line); border-radius: 10px; background: white; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.web-offer:hover { transform: translateY(-3px); border-color: #b8c8e5; box-shadow: 0 14px 30px rgb(16 33 59 / 7%); }
.offer-number { width: 34px; height: 34px; display: grid; place-items: center; color: var(--blue); border-radius: 8px; background: #edf2ff; font: 500 9px var(--mono); }
.web-offer h3 { margin: 2px 24px 8px 0; color: var(--navy); font-size: 17px; letter-spacing: -.035em; }
.web-offer p { max-width: 430px; margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.75; }
.offer-mark { position: absolute; top: 25px; right: 22px; color: #a4b4ca; font: 500 14px var(--mono); }
.web-qualities { background: var(--paper); border-block: 1px solid #e7edf5; }
.qualities-layout, .case-layout { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(38px, 7vw, 90px); }
.qualities-copy h2, .case-copy h2 { max-width: 520px; margin-bottom: 15px; color: var(--navy); font-size: clamp(30px, 3.5vw, 42px); line-height: 1.15; letter-spacing: -.055em; }
.qualities-copy > p:not(.eyebrow), .case-copy > p:not(.eyebrow) { max-width: 510px; margin-bottom: 22px; color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.check-list { margin: 0; padding: 0; display: grid; gap: 12px; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; color: #3f5069; font-size: 11px; line-height: 1.6; }
.check-list li span { color: var(--blue); font: 500 9px var(--mono); }
.qualities-media { min-height: 390px; }
.web-case { background: white; }
.case-layout { grid-template-columns: 1.05fr .95fr; }
.case-media { min-height: 390px; }
.case-copy h2 { font-size: 38px; }
.case-tags { margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.case-tags span { padding: 7px 10px; color: #51627b; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); font-size: 9px; font-weight: 700; }
.case-copy .card-link { max-width: 320px; }
.web-process { background: var(--paper); border-block: 1px solid #e7edf5; }
.web-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.web-step { min-height: 185px; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.web-step > span { width: 31px; height: 31px; margin-bottom: 21px; display: grid; place-items: center; color: var(--blue); border-radius: 8px; background: #edf2ff; font: 500 9px var(--mono); }
.web-step h3 { margin-bottom: 8px; color: var(--navy); font-size: 13px; letter-spacing: -.025em; }
.web-step p { margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.75; }
.systems-examples { background: white; }
.systems-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.systems-project { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.systems-project-media { min-height: 290px; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, #e8eef9, #f8fafc 50%, #e3f3ef); }
.systems-project-media .image-placeholder { position: absolute; inset: 0; min-height: 0; flex-direction: column; justify-content: center; border: 0; border-radius: inherit; background: transparent; color: #647692; font-size: 11px; }
.systems-project-media .image-placeholder code { font-size: 9px; }
.systems-project-copy { padding: 23px; }
.systems-project-copy h3 { margin: 0 0 9px; color: var(--navy); font-size: 22px; letter-spacing: -.04em; }
.systems-project-copy > p:not(.eyebrow) { max-width: 540px; margin-bottom: 17px; color: var(--ink-soft); font-size: 11px; line-height: 1.75; }
.systems-project-copy .case-tags { margin-bottom: 17px; }
.support-assurance-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.support-assurance { min-height: 205px; padding: 22px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.support-assurance > span { width: 32px; height: 32px; margin-bottom: 20px; display: grid; place-items: center; color: var(--blue); border-radius: 8px; background: #edf2ff; font: 500 9px var(--mono); }
.support-assurance h3 { margin: 0 0 9px; color: var(--navy); font-size: 15px; letter-spacing: -.03em; }
.support-assurance p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.75; }
.portfolio-hero .detail-hero-layout { min-height: 500px; }
.portfolio-section { background: white; }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 18px; }
.portfolio-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.portfolio-card-media { min-height: 270px; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, #e8eef9, #f8fafc 50%, #e3f3ef); }
.portfolio-card-media .image-placeholder, .portfolio-secondary-image .image-placeholder { position: absolute; inset: 0; min-height: 0; flex-direction: column; justify-content: center; border: 0; border-radius: inherit; background: transparent; color: #647692; font-size: 11px; }
.portfolio-card-media .image-placeholder code, .portfolio-secondary-image .image-placeholder code { font-size: 9px; }
.portfolio-index { position: absolute; bottom: 14px; left: 14px; padding: 8px 10px; color: #50617a; border: 1px solid rgb(255 255 255 / 72%); border-radius: 6px; background: rgb(255 255 255 / 88%); font: 500 8px var(--mono); letter-spacing: .05em; }
.portfolio-card-copy { padding: 22px; }
.portfolio-card-copy h3 { margin: 0 0 9px; color: var(--navy); font-size: 24px; letter-spacing: -.045em; }
.portfolio-card-copy > p:not(.eyebrow) { margin: 0 0 17px; color: var(--ink-soft); font-size: 11px; line-height: 1.8; }
.portfolio-card-copy .case-tags { margin-bottom: 0; }
.portfolio-secondary-image { min-height: 210px; margin-top: 20px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(140deg, #e8eef9, #f8fafc 50%, #e3f3ef); }
.portfolio-note { max-width: 800px; margin: 22px 0 0; color: #78869a; font-size: 10px; line-height: 1.7; }
.contact-intro { padding-block: 82px 48px; background: var(--paper); }
.contact-intro-inner { max-width: 850px; }
.contact-intro h1 { max-width: 820px; margin: 18px 0 16px; color: var(--navy); font-size: clamp(42px, 6vw, 68px); line-height: 1.06; letter-spacing: -.065em; }
.contact-intro h1 span { color: var(--blue); }
.contact-intro-inner > p:last-child { max-width: 630px; margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.8; }
.contact-section { background: var(--paper); padding-top: 35px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(38px, 7vw, 90px); }
.contact-side h2, .contact-form-heading h2 { margin-bottom: 13px; color: var(--navy); font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -.05em; }
.contact-side > p:not(.eyebrow), .contact-form-heading > p:last-child { color: var(--ink-soft); font-size: 12px; line-height: 1.8; }
.contact-side-card { margin-top: 21px; padding: 16px; display: grid; grid-template-columns: 35px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.contact-side-icon { width: 32px; height: 32px; display: grid; place-items: center; color: var(--blue); border-radius: 8px; background: #edf2ff; font: 500 13px var(--mono); }
.contact-side-card strong { display: block; margin: 2px 0 5px; color: var(--navy); font-size: 11px; }
.contact-side-card p { margin: 0; color: var(--ink-soft); font-size: 10px; line-height: 1.7; }
.contact-visual { min-height: 190px; margin-top: 22px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(140deg, #e8eef9, #f8fafc 50%, #e3f3ef); }
.contact-visual .image-placeholder { position: absolute; inset: 0; min-height: 0; flex-direction: column; justify-content: center; border: 0; border-radius: inherit; background: transparent; color: #647692; font-size: 11px; }
.contact-visual .image-placeholder code { font-size: 9px; }
.contact-form-panel { padding: clamp(22px, 4vw, 38px); border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 20px 55px rgb(16 33 59 / 5%); }
.contact-form-heading { margin-bottom: 24px; }
.contact-form-heading h2 { font-size: 27px; }
.contact-form-heading > p:last-child { margin: 0; font-size: 10px; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 14px; }
.form-field { min-width: 0; display: grid; gap: 7px; }
.form-field label { color: #35465f; font-size: 10px; font-weight: 700; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 12px 13px; color: var(--navy); border: 1px solid #dce4ee; border-radius: 6px; outline: none; background: white; font: 500 11px Manrope, sans-serif; transition: border-color .2s ease, box-shadow .2s ease; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #7597dc; box-shadow: 0 0 0 3px rgb(55 104 207 / 10%); }
.form-field input::placeholder, .form-field textarea::placeholder { color: #9aa7b8; }
.form-field textarea { min-height: 125px; resize: vertical; }
.form-field-wide { grid-column: 1 / -1; }
.form-consent { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-soft); font-size: 9px; line-height: 1.7; }
.form-consent input { margin: 2px 0 0; accent-color: var(--blue); }
.form-consent a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.form-submit .button:disabled { cursor: not-allowed; opacity: .55; filter: grayscale(.25); }
.form-submit p { margin: 0; color: #8995a6; font-size: 9px; }
.web-crosslink { padding-block: 48px; color: white; background: var(--navy); }
.crosslink-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.crosslink-inner h2 { max-width: 760px; margin: 0; color: white; font-size: clamp(21px, 3vw, 30px); line-height: 1.3; letter-spacing: -.045em; }
@media (max-width: 1000px) {
  .detail-hero-layout { min-height: 0; gap: 35px; }.detail-hero-media { min-height: 320px; }
  .web-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .detail-hero-layout { padding-block: 57px; grid-template-columns: 1fr; gap: 34px; }
  .detail-hero h1 { font-size: clamp(38px, 9vw, 54px); }.detail-hero .hero-lead { font-size: 13px; }
  .detail-hero-media { min-height: 280px; }.detail-note { flex-wrap: wrap; font-size: 9px; }
  .web-offer-grid { grid-template-columns: 1fr; }.web-offer { min-height: 155px; padding: 19px; }
  .systems-project-grid { grid-template-columns: 1fr; }.systems-project-media { min-height: 250px; }.systems-project-copy { padding: 19px; }
  .portfolio-grid { grid-template-columns: 1fr; }.portfolio-card-media { min-height: 245px; }.portfolio-card-copy { padding: 19px; }.portfolio-secondary-image { min-height: 190px; }
  .contact-intro { padding-block: 58px 30px; }.contact-intro h1 { font-size: clamp(38px, 10vw, 54px); }.contact-layout { grid-template-columns: 1fr; gap: 31px; }.contact-form-panel { padding: 21px; }.contact-form { grid-template-columns: 1fr; }.contact-form .form-field-wide { grid-column: auto; }
  .support-assurance-grid { grid-template-columns: 1fr; gap: 10px; }.support-assurance { min-height: 0; padding: 18px; display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; }.support-assurance > span { grid-row: 1 / span 2; margin: 0; }.support-assurance h3 { margin-top: 2px; }.support-assurance p { grid-column: 2; }
  .qualities-layout, .case-layout { grid-template-columns: 1fr; gap: 30px; }.qualities-media, .case-media { min-height: 285px; }
  .case-media { order: 2; }.case-copy { order: 1; }
  .web-steps { grid-template-columns: 1fr; gap: 10px; }.web-step { min-height: 0; padding: 17px; display: grid; grid-template-columns: 34px 1fr; gap: 0 12px; align-items: start; }.web-step > span { grid-row: 1 / span 2; margin: 0; }.web-step h3 { margin: 1px 0 6px; }.web-step p { grid-column: 2; }
  .crosslink-inner { align-items: flex-start; flex-direction: column; }.web-crosslink { padding-block: 38px; }
}

/* Capturas del portafolio: proporción uniforme y contenido completo */
.systems-project-media {
  aspect-ratio: 16 / 10;
  min-height: 0;
}

.systems-project-media.has-image > img {
  object-fit: contain;
  padding: 10px;
}

@media (max-width: 760px) {
  .systems-project-media {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}
